mirror of https://github.com/fail2ban/fail2ban
ENH: failmanager -- additional debug message about # of known failures
parent
1674b7b4f2
commit
19c9ac4fb5
|
@ -101,6 +101,8 @@ class FailManager:
|
||||||
fData.setLastReset(unixTime)
|
fData.setLastReset(unixTime)
|
||||||
fData.setLastTime(unixTime)
|
fData.setLastTime(unixTime)
|
||||||
self.__failList[ip] = fData
|
self.__failList[ip] = fData
|
||||||
|
logSys.debug("Currently have failures from %d IPs: %s"
|
||||||
|
% (len(self.__failList), self.__failList.keys()))
|
||||||
self.__failTotal += 1
|
self.__failTotal += 1
|
||||||
finally:
|
finally:
|
||||||
self.__lock.release()
|
self.__lock.release()
|
||||||
|
|
Loading…
Reference in New Issue