- Removed begin-line anchor for "standard" timestamp. Fixed Debian bug #500824.

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@719 a942ae1a-1317-0410-a47c-b1dcaea8d605
_tent/ipv6_via_aInfo
Cyril Jaquier 2009-01-20 21:48:04 +00:00
parent 97f48991a2
commit 870f9d9ea7
2 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,8 @@ ver. 0.8.4 (2008/??/??) - stable
myNetWatchman. Thanks to Russell Odom.
- Suse init script. Remove socket file on startup is fail2ban
crashed. Thanks to Detlef Reichelt.
- Removed begin-line anchor for "standard" timestamp. Fixed
Debian bug #500824.
ver. 0.8.3 (2008/07/17) - stable
----------

View File

@ -44,7 +44,7 @@ class DateDetector:
# standard
template = DateStrptime()
template.setName("MONTH Day Hour:Minute:Second")
template.setRegex("^\S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}")
template.setRegex("\S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}")
template.setPattern("%b %d %H:%M:%S")
self.__templates.append(template)
# asctime