Hi Dennis,

You may be interested in this article I wrote:
http://yalis.fr/cms/index.php/post/2014/11/02/Migrate-from-DenyHosts-to-Fail2ban

Cheers,

Le 2015-11-05 10:48, Dennis Leeuw a écrit :
> Hi all,
> 
> Certain users get blacklisted very often, probably due to a lot of 
> tried
> certificates. So I was looking for a way to reset the counters for a
> user (after a succesful login). I wrote a little shell script that uses
> inotify to monitor for succesful logins, and if a succesful login 
> occurs
> I want to reset the failed counter. But it seems that everything is 
> done
> in memory and only when the counter hits 5 fails (our current treshold)
> the ban line is written to the SQL database.
> 
> I also could not find an option to use with fail2ban-client to reset 
> the
> counters (unbanning an not yet banned IP doesn't work and using
> addignoreip/delignoreip also does not reset the counters). Is there a
> way to accomplish this?
> 
> Thanks,
> 
> Dennis Leeuw

------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to