找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4772|回复: 1

[限速] Router OS封锁讯雷(转)

[复制链接]
发表于 2011-10-30 13:27:09 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
本帖最后由 curie123 于 2011-11-2 09:13 编辑

针对于公司、或网吧。讯雷肯定是首选最讨厌的软件之一。就是因为它的多线程下载使整个网络的带宽被它一占而尽。那么如何使用ros把讯雷给封住?用端口?用IP?肯定是不行的。所以现在给大家教一个方法。使用关键字过滤。把讯雷向服务器发送的请求信息里的关键字过滤掉,那么就能达到封锁讯雷的效果。经测试,确实能让讯雷获取不到资源。
ROS代码如下:
/ip firewall filter add chain=forward content="octent-stream" action=drop comment="blockade 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
routeros
发表于 2011-10-31 16:32:13 | 显示全部楼层
还要钱?
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-15 22:48 , Processed in 0.046336 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表