From: <los...@us...> - 2006-12-23 09:50:04
|
Revision: 500 http://svn.sourceforge.net/fail2ban/?rev=500&view=rev Author: lostcontrol Date: 2006-12-23 01:50:03 -0800 (Sat, 23 Dec 2006) Log Message: ----------- - Added new date pattern (Exim4). Thanks to mEDI Modified Paths: -------------- trunk/server/datedetector.py Modified: trunk/server/datedetector.py =================================================================== --- trunk/server/datedetector.py 2006-12-23 09:49:19 UTC (rev 499) +++ trunk/server/datedetector.py 2006-12-23 09:50:03 UTC (rev 500) @@ -66,6 +66,12 @@ template.setRegex("\d{2}/\S{3}/\d{4}:\d{2}:\d{2}:\d{2}") template.setPattern("%d/%b/%Y:%H:%M:%S") self.__templates.append(template) + # Exim 2006-12-21 06:43:20 + template = DateStrptime() + template.setName("Year-Month-Day Hour:Minute:Second") + template.setRegex("\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}") + template.setPattern("%Y-%m-%d %H:%M:%S") + self.__templates.append(template) # TAI64N template = DateTai64n() template.setName("TAI64N") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |