Ros 限制迅雷

最近网吧里说玩游戏的时候,网络很卡。由于只有联通的出口,所以我想在ros上限制一下迅雷看看有没有效果。

在网上找到了如下的脚本:

/ip firewall filter add chain=forward content="octet-stream" action=drop comment="Blockade Thunder 1.thread" disabled=no

使用了一下,效果还真管用,迅雷是一个byte也没有下载。

这好像不是我想要的结果,我要限制迅雷的下载速度,没说要封了它。

还找到如下代码,说是能完全封堵迅雷:

 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

分析得知,都是通过关键字来封堵迅雷的。

又找到一个是通过dns来封堵迅雷的:

/ip dns static
add address=192.168.0.254 name="sandai.net"

迅雷下载东西的时候还是从sandai.net来寻找p2p上的相关资源

刚才网吧网管给我打电话说迅雷和一个什么游戏不能更新了。看来是把迅雷给封了,但是封了还不行。

请选择你看完该文章的感受:

不错 超赞 无聊 扯淡 不解 路过

随机文章:

Tags:

发表评论