Iptables command failed
Hello All,
I m new to this mailing list and I don't know if somebody have faced such a problem and may have answerd to this question.
I m using kernel 2.4.22 and iptables rpm 1.2.7a-2. I compiled a kernel to support the Network filtering successfully. But when i issued the following command
iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
i got the following error
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbol nf_register_sockopt_Rsmp_f5985dce
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbol nf_unregister_sockopt_Rsmp_a5c3249c
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
insmod /lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
insmod ip_tables failed
iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
what this error means?do i need to update the iptables or kernel?
Any help or hint would be appreciated
Thanks in advance
Manisha
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
Quoted 11 lines
I m using kernel 2.4.22 and iptables rpm 1.2.7a-2. I compiled a kernel to support the Network filtering successfully. But when i issued the following command
iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
i got the following error
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbolnf_register_sockopt_Rsmp_f5985dce
....
Quoted 8 lines
iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
what this error means?do i need to update the iptables or kernel?
Did you compile a new kernel without updating iptables ? If so, compile a new iptables (1.2.9) too.
Gr,
Rob
Hi,
I have downloaded iptables-1.2.9 from netfilter.org and installed using make and make install commands after compiling the kernel with network packet filtering (replaces ipchains) option having value yes
also the settings under IP netfilter configuration are.
connection tracking module
FTP, amanda ,TFTP,IRC support no
IP tables support (required for filtering/masq/NAT) module
Packet filtering module
full NAT module
Redirect support module
ipchains 2.2 style support no
ipchains 2.0 style support no
then i compiled kernel and rebooted machine
But when i issued the following command
Quoted 7 lines
iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
i got the following error
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbolnf_register_sockopt_Rsmp_f5985dce
plz give me more insight on this issue
Quoted 11 lines · Rob Sterenborg
I m using kernel 2.4.22 and iptables rpm 1.2.7a-2. I compiled a kernel to support the Network filtering successfully. But when i issued the following command
iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
i got the following error
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbolnf_register_sockopt_Rsmp_f5985dce
....
Quoted 8 lines
iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
what this error means?do i need to update the iptables or kernel?
Did you compile a new kernel without updating iptables ? If so, compile a new iptables (1.2.9) too.
Gr,
Rob
---------------------------------
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today
Quoted 4 lines
I have downloaded iptables-1.2.9 from netfilter.org and installed using make and make install commands after compiling the kernel with network packet filtering (replaces ipchains) option having value yes
Did you patch the kernel with a new Patch-O-Matic (also from the Netfilter website) before you configured/compiled it ?
I suppose iptables-1.2.9 requires symbols not yet in an unpatched kernel.
Quoted 6 lines
Quoted 6 lines
iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
i got the following error
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbolnf_register_sockopt_Rsmp_f5985dce
Gr,
Rob
Hi,
Thanks for ur help....
i again recompiled the kernel with netfilter support and the iptables is now working fine....
i think i did not copied the newly kernel image to the boot dir so that the problem remained....
anyway
thanks once again for ur time
Quoted 4 lines · --- Rob Sterenborg
Quoted 1 line
I have downloaded iptables-1.2.9 from
netfilter.org and
Quoted 1 line
installed using make and make install commands
after
Quoted 15 lines
Quoted 2 lines
compiling the kernel with network packet filtering (replaces ipchains) option having value yes
Did you patch the kernel with a new Patch-O-Matic (also from the Netfilter
website) before you configured/compiled it ? I suppose iptables-1.2.9 requires symbols not yet in an unpatched kernel.Quoted 5 lines
Quoted 5 lines
iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP
i got the following error
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o:
Quoted 8 lines
Quoted 1 line
Quoted 1 line
unresolved symbol
nf_register_sockopt_Rsmp_f5985dceGr,
Rob
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/