[clug] iptables with 2.4.22

Simon Burton simon at arrowtheory.com
Fri Sep 19 13:22:53 EST 2003


Having trouble getting ip_tables to work on my new 2.4.22 kernel...

[root at arrow root]# modprobe ip_tables
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_unregister_sockopt
/lib/modules/2.4.22/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_register_sockopt/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

Now, where is this pesky symbol?
[root at arrow net]# find . | grep "\.c$" | xargs grep nf_unregister             
./netsyms.c:EXPORT_SYMBOL(nf_unregister_hook);
./netsyms.c:EXPORT_SYMBOL(nf_unregister_sockopt);
./netsyms.c:EXPORT_SYMBOL(nf_unregister_queue_handler);
./core/netfilter.c:void nf_unregister_hook(struct nf_hook_ops *reg)
./core/netfilter.c:void nf_unregister_sockopt(struct nf_sockopt_ops *reg)
./core/netfilter.c:int nf_unregister_queue_handler(int pf)
[more...]

And it seems the kernel is exporting something appropriate:
[root at arrow root]# grep nf_unregister /proc/ksyms 
c0215b10 nf_unregister_hook_R__ver_nf_unregister_hook
c0215c30 nf_unregister_sockopt_R__ver_nf_unregister_sockopt
c0215f50 nf_unregister_queue_handler_R__ver_nf_unregister_queue_handler
But it doesn't look quite right (what is this suffix?)

Any ideas welcome. (i hope it's not "make mrproper" :( )

Simon.

-- 
Simon Burton, B.Sc.
Licensed PO Box A66
ANU Canberra 2601
Australia
Ph. 02 6249 6940
http://arrowtheory.com 



More information about the linux mailing list