蓝色动力网络

找网吧系统
就到网吧系统下载站

ROS的PCQ策略中对迅雷等P2P软件进行限速

作者:chen人气:0来源:网吧系统下载站2014-04-01 09:06:23

广告载入中...

本方法是利用路由器的过滤关键字功能..把迅雷发向服务器请求资源的命令给拦截了..

这样可以达到迅雷无法获取资源而成了普通没用的下载工具..

ROS代码如下:

下面这个代码是完全封锁迅雷..即让迅雷啥东西都下载不了..:

/ ip firewall filter add chain=forward c action=drop comment="NO Thunder" disabled=no

/ ip firewall filter add chain=forward c action=drop comment="" disabled=no

/ ip firewall filter add chain=forward c action=drop comment="" disabled=no

/ ip firewall filter add chain=forward c action=drop comment="" disabled=no

/ ip firewall filter add chain=forward c action=drop comment="" disabled=no

/ ip firewall filter add chain=forward c action=drop comment="" disabled=no

/ ip firewall filter add chain=forward c action=drop comment="" disabled=no

/ ip firewall filter add chain=forward c action=drop comment="" disabled=no

其它路由可以通过关键字过滤功能封锁以下关键字:

octet-stream

Pragma: no-cache

Connection: close

Range: bytes=

Cookie: __utma=

filename=

Cookie rtime=

Content-Disposition: attachment;

下面这个代码是让迅雷成为普通的下载工具(即用原始线程下载,单线程,这样对宽带占用不大)

ROS代码如下:

/ ip firewall filter add chain=forward c action=drop comment="Blockade Thunder 1.Thread" disabled=no

其它路由可以通过关键字过滤功能封锁以下关键字: octet-stream

此脚本在本人开发的ROS脚本生成器1.6以上的版本都有此功能..而且不断更新.. 有需要的朋友可以到我们官方网站下载:http://bbs.szwblm.com 此文并非本人原创..小部分来自于网络..本人测试整理后发布.. 本人QQ:99106610 #


以下是封迅雷的规则,但是迅雷帐号可以正常登陆,只能使用原资源下载,这样迅雷就和普通下载工具一样了!

# 更新时间:2008-04-12

/ ip firewall filter

add chain=forward dst-address=213.39.61.58 action=drop

comment="Blockade Thunder 1.Thread" disabled=no

add chain=forward dst-address=219.129.83.0/24 action=drop

comment="" disabled=no

add chain=forward dst-address=220.172.191.36 action=drop

comment="" disabled=no

add chain=forward dst-address=61.183.55.0/24 action=drop

comment="" disabled=no

add chain=forward dst-address=58.61.39.0/24 action=drop

comment="" disabled=no

add chain=forward dst-address=121.10.120.0/24 protocol=tcp dst-port=!80 action=drop comment="" disabled=no

add chain=forward protocol=tcp dst-port=3076-3079 action=drop

comment="" disabled=no

add chain=forward protocol=udp dst-port=3076-3079 action=drop

comment="" disabled=no

add chain=forward dst-address=221.238.253.251 action=accept

comment="Thunder Login IP" disabled=no

add chain=forward protocol=udp dst-port=1004 action=drop comment="" isabled=no

add chain=forward protocol=udp dst-port=5004 action=drop comment="" disabled=no

add chain=forward protocol=tcp dst-port=5200 action=drop comment="" disabled=no

add chain=forward protocol=tcp dst-port=6200 action=drop comment="" disabled=no

add chain=forward protocol=tcp dst-port=8001 action=drop comment="" disabled=no

add chain=forward protocol=udp dst-port=8001 action=drop comment="" disabled=no

add chain=forward protocol=udp src-port=15000-15001 action=drop

comment="" disabled=no

add chain=forward protocol=udp src-port=16818 action=drop

comment="" disabled=no

继续阅读:ROS

分享吧~提高逼格:

栏目分类

热门下载

More
官方微信二维码蓝色动力官方微信公众号