很多地区的网吧带宽有限,迅雷下载,迅雷看看导致网吧很卡。可以试试这个ROS脚本,当然网吧带宽够大的可以不用限制迅雷。毕竟网友需要。
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
/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
|