Commit Graph

5710 Commits (a08b9254689c46e0a32537f1f88430d0cb0446f0)
 

Author SHA1 Message Date
Sergey G. Brester 246d0e1100
Merge pull request #3216 from jerrykan/fix_missing_assert
3 years ago
John Kristensen d17e61ed5b Add missing assert in Fail2banRegexTest.testFrmtOutput
3 years ago
sebres 8b11c89ed4 amend to drop support of python 2.6
3 years ago
sebres ff7fe572bf drop support for python 2.6 (hardly possible in modern CIs, new features would expect OrderedDicts, etc)
3 years ago
Sergey G. Brester 5bfd9992b4
Update FUNDING.yml
3 years ago
Sergey G. Brester a98c4218c1
Create FUNDING.yml
3 years ago
sebres a2431158f6 implements new interpolation variable `%(fail2ban_confpath)s` (automatically substituted from config-reader path, default `/etc/fail2ban` or `/usr/local/etc/fail2ban` depending on distribution); `ignorecommands_dir` is unneeded anymore, thus removed from `paths-common.conf`;
3 years ago
sebres 13520a0494 Merge branch '0.11'
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
Sergey G. Brester 6966b7e37d
Merge pull request #3210 from karolyi/patch-1
3 years ago
Sergey G. Brester dfc866ea41
improve RE to solve conflict with expected another open parenthesis
3 years ago
Sergey G. Brester af8a9f7ff9
added test to cover the new log-format
3 years ago
László Károlyi 0f1706d4a1
Adjusting for updated dovecot log format
3 years ago
sebres f4641dfc00 observer API simplification (no failmanager in call of failureFound, jail.filter.failManager is enough)
3 years ago
sebres 06d2623c5e iptables and iptables-ipset actions extended to support multiple protocols with single action for multiport or oneport type (back-ported from nftables action);
3 years ago
sebres ffc9fb4aa6 Merge branch '1.0-breakdown-safe-actions';
3 years ago
sebres b639c8869c make several iptables actions more breakdown-safe: start wouldn't fail if chain or rule already exists (e. g. created by previous instance and doesn't get purged properly);
3 years ago
sebres 3d7e3bc2fb make ipset actions more breakdown-safe: start wouldn't fail if set with this name already exists (e. g. created by previous instance and don't deleted properly)
3 years ago
sebres 7db1c97a3e Merge remote-tracking branch 'remotes/sebres/1.0-breakdown-safe-actions' with master;
3 years ago
sebres 970573d1cb Merge branch '0.11'
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 095aeda840 Merge branch '0.11'
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 80805cabfc Merge branch '0.11'
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
Sergey G. Brester cb042dda7d
Merge pull request #3133 from sylvestre/master
3 years ago