Reply to comment

Richard's picture
Member since:
28 May 2008
Last activity:
4 days 39 min

JoeyC wrote:
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.

apt-get --purge remove iptables iptables-dev
wget http://netfilter.org/projects/iptables/files/iptables-1.4.0.tar.bz2

Remove installed ipp2p modules

rm /lib/modules/2.6.18-6-486/kernel/net/netfilter/ipt_ipp2p.ko
rm -rf /lib/iptables/

Untar and compile the downloaded iptables source

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

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may quote other posts using [quote] tags.

More information about formatting options