Advanced ban is a replacement to Drupal core Ban module. Advanced ban module allows administrators to ban visits to their site from IP addresses like core ban module and has additive features:
- IP range ban (IPv4 only)
- IP ban reason
- Blocked IPs expire (unblock by cron)
- Unblock all IPs
- Search IP
- Format ban text
- Protected IPs list
Advanced Ban integrations
Migrate from Core Ban
The Core Ban module will be deprecated in Drupal 11.3 and removed in Drupal 12.0 .
Blocked IP addresses will be automatically migrated from the IP Ban module during the installation of the Advban module.
Just replace these rows in your code for substitute Core Ban to Advanced Ban:
Drupal\ban\BanIpManagerInterfacetoDrupal\advban\AdvbanIpManagerInterfaceban.ip_managertoadvban.ip_managerdrupal:bantoadvban:advban
Sponsorship
...have a feature you'd like to sponsor? Get in touch
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Administration tools, Developer tools, Security
5,314 sites report using this module
- Created by goodboy on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-1.9
released 11 October 2025
Works with Drupal: ^10.1 || ^11 || ^12
Added the Protected list
Install:
Development version: 8.x-1.x-dev updated 10 Mar 2026 at 19:17 UTC



