FolkeHacks - ipp2p-0.8.2 Kernel-2.6.21 patch

ipp2p-0.8.2 Kernel-2.6.21 patch

This is a hack for the iptables addon IPP2P (www.ipp2p.org)
The IPP2P matching module is to match peer-to-peer traffic for to drop or throttle it.
For compiling the latest 0.8.2 for Linux Kernel 2.6.21 you'll need this patch.

These are the errors you'll get without the patch:
  CC [M]  /usr/src/ipp2p/ipp2p-0.8.2/ipt_ipp2p.o
/usr/src/ipp2p/ipp2p-0.8.2/ipt_ipp2p.c:874: warning: initialization from incompatible pointer type
/usr/src/ipp2p/ipp2p-0.8.2/ipt_ipp2p.c: In function 'init':
/usr/src/ipp2p/ipp2p-0.8.2/ipt_ipp2p.c:883: warning: implicit declaration of function 'ipt_register_match'
/usr/src/ipp2p/ipp2p-0.8.2/ipt_ipp2p.c: In function 'fini':
/usr/src/ipp2p/ipp2p-0.8.2/ipt_ipp2p.c:888: warning: implicit declaration of function 'ipt_unregister_match'
WARNING: "ipt_register_match" [/usr/src/ipp2p/ipp2p-0.8.2/ipt_ipp2p.ko] undefined!
WARNING: "ipt_unregister_match" [/usr/src/ipp2p/ipp2p-0.8.2/ipt_ipp2p.ko] undefined!
# insmod ipt_ipp2p.ko
insmod: error inserting 'ipt_ipp2p.ko': -1 Unknown symbol in module
ipt_ipp2p: Unknown symbol ipt_register_match
ipt_ipp2p: Unknown symbol ipt_unregister_match

Patch for ipp2p-0.8.2/kernel-2.6.21: ipp2p-0.8.2-kernel-2.6.21.diff

Back to FolkeHacks


© 1999-2018 by Folke Ashberg | <>