mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
BF: Ignored IPs no longer being banned from database on restart
This commit is contained in:
parent
7046388291
commit
b73ed9b59e
1 changed files with 2 additions and 1 deletions
|
|
@ -211,7 +211,8 @@ class Jail:
|
||||||
if self.database is not None:
|
if self.database is not None:
|
||||||
for ticket in self.database.getBans(
|
for ticket in self.database.getBans(
|
||||||
jail=self, bantime=self.actions.getBanTime()):
|
jail=self, bantime=self.actions.getBanTime()):
|
||||||
self.__queue.put(ticket)
|
if not self.filter.inIgnoreIPList(ticket.getIP()):
|
||||||
|
self.__queue.put(ticket)
|
||||||
logSys.info("Jail '%s' started" % self.name)
|
logSys.info("Jail '%s' started" % self.name)
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue