Skip to contentSkip to conversation

insmod: error inserting 'ipt_ipaddr.ko': -1 Unknown symbol in module

DISCUSSION isabela dinarsari 2 participants 2 messages Jun 22, 2008 netfilter

lore
Share & tools
lore
#0 lore raw

i need to insert module ipt_ipaddr match using insmod, but there's an error:

ipt_ipaddr: Unknown symbol xt_register_match
ipt_ipaddr: Unknown symbol xt_unregister_match

could you explain to me how to solve this problem? thank you

#1 lore raw
Quoted 8 lines · isabela dinarsari

i need to insert module ipt_ipaddr match using insmod, but there's an error:

ipt_ipaddr: Unknown symbol xt_register_match
ipt_ipaddr: Unknown symbol xt_unregister_match

could you explain to me how to solve this problem? thank you

insmod does not automatically load dependencies, only modprobe does. But modprobe does not take a filename, which makes the situation a bit awkward. So what's left is that one loads the dependencies with modprobe before:

modprobe x_tables
modprobe xtables_compat
insmod xt_ipaddr.ko

Note that ipt_ipaddr has been "replaced" by xt_ipaddr (you know ipaddr is just a test module anyway); the new doc is at
http://jengelh.medozas.de/documents/Netfilter_Modules.pdf