Fail2Ban.WebExploits icon indicating copy to clipboard operation
Fail2Ban.WebExploits copied to clipboard

WordPress backend navigation blocked.

Open Chathu07 opened this issue 5 years ago • 3 comments

While I'm navigating on WordPress backend I'm getting banned. Specially while updating the WordPress plugins through "Dashboard>Update". Anyway to correct it?

Chathu07 avatar Sep 26 '20 06:09 Chathu07

did you whitelist your IP address / addresses in fail2ban/jail.conf ?

bigalownz avatar Sep 28 '20 04:09 bigalownz

hello, I am very happy with the list, but I have to edit it to suit my needs.

I have been thinking about this for a while. The thing is that I would love to set maxretries=0 for most of this filter conditions BUT i need some other like wp-login.php to give me more chances.

My IPs are dynamic so I can't set the ignoreIP directive efficiently.

Does it make sense to have 2 filters: webexploits.conf (maxretries=0) webexploits-that-could-ban-users.conf (maxretries=10)

and then in the jail.conf set the maxretries for both.

The only difference between both files would be the deletion of those lines that would lead to false positives. That way I could have the two levels of tolerance. The thing is that it maybe is too resource intensive.

Is there a smarter way?

jlguerrerosanz avatar Sep 22 '22 14:09 jlguerrerosanz