- 论坛徽章:
- 0
|
cd /usr/src
wget http://ipp2p.org/downloads/ipp2p-0.7.tar.gz
tar zxvf ipp2p-0.7.tar.gz
cd ipp2p-0.7
改一下Makefile中
IUSER = -I/usr/src/iptables-1.*/include 中的.*部分为你的iptables源码位置
make
cp ipt_ipp2p.o /lib/modules/2.4.X/kernel/net/ipv4/netfilter
insmod ipt_ipp2p
然后试一下吧,
iptables -A FORWARD -m ipp2p --kazaa --edk --bit -j DROP
我在2.4.29S核心下通过
#iptables -vL
**************
Chain FORWARD (policy ACCEPT 143K packets, 30M bytes)
pkts bytes target prot opt in out source destination
41 4428 DROP all -- any any anywhere anywhere ipp2p v0.7.2 --kazaa --edk --bit
**************
 |
|