To block torrents on an IP address defined with macro $IP:
block drop quick proto {tcp udp} from $IP to port {6969 6881:7000} block drop quick proto {tcp udp} to $IP port {6969 6881:7000}