From 870f9d9ea751a3aa6200318a249807de91b23b5c Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Tue, 20 Jan 2009 21:48:04 +0000 Subject: [PATCH] - 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 --- ChangeLog | 2 ++ server/datedetector.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1773cc77..2cd36723 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 ---------- diff --git a/server/datedetector.py b/server/datedetector.py index e68e5bce..87c87837 100644 --- a/server/datedetector.py +++ b/server/datedetector.py @@ -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