Hello.
Two providers are connected with load balancing, everything works fine,
how to send torrent traffic to a certain provider?
Identify the traffic with a mangle rule in the pre-routing chain. Set the connection-mark or routing-mark to the ISP you prefer. Just make sure the new rule is high-enough up in the rule-set to take effect.
in 6.40.4 p2p traffic not mark
p2p matcher is obsolete please use layer7 matcher instead
Ah, search the forums there are a lot of other posts about it.
Long story short the higher layer filtering (the bold rules or new layer 7 filter) can function against non encrypted sessions.
Do you own or manage the devices in question? If so you can make a more intelligent filter by statically defining the ports in use or having the client OS set a DSCP value on the application that you can read on the MikroTik.
As traffic turns to more and more encryption you’ll see a lot of these higher layer inspection rules become less relevant.
If you’re an ISP you’ll be left with global rate limiting or simply building out the capacity to meet your users demands. I personally opt for the latter.
Layer 7
^(\x13bittorrent protocol|azver\x01$|get /scrape\?info_hash=get /announce\?info_hash=|get /client/bitcomet/|GET /data\?fid=)|d1:ad2:id20:|\x08'7P\)[RP]
not work correctly
Mark only some packets