Use policy-map
class-map match-any CLASS_TORRENTS
match protocol edonkey
match protocol bittorrent
match protocol kazaa2
policy-map RM_TORRENTS
class CLASS_TORRENTS
drop
class class-default
Enable this policy on internet interface
service-policy input RM_TORRENTS
service-policy output RM_TORRENTS