this is the layer protocols 7
Code: Select all
/ip firewall layer7-protocol
add name=http-video regexp="http/(0\\.9|1\\.0|1\\.1)[\\x09-\\x0d ][1-5][0-9][0-9\
][\\x09-\\x0d -~]*(content-type: video)"
Code: Select all
/ip firewall mangle
add action=mark-packet chain=prerouting comment="http-video mark-packet" \
layer7-protocol=http-video new-packet-mark=http-video passthrough=no
Code: Select all
/queue simple
add limit-at=64k/64k max-limit=64k/64k name=http-video packet-marks=http-video \
target=10.9.2.0/24