Ban

The Ban module allows an administrator to ban visits to his/her site from specifick IP addresses.
This functionality exist already in Drupal 7 as a part of the System module.