[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

iptables and kernel 2.6.21



Hello,

In a previous message I describe a problem with iptables. I try
to compile with all netfilter stuff as modules.
It does give the same messages :


lsmod output :    
Module                  Size  Used by
ip_tables               8904  0 
nf_nat                 13656  0 
nf_conntrack_ipv4      12412  1 
nf_conntrack           47100  2 nf_nat,nf_conntrack_ipv4
nfnetlink               4616  3 nf_nat,nf_conntrack_ipv4,nf_conntrack
dm_snapshot            13296  0 
dm_mirror              15940  0 
smbfs                  56292  0 

I can load/unload modules without problems (rmmod, modprobe) but
iptables gives always the same message.

iptables output :
iptables -vnL
iptables v1.3.6: can't initialize iptables table `filter': Module is
wrong version
Perhaps iptables or your kernel needs to be upgraded.

I launch iptables with strace and I see the fllowing message in the
results :

getsockopt(3, SOL_IP, 0x40 /* IP_??? */, 0xef98b98a, 0xef98b9e0) = -1
EINVAL (Invalid argument)

The same message twice in the trace.

Regards

Storm66




Reply to: