Dear Friends,
I compiled with secessfull module P2P to iptables on CENTOS 4.2, but after the Centos load ipt_p2p.ko the kernel PANIC.
Below I show follow steps for compile.
# tar -zxpvf iptables-p2p-0.3.0a.tar.gz # rpm -ivh iptables-1.2.11-3.1.RHEL4.scr.rpm
# cp -a /usr/src/iptables/include/* /usr/include # cp /usr/src/iptables-p2p-0.3.0a/common/* /usr/include
Before compilation I had to correct sources a little. In kernel/main.c we change: #ifdef CONFIG_MODVERSIONS #include <kernel/modversions.h> #endif
to: #ifdef CONFIG_MODVERSIONS #include <config/modversions.h> #endif
# make Copy it (for kernel 2.6): # cp kernel/ipt_p2p.ko /lib/modules/`uname -r`/kernel/net/ipv4/netfilter/ # depmod -a # modprobe ipt_p2p <- after load, Kernel PANIC
Thanks
Adriano
I compiled with secessfull module P2P to iptables on CENTOS 4.2, but after the Centos load ipt_p2p.ko the kernel PANIC.
# modprobe ipt_p2p <- after load, Kernel PANIC
Sounds like you need to ask this question of the iptables-p2p people.
-- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775