- 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
Cyril Jaquier 17 years ago
parent 61fe328a35
commit d645a8fe47

@ -9,7 +9,7 @@ Fail2Ban (version 0.8.3) 2008/??/??
ver. 0.8.3 (2008/??/??) - stable ver. 0.8.3 (2008/??/??) - stable
---------- ----------
- Process failtickets as long as failmanager is not empty.
ver. 0.8.2 (2008/03/06) - stable ver. 0.8.2 (2008/03/06) - stable
---------- ----------

@ -108,6 +108,7 @@ class FilterGamin(FileFilter):
if self.__modified: if self.__modified:
try: try:
while True:
ticket = self.failManager.toBan() ticket = self.failManager.toBan()
self.jail.putFailTicket(ticket) self.jail.putFailTicket(ticket)
except FailManagerEmpty: except FailManagerEmpty:

@ -103,6 +103,7 @@ class FilterPoll(FileFilter):
if self.__modified: if self.__modified:
try: try:
while True:
ticket = self.failManager.toBan() ticket = self.failManager.toBan()
self.jail.putFailTicket(ticket) self.jail.putFailTicket(ticket)
except FailManagerEmpty: except FailManagerEmpty:

Loading…
Cancel
Save