Commit Graph

5914 Commits (c80908837fe2fae5821a53bef82988586dbef2dd)

Author SHA1 Message Date
sebres 5e74499ffd provides details of failed regex compilation in the error message we throw in Regex-constructor (it's good to know what exactly is wrong) 2022-09-08 16:04:46 +02:00
sebres d6896eb26d New logtarget: systemd-journal;
rebased #1403 from da2x:feature-systemd-journal
2022-08-29 12:30:05 +02:00
sebres a08b925468 Merge branch '0.11' 2022-08-17 16:59:02 +02:00
sebres 467024797f Merge branch '0.10' into 0.11 2022-08-17 16:56:10 +02:00
sebres 35eb9acaee Merge branch 'test-gh-3334' into 0.10 - speedup daemonization process by huge open files limit
Closes #3334
2022-08-17 16:51:36 +02:00
sebres 476136281c Revert "check large nofile limit issue (#3334)" (back to original open files limit)
This reverts commit 24b1dea197.
2022-08-17 16:04:10 +02:00
sebres 38026e5963 code review (replace deprecated setter, since python 3.10) 2022-08-17 16:01:04 +02:00
sebres 535a982dcc fixes #3334: speedup daemonization process by huge open files limit (try to close open file descriptors obtained from `/proc/self/fd` or `/proc/fd`) 2022-08-17 15:07:30 +02:00
Sergey G. Brester 24b1dea197 check large nofile limit issue (#3334) 2022-08-17 13:10:02 +02:00
Sergey G. Brester 92d5455bdd
Merge pull request #3330 from tomers/reverse-in-a-single-line
Reverse in a single line
2022-08-09 17:23:18 +02:00
Sergey G. Brester aceae84be2
no extra var needed for iterator 2022-08-09 17:21:16 +02:00
Sergey G. Brester e289a1155e
Merge pull request #3269 from Logic-32/feature/cloudflare-token
Adding support for Cloudflare Token API.
2022-08-09 16:56:17 +02:00
Tomer Shalev 0c3951b864 reverse in a single line 2022-08-07 08:58:00 +03:00
Sergey G. Brester bcac47d549
Merge pull request #3324 from fail2ban/patch-sendmail-no-user-part
filter.d/sendmail-auth.conf: detect failures without user part
2022-08-01 09:40:12 +02:00
Sergey G. Brester 514cca9ade
filter.d/sendmail-auth.conf: detect failures without user part 2022-08-01 09:20:28 +02:00
Sergey G. Brester 3a8ab0c70a
sendmail-auth: coverage for auth-failure without user part
https://github.com/fail2ban/fail2ban/issues/2757#issuecomment-1199948639
2022-08-01 09:17:53 +02:00
sebres 3c22ae161c Merge branch '0.11' 2022-06-21 17:17:19 +02:00
sebres c6cfd761bb Merge remote-tracking branch 'remotes/gh-upstream/0.10' into 0.11 2022-06-21 17:16:03 +02:00
Sergey G. Brester 7ba8f437f1
Merge pull request #3267 from fail2ban/py-3.11-a7
support python 3.11 version
2022-06-21 17:14:26 +02:00
sebres 5d9d86e2f4 GHA: update python 3.11 version (3.11.0-beta.3) 2022-06-21 17:10:48 +02:00
sebres 15f5c36a17 skip test if readline module missing (add it as optional module installs in GHA workflow) 2022-06-21 17:05:39 +02:00
sebres 4337e36616 wrap global flags like ((?i)xxx) or (?:(?i)xxx) to local flags (?i:xxx) if supported by RE-engine in the python version 2022-06-21 16:56:57 +02:00
sebres 7e2ab36d86 move global groups to start of expression (python 3.11 compat) 2022-06-21 16:55:57 +02:00
Sergey G. Brester 500895dcfa GHA: update python 3.11 version 2022-06-21 15:34:58 +02:00
Sergey G. Brester a2264dcef0
Merge pull request #2636 from brianjmurrell/patch-2
FreeIPA renames named to named-pkcs11
2022-06-21 14:19:16 +02:00
Sergey G. Brester 3e9321e71b
non-capturing group and any variant of suffix 2022-06-21 14:15:38 +02:00
Sergey G. Brester a7ade07bf4
fixes typo (copy&paste) by logging of flush impossibility at consistency check, #3306 2022-06-19 23:06:42 +02:00
Sergey G. Brester 72a32d5c18
Merge pull request #3304 from koratfood/patch-1
Fix typo in fail2ban-client manpage
2022-06-13 12:23:50 +02:00
koratfood e3d8b041a2
Fix typo in fail2ban-client manpage
Fix minor typographical error.
2022-06-10 09:52:00 +02:00
sebres 9272cce13d Merge branch '0.11' 2022-06-02 21:06:12 +02:00
sebres a69d42cea5 Merge branch '0.10' into 0.11 2022-06-02 21:04:43 +02:00
sebres 5aeb49a620 systemd backend: fixes missing space in message (tag `<matches>`) between timestamp and host if the message read from systemd journal;
closes gh-3293
2022-06-02 21:01:44 +02:00
Sergey G. Brester fbfc85d8c0
common.conf: fixed typo in comment (rfc5424 for logtype)
no functional changes; closes #3274
2022-05-12 18:09:09 +02:00
Logic-32 d11ad3b90f Adding jail name to notes to disambiguate between jails. 2022-05-07 20:52:39 -06:00
Logic-32 e89b2c0ff7 Moving inet6 family block to the end so other config doesn't get added to it. 2022-05-07 20:41:33 -06:00
Logic-32 7e7b9f4a35 Adding support for Cloudflare Token API.
Closes #3080
2022-04-27 14:19:18 -06:00
sebres f81f85569d Merge branch '0.11' 2022-03-03 15:18:11 +01:00
sebres 8c4d02403b Merge branch '0.10' into 0.11 2022-03-03 15:15:43 +01:00
sebres e2d50f38a6 amend to #2279: ensure that `<F-MLFGAINED>` match would reset all pending multi-line failures 2022-03-03 15:04:34 +01:00
sebres 7eac4ac06f fail2ban-regex: accepts filter parameters with new-line 2022-03-03 14:46:16 +01:00
sebres 3a9f5c0b5d Revert "highlighting got broken, so comment out unless GH/linguist gets fixed"
This reverts commit 1e5d5a446a.
2022-02-22 18:19:44 +01:00
Sergey G. Brester 03bcfa24ca
Merge pull request #3230 from szepeviktor/patch-9
Render Changelog as Markdown
2022-02-22 12:04:05 +01:00
Viktor Szépe 45e08cc07f
Render Changelog as Markdown 2022-02-21 18:29:04 +00:00
Sergey G. Brester 8e62c8a569
syntax 2022-02-21 17:02:24 +01:00
Sergey G. Brester 1e5d5a446a
highlighting got broken, so comment out unless GH/linguist gets fixed
revert #3126
2022-02-21 16:59:38 +01:00
sebres bc075ea682 Merge branch 'differentiate-ip-fid--gh-3217' 2022-02-18 20:22:28 +01:00
sebres b903059419 ChangeLog for RFE gh-3217 (with compat warning) 2022-02-18 20:19:43 +01:00
sebres 8eb521694e fulfill getIP with getID replacement; added simple tests for ticket 2022-02-11 21:25:31 +01:00
sebres cf2695a253 more test cases (coverage for fail2ban-regex on constellations with different IP/ID) 2022-02-11 21:13:30 +01:00
sebres c6e93db278 filter reader stream: don't need to generate None values from filter config 2022-02-11 21:12:59 +01:00