It depends on how you want to block them. To block them from registering but still allowing them to read cp->member managment ->ban list and you can ban ip's.

To block them from your site you will need to use an ip ban in an .htaccess file or in iptable