Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
IP Limiter 1.0.0-alpha3 - Plugin-based architecture & new features
Rules are now powered by a plugin system (@IpLimiterRule annotation-based plugins), replacing the previous hardcoded configuration. This makes the module extensible — custom modules can define their own rule plugins.
Built-in plugins:
- Path rule — restrict by request path
- Route rule — restrict by Drupal route name
- User-Agent rule — restrict by user-agent header (blacklist/whitelist with built-in bot presets)
New features:
- Regex support for path and route rules — enable the "Use regular expressions" checkbox to match patterns like node/\d+ or entity\.node\..+ instead of exact values
- Matcher conditions — optionally filter rules by user-agent (exclude/block bots), query string pattern, or referer header presence
- Table-based settings form — rules are displayed in a summary table with inline Edit/Delete operations and an Add rule button, replacing the previous sequential fieldset layout
- Route resolution — route rules now resolve the route name via the router, so they work correctly regardless of event subscriber priority
Upgrade notes:
- Existing configuration will need to be re-entered through the new settings form at /admin/config/system/ip-limiter
- The config schema has changed — ip_limiter.settings now stores a rules sequence with per-rule plugin configuration