fail2ban/fail2ban/tests
sebres b2352f113e implements the feature of automatic switch backend = auto to backend systemd, when:
- no files matching `logpath` found for this jail;
- no `systemd_if_nologs = false` (`true` by default) is specified for the jail;
- option `journalmatch` is set for the jail or its filter (otherwise it'd be too heavy to allow all auto-jails, even if they have never been foreseen for journal);
- option `skip_if_nologs` will be ignored if we could switch backend to `systemd`;
closes gh-3768
2025-03-30 22:31:44 +02:00
..
action_d remove remaining tweaks for obsolete python 2023-12-31 12:45:24 +01:00
config implements the feature of automatic switch backend = auto to backend systemd, when: 2025-03-30 22:31:44 +02:00
files filter.d/apache-noscript.conf - consider new log-format with "AH02811: stderr from /..."; 2025-03-28 22:52:51 +01:00
__init__.py Merge branch 'master' into 0.9 2013-05-08 15:16:13 -04:00
actionstestcase.py Fix more typos 2023-11-22 16:32:05 +00:00
actiontestcase.py [DATALAD RUNCMD] run codespell throughout fixing typo automagically 2023-11-18 10:04:04 -05:00
banmanagertestcase.py 2to3 2023-06-16 15:23:41 +02:00
clientbeautifiertestcase.py beautifier detect whether it can use unicode chars in stats table; asciified output of beautifier in test suite; 2024-06-14 15:17:53 +02:00
clientreadertestcase.py implements the feature of automatic switch backend = auto to backend systemd, when: 2025-03-30 22:31:44 +02:00
databasetestcase.py fixes testRepairDb for sqlite >= 3.42; 2023-12-15 00:07:43 +01:00
datedetectortestcase.py Fix more typos 2023-11-22 16:32:05 +00:00
dummyjail.py Merge branch '0.10' into 0.11 2020-03-13 22:39:19 +01:00
fail2banclienttestcase.py configreaders: don't swallow return code by decoding error (whole jail or fail2ban config failed to read due to some error like encoding etc), so dump or test of config would get an error at end (and coverage for #3971) 2025-03-19 02:19:16 +01:00
fail2banregextestcase.py Merge pull request #3636 from szepeviktor/typos 2024-12-21 19:31:54 +01:00
failmanagertestcase.py 2to3 2023-06-16 15:23:41 +02:00
filtertestcase.py split new test to 2 tests (allows to cover _globJournalFiles even if system-journal is not available) 2025-03-30 20:13:39 +02:00
misctestcase.py test-suite: increase wait-time for fast-mode for long waiting intervals (stability, avoid sporadic errors) 2025-03-30 06:07:17 +02:00
observertestcase.py manually added attempts inform the observer module (take the known ban-count of bad IPs into account); 2024-10-08 13:34:19 +02:00
samplestestcase.py test-suite: if failed, sample regexs factory would show responsible header line (failJSON) together with the error line 2025-03-04 14:39:24 +01:00
servertestcase.py action.d/*-ipset.conf: workaround sporadic failures by stop if destroying ipset too fast (sleep a bit in error case and repeat); 2024-11-07 19:28:53 +01:00
sockettestcase.py remove double call of inherited setup in test cases; 2023-11-22 20:00:50 +01:00
tickettestcase.py [DATALAD RUNCMD] run codespell throughout fixing typo automagically 2023-11-18 10:04:04 -05:00
utils.py test-suite: increase wait-time for fast-mode for long waiting intervals (stability, avoid sporadic errors) 2025-03-30 06:07:17 +02:00