This module leverages the IP blocking feature in Drupal core. Automatically blocks and unblocks user IP address if too many incorrect login attempt were made. If N number of failed_login_attempt_ip events were reported in flood table within some interval then IP address will be added to blocked_ips list for configured interval. Unblocking will happen on cron run when blocking time elapse.

How to use

  • Install smart_ip_ban module
  • Configure - No. of failed attempts to exclude, Check failed attempts reported in last x minutes, how long to ban and excluded IPs at admin/config/people/ip-blocking/settings

Requirements

Make sure Drupal cron runs every few minutes or so to ensure unblocking happens within the bound

Short name
smart_ip_ban
Supporting organizations
developed for PithPicker.