Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

monitoring-plugins-fail2ban-0.11.2-5.2 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: monitoring-plugins-fail2ban Distribution: openSUSE:Factory:zSystems
Version: 0.11.2 Vendor: obs://build.opensuse.org/openSUSE:Factory:zSystems
Release: 5.2 Build date: Thu May 12 13:16:46 2022
Group: System/Monitoring Build host: s390zp21
Size: 34130 Source RPM: fail2ban-0.11.2-5.2.src.rpm
Url: http://www.fail2ban.org/
Summary: Check fail2ban server and how many IPs are currently banned
This plugin checks if the fail2ban server is running and how many IPs are
currently banned.  You can use this plugin to monitor all the jails or just a
specific jail.

How to use
----------
Just have to run the following command:
  $ ./check_fail2ban --help

Provides

Requires

License

GPL-2.0-or-later

Changelog

* Sat Jan 22 2022 Arjen de Korte <suse+build@de-korte.org>
  - Fail2ban can't be PartOf ipset.service and nftables.service that
    conflict with firewalld.service (as it will prevent restarting the
    latter and which are not provided anymore)
    * fail2ban-opensuse-service.patch
    * harden_fail2ban.service.patch
* Wed Jan 19 2022 Dirk Müller <dmueller@suse.com>
  - add python-rpm-macros buildrequires (bsc#1194752)
* Fri Nov 12 2021 Johannes Weberhofer <jweberhofer@weberhofer.at>
  - Added fail2ban-0.11.2-upstream-patch-python-3.9.patch to allow
    fail2ban run under under python 3.9+
  - Shifted the order of the patches
* Tue Sep 14 2021 Johannes Segitz <jsegitz@suse.com>
  - Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
    * harden_fail2ban.service.patch
* Tue Aug 24 2021 Johannes Weberhofer <jweberhofer@weberhofer.at>
  - Added fail2ban-0.11.2-upstream-patch-for-CVE-2021-32749.patch
    to fixs CVE-2021-32749 - bnc#1188610 to prevent a command injection via mail comand
* Sat Dec 05 2020 Johannes Weberhofer <jweberhofer@weberhofer.at>
  - Integrate change to resolve bnc#1146856 and bnc#1180738
* Sun Nov 29 2020 Johannes Weberhofer <jweberhofer@weberhofer.at>
  - Update to 0.11.2
    increased stability, filter and action updates
  - New Features and Enhancements
    * fail2ban-regex:
    - speedup formatted output (bypass unneeded stats creation)
    - extended with prefregex statistic
    - more informative output for `datepattern` (e. g. set from filter) - pattern : description
    * parsing of action in jail-configs considers space between action-names as separator also
    (previously only new-line was allowed), for example `action = a b` would specify 2 actions `a` and `b`
    * new filter and jail for GitLab recognizing failed application logins (gh#fail2ban/fail2ban#2689)
    * new filter and jail for Grafana recognizing failed application logins (gh#fail2ban/fail2ban#2855)
    * new filter and jail for SoftEtherVPN recognizing failed application logins (gh#fail2ban/fail2ban#2723)
    * `filter.d/guacamole.conf` extended with `logging` parameter to follow webapp-logging if it's configured
      (gh#fail2ban/fail2ban#2631)
    * `filter.d/bitwarden.conf` enhanced to support syslog (gh#fail2ban/fail2ban#2778)
    * introduced new prefix `{UNB}` for `datepattern` to disable word boundaries in regex;
    * datetemplate: improved anchor detection for capturing groups `(^...)`;
    * datepattern: improved handling with wrong recognized timestamps (timezones, no datepattern, etc)
    as well as some warnings signaling user about invalid pattern or zone (gh#fail2ban/fail2ban#2814):
    - filter gets mode in-operation, which gets activated if filter starts processing of new messages;
      in this mode a timestamp read from log-line that appeared recently (not an old line), deviating too much
      from now (up too 24h), will be considered as now (assuming a timezone issue), so could avoid unexpected
      bypass of failure (previously exceeding `findtime`);
    - better interaction with non-matching optional datepattern or invalid timestamps;
    - implements special datepattern `{NONE}` - allow to find failures totally without date-time in log messages,
      whereas filter will use now as timestamp (gh#fail2ban/fail2ban#2802)
    * performance optimization of `datepattern` (better search algorithm in datedetector, especially for single template);
    * fail2ban-client: extended to unban IP range(s) by subnet (CIDR/mask) or hostname (DNS), gh#fail2ban/fail2ban#2791;
    * extended capturing of alternate tags in filter, allowing combine of multiple groups to single tuple token with new tag
      prefix `<F-TUPLE_`, that would combine value of `<F-V>` with all value of `<F-TUPLE_V?_n?>` tags (gh#fail2ban/fail2ban#2755)
  - Fixes
    * [stability] prevent race condition - no ban if filter (backend) is continuously busy if
      too many messages will be found in log, e. g. initial scan of large log-file or journal (gh#fail2ban/fail2ban#2660)
    * pyinotify-backend sporadically avoided initial scanning of log-file by start
    * python 3.9 compatibility (and Travis CI support)
    * restoring a large number (500+ depending on files ulimit) of current bans when using PyPy fixed
    * manual ban is written to database, so can be restored by restart (gh#fail2ban/fail2ban#2647)
    * `jail.conf`: don't specify `action` directly in jails (use `action_` or `banaction` instead)
    * no mails-action added per default anymore (e. g. to allow that `action = %(action_mw)s` should be specified
      per jail or in default section in jail.local), closes gh#fail2ban/fail2ban#2357
    * ensure we've unique action name per jail (also if parameter `actname` is not set but name deviates from standard name, gh#fail2ban/fail2ban#2686)
    * don't use `%(banaction)s` interpolation because it can be complex value (containing `[...]` and/or quotes),
      so would bother the action interpolation
    * fixed type conversion in config readers (take place after all interpolations get ready), that allows to
      specify typed parameters variable (as substitutions) as well as to supply it in other sections or as init parameters.
    * `action.d/*-ipset*.conf`: several ipset actions fixed (no timeout per default anymore), so no discrepancy
      between ipset and fail2ban (removal from ipset will be managed by fail2ban only, gh#fail2ban/fail2ban#2703)
    * `action.d/cloudflare.conf`: fixed `actionunban` (considering new-line chars and optionally real json-parsing
    with `jq`, gh#fail2ban/fail2ban#2140, gh#fail2ban/fail2ban#2656)
    * `action.d/nftables.conf` (type=multiport only): fixed port range selector, replacing `:` with `-` (gh#fail2ban/fail2ban#2763)
    * `action.d/firewallcmd-*.conf` (multiport only): fixed port range selector, replacing `:` with `-` (gh#fail2ban/fail2ban#2821)
    * `action.d/bsd-ipfw.conf`: fixed selection of rule-no by large list or initial `lowest_rule_num` (gh#fail2ban/fail2ban#2836)
    * `filter.d/common.conf`: avoid substitute of default values in related `lt_*` section, `__prefix_line`
      should be interpolated in definition section (inside the filter-config, gh#fail2ban/fail2ban#2650)
    * `filter.d/dovecot.conf`:
    - add managesieve and submission support (gh#fail2ban/fail2ban#2795);
    - accept messages with more verbose logging (gh#fail2ban/fail2ban#2573);
    * `filter.d/courier-smtp.conf`: prefregex extended to consider port in log-message (gh#fail2ban/fail2ban#2697)
    * `filter.d/traefik-auth.conf`: filter extended with parameter mode (`normal`, `ddos`, `aggressive`) to handle
      the match of username differently (gh#fail2ban/fail2ban#2693):
    - `normal`: matches 401 with supplied username only
    - `ddos`: matches 401 without supplied username only
    - `aggressive`: matches 401 and any variant (with and without username)
    * `filter.d/sshd.conf`: normalizing of user pattern in all RE's, allowing empty user (gh#fail2ban/fail2ban#2749)
  - Rebased patches
  - Removed upstream patch fail2ban-0.10.4-upstream-pid-file-location.patch
* Wed Aug 19 2020 Dominique Leuenberger <dimstar@opensuse.org>
  - Use %{_tmpfilesdir} consistently throughout the .spec.
* Thu May 21 2020 Paolo Stivanin <info@paolostivanin.com>
  - Update to 0.11.1:
    * Increment ban time (+ observer) functionality introduced.
    * Database functionality extended with bad ips.
    * New tags (usable in actions):
    - `<bancount>` - ban count of this offender if known as bad
      (started by 1 for unknown)
    - `<bantime>` - current ban-time of the ticket
      (prolongation can be retarded up to 10 sec.)
    * Introduced new action command `actionprolong` to prolong ban-time
      (e. g. set new timeout if expected);
    * algorithm of restore current bans after restart changed:
      update the restored ban-time (and therefore
      end of ban) of the ticket with ban-time of jail (as maximum),
      for all tickets with ban-time greater (or persistent)
    * added new setup-option `--without-tests` to skip building
      and installing of tests files (gh-2287).
    * added new command `fail2ban-client get <JAIL> banip ?sep-char|--with-time?`
      to get the banned ip addresses (gh-1916).
    * purge database will be executed now (within observer).
    restoring currently banned ip after service restart fixed
      (now < timeofban + bantime), ignore old log failures (already banned)
    * upgrade database: update new created table `bips` with entries
      from table `bans` (allows restore current bans after
      upgrade from version <= 0.10)
* Thu Jan 09 2020 Dominique Leuenberger <dimstar@opensuse.org>
  - Switch to use python3 (upstream supported):
    + BuildRequire python3-tools instead of python-devel (for the
      2to3 tool).
    + Drop the python-gamin dependency.
    + Replace all python-FOO deps for their python3-FOO counterpart.
* Mon Aug 12 2019 Johannes Weberhofer <jweberhofer@weberhofer.at>
  - Added fail2ban-0.10.4-env-script-interpreter.patch to define interpretor
  - removal of SuSEfirewall2-fail2ban for factory versions since SuSEfirewall2
    will be removed from Factory (see sr#713247):
    * fail2ban-opensuse-service.patch: removed references to SuSEfirewall2 service
    * fail2ban-opensuse-service-sfw.patch: use references to SuSEfirewall2 only for
      older distributions
    * Removed installation recommendation of the fail2ban-SuSEfirewall2
      package for all distributions as it is deprecated.
  - fail2ban-0.10.4-upstream-pid-file-location.patch changed fail2ban unit file
    location (boo#1145181, gh#fail2ban/fail2ban#2474)
* Tue Jun 11 2019 Dominique Leuenberger <dimstar@opensuse.org>
  - BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
    shortcut the build queues by allowing usage of systemd-mini
* Sat Feb 16 2019 chris@computersalat.de
  - ver. 0.10.4 (2018/10/04) - ten-four-on-due-date-ten-four
    * https://github.com/fail2ban/fail2ban/blob/0.10.4/ChangeLog
  - Fixes
    * `filter.d/dovecot.conf`:
    - failregex enhancement to catch sql password mismatch errors (gh-2153);
    - disconnected with "proxy dest auth failed" (gh-2184);
    * `filter.d/freeswitch.conf`:
    - provide compatibility for log-format from gh-2193:
    * extended with new default date-pattern `^(?:%%Y-)?%%m-%%d[ T]%%H:%%M:%%S(?:\.%%f)?` to cover
      `YYYY-mm-dd HH:MM::SS.ms` as well as `mm-dd HH:MM::SS.ms` (so year is optional);
    * more optional arguments in log-line (so accept [WARN] as well as [WARNING] and optional [SOFIA] hereafter);
    - extended with mode parameter, allows to avoid matching of messages like `auth challenge (REGISTER)`
      (see gh-2163) (currently `extra` as default to be backwards-compatible), see comments in filter
      how to set it to mode `normal`.
    * `filter.d/domino-smtp.conf`:
    - recognizes failures logged using another format (something like session-id, IP enclosed in square brackets);
    - failregex extended to catch connections rejected for policy reasons (gh-2228);
    * `action.d/hostsdeny.conf`: fix parameter in config (dynamic parameters stating with '_' are protected
      and don't allowed in command-actions), see gh-2114;
    * decoding stability fix by wrong encoded characters like utf-8 surrogate pairs, etc (gh-2171):
    - fail2ban running in the preferred encoding now (as default encoding also within python 2.x), mostly
      `UTF-8` in opposite to `ascii` previously, so minimizes influence of implicit conversions errors;
    - actions: avoid possible conversion errors on wrong-chars by replace tags;
    - database: improve adapter/converter handlers working on invalid characters in sense of json and/or sqlite-database;
      additionally both are exception-safe now, so avoid possible locking of database (closes gh-2137);
    - logging in fail2ban is process-wide exception-safe now.
    * repaired start-time of initial seek to time (as well as other log-parsing related data),
      if parameter `logpath` specified before `findtime`, `backend`, `datepattern`, etc (gh-2173)
    * systemd: fixed type error on option `journalflags`: an integer is required (gh-2125);
  - New Features
    * new option `ignorecache` to improve performance of ignore failure check (using caching of `ignoreip`,
      `ignoreself` and `ignorecommand`), see `man jail.conf` for syntax-example;
    * `ignorecommand` extended to use actions-similar replacement (capable to interpolate
      all possible tags like `<ip-host>`, `<family>`, `<fid>`, `F-USER` etc.)
  - Enhancements
    * `filter.d/dovecot.conf`: extended with tags F-USER (and alternatives) to collect user-logins (gh-2168)
    * since v.0.10.4, fail2ban-client, fail2ban-server and fail2ban-regex will return version without logo info,
      additionally option `-V` can be used to get version in normalized machine-readable short format.
  - rebase patches
    * fail2ban-opensuse-locations.patch
    * fail2ban-opensuse-service.patch
  - add signature file

Files

/usr/libexec/nagios
/usr/libexec/nagios/plugins
/usr/libexec/nagios/plugins/check_fail2ban
/usr/share/doc/packages/monitoring-plugins-fail2ban
/usr/share/doc/packages/monitoring-plugins-fail2ban/README
/usr/share/licenses/monitoring-plugins-fail2ban
/usr/share/licenses/monitoring-plugins-fail2ban/COPYING


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed Jun 15 00:09:19 2022