Compare commits

..

128 Commits

Author SHA256 Message Date
Ana Guerrero
2e5142b6d5 Accepting request 1217267 from security
- update to 1.1.0:
  * circumvent SEGFAULT in a python's socket module by
    getaddrinfo with disabled IPv6 (gh-3438)
  * avoid sporadic error in pyinotify backend if pending file
    deleted in other thread, e. g. by flushing logs (gh-3635)
  * `action.d/cloudflare-token.conf` - fixes gh-3479, url-encode
    args by unban
  * `action.d/*ipset*`: make `maxelem` ipset option configurable
    through banaction arguments (gh-3564)
  * `filter.d/apache-common.conf` - accepts remote besides client
    (gh-3622)
  * `filter.d/mysqld-auth.conf` - matches also if no suffix in
    message (mariadb 10.3 log format, gh-3603)
  * `filter.d/nginx-*.conf` - nginx error-log filters extended
    with support of journal format (gh-3646)
  * `filter.d/postfix.conf`:
    - "rejected" rule extended to match "Access denied" too
    - avoid double counting ('lost connection after AUTH'
      together with message 'disconnect ...', gh-3505)
    - add Sender address rejected: Malformed DNS server reply
    - add to postfix syslog daemon format (gh-3690)
    - change journalmatch postfix, allow sub-units with
      postfix@-.service (gh-3692)
  * `filter.d/recidive.conf`: support for systemd-journal,
    conditional RE depending on logtype (for file or journal,
    gh-3693)
  * `filter.d/slapd.conf` - filter rewritten for single-line
    processing, matches errored result without `text=...`
    (gh-3604)
  * supports python 3.12 and 3.13 (gh-3487)

