Ticket #49026: patch-fail2ban-server-filterpoll.py.diff
File patch-fail2ban-server-filterpoll.py.diff, 488 bytes (added by fclaire@…, 9 years ago) |
---|
-
fail2ban/server/filterpoll.py
old new 142 142 logSys.error("Unable to get stat on %s because of: %s" 143 143 % (filename, e)) 144 144 self.__file404Cnt[filename] += 1 145 if self.__file404Cnt[filename] > 2 :145 if self.__file404Cnt[filename] > 20: 146 146 logSys.warning("Too many errors. Setting the jail idle") 147 147 if self.jail is not None: 148 148 self.jail.idle = True