Commit Graph

5501 Commits (8c4d02403b4768fb1a76372a7a462fc903c2711e)
 

Author SHA1 Message Date
sebres 8c4d02403b Merge branch '0.10' into 0.11
3 years ago
sebres e2d50f38a6 amend to #2279: ensure that `<F-MLFGAINED>` match would reset all pending multi-line failures
3 years ago
sebres 7eac4ac06f fail2ban-regex: accepts filter parameters with new-line
3 years ago
sebres 8ac49b5858 Merge branch '0.10' into 0.11
3 years ago
László Károlyi f380d6202d cherry pick #3210 from master
3 years ago
sebres cdb6a46945 systemd backend: better avoidance of landing in dead space by seeks over journals;
3 years ago
sebres 498e473a10 filter.d/courier-auth.conf: consider optional port after IP, regex is rewritten without catch-all's and right anchor, so it is more stable against further modifications now;
3 years ago
sebres 8013cf0b90 python actions have no attribute 'consistencyCheck' by default;
3 years ago
sebres 810386a265 filter.d/dovecot.conf: parse everything in parenthesis by auth-worker info, e. g. can match (pid=...,uid=...) too
3 years ago
sebres c7ae74ce17 amend to a147a8b0e1b2f32b6f191932afd3c2db9765e2e3: systemd journal test-cases - additional check appropriate default settings (if testing as not root/sudoer)
3 years ago
sebres 35d73d9758 Merge branch '0.10' into 0.11
3 years ago
sebres bf689c27b8 filter.d/sshd.conf: `ddos` mode extended - recognizes messages "kex_exchange_identification: Connection closed / reset by pear" (fixed possible regression of f77398c49d);
3 years ago
sebres 8bf15db688 filter.d/sshd.conf: `ddos` mode extended - recognizes new message "banner exchange: invalid format" generated by port scanner, https payload on ssh port;
3 years ago
Sergey G. Brester ea7bbb4757
Merge pull request #2182 from orlitzky/openrc-improvements
3 years ago
Sergey G. Brester 8f83242c25
suppress unneeded info (moved to debug level)
3 years ago
sebres 3fb02527a4 Merge branch '0.10' into 0.11
3 years ago
sebres 25a61ce632 Merge branch 'gh-actions--test-systemd' into 0.10 + several revisions cherry-picked from 0.11/master
3 years ago
sebres 21d94ff178 amend to fix gh-3098: no option `--disable-2to3` anymore
3 years ago
sebres 196c55e931 fix gh-3098: build fails with error in fail2ban setup command: use_2to3 is invalid (setuptools 58+)
3 years ago
sebres 0fa76ef75a gh-actions: temporary ignore tests of systemd backend for python >= v.3.10 (otherwise it fails with "PY_SSIZE_T_CLEAN macro must be defined for '#' formats")
3 years ago
sebres a147a8b0e1 gh-actions: coverage for systemd backend (to monitor journals in test-suite in GHA-env we need to use 0 as default flags, because otherwise it cannot be found using SYSTEM_ONLY(4))
3 years ago
sebres 1bcb62e31c gh-actions: python releases upgrade + debug/test systemd backend availability in GHA
3 years ago
sebres a57643404c mytime.seconds2str: small amend with speed-up, code simplification and few tests
3 years ago
sebres 4fe4ac8dde amend to merge: replace timedelta string representation with new function seconds2str
3 years ago
sebres 0b3ad780fe Merge branch '0.10' into 0.11
3 years ago
sebres ebf5784b8c Merge branch 'fix-gh-2882' into 0.10
3 years ago
sebres 3b02098817 several backends optimizations (in file and journal filters):
3 years ago
sebres 96661f25ab filtersystemd.py: fixes wrong time point of "in operation" mode
3 years ago
sebres 7678f59827 better format of time delta (using seconds2str); increase stability for systemd test-cases
3 years ago
sebres 4b54a07d71 Revert "`action.d/firewallcmd-*.conf` (multiport only): fixed port range selector, replacing `:` with `-`;"
3 years ago
Sergey G. Brester e74baae666
Merge pull request #3135 from sylvestre/patch-2
3 years ago
Sylvestre Ledru 3245b8018b
Add the Debian path to roundcube error logs
3 years ago
Sergey G. Brester 98c7dd04a4
Merge pull request #3037 from floppym/bug794931
3 years ago
Mike Gilbert d91d949e95 tests: improve detection of readable systemd journal
3 years ago
Sergey G. Brester 8e3a26bdeb
Merge pull request #3117 from fail2ban/gh-3116
3 years ago
Sergey G. Brester ba839af8ad
filter.d/lighttpd-auth.conf: adjusted to the current source code + avoiding catch-all's, etc (gh-3116)
3 years ago
Sergey G. Brester f8f59dd31a
added test cases covering different messages adjusted to new log-format (gh-3116)
3 years ago
Sergey G. Brester 5ee482bc9a
Merge pull request #3053 from db48x/fix-grammar-of-timestamp-warnings
3 years ago
Sergey G. Brester d086317cc8
Update filter.py
3 years ago
Sergey G. Brester 17eed32e03
Update filtertestcase.py
3 years ago
sebres 621d8cae17 restore backwards compatibility for date None
3 years ago
sebres ec043cd202 simplifying logic and shortening messages (delta in minutes; removed clock synchronization, because it is rarely an issue on fail2ban side, e. g. for remote logs only, etc)
3 years ago
Daniel Brooks d7afcde2e1 add a warning message for dates in the future
3 years ago
Daniel Brooks 1929e7a76b include more specific information in the warning
3 years ago
Daniel Brooks 320a3dcdd5 remove old warnings from filtertestcase.py
3 years ago
Daniel Brooks a98cc08b31 Updated the warning messages created when fail2ban sees unexpected timestamps
3 years ago
sebres d6b884f3b7 amend to fix gh-3098: no option `--disable-2to3` anymore
3 years ago
sebres 5ac303df8a fix gh-3098: build fails with error in fail2ban setup command: use_2to3 is invalid (setuptools 58+)
3 years ago
sebres 8d45deca86 Merge branch '0.10' into 0.11
3 years ago
sebres 974ba688d4 Merge branch 'patch-3098' into 0.10
3 years ago