Layer7 filter

We are trying to come up with some rules to do l7-filter, for example, in

http://l7-filter.sourceforge.net/layer7-protocols/protocols/kugoo.pat

the pattern is set to be:

^(\x64…\x70…\x50\x37|\x65.+)

/ip firewall layer7-protocol
add name=kugoo regexp=“^(\x64…\x70…\x50\x37|\x65.+)”

expected end of command (line 1 column 27)


Could you please tell up how to convert the regexp for RouterOS.

When adding regexp in console, replace all '' with ‘\’

Or use winbox. In winbox you can copy and paste exact pattern.