ip_tables.o not loading - nf_unregister_sockopt error
hey guys
Im having some trouble compiling and using iptables/netfilter Its enabled in the kernel, and the modules are there, but when I try to load them I get this:
root@server:~# modprobe ip_tables /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_unregister_sockopt /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_register_sockopt /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o failed /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
What am I doing wrong?
Please CC mail directly to me, as Im not subscribed to the list. And yes, I have browsed the archives with no luck.
- Doc
On Wed, 2003-09-03 at 00:33, Doc Nielsen wrote:
hey guys
Im having some trouble compiling and using iptables/netfilter Its enabled in the kernel, and the modules are there, but when I try to load them I get this:
root@server:~# modprobe ip_tables /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_unregister_sockopt /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_register_sockopt /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o failed /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
What am I doing wrong?
Please CC mail directly to me, as Im not subscribed to the list. And yes, I have browsed the archives with no luck.
- Doc
Could you tell me how you have compiled your kernel?
Signature · 4 lines
Regards Dharmendra.T [email protected] Linux Security and Admin
Re: ip_tables.o not loading - nf_unregister_sockopt error [FIXED]
Quoted 18 lines · Dharmendra.T
Quoted 17 lines · Doc Nielsen
hey guys
Im having some trouble compiling and using iptables/netfilter Its enabled in the kernel, and the modules are there, but when I try to
load them I get this:root@server:~# modprobe ip_tables /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_unregister_sockopt /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_register_sockopt /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o failed /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
Quoted 8 lines
Quoted 6 lines
What am I doing wrong?
Please CC mail directly to me, as Im not subscribed to the list. And yes, I have browsed the archives with no luck.
- Doc
Could you tell me how you have compiled your kernel?
It's the debian kernel-source-2.4.20.deb
make menuconfig && make dep && make bzlilo modules modules_install
A complete recompile solved the problem, or went around it...
cp /usr/src/kernel-source-2.4.20/.config /usr/src/config.txt rm -rf /usr/src/kernel-source-2.4.20
tar xjf kernel-source-2.4.20.tar.bz2
cp /usr/src/config.txt /usr/src/kernel-source-2.4.20/.config cd /usr/src/kernel-source-2.4.20/
make menuconfig && make dep && make bzlilo modules modules_install
- Doc