im trying to use some of these wiki layer 7 commands, but pasting them into terminal gives tons of syntax errors and usually the rule is added with just a name and no content.
http://wiki.mikrotik.com/wiki/L7
for example, how can i get that bittorrent rule:
/ip firewall layer7-protocol
add comment=“” name=bittorrent regexp=“^(\x13bittorrent
protocol|azver\x01$
|get /scrape\?info_hash=|get /announce\?info_hash=|get
/client/bitcomet
/|GET /data\?fid=)|d1:ad2:id20:|\x08’7P\)[RP]”
into mikrotik?? you would think the wiki would address this issue (ive even tried click the manual and source code, same result)
this is what i get from the ros 5.20 terminal:
[admin@cust2737] /ip firewall layer7-protocol> add comment=“” name=bittorrent rege
xp=“^(\x13bittorrent
[admin@cust2737] /ip firewall layer7-protocol> protocol|azver\x01$
syntax error (line 1 column 9)
[admin@cust2737] /ip firewall layer7-protocol> |get /scrape\?info_hash=|get
/announce\?info_hash=|get
expected command name (line 1 column 5)
[admin@cust2737] /ip firewall layer7-protocol> /client/bitcomet
syntax error (line 1 column ![]()
[admin@cust2737] /ip firewall layer7-protocol> /|GET /data\?fid=)|d1:ad2:id2
0:|\x08’7P\)[RP]”
expected command name (line 1 column 6)
[admin@cust2737] /ip firewall layer7-protocol>