文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>ipp2p的安装配置

ipp2p的安装配置

时间:2006-06-09  来源:me09

ipp2p的安装配置
文章类别:Linux  发表日期:2005-09-07      阅读次数: 530
 

原文:http://blog.it580.com/?p=126

站点: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

世界终于清静了……

相关阅读 更多 +
排行榜 更多 +
冒名顶替者战争

冒名顶替者战争

策略塔防 下载
SUPERSTAR STARSHIP

SUPERSTAR STARSHIP

音乐节奏 下载
解压大师

解压大师

音乐节奏 下载