Here is a script:
/ip firewall layer7-protocol
add name=IDM-Down regexp="get /.*(user-agent: mozilla/4.0|range: bytes=)"
/queue tree
add limit-at=128k max-limit=128k name=IDM-Download packet-mark=IDM-Conn \
parent=global priority=5 queue=default
/ip firewall mangle
add action=mark-connection chain=prerouting layer7-protocol=IDM-Down \
new-connection-mark=IDM-Conn
add action=mark-packet chain=prerouting connection-mark=IDM-Conn \
new-packet-mark=IDM-Conn passthrough=no
2 comments
Write commentsHI
Replyno connection marked with this rules!
why?
packets and connections bytes is 0 allways
this online only for firefox mozilla , notworking for allbrowser ??
ReplyEmoticonEmoticon