用7层可以用。

/ip firewall layer7-protocol
add comment="" name=pps regexp="^.\?.\?\\c.+\\c"
add comment="" name=qqlive regexp="(^get.+\\video.\?\\qq.+\\flv|^\\xFE.\?.\?.\
\?.\?\\xD3|^get.+\\video.\?\\qq.+\\mp4)"
add comment="" name=pplive regexp="(\\x06\\x02\\xA8\\xC0\\xB1\\x13|\\xA8\\x02\
\\x06\\x19\\x1A\\x5F\\x1B\\x6F\\xAE\\xE1|^get.+\\mp4.\?\\key.+\\pplive)"
add comment="" name=qqmusic regexp=\
"(^\\xFE.\?.\?.\?.\?\\xCF|^get.+\\qqmusic.\?\\qq.+\\qqmusic)"

Last modification:February 16th, 2019 at 10:59 pm
If you think my article is useful to you, please feel free to appreciate