ipp2p安装


关键字:ipp2p,iptables,eDonkey, eMule, Kademlia,BitTorrent, extended BT,p2p,关闭,端口,封,Linux. 站点:http://rnvs.informatik.uni-leipzig.de/ipp2p/index_en.html 说明:为了封堵内网的大量P2P软件的使用对带宽的影响.使用iptables的扩展模块ipp2p来进行控制. 下载: ipp2p-0.7.1.tar.gz iptables-1.2.9.tar.bz2(需要使用到iptables.h,为了方便就下载了,请注意下载和你使用的iptables同样的版本,可用iptables -V察看系统安装的iptables的软件版本.) 安装: cd /usr/local/src/ tar -zxvf ipp2p-0.7.1.tar.gz bunzip2 iptables-1.2.9.tar.bz2 tar xvf iptables-1.2.9.tar 修改ipp2p目录中的Markfile. 将IUSER = -I/usr/src/iptables修改为IUSER = -I/usr/local/src/iptables-1.2.9/include. make cp libipt_ipp2p.so /lib/iptables/ cp ipt_ipp2p.o /lib/modules/ 使用iptables -m ipp2p –help命令,测试模块是否能正常装载.显示正常的帮助文件. insmod ipt_ipp2p.o 安装完成. 加入一条命令封锁P2P的软件使用. iptables -A INPUT -m ipp2p –edk –kazaa –bit -j DROP 世界终于清静了……

comments powered by Disqus