mirror of https://github.com/fail2ban/fail2ban
- Process failtickets as long as failmanager is not empty.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@676 a942ae1a-1317-0410-a47c-b1dcaea8d605_tent/ipv6_via_aInfo
parent
61fe328a35
commit
d645a8fe47
|
@ -9,7 +9,7 @@ Fail2Ban (version 0.8.3) 2008/??/??
|
|||
|
||||
ver. 0.8.3 (2008/??/??) - stable
|
||||
----------
|
||||
|
||||
- Process failtickets as long as failmanager is not empty.
|
||||
|
||||
ver. 0.8.2 (2008/03/06) - stable
|
||||
----------
|
||||
|
|
|
@ -108,8 +108,9 @@ class FilterGamin(FileFilter):
|
|||
|
||||
if self.__modified:
|
||||
try:
|
||||
ticket = self.failManager.toBan()
|
||||
self.jail.putFailTicket(ticket)
|
||||
while True:
|
||||
ticket = self.failManager.toBan()
|
||||
self.jail.putFailTicket(ticket)
|
||||
except FailManagerEmpty:
|
||||
self.failManager.cleanup(MyTime.time())
|
||||
self.dateDetector.sortTemplate()
|
||||
|
|
|
@ -103,8 +103,9 @@ class FilterPoll(FileFilter):
|
|||
|
||||
if self.__modified:
|
||||
try:
|
||||
ticket = self.failManager.toBan()
|
||||
self.jail.putFailTicket(ticket)
|
||||
while True:
|
||||
ticket = self.failManager.toBan()
|
||||
self.jail.putFailTicket(ticket)
|
||||
except FailManagerEmpty:
|
||||
self.failManager.cleanup(MyTime.time())
|
||||
self.dateDetector.sortTemplate()
|
||||
|
|
Loading…
Reference in New Issue