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) :
- John fails 4 times
- John connects successfully.
- John can fails 5 times agein before been banned.
Thanks in advance for shed light me on about this point.