Ticket #46546: fail2ban-filterpoll.patch
File fail2ban-filterpoll.patch, 483 bytes (added by joaander@…, 10 years ago) |
---|
-
filterpoll.py
old new 129 129 logSys.error("Unable to get stat on %s because of: %s" 130 130 % (filename, e)) 131 131 self.__file404Cnt[filename] += 1 132 if self.__file404Cnt[filename] > 2 :132 if self.__file404Cnt[filename] > 20: 133 133 logSys.warn("Too many errors. Setting the jail idle") 134 134 if self.jail is not None: 135 135 self.jail.setIdle(True)