Revision: 780
http://fail2ban.svn.sourceforge.net/fail2ban/?rev=780&view=rev
Author: yarikoptic
Date: 2011-07-29 02:08:31 +0000 (Fri, 29 Jul 2011)
Log Message:
-----------
BF: use addfailregex instead of failregex while processing per-jail "failregex" parameter (Closes: #635830) (LP: #635036)
patch from Marat Khayrullin received in Ubuntu BTS. Otherwise custom per-jail
failregex forbidded fail2ban from starting
Modified Paths:
--------------
branches/FAIL2BAN-0_8/client/jailreader.py
Modified: branches/FAIL2BAN-0_8/client/jailreader.py
===================================================================
--- branches/FAIL2BAN-0_8/client/jailreader.py 2011-06-27 03:40:16 UTC (rev 779)
+++ branches/FAIL2BAN-0_8/client/jailreader.py 2011-07-29 02:08:31 UTC (rev 780)
@@ -120,7 +120,7 @@
elif opt == "bantime":
stream.append(["set", self.__name, "bantime", self.__opts[opt]])
elif opt == "failregex":
- stream.append(["set", self.__name, "failregex", self.__opts[opt]])
+ stream.append(["set", self.__name, "addfailregex", self.__opts[opt]])
elif opt == "ignoreregex":
for regex in self.__opts[opt].split('\n'):
# Do not send a command if the rule is empty.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|