RE: iptables wrong version?
>From the man page
Protocol all will match with all protocols and is taken as default when this
option is omitted.
So try removing the -p tcp and see if that fixes it.
Tony Heal
Pace Systems Group, Inc.
800-624-5999
theal@pace2020.com
-----Original Message-----
From: Philip Mak [mailto:pmak@aaanime.net]
Sent: Saturday, March 11, 2006 8:53 PM
To: debian-user@lists.debian.org
Subject: iptables wrong version?
I am trying to ban an IP address from my server (*.*.*.* is a real
IP):
[root@naga root]# ipchains -A INPUT --source *.*.*.* -p tcp -j DROP
ipchains: Protocol not available
[root@naga root]# iptables -A INPUT --source *.*.*.* -p tcp -j DROP
iptables v1.2.11: can't initialize iptables table `filter': Module is wrong
version
Perhaps iptables or your kernel needs to be upgraded.
[root@naga root]# uname -a
Linux naga.aaanime.net 2.6.8-11-amd64-k8 #1 Sun Oct 2 21:26:54 UTC 2005
x86_64 GNU/Linux
[root@naga root]# apt-get install iptables
Reading Package Lists... Done
Building Dependency Tree... Done
iptables is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Does anyone know what I'm doing wrong?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: