Community Documentation

IP blacklisting modules

Last updated October 29, 2009. Created by ilo on October 8, 2009.
Edited by rfay. Log in to edit this page.

IP blacklisting is a common operation in public services. This feature should only be used as the 'last resort' when you have not more resources to deal with the undesired site access. Blocking by IP address may unintentionally block many users.

Note that there is currently no facility for domain blacklisting for email based registrations in Drupal.

  • GoAway: simple light-weight "Ban By IP" module. Designed especially for high-traffic sites which can't (or don't want to) bear the combined load of the Statistics and Tracker modules. The entire purpose of GoAway is to make IP banning as easy as editing a comment.
  • Troll: Troll is not that 'light' as GoAway, and includes also import operations for external blacklists. This is a more rich in features module, allowing permanent or temporarily banning restrictions, and providing the functionality not just by IP, but also using the user as the "ban" start point.
  • http:BL: This is an implementation of http:BL for Drupal. http:BL can prevent email address harvesters and comment spammers from visiting your site by using a centralized DNS blacklist. It requires a free Project Honey Pot membership. This module provides efficient blacklist lookups and blocks malicious visitors effectively. Support for whitelists and greylists is also included.