免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4040 | 回复: 3
打印 上一主题 下一主题

RouterOS限制迅雷下载 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-15 19:24 |只看该作者 |倒序浏览
/ ip firewall filter add chain=forward content="octet-stream" action=drop comment="Blockade Thunder 1.Thread" disabled=no




相信大家都深受迅雷的折磨..痛苦啊..
现在教大家一套100%能防止局域网内迅雷下载的办法..
本人用了大半年了..效果非常的不错..大家可以测试一下..
如果迅雷公司知道了这事后..我就怕这就不行了..呵..
不过..兵来将挡..水来土掩...
本方法是利用路由器的过滤关键字功能..把迅雷发向服务器请求资源的命令给拦截了..
这样可以达到迅雷无法获取资源而成了普通没用的下载工具..
下面这个代码是完全封锁迅雷..即让迅雷啥东西都下载不了..绝...
ROS代码如下:
/ ip firewall filter add chain=forward content="octet-stream" action=drop comment="NO Thunder" disabled=no
/ ip firewall filter add chain=forward content="Pragma: no-cache" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Connection: close" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Range: bytes=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Cookie: __utma=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="filename=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Cookie rtime=" action=drop comment="" disabled=no
/ ip firewall filter add chain=forward content="Content-Disposition: attachment;" 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 content="octet-stream" action=drop comment="Blockade Thunder 1.Thread" disabled=no
其它路由可以通过关键字过滤功能封锁以下关键字:
octet-stream
此脚本在本人开发的ROS脚本生成器1.6以上的版本都有此功能..而且不断更新..


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/21251/showart_1193885.html

论坛徽章:
0
2 [报告]
发表于 2010-06-23 19:46 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2010-06-28 23:10 |只看该作者
这样做对其他软件有影响了

论坛徽章:
0
4 [报告]
发表于 2010-09-15 16:00 |只看该作者
禁止下载有点绝了,在Mangle 表上打上标记,再 进入QUEUE 进行限速 更为人性化吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP