Sergey G. Brester
9554279129
CI/main.yml: try to silence warning about deprecated node usage (switch to newer actions version)
12 months ago
sebres
0abba5dc6e
more filters for nginx error-log supporting journal format now, added generalized include and __prefix_line
12 months ago
sebres
b245225b13
filter.d/nginx-http-auth.conf: added optional prefix to support systemd-journal format and additional timestamp (optionally) in prefix
12 months ago
repcsi
199759f0ba
added pf[protocol=all] options as recommended by sebres
12 months ago
sebres
44fa2959e7
fixes gh-3635: avoid sporadic error in pyinotify backend if pending file deleted in other thread; restore correct logging in tests
1 year ago
sebres
5d9817728d
fixes multi-threaded issue on `__pending` dict (caused due to missing lock on `__pending` dict);
...
an entry can be deleted by `_delPending` with 1st thread, while 2nd thread in filter doing `_checkPending` where it still got this key in iterator, but later fails in the cycle because `__pending[path]` may be deleted by 1st thread in-between;
closes #3635
1 year ago
sebres
4d603f9726
added missing inherited `tearDown` invocation
1 year ago
sebres
cdb6607261
remove double call of inherited setup in test cases;
...
previously caused that after that no restore of log-handler takes place in `tearDown` later, so after that tests it remains by `LogCaptureTestCase._MemHandler`, so every future logged message disappear in nirvana;
partially fixes #3635
1 year ago
Yaroslav Halchenko
22ce0c0536
Merge pull request #3630 from yarikoptic/enh-codespell
...
Add codespell: workflow, config and fix typos it finds
1 year ago
Sergey G. Brester
9fc754ceea
Merge pull request #3633 from brunobell/patch-1
...
Update Arch Linux package URL in RELEASE
1 year ago
Dash Lu
0e27811818
Update Arch Linux package URL in RELEASE
1 year ago
Yaroslav Halchenko
8ef0d3c7a9
[DATALAD RUNCMD] run codespell throughout fixing typo automagically
...
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
1 year ago
Yaroslav Halchenko
81b2eb32d6
Add pragma to ignore a codespell-detected typoin postfix.conf
1 year ago
Yaroslav Halchenko
5e9060a613
Add skipping of codespell-ignore annotated lines
1 year ago
Yaroslav Halchenko
b3bcd0a0f2
Filter substition -> substitution
...
I think it is just a filter for testing so should be safe to rename
1 year ago
Yaroslav Halchenko
e2ede1a43e
Further adjust regex since apparently \b would not match at the beginning of e.g. [Uu]ser
1 year ago
Yaroslav Halchenko
dcb0177d96
Ignore URLs and few other specific things, group better in regex
1 year ago
Yaroslav Halchenko
e96ecf78c1
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
...
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w -i 3 -C 2 ./files/fail2ban-openrc.conf ./fail2ban/tests/fail2banclienttestcase.py",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
1 year ago
Yaroslav Halchenko
3b3fcde2e6
Some ignores for codespell
1 year ago
Yaroslav Halchenko
698cba5708
Remove .project for Eclipse added originally by Cyril but IMHO never used since never tuned
1 year ago
Yaroslav Halchenko
4b4c728558
Add rudimentary codespell config
1 year ago
Yaroslav Halchenko
e20bd9402b
Add github action to codespell master on push and PRs
1 year ago
Sergey G. Brester
eed319e896
gh-3604: filter.d/slapd.conf - switched to single-line processing
...
closes gh-3604
1 year ago
Sergey G. Brester
132c719386
Merge pull request #3603 from alexdrupal/patch-1
...
mysqld-auth: no suffix in message (mariadb 10.3 log format)
1 year ago
Sergey G. Brester
183f805ae3
amend
1 year ago
Sergey G. Brester
7931b67325
mysqld-auth.conf: better RE, optional suffix, non-capturing groups
1 year ago
Aliaksandr Yurchyk
162f0c4b6c
Update mysqld-auth test file
1 year ago
Aliaksandr Yurchyk
c55e9949dc
Fix issue with Mariadb 10.3 failed message
1 year ago
Sergey G. Brester
8eac5f597a
Merge pull request #3579 from stweil/travis
...
Remove Travis CI (no longer working)
1 year ago
Stefan Weil
cd2ba0a3ba
Remove Travis CI (no longer working)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 year ago
Sergey G. Brester
f8f8c046a2
Merge pull request #3469 from vitkabele/routeros-auth
...
New filter: routeros-auth.conf
1 year ago
sebres
35af8b6d5d
fixes DNS resolve related tests on systems without IPv6 support (considering that --no-network simulate resolving example.com via cache)
1 year ago
sebres
f8622c6f92
fixes IPAddr.searchIP for IPv6 (IPv4 group scanning plain IPv6 is None)
1 year ago
Sergey G. Brester
db3b410a60
Merge pull request #3564 from nodiscc/ipset-maxelem-argument
...
action.d/*ipset*: make maxelem ipset option configurable through banaction arguments
1 year ago
Sergey G. Brester
f7ee023661
ChangeLog: gh-3564
1 year ago
nodiscc
77f80e8c3f
action.d/*ipset*: make maxelem ipset option configurable through banaction arguments
...
- previously there was no way to override this value and ipsets would stop being updated when full (Hash is full, cannot add more elements)
- preserve ipset's default value of 65536
- update tests
- Closes #3549
1 year ago
sebres
bbca81f34c
`splitwords` (used by ignoreip etc) considers now any kind of space as valid separator (also tabs) besides comma;
...
closes gh-3562
1 year ago
Sergey G. Brester
bcaf1e714e
Merge pull request #3557 from neofright/neofright-patch-1
...
Update FILTERS
1 year ago
neofright
6afaf35263
Update FILTERS
1 year ago
Sergey G. Brester
3e6a60f940
Merge pull request #3539 from Strykar/patch-1
...
Make ignorecommand help clearer
1 year ago
Sergey G. Brester
76f6bc81bc
small amend restore groff format (\f escape sequence)
1 year ago
Avinash H. Duduskar
c38f6654f7
Make ignorecommand help clearer
1 year ago
Sergey G. Brester
48c91dfb6b
Merge pull request #3532 from lade-odoo/master-restore_bans_with_full_ticket_info-lade
...
Restore bans from the database with full ticket information
1 year ago
Sergey G. Brester
7bfa133208
small amend: lets use lower level API for restored tickets too
1 year ago
Laurent Desausoi
3546071aa5
Restore bans from the database with full ticket information
...
In the case where we use the `ignoreCommand` with information from the
ticket, we want these informations to also be included when restoring
the bans from the database (the ticket may no longer be required to be
banned).
1 year ago
sebres
226a59445a
merge branch gh-2690--mig2to3 : fail2ban is python 3.x based now;
...
closes gh-2690
1 year ago
sebres
9c5f6eea76
version bump (master / 1.1 is python 3.x based now)
1 year ago
sebres
99ff701678
remove support of python 2.x
1 year ago
sebres
03d7c92ae8
2to3
1 year ago
sebres
e2c4982417
Merge branch 'fix-gh-3485', `filter.d/sshd.conf`:
...
- avoid double counting for "maximum authentication attempts exceeded" (gh-3502)
- message "Disconnecting ... Too many authentication failures" is not a failure anymore
1 year ago