OBS-URL: https://build.opensuse.org/request/show/1217267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=70
2024-10-23 19:11:23 +00:00
Dominique Leuenberger
b292e6fd31 Accepting request 1198657 from security
- fail2ban-fix-openssh98.patch: fix to work with openssh 9.8 (bsc#1230101) (forwarded request 1198656 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/1198657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=69
2024-09-04 11:27:32 +00:00
c0917c8a4c - fail2ban-fix-openssh98.patch: fix to work with openssh 9.8 (bsc#1230101)
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=120
2024-09-04 08:00:14 +00:00
Ana Guerrero
51df49436e Accepting request 1151115 from security
OBS-URL: https://build.opensuse.org/request/show/1151115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=68
2024-02-27 21:46:59 +00:00
d7f3e448b6 Accepting request 1150643 from home:dimstar:rpm4.20:f
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1150643
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=118
2024-02-26 10:50:07 +00:00
Dominique Leuenberger
f2ea5aeb98 Accepting request 1091046 from security
OBS-URL: https://build.opensuse.org/request/show/1091046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=67
2023-06-06 17:56:16 +00:00
Wolfgang Frisch
0615f554fb Accepting request 1090960 from home:lrupp:branches:security
- use nagios-rpm-macros to define the libexecdir for SUSE distributions
  correctly (defaut here is /usr/lib/nagios/plugins)
- move conditional for %%pre scripts, to avoid any dependency or other 
  stuff getting in the way on old distributions

OBS-URL: https://build.opensuse.org/request/show/1090960
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=116
2023-06-06 07:57:14 +00:00
Dominique Leuenberger
e321fc046d Accepting request 1040251 from security
OBS-URL: https://build.opensuse.org/request/show/1040251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=66
2022-12-05 17:02:07 +00:00
Johannes Weberhofer
ed52f92140 Accepting request 1040054 from home:dirkmueller:Factory
- update to 1.0.2:
  * Update of major version of fail2ban with primary target to fix a
    dovecot-filter regression #3370.
  * See the ChangeLog for more information.

OBS-URL: https://build.opensuse.org/request/show/1040054
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=114
2022-12-05 12:17:57 +00:00
Dominique Leuenberger
bbcfbbcf56 Accepting request 1010267 from security
OBS-URL: https://build.opensuse.org/request/show/1010267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=65
2022-10-13 13:44:50 +00:00
Arjen de Korte
974194c817 Accepting request 1010250 from home:polslinux:branches:security
- Update to 1.0.1:
  * https://github.com/fail2ban/fail2ban/blob/1.0.1/ChangeLog
- Remove fail2ban-0.11.2-upstream-patch-python-3.9.patch.
- Remove fail2ban-0.11.2-upstream-patch-for-CVE-2021-32749.patch.
- Remove fail2ban-rpmlintrc since it's no longer needed.
- Add fail2ban.keyring.

OBS-URL: https://build.opensuse.org/request/show/1010250
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=112
2022-10-12 14:29:51 +00:00
Dominique Leuenberger
e97a7a459f Accepting request 949182 from security
OBS-URL: https://build.opensuse.org/request/show/949182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=64
2022-01-26 20:27:03 +00:00
Johannes Weberhofer
de3e0144c6 Accepting request 947424 from home:dirkmueller:Factory
- add python-rpm-macros buildrequires (bsc#1194752)

OBS-URL: https://build.opensuse.org/request/show/947424
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=111
2022-01-26 07:57:06 +00:00
Johannes Weberhofer
04054064c9 Accepting request 948093 from home:adkorte
- 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

OBS-URL: https://build.opensuse.org/request/show/948093
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=110
2022-01-26 07:56:20 +00:00
Dominique Leuenberger
301547b693 Accepting request 931605 from security
OBS-URL: https://build.opensuse.org/request/show/931605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=63
2021-11-17 00:13:46 +00:00
Johannes Weberhofer
72cc9bc469 Accepting request 931604 from home:weberho:branches:security
Fixed typos

OBS-URL: https://build.opensuse.org/request/show/931604
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=109
2021-11-15 17:07:42 +00:00
Johannes Weberhofer
3e1ea61d18 Accepting request 931135 from home:weberho:branches:security
- Added fail2ban-0.11.2-upstream-patch-python-3.10.patch to allow 
  fail2ban run under under python 3.9+
- Shifted the order of the patches

OBS-URL: https://build.opensuse.org/request/show/931135
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=108
2021-11-15 16:57:14 +00:00
Dominique Leuenberger
f06ef51bbe Accepting request 920602 from security
OBS-URL: https://build.opensuse.org/request/show/920602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=62
2021-09-21 19:13:16 +00:00
c92a861e40 Accepting request 918942 from home:jsegitz:branches:systemdhardening:security
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/918942
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=107
2021-09-21 08:14:01 +00:00
Dominique Leuenberger
8febc333e8 Accepting request 914046 from security
OBS-URL: https://build.opensuse.org/request/show/914046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=61
2021-08-25 18:57:59 +00:00
Johannes Weberhofer
861f18c31d Accepting request 914045 from home:weberho:branches:security
- Added fail2ban-0.11.2-upstream-patch-for-CVE-2021-32749.patch to fix CVE-2021-32749 - bnc#1188610 prevent a command injection via mail command
- note bnc#1180738 in changelog

OBS-URL: https://build.opensuse.org/request/show/914045
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=106
2021-08-24 14:14:57 +00:00
Dominique Leuenberger
010def5836 Accepting request 853311 from security
OBS-URL: https://build.opensuse.org/request/show/853311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=60
2020-12-05 19:51:30 +00:00
Johannes Weberhofer
20c0b48fcb Accepting request 853310 from home:weberho:branches:security
- Integrate change to resolve bnc#1146856
- 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

OBS-URL: https://build.opensuse.org/request/show/853310
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=104
2020-12-05 18:25:09 +00:00
Dominique Leuenberger
6738142d69 Accepting request 828242 from security
OBS-URL: https://build.opensuse.org/request/show/828242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=59
2020-08-20 20:35:29 +00:00
ce385d8cc8 Accepting request 827769 from home:dimstar:Factory
- Use %{_tmpfilesdir} consistently throughout the .spec.

OBS-URL: https://build.opensuse.org/request/show/827769
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=102
2020-08-20 15:49:41 +00:00
Yuchen Lin
921fcf536c Accepting request 808030 from security
OBS-URL: https://build.opensuse.org/request/show/808030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=58
2020-05-26 15:21:12 +00:00
Johannes Weberhofer
0b091513f7 Accepting request 807912 from home:polslinux:branches:security
- 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)

OBS-URL: https://build.opensuse.org/request/show/807912
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=100
2020-05-21 17:06:35 +00:00
Dominique Leuenberger
4cc1a7a611 Accepting request 762815 from security
OBS-URL: https://build.opensuse.org/request/show/762815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=57
2020-01-10 16:50:16 +00:00
d7376219ea Accepting request 762228 from home:dimstar:Factory
- 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.

- removal of SuSEfirewall2-fail2ban for factory versions since SuSEfirewall2
- fail2ban-0.10.4-upstream-pid-file-location.patch changed fail2ban unit file

OBS-URL: https://build.opensuse.org/request/show/762228
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=98
2020-01-10 12:12:35 +00:00
Dominique Leuenberger
3ed19faa60 Accepting request 722644 from security
OBS-URL: https://build.opensuse.org/request/show/722644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=56
2019-08-13 11:23:13 +00:00
Johannes Weberhofer
2ecebbda26 Accepting request 722640 from home:weberho:branches:security
- Added fail2ban-0.10.4-env-script-interpreter.patch to define interpreter
- 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 SuSEfirewall2-fail2ban
    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)

OBS-URL: https://build.opensuse.org/request/show/722640
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=96
2019-08-12 10:37:17 +00:00
Dominique Leuenberger
9a23360232 Accepting request 709174 from security
OBS-URL: https://build.opensuse.org/request/show/709174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=55
2019-06-12 11:17:51 +00:00
Johannes Weberhofer
1080a2c48e Accepting request 709167 from home:dimstar:Factory
Allow OBS to pick better candidates to shorten rebuild queues

OBS-URL: https://build.opensuse.org/request/show/709167
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=94
2019-06-11 13:15:31 +00:00
Yuchen Lin
d2dd170e6f Accepting request 677464 from security
- 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

OBS-URL: https://build.opensuse.org/request/show/677464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=54
2019-02-20 13:13:19 +00:00
Johannes Weberhofer
4d4d053410 Accepting request 676713 from home:computersalat:devel:security
Update to 0.10.4

OBS-URL: https://build.opensuse.org/request/show/676713
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=92
2019-02-18 09:31:32 +00:00
Dominique Leuenberger
cdab566a43 Accepting request 599594 from security
OBS-URL: https://build.opensuse.org/request/show/599594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=53
2018-04-26 11:37:18 +00:00
Johannes Weberhofer
a495133311 Accepting request 599593 from home:weberho:branches:security
- Updated to version 0.10.3.1. Changelog:
  https://github.com/fail2ban/fail2ban/blob/0.10.3.1/ChangeLog
  * fixed JSON serialization for the set-object within dump into database (gh-2103).
- Updated to version 0.10.3. Changelog:
  https://github.com/fail2ban/fail2ban/blob/0.10.3/ChangeLog
- Fixes
  * `filter.d/asterisk.conf`: fixed failregex prefix by log over remote syslog server (gh-2060);
  * `filter.d/exim.conf`: failregex extended - SMTP call dropped: too many syntax or protocol errors (gh-2048);
  * `filter.d/recidive.conf`: fixed if logging into systemd-journal (SYSLOG) with daemon name in prefix, gh-2069;
  * `filter.d/sendmail-auth.conf`, `filter.d/sendmail-reject.conf` :
    - fixed failregex, sendmail uses prefix 'IPv6:' logging of IPv6 addresses (gh-2064);
  * `filter.d/sshd.conf`:
    - failregex got an optional space in order to match new log-format (see gh-2061);
    - fixed ddos-mode regex to match refactored message (some versions can contain port now, see gh-2062);
    - fixed root login refused regex (optional port before preauth, gh-2080);
    - avoid banning of legitimate users when pam_unix used in combination with other password method, so
      bypass pam_unix failures if accepted available for this user gh-2070;
    - amend to gh-1263 with better handling of multiple attempts (failures for different user-names recognized immediatelly);
    - mode `ddos` (and `aggressive`) extended to catch `Connection closed by ... [preauth]`, so in DDOS mode
      it counts failure on closing connection within preauth-stage (gh-2085);
  * `action.d/abuseipdb.conf`: fixed curl cypher errors and comment quote-issue (gh-2044, gh-2101);
  * `action.d/badips.py`: implicit convert IPAddr to str, solves an issue "expected string, IPAddr found" (gh-2059);
  * `action.d/hostsdeny.conf`: fixed IPv6 syntax (enclosed in square brackets, gh-2066);
  * (Free)BSD ipfw actionban fixed to allow same rule added several times (gh-2054);
- New Features
  * several stability and performance optimizations, more effective filter parsing, etc;
  * stable runnable within python versions 3.6 (as well as within 3.7-dev);
- Enhancements
  * `filter.d/apache-auth.conf`: detection of Apache SNI errors resp. misredirect attempts (gh-2017, gh-2097);
  * `filter.d/apache-noscript.conf`: extend failregex to match "Primary script unknown", e. g. from php-fpm (gh-2073);
  * date-detector extended with long epoch (`LEPOCH`) to parse milliseconds/microseconds posix-dates (gh-2029);
  * possibility to specify own regex-pattern to match epoch date-time, e. g. `^\[{EPOCH}\]` or `^\[{LEPOCH}\]` (gh-2038);
    the epoch-pattern similar to `{DATE}` patterns does the capture and cuts out the match of whole pattern from the log-line,
    e. g. date-pattern `^\[{LEPOCH}\]\s+:` will match and cut out `[1516469849551000] :` from begin of the log-line.
  * badips.py now uses https instead of plain http when requesting badips.com (gh-2057);
  * add support for "any" badips.py bancategory, to be able to retrieve IPs from all categories with a desired score (gh-2056);
  * Introduced new parameter `padding` for logging within fail2ban-server (default on, excepting SYSLOG):
    Usage `logtarget = target[padding=on|off]`

OBS-URL: https://build.opensuse.org/request/show/599593
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=90
2018-04-21 11:24:52 +00:00
Dominique Leuenberger
671fbd787d Accepting request 578362 from security
- Updated to version 0.10.2. Changelog:
  https://github.com/fail2ban/fail2ban/blob/0.10.2/ChangeLog
- rebased patch
- Incompatibility list (compared to v.0.9):
  * Filter (or `failregex`) internal capture-groups:
    - If you've your own `failregex` or custom filters using conditional match `(?P=host)`, you should
      rewrite the regex like in example below resp. using `(?:(?P=ip4)|(?P=ip6)` instead of `(?P=host)`
      (or `(?:(?P=ip4)|(?P=ip6)|(?P=dns))` corresponding your `usedns` and `raw` settings).
      Of course you can always define your own capture-group (like below `_cond_ip_`) to do this.
      testln="1500000000 failure from 192.0.2.1: bad host 192.0.2.1"
      fail2ban-regex "$testln" "^\s*failure from (?P<_cond_ip_><HOST>): bad host (?P=_cond_ip_)$"
    - New internal groups (currently reserved for internal usage):
      `ip4`, `ip6`, `dns`, `fid`, `fport`, additionally `user` and another captures in lower case if
      mapping from tag `<F-*>` used in failregex (e. g. `user` by `<F-USER>`).
  * v.0.10 uses more precise date template handling, that can be theoretically incompatible to some
    user configurations resp. `datepattern`.
  * Since v0.10 fail2ban supports the matching of the IPv6 addresses, but not all ban actions are
    IPv6-capable now.
- Incompatibility:
  * The configuration for jails using banaction `pf` can be incompatible after upgrade, because pf-action uses
    anchors now (see `action.d/pf.conf` for more information). If you want use obsolete handling without anchors,
    just rewrite it in the `jail.local` by overwrite of `pfctl` parameter, e. g. like `banaction = pf[pfctl="pfctl"]`. 
- Fixes
  * Fixed logging to systemd-journal: new logtarget value SYSOUT can be used instead of STDOUT, to avoid 
    write of the time-stamp, if logging to systemd-journal from foreground mode (gh-1876)
  * Fixed recognition of the new date-format on mysqld-auth filter (gh-1639)
  * jail.conf: port `imap3` replaced with `imap` everywhere, since imap3 is not a standard port and old rarely 
    (if ever) used and can missing on some systems (e. g. debian stretch), see gh-1942.
  * config/paths-common.conf: added missing initial values (and small normalization in config/paths-*.conf)
    in order to avoid errors while interpolating (e. g. starting with systemd-backend), see gh-1955.
  * `action.d/pf.conf`: 
    - fixed syntax error in achnor definition (documentation, see gh-1919);
    - enclose ports in braces for multiport jails (see gh-1925);
  * `action.d/firewallcmd-ipset.conf`: fixed create of set for ipv6 (missing `family inet6`, gh-1990)
  * `filter.d/sshd.conf`:
    - extended failregex for modes "extra"/"aggressive": now finds all possible (also future)
      forms of "no matching (cipher|mac|MAC|compression method|key exchange method|host key type) found", 
      see "ssherr.c" for all possible SSH_ERR_..._ALG_MATCH errors (gh-1943, gh-1944);
    - fixed failregex in order to avoid banning of legitimate users with multiple public keys (gh-2014, gh-1263);
- New Features
  * datedetector: extended default date-patterns (allows extra space between the date and time stamps);
    introduces 2 new format directives (with corresponding %Ex prefix for more precise parsing):
    - %k - one- or two-digit number giving the hour of the day (0-23) on a 24-hour clock,
      (corresponds %H, but allows space if not zero-padded).
    - %l - one- or two-digit number giving the hour of the day (12-11) on a 12-hour clock,
      (corresponds %I, but allows space if not zero-padded).
  * `filter.d/exim.conf`: added mode `aggressive` to ban flood resp. DDOS-similar failures (gh-1983);
- New Actions:
  * `action.d/nginx-block-map.conf` - in order to ban not IP-related tickets via nginx (session blacklisting in
     nginx-location with map-file);
  - Enhancements
    * jail.conf: extended with new parameter `mode` for the filters supporting it (gh-1988);
    * action.d/pf.conf: extended with bulk-unban, command `actionflush` in order to flush all bans at once.
    * Introduced new parameters for logging within fail2ban-server (gh-1980).
      Usage `logtarget = target[facility=..., datetime=on|off, format="..."]`:
      - `facility` - specify syslog facility (default `daemon`, see https://docs.python.org/2/library/logging.handlers.html#sysloghandler
        for the list of facilities);
      - `datetime` - add date-time to the message (default on, ignored if `format` specified);
      - `format` - specify own format how it will be logged, for example for short-log into STDOUT:
        `fail2ban-server -f --logtarget 'stdout[format="%(relativeCreated)5d | %(message)s"]' start`;
    * Automatically recover or recreate corrupt persistent database (e. g. if failed to open with 
     'database disk image is malformed'). Fail2ban will create a backup, try to repair the database,
      if repair fails - recreate new database (gh-1465, gh-2004).

OBS-URL: https://build.opensuse.org/request/show/578362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=52
2018-02-21 13:11:41 +00:00
Johannes Weberhofer
68abb5fa88 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=88 2018-02-20 13:50:34 +00:00
Johannes Weberhofer
552f213926 Accepting request 578297 from home:weberho:branches:security
- Updated to version 0.10.2. Changelog:
  https://github.com/fail2ban/fail2ban/blob/0.10.2/ChangeLog
- rebased patch

OBS-URL: https://build.opensuse.org/request/show/578297
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=87
2018-02-20 09:42:27 +00:00
Dominique Leuenberger
23a18af0bf Accepting request 544894 from security
OBS-URL: https://build.opensuse.org/request/show/544894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=51
2017-11-24 09:55:37 +00:00
Johannes Weberhofer
fe795d997c Accepting request 544725 from home:RBrownSUSE:branches:security
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544725
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=85
2017-11-23 15:46:03 +00:00
Dominique Leuenberger
34326b1e39 Accepting request 537301 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/537301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=50
2017-10-29 19:24:39 +00:00
Johannes Weberhofer
346c68ba29 Accepting request 536273 from home:weberho:branches:security
- Updated to version 0.10.1. Changelog:
  https://github.com/fail2ban/fail2ban/blob/0.10/ChangeLog
- Removed 607568f.patch and 1783.patch
- New features: 
  * IPv6 support
    - IP addresses are now handled as objects rather than strings capable for 
      handling both address types IPv4 and IPv6
    - iptables related actions have been amended to support IPv6 specific actions
      additionally
    - hostsdeny and route actions have been tested to be aware of v4 and v6 already
    - pf action for *BSD systems has been improved and supports now also v4 and v6
    - name resolution is now working for either address type
    - new conditional section functionality used in config resp. includes:
      - [Init?family=inet4] - IPv4 qualified hosts only
      - [Init?family=inet6] - IPv6 qualified hosts only
  * Reporting via abuseipdb.com
    - Bans can now be reported to abuseipdb
    - Catagories must be set in the config
    - Relevant log lines included in report
  * Several commands extended and new commands introduced
  * Implemented execution of `actionstart` on demand
  * nftables actions are IPv6-capable now
  * Introduced new filter option `prefregex` for pre-filtering using single regular expression
  * Many times faster because of several optimizations
  * Several filters optimized
  * Introduced new jail option "ignoreself"
- Lots of fixes and internal improvements
- Incompatibitilities:
  * Filter (or `failregex`) internal capture-groups:
  - If you've your own `failregex` or custom filters using conditional match `(?P=host)`, you should
    rewrite the regex like in example below resp. using `(?:(?P=ip4)|(?P=ip6)` instead of `(?P=host)`
    (or `(?:(?P=ip4)|(?P=ip6)|(?P=dns))` corresponding your `usedns` and `raw` settings).
    Of course you can always your own capture-group (like below `_cond_ip_`) to do this.
    ```
    testln="1500000000 failure from 192.0.2.1: bad host 192.0.2.1"
    fail2ban-regex "$testln" "^\s*failure from (?P<_cond_ip_><HOST>): bad host (?P=_cond_ip_)$"
    ```
  - New internal groups (currently reserved for internal usage):
    `ip4`, `ip6`, `dns`, `fid`, `fport`, additionally `user` and another captures in lower case if
    mapping from tag `<F-*>` used in failregex (e. g. `user` by `<F-USER>`).
  * v.0.10 uses more precise date template handling, that can be theoretically incompatible to some
  user configurations resp. `datepattern`.
  * Since v0.10 fail2ban supports the matching of the IPv6 addresses, but not all ban actions are
  IPv6-capable now.

OBS-URL: https://build.opensuse.org/request/show/536273
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=83
2017-10-24 10:04:00 +00:00
Dominique Leuenberger
a7deeb333c Accepting request 506342 from security
1

OBS-URL: https://build.opensuse.org/request/show/506342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=49
2017-06-27 08:21:50 +00:00
Johannes Weberhofer
7b7f0beacb Accepting request 506341 from home:weberho:branches:security
- added 1783.patch from upstream: "Updated roundcube authentication filter"
- use tmpfiles_create macro

OBS-URL: https://build.opensuse.org/request/show/506341
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=81
2017-06-27 04:04:17 +00:00
Dominique Leuenberger
e8fc4a600a Accepting request 495374 from security
1

OBS-URL: https://build.opensuse.org/request/show/495374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=48
2017-05-17 08:54:57 +00:00
Johannes Weberhofer
2109aac4ea Accepting request 495373 from home:weberho:branches:security
- Update to 0.9.7
- fixes for bnc#1036928

OBS-URL: https://build.opensuse.org/request/show/495373
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=79
2017-05-16 14:44:12 +00:00
Dominique Leuenberger
7c32fa4bdb Accepting request 478640 from security
1

OBS-URL: https://build.opensuse.org/request/show/478640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=47
2017-03-12 19:05:25 +00:00
Johannes Weberhofer
7b81f19e35 Accepting request 478626 from home:Aikhjarto:branches:security
Recently all nagios-plugin-* packages have been renamed to the more general monitoring-plugin-*.
This submit request does this transition for fail2ban and includes Provides/Obsoletes for backwards compatibily its old name.

OBS-URL: https://build.opensuse.org/request/show/478626
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=77
2017-03-11 09:49:32 +00:00
Dominique Leuenberger
873cbbfa82 Accepting request 453007 from security
1

OBS-URL: https://build.opensuse.org/request/show/453007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=46
2017-01-31 11:42:01 +00:00
Johannes Weberhofer
499398214d Accepting request 452855 from home:computersalat:devel:security
update to 0.9.6

OBS-URL: https://build.opensuse.org/request/show/452855
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=75
2017-01-27 17:09:05 +00:00
Dominique Leuenberger
fff3d95b42 Accepting request 415433 from security
1

OBS-URL: https://build.opensuse.org/request/show/415433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=45
2016-07-28 21:47:34 +00:00
Johannes Weberhofer
ef72158bf2 Accepting request 415421 from home:weberho:branches:security
Update to version 0.9.5

OBS-URL: https://build.opensuse.org/request/show/415421
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=73
2016-07-27 18:00:37 +00:00
Dominique Leuenberger
7bc1f847c3 Accepting request 378462 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/378462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=44
2016-03-26 14:27:23 +00:00
Dominique Leuenberger
4d405b4e35 Accepting request 369615 from security
1

OBS-URL: https://build.opensuse.org/request/show/369615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=43
2016-03-16 09:35:11 +00:00
Johannes Weberhofer
9ffc83a177 Mark /etc/fail2ban/fail2ban.conf as noreplace.
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=70
2016-03-10 14:10:34 +00:00
Johannes Weberhofer
7ac30d5336 Accepting request 369600 from home:weberho:branches:security
- Update to version 0.9.4
- Defined services which per default uses systemd logger
- The update to this versions allow to close boo#917818, as the logger-backends for several services are now centrally set in /etc/fail2ban/paths-opensuse.conf

OBS-URL: https://build.opensuse.org/request/show/369600
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=69
2016-03-10 12:14:45 +00:00
Dominique Leuenberger
30699dddae Accepting request 358896 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/358896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=42
2016-02-17 09:24:34 +00:00
Johannes Weberhofer
db67cbee5d - Require python-systemd for openSUSE 12.3+
- Cleaned up the spec file
- Added /run/fail2ban for openSUSE 13.2+
- Don't fail on test-errors

OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=67
2016-02-04 15:51:02 +00:00
Stephan Kulow
ca370fae5a Accepting request 333139 from security
1

OBS-URL: https://build.opensuse.org/request/show/333139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=41
2015-09-24 04:16:01 +00:00
Johannes Weberhofer
c876389bbe Accepting request 333138 from home:weberho:branches:security
- Added fail2ban-upstream-fix-ExecuteTimeoutWithNastyChildren-test.patch
  to fix the former failing test and removed
  fail2ban-exclude-ExecuteTimeoutWithNastyChildren-test.patch
- Do not longer create test-package. Developers should not use the packaged
  version of fail2ban.

OBS-URL: https://build.opensuse.org/request/show/333138
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=65
2015-09-23 10:21:57 +00:00
Dominique Leuenberger
fbd912c6a2 Accepting request 329472 from security
1

OBS-URL: https://build.opensuse.org/request/show/329472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=40
2015-09-08 15:44:47 +00:00
Johannes Weberhofer
de2609fc73 Accepting request 329471 from home:weberho:branches:security
patches are no longer included conditionally

OBS-URL: https://build.opensuse.org/request/show/329471
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=63
2015-09-07 09:49:02 +00:00
Johannes Weberhofer
abaf2faf24 Accepting request 329445 from home:weberho:branches:security
Update to 0.9.3

OBS-URL: https://build.opensuse.org/request/show/329445
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=62
2015-09-07 08:44:02 +00:00
Dominique Leuenberger
2f86815bf5 Accepting request 314806 from security
1

OBS-URL: https://build.opensuse.org/request/show/314806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=39
2015-07-02 20:51:05 +00:00
Johannes Weberhofer
352f50543f Accepting request 314805 from home:weberho:branches:security
Updated changelog to allow build in factory

OBS-URL: https://build.opensuse.org/request/show/314805
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=60
2015-07-02 06:44:14 +00:00
Johannes Weberhofer
1b961970e4 Accepting request 314731 from home:weberho:branches:security
Major update to version 0.9.2

OBS-URL: https://build.opensuse.org/request/show/314731
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=59
2015-07-01 19:56:17 +00:00
Dominique Leuenberger
d638e55b46 Accepting request 296083 from security
1

OBS-URL: https://build.opensuse.org/request/show/296083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=38
2015-04-15 14:24:13 +00:00
Johannes Weberhofer
4f21385d62 Accepting request 296076 from home:pluskalm:branches:security
- Add missing dependency on ed (boo#926943)

OBS-URL: https://build.opensuse.org/request/show/296076
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=57
2015-04-14 08:03:38 +00:00
Dominique Leuenberger
1fca029359 Accepting request 283868 from security
1

OBS-URL: https://build.opensuse.org/request/show/283868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=37
2015-02-04 08:31:49 +00:00
Johannes Weberhofer
136706961e Accepting request 283866 from home:weberho:branches:security
Noted patch-name in changelog

OBS-URL: https://build.opensuse.org/request/show/283866
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=55
2015-02-03 12:15:48 +00:00
Johannes Weberhofer
ecab052fcb Accepting request 282526 from home:weberho:branches:security
Fixed strptime thread safety issue; bnc#914075 gh#fail2ban/fail2ban#906

OBS-URL: https://build.opensuse.org/request/show/282526
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=54
2015-01-23 10:27:14 +00:00
Dominique Leuenberger
3c0779a775 Accepting request 262999 from security
1

OBS-URL: https://build.opensuse.org/request/show/262999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=36
2014-11-26 09:34:00 +00:00
Johannes Weberhofer
cdb1df21c3 Accepting request 262998 from home:weberho:branches:security
Added syslog to requirements, as this version of fail2ban does not work with systemd-logging: bnc#905733

OBS-URL: https://build.opensuse.org/request/show/262998
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=52
2014-11-25 14:53:42 +00:00
Dominique Leuenberger
4ca0dcc781 Accepting request 262031 from security
1

OBS-URL: https://build.opensuse.org/request/show/262031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=35
2014-11-24 10:08:12 +00:00
Johannes Weberhofer
d934d4f3e0 Accepting request 262008 from home:jengelh:branches:security
- Recommend installation of the ordering package when all
  constituing parts are installed

OBS-URL: https://build.opensuse.org/request/show/262008
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=50
2014-11-17 11:33:06 +00:00
Stephan Kulow
2edba31972 Accepting request 245652 from security
1

OBS-URL: https://build.opensuse.org/request/show/245652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=33
2014-08-25 09:03:47 +00:00
Johannes Weberhofer
baf2add4d9 Accepting request 245651 from home:weberho:branches:security
- Fixed check for %_unitdir to make fail2ban build under older systems, too.
- Changed /usr to %{_prefix} in the spec file

OBS-URL: https://build.opensuse.org/request/show/245651
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=48
2014-08-21 16:58:13 +00:00
Johannes Weberhofer
6be289add4 Accepting request 245601 from home:weberho:BACKPORTS:webserver
Updated patch information in the .changes and the spec file

OBS-URL: https://build.opensuse.org/request/show/245601
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=47
2014-08-21 13:18:17 +00:00
Lars Vogdt
3030fbe27f - update to 0.8.13:
+ Fixes:
  - action firewallcmd-ipset had non-working actioncheck. Removed.
    redhat bug #1046816.
  - filter pureftpd - added _daemon which got removed. Added
  + New Features:
  - filter nagios - detects unauthorized access to the nrpe daemon (Ivo Truxa)
  - filter sendmail-{auth,reject} (jserrachinha and cepheid666 and fab23).
  + Enhancements:
  - filter asterisk now supports syslog format
  - filter pureftpd - added all translations of "Authentication failed for
    user"
  - filter dovecot - lip= was optional and extended TLS errors can occur.
    Thanks Noel Butler.
- removed fix-for-upstream-firewallcmd-ipset.conf.patch : fixed 
  upstream
- split out nagios-plugins-fail2ban package

OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=46
2014-06-25 15:39:26 +00:00
Stephan Kulow
210a71f8fb Accepting request 231797 from security
- Add a new subpackage to install systemd drop-ins that couple SuSEfirewall2 and fail2ban. (forwarded request 230864 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/231797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=32
2014-05-02 11:55:17 +00:00
833b3f3a02 Accepting request 230864 from home:jengelh:branches:security
- Add a new subpackage to install systemd drop-ins that couple SuSEfirewall2 and fail2ban.

OBS-URL: https://build.opensuse.org/request/show/230864
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=44
2014-04-28 09:16:08 +00:00
Stephan Kulow
b17e75956e Accepting request 215524 from security
Security note: The update to version 0.8.11 has fixed two additional security
issues: A remote unauthenticated attacker may cause arbitrary IP addresses to
be blocked by Fail2ban causing legitimate users to be blocked from accessing
services protected by Fail2ban. CVE-2013-7177 (cyrus-imap) and CVE-2013-7176
(postfix) (forwarded request 215523 from weberho)

OBS-URL: https://build.opensuse.org/request/show/215524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=31
2014-01-30 13:54:36 +00:00
Johannes Weberhofer
0b23663b01 Accepting request 215523 from home:weberho:branches:security
Security note: The update to version 0.8.11 has fixed two additional security
issues: A remote unauthenticated attacker may cause arbitrary IP addresses to
be blocked by Fail2ban causing legitimate users to be blocked from accessing
services protected by Fail2ban. CVE-2013-7177 (cyrus-imap) and CVE-2013-7176
(postfix)

OBS-URL: https://build.opensuse.org/request/show/215523
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=42
2014-01-29 13:58:23 +00:00
Johannes Weberhofer
0156e67ee6 Accepting request 214983 from home:weberho:branches:security
- action firewallcmd-ipset had non-working actioncheck. Removed. rh#1046816

- lsof was required for fail2ban's SysVinit scripts only. Not longer used for newer versions of openSUSE

OBS-URL: https://build.opensuse.org/request/show/214983
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=41
2014-01-23 21:59:39 +00:00
Johannes Weberhofer
1c64f0f9db Accepting request 214757 from home:weberho:branches:security
- Reviewed and fixed one github references in the changelog following http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_set_of_abbreviations
- Use new flushlogs syntax after logrotate

OBS-URL: https://build.opensuse.org/request/show/214757
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=40
2014-01-23 08:49:19 +00:00
Johannes Weberhofer
a3b7f0e995 Accepting request 214671 from home:weberho:branches:security
Update to version 0.8.12

OBS-URL: https://build.opensuse.org/request/show/214671
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=39
2014-01-22 09:26:34 +00:00
Tomáš Chvátal
21d5b13653 Accepting request 207467 from security
Update to version 0.8.11 (forwarded request 207466 from weberho)

OBS-URL: https://build.opensuse.org/request/show/207467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=30
2013-11-19 09:45:03 +00:00
Johannes Weberhofer
28eccb4d5e Accepting request 207466 from home:weberho:branches:security
Update to version 0.8.11

OBS-URL: https://build.opensuse.org/request/show/207466
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=37
2013-11-18 13:43:25 +00:00
Stephan Kulow
7831ea0a7a Accepting request 200162 from security
I've added a systemd service file for openSUSE >= 12.3.

Previous systemd based versions would require an additional variant of the service file, because SuSEfirewall2.service (which is an ordering dependency) used to be named SuSEfirewall2_setup.service in these versions. I don't think it would be worth the trouble of adding yet another switch, but I can of course do so if desired. (forwarded request 199913 from marc_schuetz)

OBS-URL: https://build.opensuse.org/request/show/200162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=29
2013-09-23 14:04:07 +00:00
Johannes Weberhofer
afdd4dcfb1 Accepting request 199913 from home:marc_schuetz:branches:security
I've added a systemd service file for openSUSE >= 12.3.

Previous systemd based versions would require an additional variant of the service file, because SuSEfirewall2.service (which is an ordering dependency) used to be named SuSEfirewall2_setup.service in these versions. I don't think it would be worth the trouble of adding yet another switch, but I can of course do so if desired.

OBS-URL: https://build.opensuse.org/request/show/199913
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=35
2013-09-23 09:42:53 +00:00
Stephan Kulow
4b07b21ccb Accepting request 178858 from security
Update to version 0.8.10
Addresses a possible DoS. Closes gh-248, bnc#824710 (forwarded request 178857 from weberho)

OBS-URL: https://build.opensuse.org/request/show/178858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=27
2013-06-14 13:44:35 +00:00
Johannes Weberhofer
aee1bb5a3a Accepting request 178857 from home:weberho:branches:security
Update to version 0.8.10
Addresses a possible DoS. Closes gh-248, bnc#824710

OBS-URL: https://build.opensuse.org/request/show/178857
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=33
2013-06-13 09:13:27 +00:00
Stephan Kulow
2cae8b2fa6 Accepting request 176914 from security
Included logrotate configuration for fail2ban (forwarded request 176913 from weberho)

OBS-URL: https://build.opensuse.org/request/show/176914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=26
2013-06-05 11:27:58 +00:00
Johannes Weberhofer
50e6c9be87 Accepting request 176913 from home:weberho:branches:security
Included logrotate configuration for fail2ban

OBS-URL: https://build.opensuse.org/request/show/176913
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=31
2013-05-29 07:26:03 +00:00
Stephan Kulow
5262382cdf Accepting request 175693 from security
* Upgrade to version 0.8.9

* Init-Script does no longer require $syslog to be started as file-base logging is the default. Synced with Debian script. (forwarded request 175692 from weberho)

OBS-URL: https://build.opensuse.org/request/show/175693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=25
2013-05-16 08:12:09 +00:00
Johannes Weberhofer
e9789d8f70 Accepting request 175692 from home:weberho:branches:security
* Upgrade to version 0.8.9

* Init-Script does no longer require $syslog to be started as file-base logging is the default. Synced with Debian script.

OBS-URL: https://build.opensuse.org/request/show/175692
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=29
2013-05-15 07:27:16 +00:00
Ismail Dönmez
da9449ced7 Accepting request 144434 from security
Upgraded to version 0.8.8 (forwarded request 144432 from weberho)

OBS-URL: https://build.opensuse.org/request/show/144434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=23
2012-12-07 13:08:25 +00:00
Johannes Weberhofer
3394de9dad Accepting request 144432 from home:weberho:branches:security
Upgraded to version 0.8.8

OBS-URL: https://build.opensuse.org/request/show/144432
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=27
2012-12-06 16:46:44 +00:00
Ismail Dönmez
966e68f416 Accepting request 144032 from security
Fixed initscript as discussed in bnc#790557

OBS-URL: https://build.opensuse.org/request/show/144032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=22
2012-12-05 12:50:58 +00:00
Johannes Weberhofer
f7cf149e29 Accepting request 144021 from home:weberho:branches:security
Fixed initscript as discussed in bnc#790557

OBS-URL: https://build.opensuse.org/request/show/144021
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=25
2012-12-04 09:00:14 +00:00
Stephan Kulow
1a0e4b00d2 Accepting request 136835 from security
- use Source URL pointing to github

- Do not longer replace main config-files
- Use variables for directories in spec file

- Added dependencies to python-pyinotifyi, python-gamin and iptables

- Upgraded to version 0.8.7.1
- Yaroslav Halchenko
  * [e9762f3] Removed sneaked in comment on sys.path.insert
    Tom Hendrikx & Jeremy Olexa
  * [0eaa4c2,444e4ac] Fix Gentoo init script: $opts variable is deprecated.
    See http://forums.gentoo.org/viewtopic-t-899018.html
- Chris Reffett
  * [a018a26] Fixed addBannedIP to add enough failures to trigger a ban,
    rather than just one failure.
- Yaroslav Halchenko
  * [4c76fb3] allow trailing white-spaces in lighttpd-auth.conf
  * [25f1e8d] allow trailing whitespace in few missing it regexes for sshd.conf
  * [ed16ecc] enforce "ip" field returned as str, not unicode so that log
    message stays non-unicode. Close gh-32
  * [b257be4] added %m-%d-%Y pattern + do not add %Y for Feb 29 fix if
    already present in the pattern
  * [47e956b] replace "|" with "_" in ipmasq-ZZZzzz|fail2ban.rul to be
    friend to developers stuck with Windows (Closes gh-66)
  * [80b191c] anchor grep regexp in actioncheck to not match partial names
    of the jails (Closes: #672228) (Thanks Szépe Viktor for the report)
- New features:
- François Boulogne
  * [a7cb20e..] add lighttpd-auth filter/jail

OBS-URL: https://build.opensuse.org/request/show/136835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=21
2012-10-04 17:38:50 +00:00
e782a939d9 - use Source URL pointing to github
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=23
2012-10-03 09:53:53 +00:00
71dcd18bd4 use source url
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=22
2012-10-03 09:53:38 +00:00
d6f97817b2 Accepting request 136597 from home:weberho:UNSTABLE:tools
* Update to version 0.8.7.1
* Added dependencies to python-pyinotifyi, python-gamin and iptables
* Do not longer replace main config-files
* Use variables for directories in spec file

You might add me as maintainer

OBS-URL: https://build.opensuse.org/request/show/136597
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=21
2012-10-03 09:45:50 +00:00
Stephan Kulow
8f68ff30f3 Accepting request 130285 from security
this fixes the start and restart problems (a start restart fail) if fail2ban was not stopped nice and if the sock and pid file were not removed. (forwarded request 129475 from asemen)

OBS-URL: https://build.opensuse.org/request/show/130285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=20
2012-08-07 19:51:37 +00:00
5f47f96283 Accepting request 129475 from home:asemen:branches:security
this fixes the start and restart problems (a start restart fail) if fail2ban was not stopped nice and if the sock and pid file were not removed.

OBS-URL: https://build.opensuse.org/request/show/129475
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=19
2012-08-07 07:33:36 +00:00
Stephan Kulow
132bbd3013 Accepting request 123393 from security
Upgraded to latest version; seems to work :-) (forwarded request 123375 from weberho)

OBS-URL: https://build.opensuse.org/request/show/123393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=18
2012-06-05 13:30:18 +00:00
Dr. Werner Fink
5f8ef27b27 Accepting request 123375 from home:weberho:server
Upgraded to latest version; seems to work :-)

OBS-URL: https://build.opensuse.org/request/show/123375
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=17
2012-06-03 17:51:16 +00:00
Stephan Kulow
d57430d256 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=17
2011-12-06 17:09:01 +00:00
OBS User buildservice-autocommit
f9ea70d96c Updating link to change in openSUSE:Factory/fail2ban revision 17.0
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=e9eadfbefba9da45ea069bf928ed245c
2011-12-06 17:09:01 +00:00
Stephan Kulow
1137e6ec2a Accepting request 93348 from security
Update to version 0.8.5. Fix bnc#537239 and bnc#730044. (forwarded request 92454 from leonardocf)

OBS-URL: https://build.opensuse.org/request/show/93348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=16
2011-11-24 11:35:58 +00:00
Pavol Rusnak
94105fc43a Accepting request 92454 from home:leonardocf:branches:security
Update to version 0.8.5. Fix bnc#537239 and bnc#730044.

OBS-URL: https://build.opensuse.org/request/show/92454
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=15
2011-11-23 16:46:37 +00:00
Sascha Peilicke
af14c90ca5 Accepting request 84234 from security
- Apply packaging guidelines (remove redundant/obsolete
  tags/sections from specfile, etc.) (forwarded request 83496 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/84234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=14
2011-09-22 08:43:57 +00:00
134faee190 Accepting request 83496 from home:jengelh:bl-f
- Apply packaging guidelines (remove redundant/obsolete
  tags/sections from specfile, etc.)

OBS-URL: https://build.opensuse.org/request/show/83496
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=13
2011-09-21 15:41:41 +00:00
Sascha Peilicke
468576c430 Autobuild autoformatter for 80518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=13
2011-09-01 14:59:53 +00:00
OBS User buildservice-autocommit
0c880a956c Updating link to change in openSUSE:Factory/fail2ban revision 13.0
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=9bbf89f0ec9b6589c57333c9931f8051
2011-09-01 14:59:53 +00:00
Sascha Peilicke
6797483b3f Accepting request 80518 from security
- Use /var/run/fail2ban instead of /tmp for temp files in 
  actions: see bugs.debian.org/544232, bnc#690853,
  CVE-2009-5023

OBS-URL: https://build.opensuse.org/request/show/80518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=12
2011-09-01 14:59:41 +00:00
Stephan Kulow
f2a704eb1b - Use /var/run/fail2ban instead of /tmp for temp files in
actions: see bugs.debian.org/544232, bnc#690853,
  CVE-2009-5023

OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=11
2011-09-01 14:09:21 +00:00
Berthold Gunreben
08aa273139 Autobuild autoformatter for 57352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=10
2011-01-10 13:39:07 +00:00
Berthold Gunreben
114c380fed Accepting request 57352 from security
Accepted submit request 57352 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/57352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=9
2011-01-10 13:38:58 +00:00
Pavol Rusnak
c313144d04 Accepting request 57266 from home:leonardocf:branches:security
OBS-URL: https://build.opensuse.org/request/show/57266
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=9
2011-01-07 13:28:41 +00:00
OBS User autobuild
389d5cd01c Accepting request 44089 from security
Copy from security/fail2ban based on submit request 44089 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/44089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=8
2010-08-02 09:47:24 +00:00
OBS User autobuild
e98ef5911e Accepting request 39531 from security
Copy from security/fail2ban based on submit request 39531 from user coolo

OBS-URL: https://build.opensuse.org/request/show/39531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=5
2010-05-07 14:09:42 +00:00
OBS User autobuild
6140cbddc2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=4 2010-03-18 14:45:11 +00:00
OBS User autobuild
ac48672721 Accepting request 29110 from security
Copy from security/fail2ban based on submit request 29110 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/29110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=3
2010-01-12 14:46:47 +00:00
OBS User unknown
92c75f7af0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=1 2009-02-11 03:32:18 +00:00
2 changed files with 0 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae8b0b41f27a7be12d40488789d6c258029b23a01168e3c0d347ee80b325ac23
size 583295

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEhzhVnib2cd+eLG2eaDvxvr0KiCwFAmNr0KgACgkQaDvxvr0K
iCyG4Af/eP5ZQvTiGjo/f1oOuBH8wOo7ARlFOcQIbdhXy10vk3bqDjYHVWzXh12Q
EdfyJVMXFI3XnDQkdXulOjnhX6YK3qYruudl0oDE7jyIWbHETFUpY7y00uxjTD+A
aBk4XqBym67BtBR/5dfnhXOBYZ9EXcbopvEQXq1Lm4jRSurSQCiVpMY44psW60Rb
dt1fdIg/GTjhsYNWO2L6DCObV1qdJcdk8Zw7rvk9aHe7iZ+PZW7htG8erTzzV9LV
Lq6Bcwz6tEFInTvDBZXIhBimYrquWp97qwEC3d1cNbv9pjN69czgLtRaq5EiVu4R
e8+y9LLToHFjKeji436S6985hBQnEA==
=jGOy
-----END PGP SIGNATURE-----