The GeoBlocker module allows site maintainers to black-list or to white-list access to a Drupal site by countries. IP tables come from http://www.php.net/source.php?url=/include/ip-to-country.inc and are downloaded locally to speed up lookup.

Drupal 7

Drupal 7 version of the module is scheduled to be released in the next couple of weeks. The D7 branch will fix/implement most of the known and open issues.

Features

  • Supports blacklisting and whitelisting as well;
  • Prevents/Allows access to the complete site or to a subset of nodes;
  • Whitelisting of IPv4 ranges;
  • Allows robots and crawlers (Google, Yahoo!, Bing);
  • Provides a bypass geoblocker permission for role based whitelisting;
  • Never messes with the admin.
  • leaves /user/login always open

Known and Open Issues

  • Enable in the 'subset' scope to define taxonomy terms rather than nodes;
  • Crawler identification is rather ugly and limited to the three big players;
  • Add an option to redirect to a node explaining why the user is blocked;
  • Add some styling to the default 403 output;
  • Scope 'subset' isn't finished yet;
  • Provide an option to handle robots and crawlers as "normal" visitors;
  • Provide a way to include additional robots;
  • Pretify the admin interface;
  • Provide support for IPv6.

Sponsors

Downloads

Version Downloads Date Links
6.x-1.x-dev tar.gz (12.26 KB) | zip (14.65 KB) 2011-Feb-25 Notes

Project Information


Maintainers for GeoBlocker

  • weboholic - 6 commits
    last: 1 year ago, first: 1 year ago

Issues for GeoBlocker

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports