Layer7 code

Can more layer 7 codes be published to block bit-torrent and more of these codes?
This would be very interesting.
Thanks

I try to help but i’m not perfect :slight_smile:

for bittorrent , try:

^(\x13bittorrent protocol|azver\x01$|get /scrape?info_hash=get /announce?info_hash=|get /client/bitcomet/|GET /data?fid=)|d1:ad2:id20:|\x08’7P)[RP]

Thanks for the code.