I too am getting the "variable 'ipp2p' has initializer but incomplete type" etc... error.. resulting in the make process stalling on libipt_ipp2p.so. I get the same error if I patch for ipt 1.4.0 or not... sure is strange. A little nudge would be appreciated
Remove the iptables currently installed on your system and download iptables 1.4.0 from netfilter's website.
tar -jxvf iptables-1.4.0.tar.bz2
cd iptables-1.4.0
make KERNEL_DIR=/usr/src/linux-headers-2.6.18-6-486
make install KERNEL_DIR=/usr/src/linux-headers-2.6.18-6-486
Install the ipp2p
cd ..
cd ipp2p-0.8.2
make clean
make
cp libipt_ipp2p.so /usr/local/lib/iptables/
cp ipt_ipp2p.ko /lib/modules/2.6.18-6-486/kernel/net/netfilter/
depmod -a
/usr/local/sbin/iptables -m ipp2p --help
/usr/local/sbin/iptables -A FORWARD -m ipp2p --ipp2p -j DROP
Hope this helps...
Cheers!!!
Reply
Seach Open Mind
About Me
Linux Sysad
Internet junkie
Photographer wannabe
Traveller
and I love tennis
28 May 2008
4 days 39 min
Remove the iptables currently installed on your system and download iptables 1.4.0 from netfilter's website.
wget http://netfilter.org/projects/iptables/files/iptables-1.4.0.tar.bz2
Remove installed ipp2p modules
rm -rf /lib/iptables/
Untar and compile the downloaded iptables source
cd iptables-1.4.0
make KERNEL_DIR=/usr/src/linux-headers-2.6.18-6-486
make install KERNEL_DIR=/usr/src/linux-headers-2.6.18-6-486
Install the ipp2p
cd ipp2p-0.8.2
make clean
make
cp libipt_ipp2p.so /usr/local/lib/iptables/
cp ipt_ipp2p.ko /lib/modules/2.6.18-6-486/kernel/net/netfilter/
depmod -a
/usr/local/sbin/iptables -m ipp2p --help
/usr/local/sbin/iptables -A FORWARD -m ipp2p --ipp2p -j DROP
Hope this helps...
Cheers!!!