- Added CPanel date format. Thanks to David Collins. Tracker #1967610.

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@722 a942ae1a-1317-0410-a47c-b1dcaea8d605
_tent/ipv6_via_aInfo
Cyril Jaquier 2009-01-27 23:21:55 +00:00
parent 756cfcda5f
commit 6b9896c332
2 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,8 @@ ver. 0.8.4 (2008/??/??) - stable
- Removed begin-line anchor for "standard" timestamp. Fixed
Debian bug #500824.
- Added nagios script. Thanks to Sebastian Mueller.
- Added CPanel date format. Thanks to David Collins. Tracker
#1967610
ver. 0.8.3 (2008/07/17) - stable
----------

View File

@ -77,6 +77,12 @@ class DateDetector:
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)
# CPanel 05/20/2008:01:57:39
template = DateStrptime()
template.setName("Month/Day/Year:Hour:Minute:Second")
template.setRegex("\d{2}/\d{2}/\d{4}:\d{2}:\d{2}:\d{2}")
template.setPattern("%m/%d/%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")