ERROR Module IPTABLES P2P ->ipt_p2p.ko with CENTOS4.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux