You can block a whole IP range say 1.1.1.0/255 using CSF and iptables

CSF:
csf -d 1.1.1.0/24
Iptables:
iptables -A INPUT -s 1.1.1.0/24 -j DROP
service iptables save