ipt_p2p: Unknown symbol xt_register_match
自己写的一个包过滤程序,编译通过了运行时显示:
ximotech:/# cd usr/local/src/p2p-1.0.0
ximotech:/usr/local/src/p2p-1.0.0# iptables -m p2p -help
iptables v1.4.2: Couldn't load match `p2p'null)
Try `iptables -h' or 'iptables --help' for more information.
用dmesg查看后:
[15164.764269] ipt_p2p: Unknown symbol xt_register_match
[15164.764315] ipt_p2p: Unknown symbol xt_unregister_match
[16756.947563] ipt_p2p: Unknown symbol xt_register_match
[16756.947617] ipt_p2p: Unknown symbol xt_unregister_match
[16890.520221] ipt_p2p: Unknown symbol xt_register_match
[16890.520221] ipt_p2p: Unknown symbol xt_unregister_match
这个问题我查了好多资料都没法解决,有看法的给点建议,谢谢了
我测试的内核版本为2.6.26