3

I would like reset fail2ban counters on successful login event. My current jail settings are :

  • maxretry = 5
  • bantime = 600
  • findtime = 3600

Actually, if John (10.0.3.21) fails 4 times, then connects successfully, the next login attempt (all in the same hour) will ban him 10 minutes if he fails.

What i would like to have is (in the same hour, again) :

  1. John fails 4 times
  2. John connects successfully.
  3. John can fails 5 times agein before been banned.

Thanks in advance for shed light me on about this point.

0

1 Answer 1

4

It's on the wish list:

There is currently no way to reset the retry counter for an IP if that IP made a successful login.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .