I used Intrusion Detection with suricata i downloaded and update rules and block or drop p2p
with web proxy also i enabled ACL and Blacklist destination domains.You may use a regular expression like http://prntscr.com/fap8d0
and it works like a charm,