"Fossies" - the Fresh Open Source Software Archive

Member "fail2ban-0.10.4/ChangeLog" (4 Oct 2018, 109416 Bytes) of package /linux/misc/fail2ban-0.10.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ChangeLog": 0.10.3.1_vs_0.10.4.

    1                          __      _ _ ___ _
    2                         / _|__ _(_) |_  ) |__  __ _ _ _
    3                        |  _/ _` | | |/ /| '_ \/ _` | ' \
    4                        |_| \__,_|_|_/___|_.__/\__,_|_||_|
    5 
    6 Fail2Ban: Changelog
    7 ===================
    8 
    9 Incompatibility list (compared to v.0.9):
   10 -----------
   11 
   12 * Filter (or `failregex`) internal capture-groups:
   13 
   14   - If you've your own `failregex` or custom filters using conditional match `(?P=host)`, you should
   15     rewrite the regex like in example below resp. using `(?:(?P=ip4)|(?P=ip6)` instead of `(?P=host)`
   16     (or `(?:(?P=ip4)|(?P=ip6)|(?P=dns))` corresponding your `usedns` and `raw` settings).
   17 
   18     Of course you can always define your own capture-group (like below `_cond_ip_`) to do this.
   19     ```
   20     testln="1500000000 failure from 192.0.2.1: bad host 192.0.2.1"
   21     fail2ban-regex "$testln" "^\s*failure from (?P<_cond_ip_><HOST>): bad host (?P=_cond_ip_)$"
   22     ```
   23   - New internal groups (currently reserved for internal usage):
   24     `ip4`, `ip6`, `dns`, `fid`, `fport`, additionally `user` and another captures in lower case if
   25     mapping from tag `<F-*>` used in failregex (e. g. `user` by `<F-USER>`).
   26 
   27 * v.0.10 uses more precise date template handling, that can be theoretically incompatible to some
   28   user configurations resp. `datepattern`.
   29 
   30 * Since v0.10 fail2ban supports the matching of IPv6 addresses, but not all ban actions are
   31   IPv6-capable now.
   32 
   33 
   34 ver. 0.10.4 (2018/10/04) - ten-four-on-due-date-ten-four
   35 -----------
   36 
   37 ### Fixes
   38 * `filter.d/dovecot.conf`: 
   39   - failregex enhancement to catch sql password mismatch errors (gh-2153);
   40   - disconnected with "proxy dest auth failed" (gh-2184);
   41 * `filter.d/freeswitch.conf`:
   42   - provide compatibility for log-format from gh-2193:
   43     * extended with new default date-pattern `^(?:%%Y-)?%%m-%%d[ T]%%H:%%M:%%S(?:\.%%f)?` to cover
   44       `YYYY-mm-dd HH:MM::SS.ms` as well as `mm-dd HH:MM::SS.ms` (so year is optional);
   45     * more optional arguments in log-line (so accept [WARN] as well as [WARNING] and optional [SOFIA] hereafter);
   46   - extended with mode parameter, allows to avoid matching of messages like `auth challenge (REGISTER)`
   47     (see gh-2163) (currently `extra` as default to be backwards-compatible), see comments in filter
   48     how to set it to mode `normal`.
   49 * `filter.d/domino-smtp.conf`:
   50   - recognizes failures logged using another format (something like session-id, IP enclosed in square brackets);
   51   - failregex extended to catch connections rejected for policy reasons (gh-2228);
   52 * `action.d/hostsdeny.conf`: fix parameter in config (dynamic parameters stating with '_' are protected 
   53   and don't allowed in command-actions), see gh-2114;
   54 * decoding stability fix by wrong encoded characters like utf-8 surrogate pairs, etc (gh-2171):
   55   - fail2ban running in the preferred encoding now (as default encoding also within python 2.x), mostly
   56     `UTF-8` in opposite to `ascii` previously, so minimizes influence of implicit conversions errors;
   57   - actions: avoid possible conversion errors on wrong-chars by replace tags;
   58   - database: improve adapter/converter handlers working on invalid characters in sense of json and/or sqlite-database;
   59     additionally both are exception-safe now, so avoid possible locking of database (closes gh-2137);
   60   - logging in fail2ban is process-wide exception-safe now.
   61 * repaired start-time of initial seek to time (as well as other log-parsing related data), 
   62   if parameter `logpath` specified before `findtime`, `backend`, `datepattern`, etc (gh-2173)
   63 * systemd: fixed type error on option `journalflags`: an integer is required (gh-2125);
   64 
   65 ### New Features
   66 * new option `ignorecache` to improve performance of ignore failure check (using caching of `ignoreip`, 
   67   `ignoreself` and `ignorecommand`), see `man jail.conf` for syntax-example;
   68 * `ignorecommand` extended to use actions-similar replacement (capable to interpolate 
   69   all possible tags like `<ip-host>`, `<family>`, `<fid>`, `F-USER` etc.)
   70 
   71 ### Enhancements
   72 * `filter.d/dovecot.conf`: extended with tags F-USER (and alternatives) to collect user-logins (gh-2168)
   73 * since v.0.10.4, fail2ban-client, fail2ban-server and fail2ban-regex will return version without logo info,
   74   additionally option `-V` can be used to get version in normalized machine-readable short format.
   75 
   76 
   77 ver. 0.10.3 (2018/04/04) - the-time-is-always-right-to-do-what-is-right
   78 -----------
   79 
   80 ### ver. 0.10.3.1:
   81 * fixed JSON serialization for the set-object within dump into database (gh-2103).
   82 
   83 ### Fixes
   84 * `filter.d/asterisk.conf`: fixed failregex prefix by log over remote syslog server (gh-2060);
   85 * `filter.d/exim.conf`: failregex extended - SMTP call dropped: too many syntax or protocol errors (gh-2048);
   86 * `filter.d/recidive.conf`: fixed if logging into systemd-journal (SYSLOG) with daemon name in prefix, gh-2069;
   87 * `filter.d/sendmail-auth.conf`, `filter.d/sendmail-reject.conf` :
   88   - fixed failregex, sendmail uses prefix 'IPv6:' logging of IPv6 addresses (gh-2064);
   89 * `filter.d/sshd.conf`:
   90   - failregex got an optional space in order to match new log-format (see gh-2061);
   91   - fixed ddos-mode regex to match refactored message (some versions can contain port now, see gh-2062);
   92   - fixed root login refused regex (optional port before preauth, gh-2080);
   93   - avoid banning of legitimate users when pam_unix used in combination with other password method, so
   94     bypass pam_unix failures if accepted available for this user gh-2070;
   95   - amend to gh-1263 with better handling of multiple attempts (failures for different user-names recognized immediatelly);
   96   - mode `ddos` (and `aggressive`) extended to catch `Connection closed by ... [preauth]`, so in DDOS mode
   97     it counts failure on closing connection within preauth-stage (gh-2085);
   98 * `action.d/abuseipdb.conf`: fixed curl cypher errors and comment quote-issue (gh-2044, gh-2101);
   99 * `action.d/badips.py`: implicit convert IPAddr to str, solves an issue "expected string, IPAddr found" (gh-2059);
  100 * `action.d/hostsdeny.conf`: fixed IPv6 syntax (enclosed in square brackets, gh-2066);
  101 * (Free)BSD ipfw actionban fixed to allow same rule added several times (gh-2054);
  102 
  103 ### New Features
  104 * several stability and performance optimizations, more effective filter parsing, etc;
  105 * stable runnable within python versions 3.6 (as well as within 3.7-dev);
  106 
  107 ### Enhancements
  108 * `filter.d/apache-auth.conf`: detection of Apache SNI errors resp. misredirect attempts (gh-2017, gh-2097);
  109 * `filter.d/apache-noscript.conf`: extend failregex to match "Primary script unknown", e. g. from php-fpm (gh-2073);
  110 * date-detector extended with long epoch (`LEPOCH`) to parse milliseconds/microseconds posix-dates (gh-2029);
  111 * possibility to specify own regex-pattern to match epoch date-time, e. g. `^\[{EPOCH}\]` or `^\[{LEPOCH}\]` (gh-2038);
  112   the epoch-pattern similar to `{DATE}` patterns does the capture and cuts out the match of whole pattern from the log-line,
  113   e. g. date-pattern `^\[{LEPOCH}\]\s+:` will match and cut out `[1516469849551000] :` from begin of the log-line.
  114 * badips.py now uses https instead of plain http when requesting badips.com (gh-2057);
  115 * add support for "any" badips.py bancategory, to be able to retrieve IPs from all categories with a desired score (gh-2056);
  116 * Introduced new parameter `padding` for logging within fail2ban-server (default on, excepting SYSLOG):
  117   Usage `logtarget = target[padding=on|off]`
  118 
  119 
  120 ver. 0.10.2 (2018/01/18) - nothing-burns-like-the-cold
  121 -----------
  122 
  123 ### Incompatibility list:
  124 * The configuration for jails using banaction `pf` can be incompatible after upgrade, because pf-action uses
  125   anchors now (see `action.d/pf.conf` for more information). If you want use obsolete handling without anchors,
  126   just rewrite it in the `jail.local` by overwrite of `pfctl` parameter, e. g. like `banaction = pf[pfctl="pfctl"]`.
  127 
  128 ### Fixes
  129 * Fixed logging to systemd-journal: new logtarget value SYSOUT can be used instead of STDOUT, to avoid 
  130   write of the time-stamp, if logging to systemd-journal from foreground mode (gh-1876)
  131 * Fixed recognition of the new date-format on mysqld-auth filter (gh-1639)
  132 * jail.conf: port `imap3` replaced with `imap` everywhere, since imap3 is not a standard port and old rarely 
  133   (if ever) used and can missing on some systems (e. g. debian stretch), see gh-1942.
  134 * config/paths-common.conf: added missing initial values (and small normalization in config/paths-*.conf)
  135   in order to avoid errors while interpolating (e. g. starting with systemd-backend), see gh-1955.
  136 * `action.d/pf.conf`: 
  137   - fixed syntax error in achnor definition (documentation, see gh-1919);
  138   - enclose ports in braces for multiport jails (see gh-1925);
  139 * `action.d/firewallcmd-ipset.conf`: fixed create of set for ipv6 (missing `family inet6`, gh-1990)
  140 * `filter.d/sshd.conf`:
  141   - extended failregex for modes "extra"/"aggressive": now finds all possible (also future)
  142     forms of "no matching (cipher|mac|MAC|compression method|key exchange method|host key type) found", 
  143     see "ssherr.c" for all possible SSH_ERR_..._ALG_MATCH errors (gh-1943, gh-1944);
  144   - fixed failregex in order to avoid banning of legitimate users with multiple public keys (gh-2014, gh-1263);
  145 
  146 ### New Features
  147 * datedetector: extended default date-patterns (allows extra space between the date and time stamps);
  148   introduces 2 new format directives (with corresponding %Ex prefix for more precise parsing):
  149   - %k - one- or two-digit number giving the hour of the day (0-23) on a 24-hour clock,
  150     (corresponds %H, but allows space if not zero-padded).
  151   - %l - one- or two-digit number giving the hour of the day (12-11) on a 12-hour clock,
  152     (corresponds %I, but allows space if not zero-padded).
  153 * `filter.d/exim.conf`: added mode `aggressive` to ban flood resp. DDOS-similar failures (gh-1983);
  154 * New Actions:
  155   - `action.d/nginx-block-map.conf` - in order to ban not IP-related tickets via nginx (session blacklisting in
  156     nginx-location with map-file);
  157 
  158 ### Enhancements
  159 * jail.conf: extended with new parameter `mode` for the filters supporting it (gh-1988);
  160 * action.d/pf.conf: extended with bulk-unban, command `actionflush` in order to flush all bans at once.
  161 * Introduced new parameters for logging within fail2ban-server (gh-1980).
  162   Usage `logtarget = target[facility=..., datetime=on|off, format="..."]`:
  163   - `facility` - specify syslog facility (default `daemon`, see https://docs.python.org/2/library/logging.handlers.html#sysloghandler
  164      for the list of facilities);
  165   - `datetime` - add date-time to the message (default on, ignored if `format` specified);
  166   - `format` - specify own format how it will be logged, for example for short-log into STDOUT:
  167       `fail2ban-server -f --logtarget 'stdout[format="%(relativeCreated)5d | %(message)s"]' start`;
  168 * Automatically recover or recreate corrupt persistent database (e. g. if failed to open with 
  169   'database disk image is malformed'). Fail2ban will create a backup, try to repair the database,
  170   if repair fails - recreate new database (gh-1465, gh-2004).
  171 
  172 
  173 ver. 0.10.1 (2017/10/12) - succeeded-before-friday-the-13th
  174 -----------
  175 
  176 ### Fixes
  177 * fix Gentoo init script's shebang to use openrc-run instead of runscript (gh-1891)
  178 * jail "pass2allow-ftp" supply blocktype and returntype parameters to the action (gh-1884)
  179 * avoid using "ANSI_X3.4-1968" as preferred encoding (if missing environment variables 
  180   'LANGUAGE', 'LC_ALL', 'LC_CTYPE', and 'LANG', see gh-1587).
  181 * action.d/pf.conf: several fixes for pf-action like anchoring, etc. (see gh-1866, gh-1867);
  182 * fixed ignoreself issue "Retrieving own IPs of localhost failed: inet_pton() argument 2 must be string, not int" (see gh-1865);
  183 * fixed tags `<fq-hostname>` and `<sh-hostname>`, could be used without ticket (a. g. in `actionstart` etc., gh-1859).
  184 
  185 * setup.py: fixed several setup facilities (gh-1874):
  186   - don't check return code by dry-run: returns 256 on some python/setuptool versions;
  187   - `files/fail2ban.service` renamed as template to `files/fail2ban.service.in`;
  188   - setup process generates `build/fail2ban.service` from `files/fail2ban.service.in` using distribution related bin-path;
  189   - bug-fixing by running setup with option `--dry-run`;
  190 
  191 ### New Features
  192 * introduced new command-line options `--dp`, `--dump-pretty` to dump the configuration using more
  193   human readable representation (opposite to `-d`);
  194 
  195 ### Enhancements
  196 * nftables actions are IPv6-capable now (gh-1893)
  197 * filter.d/dovecot.conf: introduced mode `aggressive` for cases like "disconnected before auth was ready" (gh-1880)
  198 
  199 
  200 ver. 0.10.0 (2017/08/09) - long-awaited 0.10th version
  201 -----------
  202 
  203 TODO: implementing of options resp. other tasks from PR #1346
  204       documentation should be extended (new options, etc)
  205       
  206 ### Fixes
  207 * `filter.d/apache-auth.conf`:
  208   - better failure recognition using short form of regex (url/referer are foreign inputs, see gh-1645)
  209 * `filter.d/apache-common.conf` (`filter.d/apache-*.conf`):
  210   - support of apache log-format if logging into syslog/systemd (gh-1695), using parameter `logging`,
  211     parameter usage for jail:
  212       filter = apache-auth[logging=syslog]
  213     parameter usage for `apache-common.local`:
  214       logging = syslog
  215 * `filter.d/pam-generic.conf`:
  216   - [grave] injection on user name to host fixed
  217 * `filter.d/sshd.conf`:
  218   - rewritten using `prefregex` and used MLFID-related multi-line parsing
  219     (by using tag `<F-MLFID>` instead of buffering with `maxlines`);
  220   - optional parameter `mode` rewritten: normal (default), ddos, extra or aggressive (combines all),
  221     see sshd for regex details)
  222 * `filter.d/sendmail-reject.conf`:
  223   - rewritten using `prefregex` and used MLFID-related multi-line parsing;
  224   - optional parameter `mode` introduced: normal (default), extra or aggressive
  225 * `filter.d/haproxy-http-auth`: do not mistake client port for part of an IPv6 address (gh-1745)
  226 * `filter.d/postfix.conf`:
  227     - updated to latest postfix formats
  228     - joined several postfix filter together (normalized and optimized version, gh-1825)
  229     - introduced new parameter `mode` (see gh-1825): more (default, combines normal and rbl), auth, normal,
  230       rbl, ddos, extra or aggressive (combines all)
  231     - postfix postscreen (resp. other RBL's compatibility fix, gh-1764, gh-1825)
  232 * `filter.d/postfix-rbl.conf`: removed (replaced with `postfix[mode=rbl]`)
  233 * `filter.d/postfix-sasl.conf`: removed (replaced with `postfix[mode=auth]`)
  234 * `filter.d/roundcube-auth.conf`:
  235     - fixed regex when `X-Real-IP` or/and `X-Forwarded-For` are present after host (gh-1303);
  236     - fixed regex when logging authentication errors to journal instead to a local file (gh-1159);
  237     - additionally fixed more complex injections on username (e. g. using dot after fake host).
  238 * `filter.d/ejabberd-auth.conf`: fixed failregex - accept new log-format (gh-993)
  239 * `action.d/complain.conf`
  240   - fixed using new tag `<ip-rev>` (sh/dash compliant now)
  241 * `action.d/sendmail-geoip-lines.conf`
  242   - fixed using new tag `<ip-host>` (without external command execution)
  243 * fail2ban-regex: fixed matched output by multi-line (buffered) parsing
  244 * fail2ban-regex: support for multi-line debuggex URL implemented (gh-422)
  245 * fixed ipv6-action errors on systems not supporting ipv6 and vice versa (gh-1741)
  246 * fixed directory-based log-rotate for pyinotify-backend (gh-1778)
  247 
  248 ### New Features
  249 * New Actions:
  250 
  251 * New Filters:
  252 
  253 ### Enhancements
  254 * Introduced new filter option `prefregex` for pre-filtering using single regular expression (gh-1698);
  255 * Many times faster and fewer CPU-hungry because of parsing with `maxlines=1`, so without 
  256   line buffering (scrolling of the buffer-window).
  257   Combination of tags `<F-MLFID>` and `<F-NOFAIL>` can be used now to process multi-line logs
  258   using single-line expressions:
  259   - tag `<F-MLFID>`: used to identify resp. store failure info for groups of log-lines with the same
  260     identifier (e. g. combined failure-info for the same conn-id by `<F-MLFID>(?:conn-id)</F-MLFID>`,
  261     see sshd.conf for example);
  262   - tag `<F-MLFFORGET>`: can be used as mark to forget current multi-line MLFID (e. g. by connection 
  263     closed, reset or disconnect etc);
  264   - tag `<F-NOFAIL>`: used as mark for no-failure (helper to accumulate common failure-info, 
  265     e. g. from lines that contain IP-address);
  266   Opposite to obsolete multi-line parsing (using buffering with `maxlines`) it is more precise and 
  267   can recognize multiple failure attempts within the same connection (MLFID).
  268 * Several filters optimized with pre-filtering using new option `prefregex`, and multiline filter 
  269   using `<F-MLFID>` + `<F-NOFAIL>` combination;
  270 * Exposes filter group captures in actions (non-recursive interpolation of tags `<F-...>`, 
  271   see gh-1698, gh-1110)
  272 * Some filters extended with user name (can be used in gh-1243 to distinguish IP and user,
  273   resp. to remove after success login the user-related failures only);
  274 * Safer, more stable and faster replaceTag interpolation (switched from cycle over all tags
  275   to re.sub with callable)
  276 * substituteRecursiveTags optimization + moved in helpers facilities (because currently used 
  277   commonly in server and in client)
  278 * New tags (usable in actions):
  279   - `<fid>` - failure identifier (if raw resp. failures without IP address)
  280   - `<ip-rev>` - PTR reversed representation of IP address
  281   - `<ip-host>` - host name of the IP address
  282   - `<F-...>` - interpolates to the corresponding filter group capture `...`
  283   - `<fq-hostname>` - fully-qualified name of host (the same as `$(hostname -f)`)
  284   - `<sh-hostname>` - short hostname (the same as `$(uname -n)`)
  285 * Allow to use filter options by `fail2ban-regex`, example:
  286   fail2ban-regex text.log "sshd[mode=aggressive]"
  287 * Samples test case factory extended with filter options - dict in JSON to control 
  288   filter options (e. g. mode, etc.):
  289   # filterOptions: {"mode": "aggressive"}
  290 * Introduced new jail option "ignoreself", specifies whether the local resp. own IP addresses 
  291   should be ignored (default is true). Fail2ban will not ban a host which matches such addresses.
  292   Option "ignoreip" affects additionally to "ignoreself" and don't need to include the DNS 
  293   resp. IPs of the host self.
  294 * Regex will be compiled as MULTILINE only if needed (buffering with `maxlines` > 1), that enables:
  295   - to improve performance by the single line parsing (see gh-1733);
  296   - make regex more precise (because distinguish between anchors `^`/`$` for the begin/end of string
  297     and the new-line character '\n', e. g. if coming from filters (like systemd journal) that allow
  298     the parsing of log-entries contain new-line chars (as single entry);
  299   - if multiline regex however expected (by single-line parsing without buffering) - prefix `(?m)` 
  300     could be used in regex to enable it;
  301 * Implemented execution of `actionstart` on demand (conditional), if action depends on `family` (gh-1742):
  302   - new action parameter `actionstart_on_demand` (bool) can be set to prevent/allow starting action
  303     on demand (default retrieved automatically, if some conditional parameter `param?family=...` 
  304     presents in action properties), see `action.d/pf.conf` for example;
  305   - additionally `actionstop` will be executed only for families previously executing `actionstart`
  306     (starting on demand only)
  307 * Introduced new command `actionflush`: executed in order to flush all bans at once 
  308   e. g. by unban all, reload with removing action, stop, shutdown the system (gh-1743),
  309   the actions having `actionflush` do not execute `actionunban` for each single ticket
  310 * Add new command `actionflush` default for several iptables/iptables-ipset actions (and common include);
  311 * Add new jail option `logtimezone` to force the timezone on log lines that don't have an explicit one (gh-1773)
  312 * Implemented zone abbreviations (like CET, CEST, etc.) and abbr+-offset functionality (accept zones
  313   like 'CET+0100'), for the list of abbreviations see strptime.TZ_STR;
  314 * Introduced new option `--timezone` (resp. `--TZ`) for `fail2ban-regex`.
  315 * Tokens `%z` and `%Z` are changed (more precise now);
  316 * Introduced new tokens `%Exz` and `%ExZ` that fully support zone abbreviations and/or offset-based
  317   zones (implemented as enhancement using custom `datepattern`, because may be too dangerous for default
  318   patterns and tokens like `%z`);
  319   Note: the extended tokens supported zone abbreviations, but it can parse 1 or 3-5 char(s) in lowercase.
  320         Don't use them in default date-patterns (if not anchored, few precise resp. optional).
  321         Because python currently does not support mixing of case-sensitive with case-insensitive matching,
  322 	the TZ (in uppercase) cannot be combined with `%a`/`%b` etc (that are currently case-insensitive),
  323 	to avoid invalid date-time recognition in strings like '11-Aug-2013 03:36:11.372 error ...' with
  324 	wrong TZ "error".
  325         Hence `%z` currently match literal Z|UTC|GMT only (and offset-based), and `%Exz` - all zone 
  326 	abbreviations.
  327 * `filter.d/courier-auth.conf`: support failed logins with method only
  328 * Config reader's: introduced new syntax `%(section/option)s`, in opposite to extended interpolation of
  329   python 3 `${section:option}` work with all supported python version in fail2ban and this syntax is 
  330   like our another features like `%(known/option)s`, etc. (gh-1750)
  331 * Variable `default_backend` switched to `%(default/backend)s`, so totally backwards compatible now,
  332   but now the setting of parameter `backend` in default section of `jail.local` can overwrite default
  333   backend also (see gh-1750). In the future versions parameter `default_backend` can be removed (incompatibility, 
  334   possibly some distributions affected).
  335 
  336 
  337 ver. 0.10.0-alpha-1 (2016/07/14) - ipv6-support-etc
  338 -----------
  339 
  340 ### Fixes
  341 * [Grave] memory leak's fixed (gh-1277, gh-1234)
  342 * [Grave] Misleading date patterns defined more precisely (using extended syntax
  343   `%Ex[mdHMS]` for exact two-digit match or e. g. `%ExY` as more precise year 
  344   pattern, within same century of last year and the next 3 years)
  345 * [Grave] extends date detector template with distance (position of match in 
  346   log-line), to prevent grave collision using (re)ordered template list (e.g.
  347   find-spot of wrong date-match inside foreign input, misleading date patterns
  348   by ambiguous formats, etc.)
  349 * Distance collision check always prefers template with shortest distance
  350   (left for right) if date pattern is not anchored
  351 * Tricky bug fix: last position of log file will be never retrieved (gh-795),
  352   because of CASCADE all log entries will be deleted from logs table together with jail, 
  353   if used "INSERT OR REPLACE" statement
  354 * Asyncserver (asyncore) code fixed and test cases repaired (again gh-161)
  355 * testSocket: sporadical bug repaired - wait for server thread starts a socket (listener)
  356 * testExecuteTimeoutWithNastyChildren: sporadical bug repaired - wait for pid file inside bash,
  357   kill tree in any case (gh-1155)
  358 * Fixed high-load of pyinotify-backend,
  359   see https://github.com/fail2ban/fail2ban/issues/885#issuecomment-248964591
  360 * Database: stability fix - repack cursor iterator as long as locked
  361 * File filter backends: stability fix for sporadically errors - always close file
  362   handle, otherwise may be locked (prevent log-rotate, etc.)
  363 * Pyinotify-backend: stability fix for sporadically errors in multi-threaded
  364   environment (without lock)
  365 * Fixed sporadically error in testCymruInfoNxdomain, because of unsorted values
  366 * Misleading errors logged from ignorecommand in success case on retcode 1 (gh-1194)
  367 * fail2ban.service - systemd service updated (gh-1618):
  368   - starting service in normal mode (without forking)
  369   - does not restart if service exited normally (exit-code 0, e.g. stopped via fail2ban-client)
  370   - does not restart if service can not start (exit-code 255, e.g. wrong configuration, etc.)
  371   - service can be additionally started/stopped with commands (fail2ban-client, fail2ban-server)
  372   - automatically creates `/var/run/fail2ban` directory before start fail2ban 
  373     (systems with virtual resp. memory-based FS for `/var/run`), see gh-1531
  374   - if fail2ban running as systemd-service, for logging to the systemd-journal, 
  375     the `logtarget` could be set to STDOUT
  376   - value `logtarget` for system targets allowed also in lowercase (stdout, stderr, syslog, etc.)
  377 * Fixed UTC/GMT named time zone, using `%Z` and `%z` patterns 
  378   (special case with 0 zone offset, see gh-1575)
  379 * `filter.d/freeswitch.conf`
  380     - Optional prefixes (server, daemon, dual time) if systemd daemon logs used (gh-1548)
  381     - User part rewritten to accept IPv6 resp. domain after "@" (gh-1548)
  382 
  383 ### New Features
  384 * IPv6 support:
  385     - IP addresses are now handled as objects rather than strings capable for 
  386       handling both address types IPv4 and IPv6
  387     - iptables related actions have been amended to support IPv6 specific actions
  388       additionally
  389     - hostsdeny and route actions have been tested to be aware of v4 and v6 already
  390     - pf action for *BSD systems has been improved and supports now also v4 and v6
  391     - name resolution is now working for either address type
  392     - new conditional section functionality used in config resp. includes:
  393       - [Init?family=inet4] - IPv4 qualified hosts only
  394       - [Init?family=inet6] - IPv6 qualified hosts only
  395 * New reload functionality (now totally without restart, unbanning/rebanning, etc.),
  396   see gh-1557
  397 * Several commands extended and new commands introduced:
  398   - `restart [--unban] [--if-exists] <JAIL>` - restarts the jail \<JAIL\>
  399     (alias for `reload --restart ... <JAIL>`)
  400   - `reload [--restart] [--unban] [--all]` - reloads the configuration without restarting
  401     of the server, the option `--restart` activates completely restarting of affected jails,
  402     thereby can unban IP addresses (if option `--unban` specified)
  403   - `reload [--restart] [--unban] [--if-exists] <JAIL>` - reloads the jail \<JAIL\>,
  404     or restarts it (if option `--restart` specified), at the same time unbans all IP addresses
  405     banned in this jail, if option `--unban` specified
  406   - `unban --all` - unbans all IP addresses (in all jails and database)
  407   - `unban <IP> ... <IP>` - unbans \<IP\> (in all jails and database) (see gh-1388)
  408   - introduced new option `-t` or `--test` to test configuration resp. start server only 
  409     if configuration is clean (fails by wrong configured jails if option `-t` specified)
  410 * New command action parameter `actionrepair` - command executed in order to restore
  411   sane environment in error case of `actioncheck`.
  412 * Reporting via abuseipdb.com:
  413   - Bans can now be reported to abuseipdb
  414   - Catagories must be set in the config
  415   - Relevant log lines included in report
  416 
  417 ### Enhancements
  418 * Huge increasing of fail2ban performance and especially test-cases performance (see gh-1109)
  419 * Datedetector: in-place reordering using hits and last used time: 
  420   matchTime, template list etc. rewritten because of performance degradation
  421 * Prevent out of memory situation if many IP's makes extremely many failures (maxEntries)
  422 * Introduced string to seconds (str2seconds) for configuration entries with time,
  423   use `1h` instead of `3600`, `1d` instead of `86400`, etc
  424 * seekToTime - prevent completely read of big files first time (after start of service), 
  425   initial seek to start time using half-interval search algorithm (see issue gh-795)
  426 * Ticket and some other modules prepared to easy merge with newest version of 'ban-time-incr'
  427 * Cache dnsToIp, ipToName to prevent long wait during retrieving of ip/name,
  428   especially for wrong dns or lazy dns-system
  429 * FailManager memory-optimization: increases performance, 
  430   prevents memory leakage, because don't copy failures list on some operations
  431 * fail2ban-testcases - new options introduced:
  432     - `-f`, `--fast` to decrease wait intervals, avoid passive waiting, and skip
  433       few very slow test cases (implied memory database, see `-m` and no gamin tests `-g`)
  434     - `-g`, `--no-gamin` to prevent running of tests that require the gamin (slow)
  435     - `-m`, `--memory-db` - run database tests using memory instead of file
  436     - `-i`, `--ignore` - negate [regexps] filter to ignore tests matched specified regexps
  437 * Background servicing: prevents memory leak on some platforms/python versions, using forced GC
  438   in periodic intervals (latency and threshold)
  439 * executeCmd partially moved from action to new module utils
  440 * Several functionality of class `DNSUtils` moved to new class `IPAddr`, 
  441   both classes moved to new module `ipdns`
  442 * Pseudo-conditional section introduced, for conditional substitution resp. 
  443   evaluation of parameters for different family qualified hosts, 
  444   syntax `[Section?family=inet6]` (currently use for IPv6-support only).
  445 * All the backends were rewritten to get reload-possibility, performance increased,
  446   so fewer greedy regarding cpu- resp. system-load now
  447 * Numeric log-level allowed now in server (resp. fail2ban.conf);
  448 * Implemented better error handling in some multi-threaded routines; shutdown of jails
  449   rewritten (faster and safer, does not breaks shutdown process if some error occurred)
  450 * Possibility for overwriting some configuration options (read with config-readers)
  451   with command line option, e. g.:
  452 ```bash
  453 ## start server with DEBUG log-level (ignore level read from fail2ban.conf):
  454 fail2ban-client --loglevel DEBUG start
  455 ## or
  456 fail2ban-server -c /cfg/path --loglevel DEBUG start
  457 ## keep server log-level by reload (without restart it)
  458 fail2ban-client --loglevel DEBUG reload
  459 ## switch log-level back to INFO:
  460 fail2ban-client set loglevel INFO
  461 ```
  462 * Optimized BanManager: increase performance, fewer system load, try to prevent
  463   memory leakage:
  464   - better ban/unban handling within actions (e.g. used dict instead of list)
  465   - don't copy bans resp. its list on some operations;
  466   - added new unbantime handling to relieve unBanList (prevent permanent
  467     searching for tickets to unban)
  468   - prefer failure-ID as identifier of the ticket to its IP (most of the time
  469     the same, but it can be something else e.g. user name in some complex jails,
  470     as introduced in 0.10)
  471 * Regexp enhancements:
  472   - build replacement of `<HOST>` substitution corresponding parameter
  473     `usedns` - dns-part will be added only if `usedns` is not `no`,
  474     also using fail2ban-regex
  475   - new replacement for `<ADDR>` in opposition to `<HOST>`, for separate
  476     usage of 2 address groups only (regardless of `usedns`), `ip4` and `ip6`
  477     together, without host (dns)
  478 * Misconfigured jails don't prevent fail2ban from starting, server starts 
  479   nevertheless, as long as one jail was successful configured (gh-1619)
  480   Message about wrong jail configuration logged in client log (stdout, systemd
  481   journal etc.) and in server log with error level
  482 * More precise date template handling (WARNING: theoretically possible incompatibilities):
  483   - datedetector rewritten more strict as earlier;
  484   - default templates can be specified exacter using prefix/suffix syntax (via `datepattern`);
  485   - more as one date pattern can be specified using option `datepattern` now 
  486     (new-line separated);
  487   - some default options like `datepattern` can be specified directly in 
  488     section `[Definition]`, that avoids contrary usage of unnecessarily `[Init]`
  489     section, because of performance (each extra section costs time);
  490   - option `datepattern` can be specified in jail also (e. g. jails without filters 
  491     or custom log-format, new-line separated for multiple patterns);
  492   - if first unnamed group specified in pattern, only this will be cut out from
  493     search log-line (e. g.: `^date:[({DATE})]` will cut out only datetime match 
  494     pattern, and leaves `date:[] ...` for searching in filter);
  495   - faster match and fewer searching of appropriate templates
  496     (DateDetector.matchTime calls rarer DateTemplate.matchDate now);
  497   - several standard filters extended with exact prefixed or anchored date templates;
  498 * Added possibility to recognize restored state of the tickets (see gh-1669).
  499   New option `norestored` introduced, to ignore restored tickets (after restart).
  500   To avoid execution of ban/unban for the restored tickets, `norestored = true`
  501   could be added in definition section of action.
  502   For conditional usage in the shell-based actions an interpolation `<restored>` 
  503   could be used also. E. g. it is enough to add following script-piece at begin
  504   of `actionban` (or `actionunban`) to prevent execution:
  505   `if [ '<restored>' = '1' ]; then exit 0; fi;`
  506   Several actions extended now using `norestored` option:
  507   - complain.conf
  508   - dshield.conf
  509   - mail-buffered.conf
  510   - mail-whois-lines.conf
  511   - mail-whois.conf
  512   - mail.conf
  513   - sendmail-buffered.conf
  514   - sendmail-geoip-lines.conf
  515   - sendmail-whois-ipjailmatches.conf
  516   - sendmail-whois-ipmatches.conf
  517   - sendmail-whois-lines.conf
  518   - sendmail-whois-matches.conf
  519   - sendmail-whois.conf
  520   - sendmail.conf
  521   - smtp.py
  522   - xarf-login-attack.conf
  523 * fail2ban-testcases:
  524   - `assertLogged` extended with parameter wait (to wait up to specified timeout,
  525     before we throw assert exception) + test cases rewritten using that
  526   - added `assertDictEqual` for compatibility to early python versions (< 2.7);
  527   - new `with_foreground_server_thread` decorator to test several client/server commands
  528 
  529 
  530 ver. 0.9.8 (2016/XX/XXX) - wanna-be-released
  531 -----------
  532 
  533 0.9.x line is no longer heavily developed.  If you are interested in
  534 new features (e.g. IPv6 support), please consider 0.10 branch and its
  535 releases.
  536 
  537 
  538 ### Fixes
  539 * Fix for systemd-backend: fail2ban hits the ulimit (out of file descriptors), see gh-991.
  540   Partially back-ported from v.0.10.
  541 * action.d/bsd-ipfw.conf
  542     - Make the rule number, the action starts looking for a free slot to insert
  543       the new rule, configurable (gh-1689)
  544     - Replace not posix-compliant grep option: fgrep with `-q` option can cause 
  545       141 exit code in some cases (gh-1389)
  546 * filter.d/apache-overflows.conf:
  547     - Fixes resources greedy expression (see gh-1790);
  548     - Rewritten without end-anchor ($), because of potential vulnerability on very long URLs.
  549 * filter.d/apache-badbots.conf - extended to recognize Jorgee Vulnerability Scanner (gh-1882)
  550 * filter.d/asterisk.conf
  551     - fixed failregex AMI Asterisk authentification failed (see gh-1302)
  552     - removed invalid (vulnerable) regex blocking IPs using forign data (from header "from")
  553       thus not the IP-address that really originates the request (see gh-1927)
  554     - fixed failregex for the SQL-injection attempts with single-quotes in connect-string (see gh-2011)
  555 * filter.d/dovecot.conf:
  556     - fixed failregex, see gh-1879 (partially cherry-picked from gh-1880)
  557     - extended to match pam_authenticate failures with "Permission denied" (gh-1897)
  558 * filter.d/exim.conf
  559     - fixed failregex for case of flood attempts with `D=0s` (gh-1887)
  560     - fixed failregex of "AUTH command used when not advertised" to better handle the foreign
  561       input SMTP command (lower/mixed case auth command, prevent injection) (gh-1979)
  562 * filter.d/postfix-*.conf - added optional port regex (gh-1902)
  563 * filter.d/sendmail-auth.conf - extended daemon for Fedora 24/RHEL - the daemon name is "sendmail" (gh-1632)
  564 * filter.d/nginx-http-auth.conf - match usernames with spaces (gh-2015)
  565 
  566 ### New Features
  567 
  568 ### Enhancements
  569 * action.d/cloudflare.conf - Cloudflare API v4 implementation (gh-1651)
  570 * action.d/firewallcmd-ipset.conf - new parameter `actiontype`, provides `allports` capability (gh-1167)
  571 * filter.d/kerio.conf - filter extended with new rules (see gh-1455)
  572 * filter.d/phpmyadmin-syslog.conf - new filter for phpMyAdmin using syslog for auth logging
  573 * filter.d/zoneminder.conf - new filter for ZoneMinder (gh-1376)
  574 
  575 
  576 ver. 0.9.7 (2017/05/11) - awaiting-victory
  577 -----------
  578 
  579 ### Fixes
  580 * Fixed a systemd-journal handling in fail2ban-regex (gh-1657)
  581 * filter.d/sshd.conf
  582     - Fixed non-anchored part of failregex (misleading match of colon inside
  583       IPv6 address instead of `: ` in the reason-part by missing space, gh-1658)
  584       (0.10th resp. IPv6 relevant only, amend for gh-1479)
  585 * config/pathes-freebsd.conf
  586     - Fixed filenames for apache and nginx log files (gh-1667)
  587 * filter.d/exim.conf
  588     - optional part `(...)` after host-name before `[IP]` (gh-1751)
  589     - new reason "Unrouteable address" for "rejected RCPT" regex (gh-1762)
  590     - match of complex time like `D=2m42s` in regex "no MAIL in SMTP connection" (gh-1766)
  591 * filter.d/sshd.conf
  592     - new aggressive rules (gh-864):
  593       - Connection reset by peer (multi-line rule during authorization process)
  594       - No supported authentication methods available
  595     - single line and multi-line expression optimized, added optional prefixes
  596       and suffix (logged from several ssh versions), according to gh-1206;
  597     - fixed expression received disconnect auth fail (optional space after port
  598       part, gh-1652)
  599       and suffix (logged from several ssh versions), according to gh-1206;
  600 * filter.d/suhosin.conf
  601     - greedy catch-all before `<HOST>` fixed (potential vulnerability)
  602 * filter.d/cyrus-imap.conf
  603     - accept entries without login-info resp. hostname before IP address (gh-1707)
  604 * Filter tests extended with check of all config-regexp, that contains greedy catch-all
  605   before `<HOST>`, that is hard-anchored at end or precise sub expression after `<HOST>`
  606 
  607 ### New Features
  608 * New Actions:
  609     - action.d/netscaler: Block IPs on a Citrix Netscaler ADC (gh-1663)
  610 
  611 * New Filters:
  612     - filter.d/domino-smtp: IBM Domino SMTP task (gh-1603)
  613 
  614 ### Enhancements
  615 * Introduced new log-level `MSG` (as INFO-2, equivalent to 18)
  616 
  617 
  618 ver. 0.9.6 (2016/12/10) - stretch-is-coming
  619 -----------
  620 
  621 ### Fixes
  622 * Misleading add resp. enable of (already available) jail in database, that
  623   induced a subsequent error: last position of log file will be never retrieved (gh-795)
  624 * Fixed a distribution related bug within testReadStockJailConfForceEnabled
  625   (e.g. test-cases faults on Fedora, see gh-1353)
  626 * Fixed pythonic filters and test scripts (running via wrong python version,
  627   uses "fail2ban-python" now);
  628 * Fixed test case "testSetupInstallRoot" for not default python version (also
  629   using direct call, out of virtualenv);
  630 * Fixed ambiguous wrong recognized date pattern resp. its optional parts (see gh-1512);
  631 * FIPS compliant, use sha1 instead of md5 if it not allowed (see gh-1540)
  632 * Monit config: scripting is not supported in path (gh-1556)
  633 * `filter.d/apache-modsecurity.conf`
  634     - Fixed for newer version (one space, gh-1626), optimized: non-greedy catch-all
  635       replaced for safer match, unneeded catch-all anchoring removed, non-capturing
  636 * `filter.d/asterisk.conf`
  637     - Fixed to match different asterisk log prefix (source file: method:)
  638 * `filter.d/dovecot.conf`
  639     - Fixed failregex ignores failures through some not relevant info (gh-1623)
  640 * `filter.d/ignorecommands/apache-fakegooglebot`
  641     - Fixed error within apache-fakegooglebot, that will be called
  642       with wrong python version (gh-1506)
  643 * `filter.d/assp.conf`
  644     - Extended failregex and test cases to handle ASSP V1 and V2 (gh-1494)
  645 * `filter.d/postfix-sasl.conf`
  646     - Allow for having no trailing space after 'failed:' (gh-1497)
  647 * `filter.d/vsftpd.conf`
  648     - Optional reason part in message after FAIL LOGIN (gh-1543)
  649 * `filter.d/sendmail-reject.conf`
  650     - removed mandatory double space (if dns-host available, gh-1579)
  651 * filter.d/sshd.conf
  652     - recognized "Failed publickey for" (gh-1477);
  653     - optimized failregex to match all of "Failed any-method for ... from <HOST>" (gh-1479)
  654     - eliminated possible complex injections (on user-name resp. auth-info, see gh-1479)
  655     - optional port part after host (see gh-1533, gh-1581)
  656 
  657 ### New Features
  658 * New Actions:
  659     - `action.d/npf.conf` for NPF, the latest packet filter for NetBSD
  660 * New Filters:
  661     - `filter.d/mongodb-auth.conf` for MongoDB (document-oriented NoSQL database engine)
  662       (gh-1586, gh-1606 and gh-1607)
  663 
  664 ### Enhancements
  665 * DateTemplate regexp extended with the word-end boundary, additionally to
  666   word-start boundary
  667 * Introduces new command "fail2ban-python", as automatically created symlink to
  668   python executable, where fail2ban currently installed (resp. its modules are located):
  669     - allows to use the same version, fail2ban currently running, e.g. in
  670       external scripts just via replace python with fail2ban-python:
  671       ```diff
  672       -#!/usr/bin/env python
  673       +#!/usr/bin/env fail2ban-python
  674       ```
  675     - always the same pickle protocol
  676     - the same (and also guaranteed available) fail2ban modules
  677     - simplified stand-alone install, resp. stand-alone installation possibility
  678       via setup (like gh-1487) is getting closer
  679 * Several test cases rewritten using new methods assertIn, assertNotIn
  680 * New forward compatibility method assertRaisesRegexp (normally python >= 2.7).
  681   Methods assertIn, assertNotIn, assertRaisesRegexp, assertLogged, assertNotLogged
  682   are test covered now
  683 * Jail configuration extended with new syntax to pass options to the backend (see gh-1408),
  684   examples:
  685     - `backend = systemd[journalpath=/run/log/journal/machine-1]`
  686     - `backend = systemd[journalfiles="/run/log/journal/machine-1/system.journal, /run/log/journal/machine-1/user.journal"]`
  687     - `backend = systemd[journalflags=2]`
  688 
  689 
  690 ver. 0.9.5 (2016/07/15) - old-not-obsolete
  691 -----------
  692 
  693 ### Fixes
  694 * `filter.d/monit.conf`
  695     - Extended failregex with new monit "access denied" version (gh-1355)
  696     - failregex of previous monit version merged as single expression
  697 * `filter.d/postfix.conf`, `filter.d/postfix-sasl.conf`
  698     - Extended failregex daemon part, matching also `postfix/smtps/smtpd`
  699       now (gh-1391)
  700 * Fixed a grave bug within tags substitutions because of incorrect
  701   detection of recursion in case of multiple inline substitutions
  702   of the same tag (affected actions: `bsd-ipfw`, etc).  Now tracks
  703   the actual list of the already substituted tags (per tag instead
  704   of single list)
  705 * `filter.d/common.conf`
  706     - Unexpected extra regex-space in generic `__prefix_line` (gh-1405)
  707     - All optional spaces normalized in `common.conf`, test covered now
  708     - Generic `__prefix_line` extended with optional brackets for the
  709      date ambit (gh-1421), added new parameter `__date_ambit`
  710 * `gentoo-initd` fixed `--pidfile` bug: `--pidfile` is option of
  711   `start-stop-daemon`, not argument of fail2ban (see gh-1434)
  712 * `filter.d/asterisk.conf`
  713     - Fixed security log support for PJSIP and Asterisk 13+ (gh-1456)
  714     - Improved log support for PJSIP and Asterisk 13+ with different
  715       callID (gh-1458)
  716 
  717 ### New Features
  718 * New Actions:
  719     - `action.d/firewallcmd-rich-rules` and `action.d/firewallcmd-rich-logging`
  720 	(gh-1367)
  721 * New filters:
  722     - slapd - ban hosts, that were failed to connect with invalid
  723 	credentials: error code 49 (gh-1478)
  724 
  725 
  726 ### Enhancements
  727 * Extreme speedup of all sqlite database operations (gh-1436),
  728   by using of following sqlite options:
  729     - (synchronous = OFF) write data through OS without syncing
  730     - (journal_mode = MEMORY) use memory for the transaction logging
  731     - (temp_store = MEMORY) temporary tables and indices are kept in memory
  732 * journald journalmatch for pure-ftpd (gh-1362)
  733 * Added additional regex filter for dovecot ldap authentication failures (gh-1370)
  734 * `filter.d/exim*conf`
  735     - Added additional regexes (gh-1371)
  736     - Made port entry optional
  737 
  738 
  739 ver. 0.9.4 (2016/03/08) - for-you-ladies
  740 -----------
  741 
  742 ### Fixes
  743 * `roundcube-auth` jail typo for logpath
  744 * Fix dnsToIp resolver for fqdn with large list of IPs (gh-1164)
  745 * `filter.d/apache-badbots.conf`
  746     - Updated useragent string regex adding escape for `+`
  747 * `filter.d/mysqld-auth.conf`
  748     - Updated "Access denied ..." regex for MySQL 5.6 and later (gh-1211, gh-1332)
  749 * `filter.d/sshd.conf`
  750     - Updated "Auth fail" regex for OpenSSH 5.9 and later
  751 * Treat failed and killed execution of commands identically (only
  752   different log messages), which addresses different behavior on different
  753   exit codes of dash and bash (gh-1155)
  754 * Fix jail.conf.5 man's section (gh-1226)
  755 * Fixed default banaction for allports jails like pam-generic, recidive, etc
  756   with new default variable `banaction_allports` (gh-1216)
  757 * Fixed `fail2ban-regex` stops working on invalid (wrong encoded) character
  758   for python version < 3.x (gh-1248)
  759 * Use postfix_log logpath for postfix-rbl jail
  760 * `filters.d/postfix.conf` - add 'Sender address rejected: Domain not found' failregex
  761 * use `fail2ban_agent` as user-agent in actions badips, blocklist_de, etc (gh-1271)
  762 * Fix ignoring the sender option by action_mw, action_mwl and action_c_mwl
  763 * Changed `filter.d/asterisk` regex for "Call from ..." (few vulnerable now)
  764 * Removed compression and rotation count from logrotate (inherit them from
  765   the global logrotate config)
  766 
  767 ### New Features
  768 * New interpolation feature for definition config readers - `<known/parameter>`
  769   (means last known init definition of filters or actions with name `parameter`).
  770   This interpolation makes possible to extend a parameters of stock filter or
  771   action directly in jail inside jail.local file, without creating a separately
  772   `filter.d/*.local` file.
  773   As extension to interpolation `%(known/parameter)s`, that does not works for
  774   filter and action init parameters
  775 * New actions:
  776     - `nftables-multiport` and `nftables-allports` - filtering using nftables
  777       framework. Note: it requires a pre-existing chain for the filtering rule.
  778 * New filters:
  779     - `openhab` - domotic software authentication failure with the
  780       rest api and web interface (gh-1223)
  781     - `nginx-limit-req` - ban hosts, that were failed through nginx by limit
  782       request processing rate (ngx_http_limit_req_module)
  783     - `murmur` - ban hosts that repeatedly attempt to connect to
  784       murmur/mumble-server with an invalid server password or certificate.
  785     - `haproxy-http-auth` - filter to match failed HTTP Authentications against a
  786       HAProxy server
  787 * New jails:
  788     - `murmur` - bans TCP and UDP from the bad host on the default murmur port.
  789 * `sshd` filter got new failregex to match "maximum authentication
  790   attempts exceeded" (introduced in openssh 6.8)
  791 * Added filter for Mac OS screen sharing (VNC) daemon
  792 
  793 ### Enhancements
  794 * Do not rotate empty log files
  795 * Added new date pattern with year after day (e.g. `Sun Jan 23 2005 21:59:59`)
  796   http://bugs.debian.org/798923
  797 * Added openSUSE path configuration (Thanks Johannes Weberhofer)
  798 * Allow to split ignoreip entries by ',' as well as by ' ' (gh-1197)
  799 * Added a timeout (3 sec) to urlopen within badips.py action
  800   (Thanks M. Maraun)
  801 * Added check against atacker's Googlebot PTR fake records
  802   (Thanks Pablo Rodriguez Fernandez)
  803 * Enhance filter against atacker's Googlebot PTR fake records
  804   (gh-1226)
  805 * Nginx log paths extended (prefixed with "*" wildcard) (gh-1237)
  806 * Added filter for openhab domotic software authentication failure with the
  807   rest api and web interface (gh-1223)
  808 * Add `*_backend` options for services to allow distros to set the default
  809   backend per service, set default to systemd for Fedora as appropriate
  810 * Performance improvements while monitoring large number of files (gh-1265).
  811   Use associative array (dict) for monitored log files to speed up lookup
  812   operations. Thanks @kshetragia
  813 * Specified that fail2ban is PartOf iptables.service `firewalld.service` in
  814   `.service` file -- would reload fail2ban if those services are restarted
  815 * Provides new default `fail2ban_version` and interpolation variable
  816   `fail2ban_agent` in jail.conf
  817 * Enhance filter 'postfix' to ban incoming SMTP client with no fqdn hostname,
  818   and to support multiple instances of postfix having varying suffix (gh-1331)
  819   (Thanks Tom Hendrikx)
  820 * `files/gentoo-initd` to use `start-stop-daemon` to robustify restarting the service
  821 
  822 
  823 ver. 0.9.3 (2015/08/01) - lets-all-stay-friends
  824 ----------
  825 
  826 ### IMPORTANT incompatible changes
  827 * `filter.d/roundcube-auth.conf`
  828     - Changed logpath to 'errors' log (was 'userlogins')
  829 * `action.d/iptables-common.conf`
  830     - All calls to iptables command now use -w switch introduced in
  831       iptables 1.4.20 (some distribution could have patched their
  832       earlier base version as well) to provide this locking mechanism
  833       useful under heavy load to avoid contesting on iptables calls.
  834       If you need to disable, define `action.d/iptables-common.local`
  835       with empty value for 'lockingopt' in `[Init]` section.
  836 * `mail-whois-lines`, `sendmail-geoip-lines` and `sendmail-whois-lines`
  837   actions now include by default only the first 1000 log lines in
  838   the emails.  Adjust `<grepopts>` to augment the behavior.
  839 
  840 ### Fixes
  841 * reload in interactive mode appends all the jails twice (gh-825)
  842 * reload server/jail failed if database used (but was not changed) and
  843   some jail active (gh-1072)
  844 * `filter.d/dovecot.conf` - also match unknown user in passwd-file.
  845   Thanks Anton Shestakov
  846 * Fix fail2ban-regex not parsing journalmatch correctly from filter config
  847 * `filter.d/asterisk.conf` - fix security log support for Asterisk 12+
  848 * `filter.d/roundcube-auth.conf`
  849      - Updated regex to work with 'errors' log (1.0.5 and 1.1.1)
  850      - Added regex to work with 'userlogins' log
  851 * `action.d/sendmail*.conf` - use LC_ALL (superseeding LC_TIME) to override
  852   locale on systems with customized LC_ALL
  853 * performance fix: minimizes connection overhead, close socket only at
  854   communication end (gh-1099)
  855 * unbanip always deletes ip from database (independent of bantime, also if
  856   currently not banned or persistent)
  857 * guarantee order of dbfile to be before dbpurgeage (gh-1048)
  858 * always set 'dbfile' before other database options (gh-1050)
  859 * kill the entire process group of the child process upon timeout (gh-1129).
  860   Otherwise could lead to resource exhaustion due to hanging whois
  861   processes.
  862 * resolve `/var/run/fail2ban` path in setup.py to help installation
  863   on platforms with `/var/run` -> /run symlink (gh-1142)
  864 
  865 ### New Features
  866 * RETURN iptables target is now a variable: `<returntype>`
  867 * New type of operation: pass2allow, use fail2ban for "knocking",
  868   opening a closed port by swapping blocktype and returntype
  869 * New filters:
  870      - froxlor-auth - Thanks Joern Muehlencord
  871      - apache-pass - filter Apache access log for successful authentication
  872 * New actions:
  873      - shorewall-ipset-proto6 - using proto feature of the Shorewall. Still requires
  874 	   manual pre-configuration of the shorewall. See the action file for detail.
  875 * New jails:
  876      - pass2allow-ftp - allows FTP traffic after successful HTTP authentication
  877 
  878 ### Enhancements
  879 * `action.d/cloudflare.conf` - improved documentation on how to allow
  880   multiple CF accounts, and jail.conf got new compound action
  881   definition action_cf_mwl to submit cloudflare report.
  882 * Check access to socket for more detailed logging on error (gh-595)
  883 * fail2ban-testcases man page
  884 * `filter.d/apache-badbots.conf`, `filter.d/nginx-botsearch.conf` - add
  885   HEAD method verb
  886 * Revamp of Travis and coverage automated testing
  887 * Added a space between IP address and the following colon
  888   in notification emails for easier text selection
  889 * Character detection heuristics for whois output via optional setting
  890   in mail-whois*.conf. Thanks Thomas Mayer.
  891   Not enabled by default, if _whois_command is set to be
  892   %(_whois_convert_charset)s (e.g. in `action.d/mail-whois-common.local`),
  893   it
  894      - detects character set of whois output (which is undefined by
  895        RFC 3912) via heuristics of the file command
  896      - converts whois data to UTF-8 character set with iconv
  897      - sends the whois output in UTF-8 character set to mail program
  898      - avoids that heirloom mailx creates binary attachment for input with
  899        unknown character set
  900 
  901 
  902 ver. 0.9.2 (2015/04/29) - better-quick-now-than-later
  903 ----------
  904 
  905 ### Fixes
  906 * Fix ufw action commands
  907 * infinite busy loop on _escapedTags match in substituteRecursiveTags gh-907.
  908   Thanks TonyThompson
  909 * port[s] typo in jail.conf/nginx-http-auth gh-913. Thanks Frederik Wagner
  910   (fnerdwq)
  911 * $ typo in jail.conf. Thanks Skibbi. Debian bug #767255
  912 * grep'ing for IP in *mail-whois-lines.conf should now match also
  913   at the beginning and EOL.  Thanks Dean Lee
  914 * `jail.conf`
  915      - `php-url-fopen`: separate logpath entries by newline
  916 * failregex declared direct in jail was joined to single line (specifying of
  917   multiple expressions was not possible).
  918 * `filters.d/exim.conf` - cover different settings of exim logs
  919   details. Thanks bes.internal
  920 * `filter.d/postfix-sasl.conf` - failregex is now case insensitive
  921 * `filters.d/postfix.conf` - add 'Client host rejected error message' failregex
  922 * `fail2ban/__init__.py` - add strptime thread safety hack-around
  923 * recidive uses `iptables-allports` banaction by default now.
  924   Avoids problems with iptables versions not understanding 'all' for
  925   protocols and ports
  926 * `filter.d/dovecot.conf`
  927      - match pam_authenticate line from EL7
  928      - match unknown user line from EL7
  929 * Use `use_poll=True` for Python 2.7 and >=3.4 to overcome "Bad file
  930   descriptor" msgs issue (gh-161)
  931 * `filter.d/postfix-sasl.conf` - tweak failregex and add ignoreregex to ignore
  932   system authentication issues
  933 * fail2ban-regex reads filter file(s) completely, incl. '.local' file etc.
  934   (gh-954)
  935 * firewallcmd-* actions: split output into separate lines for grepping (gh-908)
  936 * Guard unicode encode/decode issues while storing records in the database.
  937   Fixes "binding parameter error (unsupported type)" (gh-973), thanks to kot
  938   for reporting
  939 * `filter.d/sshd` added regex for matching openSUSE ssh authentication failure
  940 * `filter.d/asterisk.conf`:
  941      - Dropped "Sending fake auth rejection" failregex since it incorrectly
  942 	   targets the asterisk server itself
  943      - match "hacking attempt detected" logs
  944 
  945 ### New Features
  946 * New filters:
  947     - postfix-rbl  Thanks Lee Clemens
  948     - apache-fakegooglebot.conf  Thanks Lee Clemens
  949     - nginx-botsearch  Thanks Frantisek Sumsal
  950     - drupal-auth  Thanks Lee Clemens
  951 * New recursive embedded substitution feature added:
  952     - `<<PREF>HOST>` becomes `<IPV4HOST>` for PREF=`IPV4`;
  953     - `<<PREF>HOST>` becomes `1.2.3.4` for PREF=`IPV4` and IPV4HOST=`1.2.3.4`;
  954 * New interpolation feature for config readers - `%(known/parameter)s`.
  955   (means last known option with name `parameter`). This interpolation makes
  956   possible to extend a stock filter or jail regexp in .local file
  957   (opposite to simply set failregex/ignoreregex that overwrites it),
  958   see gh-867.
  959 * Monit config for fail2ban in `files/monit/`
  960 * New actions:
  961     - `action.d/firewallcmd-multiport` and `action.d/firewallcmd-allports` Thanks Donald Yandt
  962     - `action.d/sendmail-geoip-lines.conf`
  963     - `action.d/nsupdate` to update DNSBL. Thanks Andrew St. Jean
  964 * New status argument for fail2ban-client -- flavor:
  965   `fail2ban-client status <jail> [flavor]`
  966     - empty or "basic" works as-is
  967     - "cymru" additionally prints (ASN, Country RIR) per banned IP
  968       (requires dnspython or dnspython3)
  969 * Flush log at USR1 signal
  970 
  971 ### Enhancements
  972 * Enable multiport for firewallcmd-new action.  Closes gh-834
  973 * files/debian-initd migrated from the debian branch and should be
  974   suitable for manual installations now (thanks Juan Karlo de Guzman)
  975 * Define empty ignoreregex in filters which didn't have it to avoid
  976   warnings (gh-934)
  977 * `action.d/{sendmail-*,xarf-login-attack}.conf` - report local
  978   timezone not UTC time/zone. Closes gh-911
  979 * Conditionally log Ignore IP with reason (dns, ip, command). Closes gh-916
  980 * Absorbed DNSUtils.cidr into addr2bin in filter.py, added unittests
  981 * Added syslogsocket configuration to fail2ban.conf
  982 * Note in the `jail.conf` for the recidive jail to increase dbpurgeage (gh-964)
  983 
  984 
  985 ver. 0.9.1 (2014/10/29) - better, faster, stronger
  986 ----------
  987 
  988 ### Refactoring (IMPORTANT -- Please review your setup and configuration)
  989 * `iptables-common.conf` replaced `iptables-blocktype.conf`
  990   (`iptables-blocktype.local` should still be read) and now also
  991   provides defaults for the chain, port, protocol and name tags
  992 
  993 ### Fixes
  994 * start of file2ban aborted (on slow hosts, systemd considers the server has
  995   been timed out and kills him), see gh-824
  996 * UTF-8 fixes in pure-ftp thanks to Johannes Weberhofer. Closes gh-806.
  997 * systemd backend error on bad utf-8 in python3
  998 * badips.py action error when logging HTTP error raised with badips request
  999 * fail2ban-regex failed to work in python3 due to space/tab mix
 1000 * recidive regex samples incorrect log level
 1001 * journalmatch for recidive incorrect PRIORITY
 1002 * loglevel couldn't be changed in fail2ban.conf
 1003 * Handle case when no sqlite library is available for persistent database
 1004 * Only reban once per IP from database on fail2ban restart
 1005 * Nginx filter to support missing server_name. Closes gh-676
 1006 * fail2ban-regex assertion error caused by miscount missed lines with
 1007   multiline regex
 1008 * Fix actions failing to execute for Python 3.4.0. Workaround for
 1009   http://bugs.python.org/issue21207
 1010 * Database now returns persistent bans on restart (bantime < 0)
 1011 * Recursive action tags now fully processed. Fixes issue with bsd-ipfw
 1012   action
 1013 * Fixed TypeError with "ipfailures" and "ipjailfailures" action tags.
 1014   Thanks Serg G. Brester
 1015 * Correct times for non-timezone date times formats during DST
 1016 * Pass a copy of, not original, aInfo into actions to avoid side-effects
 1017 * Per-distribution paths to the exim's main log
 1018 * Ignored IPs are no longer banned when being restored from persistent
 1019   database
 1020 * Manually unbanned IPs are now removed from persistent database, such they
 1021   wont be banned again when Fail2Ban is restarted
 1022 * Pass "bantime" parameter to the actions in default jail's action
 1023   definition(s)
 1024 * `filters.d/sieve.conf` - fixed typo in _daemon.  Thanks Jisoo Park
 1025 * cyrus-imap -- also catch also failed logins via secured (imaps/pop3s).
 1026   Regression was introduced while strengthening failregex in 0.8.11 (bd175f)
 1027   Debian bug #755173
 1028 * postfix-sasl - added journalmatch.  Thanks Luc Maisonobe
 1029 * postfix* - match with a new daemon string (postfix/submission/smtpd).
 1030   Closes gh-804 .  Thanks Paul Traina
 1031 * apache - added filter for AH01630 client denied by server configuration.
 1032 
 1033 ### New Features
 1034 * New filters:
 1035     - monit  Thanks Jason H Martin
 1036     - directadmin  Thanks niorg
 1037     - apache-shellshock  Thanks Eugene Hopkinson (SlowRiot)
 1038 * New actions:
 1039     - symbiosis-blacklist-allports  for Bytemark symbiosis firewall
 1040     - fail2ban-client can fetch the running server version
 1041     - Added Cloudflare API action
 1042 
 1043 ### Enhancements
 1044 * Start performance of fail2ban-client (and tests) increased, start time
 1045   and cpu usage rapidly reduced. Introduced a shared storage logic, to
 1046   bypass reading lots of config files (see gh-824).
 1047   Thanks to Joost Molenaar for good catch (reported gh-820).
 1048 * Fail2ban-regex - add print-all-matched option. Closes gh-652
 1049 * Suppress fail2ban-client warnings for non-critical config options
 1050 * Match non "Bye Bye" disconnect messages for sshd locked account regex
 1051 * courier-smtp filter:
 1052     - match lines with user names
 1053     - match lines containing "535 Authentication failed" attempts
 1054 * Add `<chain>` tag to iptables-ipsets
 1055 * Realign fail2ban log output with white space to improve readability. Does
 1056   not affect SYSLOG output
 1057 * Log unhandled exceptions
 1058 * cyrus-imap: catch "user not found" attempts
 1059 * Add support for Portsentry
 1060 
 1061 
 1062 ver. 0.9.0 (2014/03/14) - beta
 1063 ----------
 1064 
 1065 Carries all fixes, features and enhancements from 0.8.13 (unreleased) with
 1066 major changes.
 1067 
 1068 The minimum supported python version is now 2.6. If you have python-2.4 or 2.5
 1069 you can use the 0.8.12 version of fail2ban.
 1070 
 1071 Please take note of release notes:
 1072 https://github.com/fail2ban/fail2ban/releases/tag/0.9.0
 1073 
 1074 Please test your configuration before relying on it.
 1075 
 1076 Nearly all development is thanks to Steven Hiscocks (THANKS!), merging,
 1077 testcases and timezone support from Daniel Black, and code-review and minor
 1078 additions from Yaroslav Halchenko.
 1079 
 1080 ### Refactoring (IMPORTANT -- Please review your setup and configuration):
 1081 * [..bddbf1e] jail.conf was heavily refactored and now is similar
 1082   to how it looked on Debian systems:
 1083      - default action could be configured once for all jails
 1084      - jails definitions only provide customizations (port, logpath)
 1085      - no need to specify 'filter' if name matches jail name
 1086 * [..5aef036] Core functionality moved into fail2ban/ module.
 1087   Closes gh-26
 1088      - tests included in module to aid testing and debugging
 1089 * Added fail2ban persistent database
 1090      - default location at `/var/lib/fail2ban/fail2ban.sqlite3`
 1091      - allows active bans to be reinstated on restart
 1092      - log files read from last position after restart
 1093 * Added systemd journal backend
 1094      - Dependency on python-systemd
 1095      - New "journalmatch" option added to filter configs files
 1096      - New "systemd-journal" option added to fail2ban-regex
 1097 * Added python3 support
 1098 * Support %z (Timezone offset) and %f (sub-seconds) support for
 1099   datedetector. Enhanced existing date/time have been updated patterns to
 1100   support these. ISO8601 now defaults to localtime unless specified otherwise.
 1101   Some filters have been change as required to capture these elements in the
 1102   right timezone correctly.
 1103 * Log levels are now set by Syslog style strings e.g. DEBUG, ERROR.
 1104      - Log level INFO is now more verbose
 1105 * Optionally can read log files starting from "head" or "tail".
 1106      - See "logpath" option in jail.conf(5) man page.
 1107 * Can now set log encoding for files per jail.
 1108      - Default uses systemd locale.
 1109 
 1110 ### New Features
 1111 * [..c7ae460] Multiline failregex. Close gh-54
 1112 * [8af32ed] Guacamole filter and support for Apache Tomcat date
 1113   format
 1114 * [..b6059f4] 'timeout' option for actions Close gh-60 and Debian
 1115   bug #410077.  Also it would now capture and include stdout and stderr
 1116   into logging messages in case of error or at DEBUG loglevel.
 1117 * Added action xarf-login-attack to report formatted attack messages
 1118   according to the XARF standard (v0.2). Close gh-105
 1119 * Support PyPy
 1120 * Add filter for apache-botsearch
 1121 * Add filter for kerio. Thanks Tony Lawrence for blog of regexs and
 1122   providing samples. Close gh-120
 1123 * Filter for stunnel
 1124 * Filter for Counter Strike 1.6. Thanks to onorua for logs.
 1125   Close gh-347
 1126 * Filter for squirrelmail. Close gh-261
 1127 * Filter for tine20. Close gh-583
 1128 * Custom date formats (strptime) can now be set in filters and jail.conf
 1129 * Python based actions can now be created.
 1130      - SMTP action for sending emails on jail start, stop and ban.
 1131 * Added action to use badips.com reporting and blacklist
 1132      - Requires Python 2.7+
 1133 
 1134 ### Enhancements
 1135 * Fail2ban-regex - don't accumulate lines if not printing them.
 1136   add options to suppress output of missed/ignored lines. Close gh-644
 1137 * Asterisk now supports syslog format
 1138 * Jail names increased to 26 characters and iptables prefix reduced
 1139   from fail2ban- to f2b- as suggested by buanzo in gh-462.
 1140 * Multiline filter for sendmail-spam. Close gh-418
 1141 * Multiline regex for Disconnecting: Too many authentication failures for
 1142   root [preauth]\nConnection closed by 6X.XXX.XXX.XXX [preauth]
 1143 * Multiline regex for Disconnecting: Connection from 61.XX.XX.XX port
 1144   51353\nToo many authentication failures for root [preauth]. Thanks
 1145   Helmut Grohne. Close gh-457
 1146 * Replacing use of deprecated API (.warning, .assertEqual, etc)
 1147 * [..a648cc2] Filters can have options now too which are substituted into
 1148   failregex / ignoreregex
 1149 * [..e019ab7] Multiple instances of the same action are allowed in the
 1150   same jail -- use actname option to disambiguate.
 1151 * Add honeypot email address to exim-spam filter as argument
 1152 * Properties and methods of actions accessible from fail2ban-client
 1153      - Use of properties replaces command actions "cinfo" interface
 1154 
 1155 ver. 0.8.13 (2014/03/15) - maintenance-only-from-now-on
 1156 -----------
 1157 
 1158 ### Fixes
 1159   - action firewallcmd-ipset had non-working actioncheck. Removed.
 1160     redhat bug #1046816.
 1161   - filter pureftpd - added _daemon which got removed. Added
 1162 
 1163 ### New Features
 1164   - filter nagios - detects unauthorized access to the nrpe daemon (Ivo Truxa)
 1165   - filter sendmail-{auth,reject} (jserrachinha and cepheid666 and fab23).
 1166 
 1167 ### Enhancements
 1168   - filter asterisk now supports syslog format
 1169   - filter pureftpd - added all translations of "Authentication failed for
 1170     user"
 1171   - filter dovecot - lip= was optional and extended TLS errors can occur.
 1172     Thanks Noel Butler.
 1173 
 1174 ver. 0.8.12 (2014/01/22) - things-can-only-get-better
 1175 ----------
 1176 
 1177 - IMPORTANT incompatible changes:
 1178   - Rename firewall-cmd-direct-new to firewallcmd-new to fit within jail name
 1179     name length. As per gh-395
 1180   - mysqld-syslog-iptables jailname was too long. Renamed to mysqld-syslog.
 1181     Part of gh-447.
 1182 
 1183 ### Fixes
 1184   - allow for ",milliseconds" in the custom date format of proftpd.log
 1185   - allow for ", referer ..." in apache-* filter for apache error logs.
 1186   - allow for spaces at the beginning of kernel messages. Closes gh-448
 1187   - recidive jail to block all protocols. Closes gh-440. Thanks Ioan Indreias
 1188   - smtps not a IANA standard and has been removed from Arch. Replaced with
 1189     465. Thanks Stefan. Closes gh-447
 1190   - add 'flushlogs' command to allow logrotation without clobbering logtarget
 1191     settings. Closes gh-458, Debian bug #697333, Redhat bug #891798.
 1192   - complain action - ensure where not matching other IPs in log sample.
 1193     Closes gh-467
 1194   - Fix firewall-cmd actioncheck - patch from Adam Tkac. Redhat Bug #979622
 1195   - Fix apache-common for apache-2.4 log file format. Thanks Mark White.
 1196     Closes gh-516
 1197   - Asynchat changed to use push method which verifys whether all data was
 1198     send. This ensures that all data is sent before closing the connection.
 1199   - Removed unnecessary reference to as yet undeclared $jail_name when checking
 1200     a specific jail in nagios script.
 1201   - Filter dovecot reordered session and TLS items in regex with wider scope
 1202     for session characters. Thanks Ivo Truxa. Closes gh-586
 1203   - A single bad failregex or command syntax in configuration files won't stop
 1204     fail2ban from starting. Thanks Tomasz Ciolek. Closes gh-585.
 1205 
 1206 ### Enhancements
 1207   - long names on jails documented based on iptables limit of 30 less
 1208     len("fail2ban-").
 1209   - remove indentation of name and loglevel while logging to SYSLOG to
 1210     resolve syslog(-ng) parsing problems. Closes Debian bug #730202.
 1211   - updated check_fail2ban to return performance data for all jails.
 1212   - filter apache-noscript now includes php cgi scripts.
 1213     Thanks dani. Closes gh-503
 1214   - exim-spam filter to match spamassassin log entry for option SAdevnull.
 1215     Thanks Ivo Truxa. Closes gh-533
 1216   - `filter.d/nsd.conf` -- also amended Unix date template to match nsd format
 1217   - Added to sshd filter expression for `Received disconnect from <HOST>: 3:
 1218     ...: Auth fail`. Thanks Marcel Dopita. Closes gh-289
 1219   - loglines now also report "[PID]" after the name portion
 1220   - Added `filter.d/ejabberd-auth`
 1221   - Improved ACL-handling for Asterisk
 1222   - loglines now also report "[PID]" after the name portion
 1223   - Added improper command pipelining to postfix filter.
 1224 
 1225 ### New Features
 1226 
 1227   - `filter.d/solid-pop3d` -- added thanks to Jacques Lav!gnotte on mailinglist.
 1228   - Add filter for apache-modsecurity.
 1229   - `filter.d/nsd.conf` -- also amended Unix date template to match nsd format
 1230   - Added openwebmail filter thanks Ivo Truxa. Closes gh-543
 1231   - Added filter for freeswitch. Thanks Jim and editors and authors of
 1232     http://wiki.freeswitch.org/wiki/Fail2ban
 1233   - Added groupoffice filter thanks to logs from Merijn Schering.
 1234     Closes gh-566
 1235   - Added filter for horde
 1236   - Added filter for squid. Thanks Roman Gelfand.
 1237   - Added filter for ejabberd-auth.
 1238   - Added `filter.d/openwebmail` filter thanks Ivo Truxa. Closes gh-543
 1239   - Added `filter.d/groupoffice` filter thanks to logs from Merijn Schering.
 1240     Closes gh-566
 1241   - Added `action.d/badips`. Thanks to Amy for making a nice API.
 1242   - Added firewallcmd-ipset action.
 1243   - Added ufw action. Thanks Guilhem Lettron. lp-#701522
 1244   - Added blocklist_de action.
 1245 
 1246 
 1247 ver. 0.8.11 (2013/11/13) - loves-unittests-and-tight-DoS-free-filter-regexes
 1248 ----------
 1249 
 1250 In light of CVE-2013-2178 that triggered our last release we have put
 1251 a significant effort into tightening all of the regexs of our filters
 1252 to avoid another similar vulnerability. All filters have been updated
 1253 and some to catch more login/authentication failures and to support
 1254 for newer application versions. There are test cases for most log
 1255 cases of failures now.
 1256 
 1257 As usual, if you have other examples that demonstrate that a filter is
 1258 insufficient, or if we have inadvertently introduced a regression,
 1259 please provide us with example log lines on the github issue tracker
 1260 http://github.com/fail2ban/fail2ban/issues and NOT on a random blog in
 1261 some obscure corner of the Internet.
 1262 
 1263 Many thanks to our contributors for this release Daniel Black, Yaroslav
 1264 Halchenko, Steven Hiscocks, Mark McKinstry, Andy Fragen, Orion Poplawski,
 1265 Alexander Dietrich, JP Espinosa, Jamyn Shanley, Beau Raines, François
 1266 Boulogne and others who have helped on IRC and mailing list, logged issues
 1267 and bug requests.
 1268 
 1269 ### IMPORTANT incompatible changes
 1270 
 1271 Filter name changes:
 1272     * 'lighttpd-fastcgi' filter has been renamed to 'suhosin'
 1273     * 'sasl' has been renamed to 'postfix-sasl'
 1274     * 'exim' spam catching failregexes was split out into 'exim-spam'
 1275 These changes will require changing jail.{conf,local} if any of
 1276 those filters were used.
 1277 
 1278 ### Fixes
 1279 - Jonathan Lanning
 1280     * `filter.d/asterisk` -- identified another regex for blocking. Also channel
 1281       ID is hex not decimal as noted in sample logs provided.
 1282 - Daniel Black & Marcel Dopita
 1283     * `filter.d/apache-auth` -- fixed and apache auth samples provide. Closes gh-286
 1284 - Yaroslav Halchenko
 1285     * `filter.d/common.conf` -- make colon after [daemon] optional. Closes gh-267
 1286     * `filter.d/apache-common.conf` -- support apache 2.4 more detailed error
 1287       log format.  Closes gh-268
 1288     * Backends changes detection and parsing. Close gh-223 and gh-103:
 1289         - Polling backend: detect changes in the files not only based on
 1290           mtime, but also on the size and inode.  It should allow for
 1291           better detection of changes and log rotations on busy servers,
 1292           older python 2.4, and file systems with precision of mtime only
 1293           up to a second (e.g. ext3).
 1294         - All backends, possible race condition: do not read from a file
 1295           initially reported empty.  Originally could have lead to
 1296           accounting for detected log lines multiple times.
 1297         - Do not crash if executing a command in fail2ban-client interactive
 1298           mode has failed (e.g. due to incorrect syntax). Closes gh-353
 1299 - Daniel Black & Мернов Георгий
 1300     * `filter.d/dovecot.conf` -- Fix when no TLS enabled - line doesn't end in ,
 1301 - Daniel Black & Georgiy Mernov & ftoppi & Мернов Георгий
 1302     * `filter.d/exim.conf` -- regex hardening and extra failure examples in
 1303       sample logs
 1304     * `filter.d/named-refused.conf` - BIND 9.9.3 regex changes
 1305 - Daniel Black & Sebastian Arcus
 1306     * `filter.d/asterisk` -- more regexes
 1307 - Daniel Black
 1308     * `action.d/hostsdeny` -- NOTE: new dependency 'ed'. Switched to use 'ed' across
 1309       all platforms to ensure permissions are the same before and after a ban.
 1310       Closes gh-266. hostsdeny supports daemon_list now too.
 1311     * `action.d/bsd-ipfw` - action option unused. Change blocktype to port unreach
 1312       instead of deny for consistancy.
 1313     * `filter.d/dovecot` - added to support different dovecot failure
 1314       "..disallowed plaintext auth". Closes Debian bug #709324
 1315     * `filter.d/roundcube-auth` - timezone offset can be positive or negative
 1316     * `action.d/bsd-ipfw` - action option unused. Fixed to blocktype for
 1317       consistency. default to port unreach instead of deny
 1318     * `filter.d/dropbear` - fix regexs to match standard dropbear and the patched
 1319       http://www.unchartedbackwaters.co.uk/files/dropbear/dropbear-0.52.patch
 1320       and add PAM is it in dropbear-2013.60 source code.
 1321     * `filter.d/{asterisk,assp,dovecot,proftpd}.conf` -- regex hardening
 1322       and extra failure examples in sample logs
 1323     * `filter.d/apache-auth` - added expressions for mod_authz, mod_auth and
 1324       mod_auth_digest failures.
 1325     * `filter.d/recidive` -- support f2b syslog target and anchor regex at start
 1326     * `filter.d/mysqld-auth.conf` - mysql can use syslog
 1327     * `filter.d/sshd` - regex enhancements to support openssh-6.3. Closes Debian
 1328       bug #722970. Thanks Colin Watson for the regex analysis.
 1329     * `filter.d/wuftpd` - regex enhancements to support pam and wuftpd. Closes
 1330       Debian bug #665925
 1331 - Rolf Fokkens
 1332     * `action.d/dshield.conf` and complain.conf -- reorder mailx arguments.
 1333       https://bugzilla.redhat.com/show_bug.cgi?id=998020
 1334 - John Doe (ache)
 1335     * `action.d/bsd-ipfw.conf` - invert actionstop logic to make exist status 0.
 1336       Closes gh-343.
 1337 - JP Espinosa (Reviewed by O.Poplawski)
 1338     * files/redhat-initd - rewritten to use stock init.d functions thus
 1339       avoiding problems with getpid.  Also $network and iptables moved
 1340       to Should- rc init fields
 1341 - Rick Mellor
 1342     * `filter.d/vsftp` - fix capture with tty=ftp
 1343 
 1344 ### New Features
 1345 - Edgar Hoch
 1346     * `action.d/firewall-cmd-direct-new.conf` - action for firewalld
 1347       from https://bugzilla.redhat.com/show_bug.cgi?id=979622
 1348       NOTE: requires firewalld-0.3.8+
 1349 - Andy Fragen and Daniel Black
 1350     * `filter.d/osx-ipfw.conf` - ipfw action for OSX based on random rule
 1351       numbers.
 1352 - Anonymous:
 1353     * `action.d/osx-afctl` - an action based on afctl for osx
 1354 - Daniel Black & ykimon
 1355     * `filter.d/3proxy.conf` -- filter added
 1356     * fail2ban-regex - now generates http://www.debuggex.com urls for debugging
 1357       regular expressions with the -D parameter.
 1358 - Daniel Black
 1359     * `filter.d/exim-spam.conf` -- a splitout of exim's spam regexes
 1360       with additions for greater control over filtering spam.
 1361     * add date expression for apache-2.4 - milliseconds
 1362     * `filter.d/nginx-http-auth` -- filter added for http basic authentication
 1363       failures in nginx. Partially fulfills gh-405.
 1364 - Christophe Carles & Daniel Black
 1365     * `filter.d/perdition.conf` -- filter added
 1366 - Mark McKinstry
 1367     * `action.d/apf.conf` - add action for Advanced Policy Firewall (apf)
 1368 - Amir Caspi and kjohnsonecl
 1369     * `filter.d/uwimap-auth` - filter for uwimap-auth IMAP/POP server
 1370 - Steven Hiscocks and Daniel Black
 1371     * `filter.d/selinux-{common,ssh`} -- add SELinux date and ssh filter
 1372 
 1373 ### Enhancements
 1374 - François Boulogne and Frédéric
 1375     * `filter.d/lighttpd` - auth regexs for lighttpd-1.4.31
 1376 - Daniel Black
 1377     * reorder parsing of jail.conf, `jail.d/*.conf`, `jail.local`, `jail.d/*.local`
 1378       and likewise for `fail2ban.{conf|local|d/*.conf|d/*.local`}. Closes gh-392
 1379     * jail.conf now has asterisk jail - no need for asterisk-tcp and
 1380       asterisk-udp. Users should replace existing jails with asterisk to
 1381       reduce duplicate parsing of the asterisk log file.
 1382     * `filter.d/{suhosin,pam-generic,gssftpd,sogo-auth,webmin`}- regex anchor at
 1383       start
 1384     * `filter.d/vsftpd` - anchored regex at start. disable old pam format regex
 1385     * `filter.d/pam-generic` - added syslog prefix. Disabled support for
 1386       linux-pam before version 0.99.2.0 (2005)
 1387     * `filter.d/postfix-sasl` - renamed from sasl, anchor at start and base on
 1388       syslog
 1389     * `filter.d/qmail` - rewrote regex to anchor at start. Added regex for
 1390       another "in the wild" patch to rblsmtp.
 1391 - Yaroslav Halchenko
 1392     * fail2ban-regex -- refactored to provide more details (missing and
 1393       ignored lines, control over logging, etc) while maintaining look&feel
 1394     * fail2ban-client -- log to standard error. Closes gh-264
 1395     * Fail to configure if not a single log file was found for an
 1396       enabled jail. Closes gh-63
 1397     * `<HOST>` is now enforced to end with an alphanumeric
 1398     * `filter.d/roundcube-auth.conf` -- anchored version
 1399     * date matching - for standard asctime formats prefer more detailed
 1400       first (thus use year if available)
 1401     * files/gen_badbots was added and `filter.d/apache-badbots.conf` was
 1402       regenerated to get updated (although now still an old) list of
 1403       "bad" bots
 1404 - Alexander Dietrich
 1405     * `action.d/sendmail-common.conf` -- added common sendmail settings file
 1406       and made the sender display name configurable
 1407 - Steven Hiscocks
 1408     * `filter.d/dovecot` - Addition of session, time values and possible blank
 1409       user
 1410 - Zurd and Daniel Black
 1411     * `filter.d/named-refused` - added refused on zone transfer
 1412     * `filter.d/{courier{login,smtp},proftpd,sieve,wuftpd,xinetd`} - General
 1413       regex improvements
 1414 - Zurd
 1415     * `filter.d/postfix` - add filter for VRFY failures. Closes gh-322.
 1416 - Orion Poplawski
 1417     * `fail2ban.d/` and `jail.d/` directories are added to `etc/fail2ban` to facilitate
 1418       their use
 1419 
 1420 ver. 0.8.10 (2013/06/12) - wanna-be-secure
 1421 -----------
 1422 
 1423 Primarily bugfix and enhancements release, triggered by "bugs" in
 1424 apache- filters.  If you are relying on listed below apache- filters,
 1425 upgrade asap and seek your distributions to patch their fail2ban
 1426 distribution with [6ccd5781].
 1427 
 1428 ### Fixes
 1429 - Yaroslav Halchenko
 1430     * [6ccd5781] `filter.d/apache-{auth,nohome,noscript,overflows`} - anchor
 1431       failregex at the beginning (and where applicable at the end).
 1432       Addresses a possible DoS. Closes gh-248
 1433     * `action.d/{route,shorewall}.conf` - blocktype must be defined
 1434       within [Init].  Closes gh-232
 1435 ### Enhancements
 1436 - Yaroslav Halchenko
 1437     * jail.conf -- assure all jails have actions and remove unused
 1438       ports specifications
 1439 - Terence Namusonge
 1440     * `filter.d/roundcube-auth.conf` -- support roundcube 0.9+
 1441 - Daniel Black
 1442     * `files/suse-initd` -- update to the copy from stock SUSE
 1443       silviogarbes & Daniel Black
 1444     * Updates to asterisk filter. Closes gh-227/gh-230.
 1445 - Carlos Alberto Lopez Perez
 1446     * Updates to asterisk to include AUTH_UNKNOWN_DOMAIN. Closes gh-244.
 1447 
 1448 ver. 0.8.9 (2013/05/13) - wanna-be-stable
 1449 ----------
 1450 
 1451 Originally targeted as a bugfix release, it incorporated many new
 1452 enhancements, few new features, and more importantly -- quite extended
 1453 tests battery with current 94% coverage (from 56% of 0.8.8).
 1454 
 1455 This release introduces over 200 of non-merge commits from 16
 1456 contributors (sorted by number of commits): Yaroslav Halchenko, Daniel
 1457 Black, Steven Hiscocks, James Stout, Orion Poplawski, Enrico Labedzki,
 1458 ArndRa, hamilton5, pigsyn, Erwan Ben Souiden, Michael Gebetsroither,
 1459 Artur Penttinen, blotus, sebres, Nicolas Collignon, Pascal Borreli.
 1460 
 1461 Special Kudos also go to Fabian Wenk, Arturo 'Buanzo' Busleiman, Tom
 1462 Hendrikx, Yehuda Katz and other TBN heroes supporting users on
 1463 fail2ban-users mailing list and IRC.
 1464 
 1465 ### Fixes
 1466 - Yaroslav Halchenko
 1467     * [6f4dad46] python-2.4 is the minimal version.
 1468     * [1eb23cf8] do not rely on scripts being under /usr -- might differ e.g.
 1469       on Fedora. Closes gh-112. Thanks to Camusensei for the bug report.
 1470     * [bf4d4af1] Changes for atomic writes. Thanks to Steven Hiscocks for
 1471       insight. Closes gh-103.
 1472     * [ab044b75] delay check for the existence of config directory until read.
 1473     * [3b4084d4] fixing up for handling of TAI64N timestamps.
 1474     * [154aa38e] do not shutdown logging until all jails stop.
 1475     * [f2156604] pyinotify -- monitor IN_MOVED_TO events. Closes gh-184.
 1476       Thanks to Jon Foster for report and troubleshooting.
 1477 - Orion Poplawski
 1478     * [e4aedfdc00] pyinotify - use bitwise op on masks and do not try tracking
 1479       newly created directories.
 1480 - Nicolas Collignon
 1481     * [39667ff6] Avoid leaking file descriptors. Closes gh-167.
 1482 - Sergey Brester
 1483     * [b6bb2f88 and d17b4153] invalid date recognition, irregular because of
 1484       sorting template list.
 1485 - Steven Hiscocks
 1486     * [7a442f07] When changing log target with python2.{4,5} handle KeyError.
 1487       Closes gh-147, gh-148.
 1488     * [b6a68f51] Fix delaction on server side. Closes gh-124.
 1489 - Daniel Black
 1490     * [f0610c01] Allow more that a one word command when changing and Action via
 1491       the fail2ban-client. Closes gh-134.
 1492     * [945ad3d9] Fix dates on email actions to work in different locals. Closes
 1493       gh-70. Thanks to iGeorgeX for the idea.
 1494 - blotus
 1495     * [96eb8986] ' and " should also be escaped in action tags Closes gh-109
 1496 - Christoph Theis, Nick Hilliard, Daniel Black
 1497     * [b3bd877d,cde71080] Make `syslog -v` and `syslog -vv` formats work on FreeBSD
 1498 
 1499 ### New Features
 1500 - Yaroslav Halchenko
 1501     * [9ba27353] Add support for `jail.d/{confilefile}` and `fail2ban.d/{configfile}`
 1502       to provide additional flexibility to system adminstrators. Thanks to
 1503       beilber for the idea. Closes gh-114.
 1504     * [3ce53e87] Add exim filter.
 1505 - Erwan Ben Souiden
 1506     * [d7d5228] add nagios integration documentation and script to ensure
 1507       fail2ban is running. Closes gh-166.
 1508 - Artur Penttinen
 1509     * [29d0df5] Add mysqld filter. Closes gh-152.
 1510 - ArndRaphael Brandes
 1511     * [bba3fd8] Add Sogo filter. Closes gh-117.
 1512 - Michael Gebetsriother
 1513     * [f9b78ba] Add action route to block at routing level.
 1514 - Teodor Micu & Yaroslav Halchenko
 1515     * [5f2d383] Add roundcube auth filter. Closes Debian bug #699442.
 1516 - Daniel Black
 1517     * [be06b1b] Add action for iptables-ipsets. Closes gh-102.
 1518 - Nick Munger, Ken Menzel, Daniel Black, Christoph Theis & Fabian Wenk
 1519     * [b6d0e8a] Add and enhance the bsd-ipfw action from
 1520       FreeBSD ports.
 1521 - Soulard Morgan
 1522     * [f336d9f] Add filter for webmin. Closes gh-99.
 1523 - Steven Hiscocks
 1524     * [..746c7d9] bash interactive shell completions for fail2ban-*'s
 1525 - Nick Hilliard
 1526     * [0c5a9c5] Add pf action.
 1527 
 1528 ### Enhancements
 1529 - Enrico Labedzki
 1530     * [24a8d07] Added new date format for ASSP SMTP Proxy.
 1531 - Steven Hiscocks
 1532     * [3d6791f] Ensure restart of Actions after a check fails occurs
 1533       consistently. Closes gh-172.
 1534     * [MANY] Improvements to test cases, travis, and code coverage (coveralls).
 1535     * [b36835f] Add get cinfo to fail2ban-client. Closes gh-124.
 1536     * [ce3ab34] Added ability to specify PID file.
 1537 - Orion Poplawski
 1538     * [ddebcab] Enhance fail2ban.service definition dependencies and Pidfile.
 1539       Closes gh-142.
 1540 - Yaroslav Halchenko
 1541     * [MANY] Lots of improvements to log messages, man pages and test cases.
 1542     * [91d5736] Postfix filter improvements - empty helo, from and rcpt to.
 1543       Closes gh-126. Bug report by Michael Heuberger.
 1544     * [40c5a2d] adding more of diagnostic messages into -client while starting
 1545       the daemon.
 1546     * [8e63d4c] Compare against None with 'is' instead of '=='.
 1547     * [6fef85f] Strip CR and LF while analyzing the log line
 1548 - Daniel Black
 1549     * [3aeb1a9] Add jail.conf manual page. Closes gh-143.
 1550     * [MANY] man page edits.
 1551     * [7cd6dab] Added help command to fail2ban-client.
 1552     * [c8c7b0b,23bbc60] Better logging of log file read errors.
 1553     * [3665e6d] Added code coverage to development process.
 1554     * [41b9f7b,32d10e9,39750b8] More complete ssh filter rules to match openssh
 1555       source. Also include BSD changes.
 1556     * [1d9abd1] Action files can have tags in definition that refer to other
 1557       tags.
 1558     * [10886e7,cec5da2,adb991a] Change actions to response with ICMP port
 1559       unreachable rather than just a drop of the packet.
 1560 - Pascal Borreli
 1561     * [a2b29b4] Fixed lots of typos in config files and documentation.
 1562 - hamilton5
 1563     * [7ede1e8] Update dovecot filter config.
 1564 - Romain Riviere
 1565     * [0ac8746] Enhance named-refused filter for views.
 1566 - James Stout
 1567     * [..2143cdf] Solaris support enhancements:
 1568         - `README.Solaris`
 1569         - failregex'es tune ups (`sshd.conf`)
 1570         - hostsdeny: do not rely on support of '-i' in sed
 1571 
 1572 ver. 0.8.8 (2012/12/06) - stable
 1573 ----------
 1574 ### Fixes
 1575 - Alan Jenkins
 1576     * [8c38907] Removed 'POSSIBLE BREAK-IN ATTEMPT' from sshd filter to avoid
 1577       banning due to misconfigured DNS. Closes gh-64
 1578 - Yaroslav Halchenko
 1579     * [83109bc] IMPORTANT: escape the content of <matches> (if used in
 1580       custom action files) since its value could contain arbitrary
 1581       symbols.  Thanks for discovery go to the NBS System security
 1582       team
 1583     * [0935566,5becaf8] Various python 2.4 and 2.5 compatibility fixes. Closes gh-83
 1584     * [b159eab] do not enable pyinotify backend if pyinotify < 0.8.3
 1585     * [37a2e59] store IP as a base, non-unicode str to avoid spurious messages
 1586       in the console. Closes gh-91
 1587 
 1588 ### New Features
 1589 - David Engeset
 1590     * [2d672d1,6288ec2] 'unbanip' command for the client + avoidance of touching
 1591       the log file to take 'banip' or 'unbanip' in effect. Closes gh-81, gh-86
 1592 
 1593 ### Enhancements
 1594 * [2d66f31] replaced uninformative "Invalid command" message with warning log
 1595   exception why command actually failed
 1596 * [958a1b0] improved failregex to "support" auth.backend = "htdigest"
 1597 * [9e7a3b7] until we make it proper module -- adjusted sys.path only if
 1598   system-wide run
 1599 * [f52ba99] downgraded "already banned" from WARN to INFO level. Closes gh-79
 1600 * [f105379] added hints into the log on some failure return codes (e.g. 0x7f00
 1601   for this gh-87)
 1602 * Various others: travis-ci integration, script to run tests
 1603   against all available Python versions, etc
 1604 
 1605 ver. 0.8.7.1 (2012/07/31) - stable
 1606 ----------
 1607 
 1608 ### Fixes
 1609 * [e9762f3] Removed sneaked in comment on sys.path.insert
 1610 
 1611 ver. 0.8.7 (2012/07/31) - stable
 1612 ----------
 1613 
 1614 ### Fixes
 1615 - Tom Hendrikx & Jeremy Olexa
 1616     * [0eaa4c2,444e4ac] Fix Gentoo init script: $opts variable is deprecated.
 1617       See http://forums.gentoo.org/viewtopic-t-899018.html
 1618 - Chris Reffett
 1619     * [a018a26] Fixed addBannedIP to add enough failures to trigger a ban,
 1620       rather than just one failure.
 1621 - Yaroslav Halchenko
 1622     * [4c76fb3] allow trailing white-spaces in lighttpd-auth.conf
 1623     * [25f1e8d] allow trailing whitespace in few missing it regexes for sshd.conf
 1624     * [ed16ecc] enforce "ip" field returned as str, not unicode so that log
 1625       message stays non-unicode. Close gh-32
 1626     * [b257be4] added %m-%d-%Y pattern + do not add %Y for Feb 29 fix if
 1627       already present in the pattern
 1628     * [47e956b] replace "|" with "_" in ipmasq-ZZZzzz|fail2ban.rul to be
 1629       friend to developers stuck with Windows (Closes gh-66)
 1630     * [80b191c] anchor grep regexp in actioncheck to not match partial names
 1631       of the jails (Closes: #672228) (Thanks Szépe Viktor for the report)
 1632 ### New Features
 1633 - François Boulogne
 1634     * [a7cb20e..] add lighttpd-auth filter/jail
 1635 - Lee Clemens & Yaroslav Halchenko
 1636     * [e442503] pyinotify backend (default if backend='auto' and pyinotify
 1637       is available)
 1638     * [d73a71f,3989d24] usedns parameter for the jails to allow disabling
 1639       use of DNS
 1640 - Tom Hendrikx
 1641     * [f94a121..] 'recidive' filter/jail to monitor fail2ban.conf to ban
 1642       repeated offenders. Close gh-19
 1643 - Xavier Devlamynck
 1644     * [7d465f9..] Add asterisk support
 1645 - Zbigniew Jędrzejewski-Szmek
 1646     * [de502cf..] allow running fail2ban as non-root user (disabled by
 1647       default) via xt_recent. See doc/run-rootless.txt
 1648 ### Enhancements
 1649 - Lee Clemens
 1650     * [47c03a2] files/nagios - spelling/grammar fixes
 1651     * [b083038] updated Free Software Foundation's address
 1652     * [9092a63] changed TLDs to invalid domains, in accordance with RFC 2606
 1653     * [642d9af,3282f86] reformated printing of jail's name to be consistent
 1654       with init's info messages
 1655     * [3282f86] uniform use of capitalized Jail in the messages
 1656 - Leonardo Chiquitto
 1657     * [4502adf] Fix comments in dshield.conf and mynetwatchman.conf
 1658       to reflect code
 1659     * [a7d47e8] Update Free Software Foundation's address
 1660 - Petr Voralek
 1661     * [4007751] catch failed ssh logins due to being listed in DenyUsers.
 1662       Close gh-47 (Closes: #669063)
 1663 - Yaroslav Halchenko
 1664     * [MANY]    extended and robustified unittests: test different backends
 1665     * [d9248a6] refactored Filter's to avoid duplicate functionality
 1666     * [7821174] direct users to issues on github
 1667     * [d2ffee0..] re-factored fail2ban-regex -- more condensed output by
 1668       default with -v to control verbosity
 1669     * [b4099da] adjusted header for config/*.conf to mention .local and way
 1670       to comment (Thanks Stefano Forli for the note)
 1671     * [6ad55f6] added failregex for wu-ftpd to match against syslog instead
 1672       of DoS-prone auth.log's rhost (Closes: #514239)
 1673     * [2082fee] match possibly present "pam_unix(sshd:auth):" portion for
 1674       sshd filter (Closes: #648020)
 1675 - Yehuda Katz & Yaroslav Halchenko
 1676     * [322f53e,bd40cc7] ./DEVELOP -- documentation for developers
 1677 
 1678 ver. 0.8.6 (2011/11/28) - stable
 1679 ----------
 1680 ### Fixes
 1681 - Markos Chandras & Yaroslav Halchenko
 1682     * [492d8e5,bd658fc] Use hashlib (instead of deprecated md5) where available
 1683 - Robert Trace & Michael Lorant
 1684     * [c48c2b1] gentoo-initd cleanup and fixes: assure `/var/run` + remove stale
 1685       sock file
 1686 - Michael Saavedra
 1687     * [3a58d0e] Lock server's executeCmd to prevent racing among iptables calls:
 1688       see http://bugs.debian.org/554162
 1689 - Yaroslav Halchenko
 1690     * [3eb5e3b] Allow for trailing spaces in sasl logs
 1691     * [1632244] Stop server-side communication before stopping the
 1692       jails (prevents lockup if actions use fail2ban-client upon
 1693       unban): see https://github.com/fail2ban/fail2ban/issues/7
 1694     * [5a2d518] Various changes to reincarnate unittests
 1695 - Yehuda Katz
 1696     * Wiki was cleaned from SPAM
 1697 
 1698 ### Enhancements
 1699 - Adam Spiers
 1700     * [3152afb] Recognise time-stamped kernel messages
 1701 - Guido Bozzetto
 1702     * [713fea6] Added ipmasq rule file to restart fail2ban when iptables are
 1703       wiped out: see http://bugs.debian.org/461417
 1704 - Łukasz
 1705     * [5f23542] Matching of month names in Polish (thanks michaelberg79
 1706       for QA)
 1707 - Tom Hendrikx
 1708     * [9fa54cf] Added Date: header for sendmail*.conf actions
 1709 - Yaroslav Halchenko & Tom Hendrikx
 1710     * [b52d420..22b7007] <matches> in action files now can be used
 1711       to provide matched loglines which triggered action
 1712 - Yaroslav Halchenko
 1713     * [ed0bf3a] Removed duplicate entry for DataCha0s/2\.0 in badbots:
 1714       see http://bugs.debian.org/519557
 1715     * [dad91f7] sshd.conf: allow user names to have spaces and
 1716       trailing spaces in the line
 1717     * [a9be451] removed expansions for few Date and Revision SVN keywords
 1718     * [a33135c] set/getFile for ticket.py -- found in source distribution
 1719       of 0.8.4
 1720     * [fbce415] additional logging while stopping the jails
 1721 
 1722 ver. 0.8.5 (2011/07/28) - stable
 1723 ----------
 1724 - Fix: use addfailregex instead of failregex while processing per-jail
 1725   "failregex" parameter (Fixed Debian bug #635830, LP: #635036). Thanks to
 1726   Marat Khayrullin for the patch and Daniel T Chen for forwarding to
 1727   Debian.
 1728 - Fix: use os.path.join to generate full path - fixes includes in configs
 1729   given local filename (5 weeks ago) [yarikoptic]
 1730 - Fix: allowed for trailing spaces in proftpd logs
 1731 - Fix: escaped () in pure-ftpd filter. Thanks to Teodor
 1732 - Fix: allowed space in the trailing of failregex for sasl.conf:
 1733   see http://bugs.debian.org/573314
 1734 - Fix: use `/var/run/fail2ban` instead of `/tmp` for temp files in actions:
 1735   see http://bugs.debian.org/544232
 1736 - Fix: Tai64N stores time in GMT, needed to convert to local time before
 1737   returning
 1738 - Fix: disabled named-refused-udp jail entirely with a big fat warning
 1739 - Fix: added time module. Bug reported in buanzo's blog:
 1740   see http://blogs.buanzo.com.ar/2009/04/fail2ban-patch-ban-ip-address-manually.html
 1741 - Fix: Patch to make log file descriptors cloexec to stop leaking file
 1742   descriptors on fork/exec. Thanks to Jonathan Underwood:
 1743   see https://bugzilla.redhat.com/show_bug.cgi?id=230191#c24
 1744 - Enhancement: added author for dovecot filter and pruned unneeded space
 1745   in the regexp
 1746 - Enhancement: proftpd filter -- if login failed -- count regardless of the
 1747   reason for failure
 1748 - Enhancement: added <chain> to `action.d/iptables*`. Thanks to Matthijs Kooijman:
 1749   see http://bugs.debian.org/515599
 1750 - Enhancement: added `filter.d/dovecot.conf` from Martin Waschbuesch
 1751 - Enhancement: made `filter.d/apache-overflows.conf` catch more:
 1752   see http://bugs.debian.org/574182
 1753 - Enhancement: added dropbear filter from Francis Russell and Zak B. Elep:
 1754   see http://bugs.debian.org/546913
 1755 - Enhancement: changed default ignoreip to ignore entire loopback zone (/8):
 1756   see http://bugs.debian.org/598200
 1757 - Minor: spell-checked jail.conf. Thanks to Christoph Anton Mitterer
 1758 - Few minor cosmetic changes
 1759 
 1760 ver. 0.8.4 (2009/09/07) - stable
 1761 ----------
 1762 - Check the inode number for rotation in addition to checking the first line of
 1763   the file. Thanks to Jonathan Kamens. Red Hat #503852. Tracker #2800279.
 1764 - Moved the shutdown of the logging subsystem out of Server.quit() to
 1765   the end of Server.start(). Fixes the 'cannot release un-acquired lock'
 1766   error.
 1767 - Added "Ban IP" command. Thanks to Arturo 'Buanzo' Busleiman.
 1768 - Added two new filters: lighttpd-fastcgi and php-url-fopen.
 1769 - Fixed the 'unexpected communication error' problem by means of
 1770   use_poll=False in Python >= 2.6.
 1771 - Merged patches from Debian package. Thanks to Yaroslav Halchenko.
 1772 - Use current day and month instead of Jan 1st if both are not available in the
 1773   log. Thanks to Andreas Itzchak Rehberg.
 1774 - Try to match the regex even if the line does not contain a valid date/time.
 1775   Described in Debian #491253. Thanks to Yaroslav Halchenko.
 1776 - Added/improved filters and date formats.
 1777 - Added actions to report abuse to ISP, DShield and myNetWatchman. Thanks to
 1778   Russell Odom.
 1779 - Suse init script. Remove socket file on startup is fail2ban crashed. Thanks to
 1780   Detlef Reichelt.
 1781 - Removed begin-line anchor for "standard" timestamp. Fixed Debian bug #500824.
 1782 - Added nagios script. Thanks to Sebastian Mueller.
 1783 - Added CPanel date format. Thanks to David Collins. Tracker #1967610.
 1784 - Improved SASL filter. Thanks to Loic Pefferkorn. Tracker #2310410.
 1785 - Added NetBSD ipfilter (ipf command) action. Thanks to Ed Ravin. Tracker #2484115.
 1786 - Added cyrus-imap and sieve filters. Thanks to Jan Wagner. Debian bug #513953.
 1787 - Changed `<HOST>` template to be more restrictive. Debian bug #514163.
 1788 - Use timetuple instead of utctimetuple for ISO 8601. Maybe not a 100% correct
 1789   fix but seems to work. Tracker #2500276.
 1790 - Made the named-refused regex a bit less restrictive in order to match logs
 1791   with "view". Thanks to Stephen Gildea.
 1792 - Fixed maxretry/findtime rate. Many thanks to Christos Psonis. Tracker #2019714
 1793 
 1794 ver. 0.8.3 (2008/07/17) - stable
 1795 ----------
 1796 - Process failtickets as long as failmanager is not empty.
 1797 - Added "pam-generic" filter and more configuration fixes. Thanks to Yaroslav
 1798   Halchenko.
 1799 - Fixed socket path in redhat and suse init script. Thanks to Jim Wight.
 1800 - Fixed PID file while started in daemon mode. Thanks to Christian Jobic who
 1801   submitted a similar patch.
 1802 - Fixed `fail2ban-client get <jail> logpath`. Bug #1916986.
 1803 - Added gssftpd filter. Thanks to Kevin Zembower.
 1804 - Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis
 1805   Winter.
 1806 - Fixed ignoreregex processing in fail2ban-client. Thanks to René Berber.
 1807 - Added ISO 8601 date/time format.
 1808 - Added and changed some logging level and messages.
 1809 - Added missing ignoreregex to filters. Thanks to Klaus Lehmann.
 1810 - Use poll instead of select in asyncore.loop. This should solve the "Unknown
 1811   error 514". Thanks to Michael Geiger and Klaus Lehmann.
 1812 
 1813 ver. 0.8.2 (2008/03/06) - stable
 1814 ----------
 1815 - Fixed named filter. Thanks to Yaroslav Halchenko
 1816 - Fixed wrong path for apache-auth in jail.conf. Thanks to Vincent Deffontaines
 1817 - Fixed timezone bug with epoch date template. Thanks to Michael Hanselmann
 1818 - Added "full line failregex" patch. Thanks to Yaroslav Halchenko. It will be
 1819   possible to create stronger failregex against log injection
 1820 - Fixed ipfw action script. Thanks to Nick Munger
 1821 - Removed date from logging message when using SYSLOG. Thanks to Iain Lea
 1822 - Fixed "ignore IPs". Only the first value was taken into account. Thanks to
 1823   Adrien Clerc
 1824 - Moved socket to `/var/run/fail2ban`.
 1825 - Rewrote the communication server.
 1826 - Refactoring. Reduced number of files.
 1827 - Removed Python 2.4. Minimum required version is now Python 2.3.
 1828 - New log rotation detection algorithm.
 1829 - Print monitored files in status.
 1830 - Create a PID file in `/var/run/fail2ban/`. Thanks to Julien Perez.
 1831 - Fixed "Feb 29" bug. Thanks to James Andrewartha who pointed this out. Thanks
 1832   to Yaroslav Halchenko for the fix.
 1833 - `reload <jail>` reloads a single jail and the parameters in fail2ban.conf.
 1834 - Added Mac OS/X startup script. Thanks to Bill Heaton.
 1835 - Absorbed some Debian patches. Thanks to Yaroslav Halchenko.
 1836 - Replaced "echo" with "printf" in actions. Fix #1839673
 1837 - Replaced "reject" with "drop" in shorwall action. Fix #1854875
 1838 - Fixed Debian bug #456567, #468477, #462060, #461426
 1839 - readline is now optional in fail2ban-client (not needed in fail2ban-server).
 1840 
 1841 ver. 0.8.1 (2007/08/14) - stable
 1842 ----------
 1843 - Fixed vulnerability in sshd.conf. Thanks to Daniel B. Cid
 1844 - Expand <HOST> in ignoreregex. Thanks to Yaroslav Halchenko
 1845 - Improved regular expressions. Thanks to Yaroslav Halchenko and others
 1846 - Added sendmail actions. The action started with "mail" are now deprecated.
 1847   Thanks to Raphaël Marichez
 1848 - Added "ignoreregex" support to fail2ban-regex
 1849 - Updated suse-initd and added it to MANIFEST. Thanks to Christian Rauch
 1850 - Tightening up the pid check in redhat-initd. Thanks to David Nutter
 1851 - Added webmin authentication filter. Thanks to Guillaume Delvit
 1852 - Removed textToDns() which is not required anymore. Thanks to Yaroslav
 1853   Halchenko
 1854 - Added new action iptables-allports. Thanks to Yaroslav Halchenko
 1855 - Added "named" date format to date detector. Thanks to Yaroslav Halchenko
 1856 - Added filter file for named (bind9). Thanks to Yaroslav Halchenko
 1857 - Fixed vsftpd filter. Thanks to Yaroslav Halchenko
 1858 
 1859 ver. 0.8.0 (2007/05/03) - stable
 1860 ----------
 1861 - Fixed RedHat init script. Thanks to Jonathan Underwood
 1862 - Added Solaris 10 files. Thanks to Hanno 'Rince' Wagner
 1863 
 1864 ver. 0.7.9 (2007/04/19) - release candidate
 1865 ----------
 1866 - Close opened handlers. Thanks to Yaroslav Halchenko
 1867 - Fixed "reload" bug. Many many thanks to Yaroslav Halchenko
 1868 - Added date format for asctime without year
 1869 - Modified filters config. Thanks to Michael C. Haller
 1870 - Fixed a small bug in mail-buffered.conf
 1871 
 1872 ver. 0.7.8 (2007/03/21) - release candidate
 1873 ----------
 1874 - Fixed asctime pattern in datedetector.py
 1875 - Added new filters/actions. Thanks to Yaroslav Halchenko
 1876 - Added Suse init script and modified gentoo-initd. Thanks to Christian Rauch
 1877 - Moved every locking statements in a try..finally block
 1878 
 1879 ver. 0.7.7 (2007/02/08) - release candidate
 1880 ----------
 1881 - Added signal handling in fail2ban-client
 1882 - Added a wonderful visual effect when waiting on the server
 1883 - fail2ban-client returns an error code if configuration is not valid
 1884 - Added new filters/actions. Thanks to Yaroslav Halchenko
 1885 - Call Python interpreter directly (instead of using "env")
 1886 - Added file support to fail2ban-regex. Benchmark feature has been removed
 1887 - Added cacti script and template.
 1888 - Added IP list in "status <JAIL>". Thanks to Eric Gerbier
 1889 
 1890 ver. 0.7.6 (2007/01/04) - beta
 1891 ----------
 1892 - Added a "sleep 1" in redhat-initd. Thanks to Jim Wight
 1893 - Use `/dev/log` for SYSLOG output. Thanks to Joerg Sommrey
 1894 - Use numeric output for iptables in "actioncheck"
 1895 - Fixed removal of host in hosts.deny. Thanks to René Berber
 1896 - Added new date format (2006-12-21 06:43:20) and Exim4 filter. Thanks to mEDI
 1897 - Several "failregex" and "ignoreregex" are now accepted. Creation of rules
 1898   should be easier now.
 1899 - Added license in COPYING. Thanks to Axel Thimm
 1900 - Allow comma in action options. The value of the option must be escaped with "
 1901   or '. Thanks to Yaroslav Halchenko
 1902 - Now Fail2ban goes in `/usr/share/fail2ban` instead of `/usr/lib/fail2ban`. This is
 1903   more compliant with FHS. Thanks to Axel Thimm and Yaroslav Halchenko
 1904 
 1905 ver. 0.7.5 (2006/12/07) - beta
 1906 ----------
 1907 - Do not ban a host that is currently banned. Thanks to Yaroslav Halchenko
 1908 - The supported tags in "action(un)ban" are `<ip>`, `<failures>` and `<time>`
 1909 - Fixed refactoring bug (getLastcommand -> getLastAction)
 1910 - Added option "ignoreregex" in filter scripts and `jail.conf`.
 1911   Feature Request #1283304
 1912 - Fixed a bug in user defined time regex/pattern
 1913 - Improved documentation
 1914 - Moved `version.py` and `protocol.py` to `common/`
 1915 - Merged "maxtime" option with "findtime"
 1916 - Added `<HOST>` tag support in failregex which matches default IP
 1917   address/hostname. `(?P<host>\S)` is still valid and supported
 1918 - Fixed exception when calling fail2ban-server with unknown option
 1919 - Fixed Debian bug 400162. The "socket" option is now handled correctly by
 1920   `fail2ban-client`
 1921 - Fixed RedHat init script. Thanks to Justin Shore
 1922 - Changed timeout to 30 secondes before assuming the server cannot be started.
 1923   Thanks to Joël Bertrand
 1924 
 1925 ver. 0.7.4 (2006/11/01) - beta
 1926 ----------
 1927 - Improved configuration files. Thanks to Yaroslav Halchenko
 1928 - Added man page for "fail2ban-regex"
 1929 - Moved ban/unban messages from "info" level to "warn"
 1930 - Added "-s" option to specify the socket path and "socket" option in
 1931   "fail2ban.conf"
 1932 - Added "backend" option in "jail.conf"
 1933 - Added more filters/actions and jail samples. Thanks to Nick Munger, Christoph
 1934   Haas
 1935 - Improved testing framework
 1936 - Fixed a bug in the return code handling of the executed commands. Thanks to
 1937   Yaroslav Halchenko
 1938 - Signal handling. There is a bug with join() and signal in Python
 1939 - Better debugging output for "fail2ban-regex"
 1940 - Added support for more date format
 1941 - cPickle does not work with Python 2.5. Use pickle instead (performance is not
 1942   a problem in our case)
 1943 
 1944 ver. 0.7.3 (2006/09/28) - beta
 1945 ----------
 1946 - Added man pages. Thanks to Yaroslav Halchenko
 1947 - Added wildcard support for "logpath"
 1948 - Added Gamin (file and directory monitoring system) support
 1949 - (Re)added "ignoreip" option
 1950 - Added more concurrency protection
 1951 - First attempt at solving bug #1457620 (locale issue)
 1952 - Performance improvements
 1953 - (Re)added permanent banning with banTime < 0
 1954 - Added DNS support to "ignoreip". Feature Request #1285859
 1955 
 1956 ver. 0.7.2 (2006/09/10) - beta
 1957 ----------
 1958 - Refactoring and code cleanup
 1959 - Improved client output
 1960 - Added more get/set commands
 1961 - Added more configuration templates
 1962 - Removed "logpath" and "maxretry" from filter templates. They must be defined
 1963   in jail.conf now
 1964 - Added interactive mode. Use "-i"
 1965 - Added a date detector. "timeregex" and "timepattern" are no more needed
 1966 - Added "fail2ban-regex". This is a tool to help finding "failregex"
 1967 - Improved server communication. Start a new thread for each incoming request.
 1968   Fail2ban is not really thread-safe yet
 1969 
 1970 ver. 0.7.1 (2006/08/23) - alpha
 1971 ----------
 1972 - Fixed daemon mode bug
 1973 - Added Gentoo init.d script
 1974 - Fixed path bug when trying to start "fail2ban-server"
 1975 - Fixed reload command
 1976 
 1977 ver. 0.7.0 (2006/08/23) - alpha
 1978 ----------
 1979 - Almost a complete rewrite :) Fail2ban design is really better (IMHO). There is
 1980   a lot of new features
 1981 - Client/Server architecture
 1982 - Multithreading. Each jail has its own threads: one for the log reading and
 1983   another for the actions
 1984 - Execute several actions
 1985 - Split configuration files. They are more readable and easy to use
 1986 - failregex uses group (<host>) now. This feature was already present in the
 1987   Debian package
 1988 - lots of things...
 1989 
 1990 ver. 0.6.1 (2006/03/16) - stable
 1991 ----------
 1992 - Added permanent banning. Set banTime to a negative value to enable this
 1993   feature (-1 is perfect). Thanks to Mannone
 1994 - Fixed locale bug. Thanks to Fernando José
 1995 - Fixed crash when time format does not match data
 1996 - Propagated patch from Debian to fix fail2ban search path addition to the path
 1997   search list: now it is added first. Thanks to Nick Craig-Wood
 1998 - Added SMTP authentification for mail notification. Thanks to Markus Hoffmann
 1999 - Removed debug mode as it is confusing for people
 2000 - Added parsing of timestamp in TAI64N format (#1275325). Thanks to Mark
 2001   Edgington
 2002 - Added patch #1382936 (Default formatted syslog logging). Thanks to Patrick
 2003   Börjesson
 2004 - Removed 192.168.0.0/16 from ignoreip. Attacks could also come from the local
 2005   network.
 2006 - Robust startup: if iptables module does not get fully initialized after
 2007   startup of fail2ban, fail2ban will do "maxreinit" attempts to initialize its
 2008   own firewall. It will sleep between attempts for "polltime" number of seconds
 2009   (closes Debian: #334272). Thanks to Yaroslav Halchenko
 2010 - Added "interpolations" in fail2ban.conf. This is provided by the ConfigParser
 2011   module. Old configuration files still work. Thanks to Yaroslav Halchenko
 2012 - Added initial support for hosts.deny and shorewall. Need more testing. Please
 2013   test. Thanks to kojiro from Gentoo forum for hosts.deny support
 2014 - Added support for vsftpd. Thanks to zugeschmiert
 2015 
 2016 ver. 0.6.0 (2005/11/20) - stable
 2017 ----------
 2018 - Propagated patches introduced by Debian maintainer (Yaroslav Halchenko):
 2019   * Added an option to report local time (including timezone) or GMT in mail
 2020     notification.
 2021 
 2022 ver. 0.5.5 (2005/10/26) - beta
 2023 ----------
 2024 - Propagated patches introduced by Debian maintainer (Yaroslav Halchenko):
 2025   * Introduced fwcheck option to verify consistency of the chains. Implemented
 2026     automatic restart of fail2ban main function in case check of fwban or
 2027     fwunban command failed (closes: #329163, #331695). (Introduced patch was
 2028     further adjusted by upstream author).
 2029   * Added -f command line parameter for [findtime].
 2030   * Added a cleanup of firewall rules on emergency shutdown when unknown
 2031     exception is catched.
 2032   * Fail2ban should not crash now if a wrong file name is specified in config.
 2033   * reordered code a bit so that log targets are setup right after background
 2034     and then only loglevel (verbose, debug) is processed, so the warning could
 2035     be seen in the logs
 2036   * Added a keyword `<section>` in parsing of the subject and the body of an email
 2037     sent out by fail2ban (closes: #330311)
 2038 
 2039 ver. 0.5.4 (2005/09/13) - beta
 2040 ----------
 2041 - Fixed bug #1286222.
 2042 - Propagated patches introduced by Debian maintainer (Yaroslav Halchenko):
 2043   * Fixed handling of SYSLOG logging target. Now it can log to any SYSLOG target
 2044     and facility as directed by the config
 2045   * Format of SYSLOG entries fixed to look closer to standard
 2046   * Fixed errata in config/gentoo-confd
 2047   * Introduced findtime configuration variable to control the lifetime of caught
 2048     "failed" log entries
 2049 
 2050 ver. 0.5.3 (2005/09/08) - beta
 2051 ----------
 2052 - Fixed a bug when overriding "maxfailures" or "bantime". Thanks to Yaroslav
 2053   Halchenko
 2054 - Added more debug output if an error occurs when sending mail. Thanks to
 2055   Stephen Gildea
 2056 - Renamed "maxretry" to "maxfailures" and changed default value to 5. Thanks to
 2057   Stephen Gildea
 2058 - Hopefully fixed bug #1256075
 2059 - Fixed bug #1262345
 2060 - Fixed exception handling in PIDLock
 2061 - Removed warning when using "-V" or "-h" with no config file. Thanks to
 2062   Yaroslav Halchenko
 2063 - Removed "-i eth0" from config file. Thanks to Yaroslav Halchenko
 2064 
 2065 ver. 0.5.2 (2005/08/06) - beta
 2066 ----------
 2067 - Better PID lock file handling. Should close #1239562
 2068 - Added man pages
 2069 - Removed log4py dependency. Use logging module instead
 2070 - "maxretry" and "bantime" can be overridden in each section
 2071 - Fixed bug #1246278 (excessive memory usage)
 2072 - Fixed crash on wrong option value in configuration file
 2073 - Changed custom chains to lowercase
 2074 
 2075 ver. 0.5.1 (2005/07/23) - beta
 2076 ----------
 2077 - Fixed bugs #1241756, #1239557
 2078 - Added log targets in configuration file. Removed -l option
 2079 - Changed iptables rules in order to create a separated chain for each section
 2080 - Fixed static banList in firewall.py
 2081 - Added an initd script for Debian. Thanks to Yaroslav Halchenko
 2082 - Check for obsolete files after install
 2083 
 2084 ver. 0.5.0 (2005/07/12) - beta
 2085 ----------
 2086 - Added support for CIDR mask in ignoreip
 2087 - Added mail notification support
 2088 - Fixed bug #1234699
 2089 - Added tags replacement in rules definition. Should allow a clean solution for
 2090   Feature Request #1229479
 2091 - Removed "interface" and "firewall" options
 2092 - Added start and end commands in the configuration file. Thanks to Yaroslav
 2093   Halchenko
 2094 - Added firewall rules definition in the configuration file
 2095 - Cleaned fail2ban.py
 2096 - Added an initd script for RedHat/Fedora. Thanks to Andrey G. Grozin
 2097 
 2098 ver. 0.4.1 (2005/06/30) - stable
 2099 ----------
 2100 - Fixed textToDNS method which generated wrong matches for "rhost=12-xyz...".
 2101   Thanks to Tom Pike
 2102 - `fail2ban.conf` modified for readability. Thanks to Iain Lea
 2103 - Added an initd script for Gentoo
 2104 - Changed default PID lock file location from `/tmp` to `/var/run`
 2105 
 2106 ver. 0.4.0 (2005/04/24) - stable
 2107 ----------
 2108 - Fixed textToDNS which did not recognize strings like
 2109   "12-345-67-890.abcd.mnopqr.xyz"
 2110 
 2111 ver. 0.3.1 (2005/03/31) - beta
 2112 ----------
 2113 - Corrected level of messages
 2114 - Added DNS lookup support
 2115 - Improved parsing speed. Only parse the new log messages
 2116 - Added a second verbose level (-vv)
 2117 
 2118 ver. 0.3.0 (2005/02/24) - beta
 2119 ----------
 2120 - Re-writting of parts of the code in order to handle several log files with
 2121   different rules
 2122 - Removed `sshd.py` because it is no more needed
 2123 - Fixed a bug when exiting with IP in the ban list
 2124 - Added PID lock file
 2125 - Improved some parts of the code
 2126 - Added `ipfw-start-rule` option (thanks to Robert Edeker)
 2127 - Added -k option which kills a currently running Fail2Ban
 2128 
 2129 ver. 0.1.2 (2004/11/21) - beta
 2130 ----------
 2131 - Add ipfw and ipfwadm support. The rules are taken from BlockIt. Thanks to
 2132   Robert Edeker
 2133 - Add -e option which allows to set the interface. Thanks to Robert Edeker who
 2134   reminded me this
 2135 - Small code cleaning
 2136 
 2137 ver. 0.1.1 (2004/10/23) - beta
 2138 ----------
 2139 - Add SIGTERM handler in order to exit nicely when in daemon mode
 2140 - Add -r option which allows to set the maximum number of login failures
 2141 - Remove the Metalog class as the log file are not so syslog daemon specific
 2142 - Rewrite log reader to be service centered. Sshd support added. Match "Failed
 2143   password" and "Illegal user"
 2144 - Add `/etc/fail2ban.conf` configuration support
 2145 - Code documentation
 2146 
 2147 ver. 0.1.0 (2004/10/12) - alpha
 2148 ----------
 2149 - Initial release