- Made the named-refused regex a bit less restrictive in order to match logs with "view". Thanks to Stephen Gildea.

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@730 a942ae1a-1317-0410-a47c-b1dcaea8d605
_tent/ipv6_via_aInfo
Cyril Jaquier 2009-02-09 20:27:35 +00:00
parent 3155bc8f03
commit 55fd21ec4b
2 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,8 @@ ver. 0.8.4 (2008/??/??) - stable
#514163. #514163.
- Use timetuple instead of utctimetuple for ISO 8601. Maybe - Use timetuple instead of utctimetuple for ISO 8601. Maybe
not a 100% correct fix but seems to work. Tracker #2500276. not a 100% correct fix but seems to work. Tracker #2500276.
- Made the named-refused regex a bit less restrictive in
order to match logs with "view". Thanks to Stephen Gildea.
ver. 0.8.3 (2008/07/17) - stable ver. 0.8.3 (2008/07/17) - stable
---------- ----------

View File

@ -26,7 +26,7 @@ __line_prefix=(?:\s\S+ %(__daemon_combs_re)s\s+)?
# Notes.: regex to match the password failures messages in the logfile. # Notes.: regex to match the password failures messages in the logfile.
# Values: TEXT # Values: TEXT
# #
failregex = %(__line_prefix)sclient <HOST>#\S+: query(?: \(cache\))? '.*' denied\s*$ failregex = %(__line_prefix)sclient <HOST>#.+: query(?: \(cache\))? '.*' denied\s*$
# Option: ignoreregex # Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored. # Notes.: regex to ignore. If this regex matches, the line is ignored.