Fail2ban ignore whitelisting


(Reggie Ho) #1

I notice… having 2 lines of IPs in the Fail2Ban Whitelist… it ONLY ignore only ONE IP … the 2nd line IP still get ban if the user entered wrong password…
It seems to accept ONE ignoreIP… used to work before…


Fail2ban - Recidive banning IP in Whitelist
Recidive Jail not Banning IP's in Fail2Ban
(Stéphane de Labrusse) #2

valid bug, I need to look


(Stéphane de Labrusse) #3

found a fix is coming


(Stéphane de Labrusse) #4

in /etc/e-smith/templates/etc/fail2ban/jail.local/01localaccess

-    foreach my $ip (split(/\s+/, ($fail2ban{IgnoreIP} || ""))) {
+    foreach my $ip (split(/,/, ($fail2ban{IgnoreIP} || ""))) {

(Stéphane de Labrusse) #5

please upgrade


(Reggie Ho) #6

Thank you… just did the upgrade,…


(Davide Principi) #7