sebres
fd3805b40a
changelog: backend `systemd`: code review and several fixes
2022-11-08 19:26:23 +01:00
sebres
cd17906afe
Merge branch '0.11'
2022-11-08 19:03:01 +01:00
sebres
d8e2b03a24
`filter.d/named-refused.conf` extended (closes gh-3388):
...
- support BIND named log categories
- allow `info:` as possible error prefix too ("query (cache) denied" may occur as info)
2022-11-03 11:41:21 +01:00
sebres
6d19d2e800
Merge branch '0.10' into 0.11
2022-11-02 21:06:46 +01:00
sebres
04c252c34b
filtersystemd: code review, wait only if it is necessary - in operational mode and if no more entries retrieved (end of journal);
...
attempt to fix gh-3396 - ensure we give enough time after journal.wait returns with INVALIDATE (due to rotation, vacuuming or journal files added/removed etc) and move cursor back and forth to avoid entering dead space
2022-11-02 21:05:18 +01:00
sebres
ca2b94c522
fixes gh-3370: resolve extremely long search by repeated apply of non-greedy RE `(?:: (?:[^\(]+|\w+\([^\)]*\))+)?` with following branches (it may be extremely slow up to infinite search depending on message); added new regression tests
...
amend to gh-3210: fixes regression and matches new format in aggressive mode too
2022-10-04 14:10:45 +02:00
sebres
fc7dbcc6a7
test-suite: avoid mistaken match that confuses output with working on line message by deep debugging of test (e. g. with `-l 4`)
2022-09-28 15:37:52 +02:00
sebres
f8fcaf943b
version bump
2022-09-27 22:57:50 +02:00
sebres
677da51562
release 1.0.1 -- energy-equals-mass-times-the-speed-of-light-squared
2022-09-27 18:27:51 +02:00
sebres
bd94b7a47d
make up leeway of ChangeLog (prepare release of 1.0)
2022-09-23 21:52:14 +02:00
sebres
2df58c5281
close fork
2022-09-16 19:20:44 +02:00
sebres
7bd4f41171
Merge branch '0.11'
2022-09-16 19:17:55 +02:00
sebres
94dac78afe
Merge branch '0.10' into 0.11
...
(conflicts resolved)
2022-09-16 19:14:50 +02:00
sebres
485c50228a
explicitly close cursor if not needed anymore (GC can grab it late)
2022-09-16 18:34:47 +02:00
sebres
45ef36276f
fixes gh-3352: failed update of database didn't signal with an error
...
* client and server exit with error code by failure during start process (in foreground mode)
* added fallback to repair if database cannot be upgraded
code review and unify (more homogeneous by client and server now)
2022-09-16 17:58:24 +02:00
Jeff Johnson
f9f78ed9d2
IPThreat integration ( #3349 )
...
new IPThreat action
2022-09-13 11:01:46 +02:00
sebres
934e1b606d
Merge branch '0.11'
2022-09-08 21:22:23 +02:00
sebres
8dccf099e4
Merge branch '0.10' into 0.11
...
(conflicts resolved)
2022-09-08 16:32:34 +02:00
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