Hello guys,

After receiving more than 15 000 failed logins on my mail server (the normal is 30-100 / day), I just cheked the logs of fail2ban and found them empty for today. Unable to understand what happend, I restarted fail2ban, and got the fail2ban log file populated again, but this caught my attention :

2020-09-06 10:05:23,111 fail2ban.filter [35891]: ERROR   Error in FilterPyinotify callback: 'module' object has no attribute '_strptime_time'

Googling this error got me to a fix : https://github.com/fail2ban/fail2ban/pull/906/commits/b26725f654f2c58a219367f5221da0c148a5cd55

The question is : what file should I be patching to see if this solves my issue ? I have found what seems to be fail2ban python source code in /usr/share/fail2ban/ but there is no __init__.py at the top level directory (which would work for file2ban-server/client and regex).

Yassine.



_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to