block p2p on router os version 6.4

hello

how do i block p2p traffic on router os 6.4?

Hi

You could try with Layer7 matching patterns to mark connections as “p2p” based on the first (usually) 2k of data in connection, and then in second step block connections with that mark.
There are some patterns to be found on line.

Very difficult in general now as most P2P uses encryption.

Hope they integrate IDS/IPS feature in RouterOS in v7.

I like your optimism.

I am planning to buy RB4011 which has powerful hardware and is kind of expensive. So, I would expect these type of features.

Juniper/Ubiquiti have DPI integrated into their routers.

https://www.mansooryousaf.com/blogs/block-bittorrent-and-p2p-using-latest-mikrotik-version-6-41

You should upgrade your router first. v6.4 is five years old and is vulnerable for known exploits that can be used in order to hack your routers.