insmod: error inserting 'ipt_ipaddr.ko': -1 Unknown symbol in module
i need to insert module ipt_ipaddr match using insmod, but there's an error:
ipt_ipaddr: Unknown symbol xt_register_matchipt_ipaddr: Unknown symbol xt_unregister_match
could you explain to me how to solve this problem? thank you
Quoted 8 lines · isabela dinarsari
i need to insert module
ipt_ipaddrmatch using insmod, but there's an error:
ipt_ipaddr: Unknown symbolxt_register_matchipt_ipaddr: Unknown symbolxt_unregister_matchcould 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