Proxy Rules

This module can be used to write Drupal rules that take actions on unwanted connections, e.g. through anonymous proxies or from bots.

Possible uses include writing a hook_boot to block all unwanted incoming connections, or use of the rules module to limit access to a subset of site functionality, e.g. account creation.


Source: https://drupal.org/project/project_module/feed/all