debug entry for lines ignored due to falling below findtime (v2)

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@763 a942ae1a-1317-0410-a47c-b1dcaea8d605
_tent/ipv6_via_aInfo
Yaroslav Halchenko 2010-09-21 17:52:44 +00:00
parent dabe3aeae1
commit 2a38820ed6
1 changed files with 4 additions and 0 deletions

View File

@ -268,7 +268,11 @@ class Filter(JailThread):
for element in self.processLine(line):
ip = element[0]
unixTime = element[1]
logSys.debug("Processing line with time:%s and ip:%s"
% (unixTime, ip))
if unixTime < MyTime.time() - self.getFindTime():
logSys.debug("Ignore line since time %s < %s - %s"
% (unixTime, MyTime.time(), self.getFindTime()))
break
if self.inIgnoreIPList(ip):
logSys.debug("Ignore %s" % ip)