sebres
0b3ad780fe
Merge branch '0.10' into 0.11
2021-11-03 15:48:21 +01:00
sebres
ebf5784b8c
Merge branch 'fix-gh-2882' into 0.10
...
closes gh-2882
2021-11-03 15:47:45 +01:00
sebres
3b02098817
several backends optimizations (in file and journal filters):
...
- don't need to wait if we still had log-entries from last iteration (which got interrupted for servicing)
- rewritten update log/journal position, it is more stable and faster now (fewer DB access and surely up-to-date at end)
2021-11-03 15:41:50 +01:00
sebres
96661f25ab
filtersystemd.py: fixes wrong time point of "in operation" mode
...
todo: need more tests to cover any step of switch to inOperationMode (all branches)
2021-11-03 15:41:40 +01:00
sebres
7678f59827
better format of time delta (using seconds2str); increase stability for systemd test-cases
2021-11-03 12:57:57 +01:00
sebres
4b54a07d71
Revert "`action.d/firewallcmd-*.conf` (multiport only): fixed port range selector, replacing `:` with `-`;"
...
This reverts the incompatibility #3047 introduced by commit a038fd5dfe
(#2821 ).
2021-11-01 11:45:40 +01:00
Sergey G. Brester
e74baae666
Merge pull request #3135 from sylvestre/patch-2
...
Add the Debian path to roundcube error logs
2021-10-25 12:11:42 +02:00
Sergey G. Brester
cb042dda7d
Merge pull request #3133 from sylvestre/master
...
Fix typo found by lintian (Debian static analyzer)
2021-10-25 12:10:28 +02:00
Sylvestre Ledru
3245b8018b
Add the Debian path to roundcube error logs
2021-10-23 17:38:20 +02:00
Sylvestre Ledru
bdb82eb3b2
Fix systemd-service-in-odd-location lib/systemd/system/fail2ban.service => /usr/lib/systemd/system/fail2ban.service
2021-10-23 17:11:46 +02:00
Sylvestre Ledru
5c71ca9791
Standards-Version => 4.6.0
2021-10-23 17:08:03 +02:00
Sylvestre Ledru
9ec092de05
apache => Apache
2021-10-23 17:07:11 +02:00
Sylvestre Ledru
1cd3118da3
Fix typo found by lintian (Debian static analyzer)
2021-10-23 17:06:13 +02:00
Sylvestre Ledru
95856280fd
Add support for scanlogd (taken from upstream) ( Closes : #983399 )
2021-10-23 16:40:40 +02:00
Sylvestre Ledru
d82412d442
add the missing thanks
2021-10-23 16:37:47 +02:00
Sylvestre Ledru
ff943983ed
Adjust the systemd path from /var/run => /run ( Closes : #902413 )
2021-10-23 16:35:52 +02:00
Sylvestre Ledru
aa90ccba3f
Do not fail the postinst if chown/chmod are failing ( Closes : #926237 )
2021-10-23 16:29:25 +02:00
Sylvestre Ledru
13305db998
remove trailing spaces
2021-10-23 16:28:37 +02:00
Sylvestre Ledru
7f1b66bb89
xFix the roundcube debian custom path ( Closes : #988323 ) Thanks to Kurt Fitzner for the patch
2021-10-23 16:25:59 +02:00
Sylvestre Ledru
d025e27bc1
prepare upload
2021-10-23 16:17:24 +02:00
Sylvestre Ledru
54812120bd
Fix the watch file
2021-10-23 16:01:08 +02:00
Sergey G. Brester
98c7dd04a4
Merge pull request #3037 from floppym/bug794931
...
tests: improve detection of readable systemd journal
2021-10-22 15:34:47 +02:00
Mike Gilbert
d91d949e95
tests: improve detection of readable systemd journal
...
Look for system.journal in journal sub-directory.
Add -readable to the find command.
Bug: https://bugs.gentoo.org/794931
2021-10-19 11:08:04 -04:00
Viktor Szépe
1e8ce20b32
Display ChangeLog as a Markdown document
2021-10-17 19:53:10 +02:00
Sergey G. Brester
8e3a26bdeb
Merge pull request #3117 from fail2ban/gh-3116
...
filter.d/lighttpd-auth.conf: adjust to the current source code, avoid catch-all's, etc
2021-10-01 15:09:09 +02:00
Sergey G. Brester
ba839af8ad
filter.d/lighttpd-auth.conf: adjusted to the current source code + avoiding catch-all's, etc (gh-3116)
2021-10-01 15:03:24 +02:00
Sergey G. Brester
f8f59dd31a
added test cases covering different messages adjusted to new log-format (gh-3116)
2021-10-01 14:58:25 +02:00
Sandro Tosi
ab9ef6ab59
Merge branch 'scrub-obsolete' into 'master'
...
Remove unnecessary constraints
See merge request python-team/packages/fail2ban!4
2021-09-24 18:15:32 +00:00
Debian Janitor
47cd023c79
Remove constraints unnecessary since buster
...
* fail2ban: Drop versioned constraint on lsb-base in Depends.
Changes-By: deb-scrub-obsolete
2021-09-24 10:00:15 +00:00
Sergey G. Brester
5ee482bc9a
Merge pull request #3053 from db48x/fix-grammar-of-timestamp-warnings
...
Improve grammar and readability of timestamp warnings
2021-09-21 16:16:52 +02:00
Sergey G. Brester
d086317cc8
Update filter.py
2021-09-21 16:05:53 +02:00
Sergey G. Brester
17eed32e03
Update filtertestcase.py
2021-09-21 16:00:37 +02:00
sebres
621d8cae17
restore backwards compatibility for date None
2021-09-20 02:20:22 +02:00
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)
2021-09-19 21:58:42 +02:00
Daniel Brooks
d7afcde2e1
add a warning message for dates in the future
...
and a test that checks which message was output for which time deltas.
2021-09-19 19:39:52 +02:00
Daniel Brooks
1929e7a76b
include more specific information in the warning
2021-09-19 19:39:49 +02:00
Daniel Brooks
320a3dcdd5
remove old warnings from filtertestcase.py
...
assertLogged only checks that at least one listed message is found, so
it isn’t necessary to repeat them in the test.
2021-09-19 19:39:45 +02:00
Daniel Brooks
a98cc08b31
Updated the warning messages created when fail2ban sees unexpected timestamps
...
to improve their grammar and to remove jargon.
Partially fixes #2822
2021-09-19 19:39:41 +02:00
sebres
5093ff8956
Merge branch '0.11' into master
2021-09-19 18:54:23 +02:00
sebres
d6b884f3b7
amend to fix gh-3098: no option `--disable-2to3` anymore
2021-09-19 18:52:34 +02:00
sebres
5ac303df8a
fix gh-3098: build fails with error in fail2ban setup command: use_2to3 is invalid (setuptools 58+)
2021-09-19 18:49:18 +02:00
sebres
8d45deca86
Merge branch '0.10' into 0.11
2021-09-19 18:42:23 +02:00
sebres
974ba688d4
Merge branch 'patch-3098' into 0.10
2021-09-19 18:41:24 +02:00
Sergey G. Brester
7f22c4873a
remove 2to3 in setup (should be called outside before setup)
2021-09-19 18:36:02 +02:00
Sergey G. Brester
1414a44b8e
Update main.yml
...
CI: try to install dependencies via apt, add build test
2021-09-19 18:24:36 +02:00
sebres
ad1f9dc4d0
Merge branch '0.11'
2021-09-08 20:12:48 +02:00
sebres
64217fe018
Merge branch '0.10' into 0.11
2021-09-08 20:09:48 +02:00
sebres
c0f9348db5
Merge branch 'sebres/gh-3097--fix-unh-except' into 0.10;
...
closes #3097
2021-09-08 20:08:30 +02:00
sebres
d709ec8179
GH actions: use newest python version for 3.10 (3.10.0-rc.2)
2021-09-08 20:00:41 +02:00
sebres
ba282b794c
pyinotify: amend to 1e4a14fb25d88e32f3ca9c06fb1d6b8d3b4813ab: one fix more for sporadic runtime error "dictionary changed size during iteration" (watched files)
2021-09-08 19:56:02 +02:00