Also, here is a handy script for un-banning IP addresses:

for jail in $(fail2ban-client status | grep 'Jail list:' | sed 's/.*Jail list://' | sed 's/,//g'); do echo; echo "Jail:  $jail"; fail2ban-client set $jail unbanip 111.111.111.111; done


Wayne Sallee
[email protected]
http://www.WayneSallee.com


-------- Original Message --------
*Subject: *  Re: [Fail2ban-users] Blocking Logins in Drupal 7 does not work!
*From: *     Wayne Sallee <[email protected]>
*To: *         Fail2ban-users <[email protected]>
*CC: *
*Date: *      2020-2-17  04:10 PM
As Bill Shirley, and Mike have pointed out, your bantime, and your find time 
needs work.



To test, create the following:

[drupal-auth]
enabled = true
port    = http,https
filter  = drupal-auth
action = iptables-multiport[name=drupal-auth, port="http,https", protocol=tcp]
        #sendmail-whois[name=DRUPAL, [email protected]]
logpath = /var/log/messages
maxretry = 1
findtime  = 7776000
bantime = 15552000


Wayne Sallee
[email protected]
http://www.WayneSallee.com



_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users




_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to