mirror of https://github.com/fail2ban/fail2ban
ChangeLog and typo
parent
2e437937c3
commit
5547697401
|
@ -41,6 +41,7 @@ ver. 0.10.2-dev-1 (2017/??/??) - development edition
|
|||
### Fixes
|
||||
* Fixed logging to systemd-journal: new logtarget value SYSOUT can be used instead of STDOUT, to avoid
|
||||
write of the time-stamp, if logging to systemd-journal from foreground mode (gh-1876)
|
||||
* Fixed recognition of the new date-format on mysqld-auth filter (gh-1639)
|
||||
* jail.conf: port `imap3` replaced with `imap` everywhere, since imap3 is not a standard port and old rarely
|
||||
(if ever) used and can missing on some systems (e. g. debian stretch), see gh-1942.
|
||||
* config/paths-common.conf: added missing initial values (and small normalization in config/paths-*.conf)
|
||||
|
@ -53,6 +54,12 @@ ver. 0.10.2-dev-1 (2017/??/??) - development edition
|
|||
see "ssherr.c" for all possible SSH_ERR_..._ALG_MATCH errors (gh-1943, gh-1944);
|
||||
|
||||
### New Features
|
||||
* datedetector: extended default date-patterns (allows extra space between the date and time stamps);
|
||||
introduces 2 new format directives (with corresponding %Ex prefix for more precise parsing):
|
||||
- %k - one- or two-digit number giving the hour of the day (0-23) on a 24-hour clock,
|
||||
(corresponds %H, but allows space if not zero-padded).
|
||||
- %l - one- or two-digit number giving the hour of the day (12-11) on a 12-hour clock,
|
||||
(corresponds %I, but allows space if not zero-padded).
|
||||
* New Actions:
|
||||
- `action.d/nginx-block-map.conf` - in order to ban not IP-related tickets via nginx (session blacklisting in
|
||||
nginx-location with map-file);
|
||||
|
|
|
@ -164,7 +164,7 @@ class DateDetectorCache(object):
|
|||
self._cacheTemplate("%b %d, %ExY %I:%M:%S %p")
|
||||
# ASSP: Apr-27-13 02:33:06
|
||||
self._cacheTemplate("^%b-%d-%Exy %k:%M:%S")
|
||||
# 20050123T215959, 20050123 215959, , 20050123 85959
|
||||
# 20050123T215959, 20050123 215959, 20050123 85959
|
||||
self._cacheTemplate("%ExY%Exm%Exd(?:T| ?)%ExH%ExM%ExS(?:[.,]%f)?(?:\s*%z)?")
|
||||
# prefixed with optional named time zone (monit):
|
||||
# PDT Apr 16 21:05:29
|
||||
|
|
Loading…
Reference in New Issue