Module Description
Synopsis Drupal core's IP address blocking functionality (at admin/config/people/ip-blocking) is a great way to ban IP addresses that fill your logs with 403s to node/add or failed login attempts.
But, blocked IP addresses without expiry dates will never be unblocked, meaning potentially-legitimate visitors who previously had a virus or took over an IP address that used to belong to a spammer will never be able to access your site ever again.
Blocked IPs Expire aims to be a simple, lightweight, stable, tested, expandable solution for adding expiry dates to blocked IP addresses and unblocking them after a certain amount of time.
Features
* IP addresses are unblocked on the next cron run after their expiry date has passed,
* Modifies the existing IP address blocking administration form to accept an expiry date,
* Modifies the existing IP address blocking administration list to show the expiry date for each blocked IP address,
* Provides a globally-configurable default time to expiry, and,
* Provides a hook to allow other modules to act when an IP address is about to be deleted.
Requirements
* Drupal 7
Recommended modules
* Rules
Roadmap The 1.x branch is the current stable branch.
That being said, I'm open to patches so long as they don't over-complicate the module.
Known problems We don't know of any problems at this time, so if you find one, please let us know by adding an issue!
Credits Current co-maintainers:
* M Parker
* Renaud Joubert
See the bottom of this page for a list of organizations who have supported this project.
Gittip/Flattr/Paypal The current co-maintainers are not currently accepting donations.
However, if you are willing to pay this module's co-maintainers to work on a bug that affects your project, or add a feature you require, please contact the co-maintainers directly using the contact form on their respective Drupal.org user account pages.
Help wanted! Maintaining a project can be a lot of work, and the current co-maintainers of this project have full-time jobs, are not paid to maintain this module, and maintain a few other projects besides this one.
More co-maintainers to help triage issues, test patches for regressions, and add features would be greatly appreciated and would help us to resolve issues faster! If you are interested in becoming a co-maintainer, please open an issue asking to become one!
Similar projects and how they are different
* The Troll module lets you block IP addresses for a set duration, but:
* it doesn't have a stable Drupal 7 release,
* it has no way for other modules to modify the amount of time an IP address is blocked for,
* it has no Rules integration, and,
* it's test suite only tests the UI — it doesn't test the module's functionality.
If you are aware of any other similar projects, please let me know by adding an issue!
Dependencies This module does not depend on an external service (e.g. SaaS) to be fully functional.
Restrictions This module has no artificial restrictions: the version available from Drupal.org has full functionality. No paid version is available.
But, blocked IP addresses without expiry dates will never be unblocked, meaning potentially-legitimate visitors who previously had a virus or took over an IP address that used to belong to a spammer will never be able to access your site ever again.
Blocked IPs Expire aims to be a simple, lightweight, stable, tested, expandable solution for adding expiry dates to blocked IP addresses and unblocking them after a certain amount of time.
Features
* IP addresses are unblocked on the next cron run after their expiry date has passed,
* Modifies the existing IP address blocking administration form to accept an expiry date,
* Modifies the existing IP address blocking administration list to show the expiry date for each blocked IP address,
* Provides a globally-configurable default time to expiry, and,
* Provides a hook to allow other modules to act when an IP address is about to be deleted.
Requirements
* Drupal 7
Recommended modules
* Rules
Roadmap The 1.x branch is the current stable branch.
That being said, I'm open to patches so long as they don't over-complicate the module.
Known problems We don't know of any problems at this time, so if you find one, please let us know by adding an issue!
Credits Current co-maintainers:
* M Parker
* Renaud Joubert
See the bottom of this page for a list of organizations who have supported this project.
Gittip/Flattr/Paypal The current co-maintainers are not currently accepting donations.
However, if you are willing to pay this module's co-maintainers to work on a bug that affects your project, or add a feature you require, please contact the co-maintainers directly using the contact form on their respective Drupal.org user account pages.
Help wanted! Maintaining a project can be a lot of work, and the current co-maintainers of this project have full-time jobs, are not paid to maintain this module, and maintain a few other projects besides this one.
More co-maintainers to help triage issues, test patches for regressions, and add features would be greatly appreciated and would help us to resolve issues faster! If you are interested in becoming a co-maintainer, please open an issue asking to become one!
Similar projects and how they are different
* The Troll module lets you block IP addresses for a set duration, but:
* it doesn't have a stable Drupal 7 release,
* it has no way for other modules to modify the amount of time an IP address is blocked for,
* it has no Rules integration, and,
* it's test suite only tests the UI — it doesn't test the module's functionality.
If you are aware of any other similar projects, please let me know by adding an issue!
Dependencies This module does not depend on an external service (e.g. SaaS) to be fully functional.
Restrictions This module has no artificial restrictions: the version available from Drupal.org has full functionality. No paid version is available.
Module Link
Project Usage
655
Security Covered
Covered By Security Advisory
Version Available
DEV
Module Summary
Blocked IPs Expire aims to add expiry dates to blocked IP addresses and unblock them after a certain amount of time.
Data Name
blocked_ips_expire