fail2ban/fail2ban/tests
2021-02-23 15:54:48 +01:00
..
action_d test_badips.py: parameter key is removed in #2452 2019-06-26 20:52:37 +02:00
config filter.d/sshd.conf: fixed regex for mode extra - "No authentication methods available" (supported seems to be optional now, gh-2682) 2020-04-08 12:17:59 +02:00
files filter.d/apache-overflows.conf: extended to match AH00126 error (Invalid URI ...); 2021-01-11 15:10:53 +01:00
__init__.py Merge branch 'master' into 0.9 2013-05-08 15:16:13 -04:00
actionstestcase.py introduces new flavor short for fail2ban-client status $jail short: output total and current counts only, without banned IPs list in order to speedup it and to provide more clear output (gh-2819), flavor basic (still default) is unmodified for backwards compatibility; 2020-09-10 11:53:26 +02:00
actiontestcase.py substituteRecursiveTags: more precise self- or cyclic-recursion prevention (don't clear replacement counts of tags, rather consider replacement count by tax X in tag Y) 2020-08-26 12:05:20 +02:00
banmanagertestcase.py fix cymru test cases 2020-12-22 20:36:01 +01:00
clientbeautifiertestcase.py output execution time of each test case if verbosity > 2 2017-03-14 13:34:54 +01:00
clientreadertestcase.py extractOptions: ensure options are parsed completely - avoids unexpected skip or truncate of parameters, produces more verbose error message in case of incorrect syntax; added more tests covering several cases 2021-02-03 14:45:30 +01:00
databasetestcase.py closes gh-2647: add ban to database is moved from jail.putFailTicket to actions.__CheckBan; be sure manual ban is written to database, so can be restored by restart; reload/restart test extended 2020-03-02 18:58:59 +01:00
datedetectortestcase.py more fixes and optimizations, better RE's for patterns, allow parse date without time with such a datepattern (assume 00:00:00 then), etc 2021-01-21 19:00:56 +01:00
dummyjail.py amend to RC-fix 9f1c6f1617 (gh-2660): 2020-03-13 22:22:42 +01:00
fail2banclienttestcase.py action in jail-config extended to consider space as separator now (splitWithOptions separates by space between mains words, but not in options), so defining action = a b would specify 2 actions a and b; 2020-09-02 20:09:06 +02:00
fail2banregextestcase.py extractOptions: ensure options are parsed completely - avoids unexpected skip or truncate of parameters, produces more verbose error message in case of incorrect syntax; added more tests covering several cases 2021-02-03 14:45:30 +01:00
failmanagertestcase.py small amend (rename maxEntries -> maxMatches for consistency reasons) 2019-04-18 19:50:48 +02:00
filtertestcase.py amend fixing journal tests (systemd backend only) 2021-02-23 15:54:48 +01:00
misctestcase.py compat: some 2.x pypy versions produce UnicodeEncodeError: 'ascii' codec can't encode character on surrogates (uni_string must be fixed also for UTF-8 system encoding) 2020-08-04 15:08:02 +02:00
samplestestcase.py better assert message in sample regex factory 2020-11-23 18:06:13 +01:00
servertestcase.py fail2ban.conf: added new fail2ban configuration option "allowipv6" (default auto), can be used to allow or disallow IPv6 interface in fail2ban immediately by start (e. g. if fail2ban starts before network interfaces). 2021-01-27 17:06:14 +01:00
sockettestcase.py resolves a bottleneck within transmitting of large data between server and client: speedup search of communications end-marker and increase max buffer size (up to 32KB) 2020-09-10 11:52:25 +02:00
tickettestcase.py failmanager, ticket: avoid reset of retry count by pause between attempts near to findTime - adjust time of ticket will now change current attempts considering findTime as an estimation from rate by previous known interval (if it exceeds the findTime); 2020-03-02 17:05:00 +01:00
utils.py invalidate IP/DNS caches by reload, so inter alia would allow to recognize IPv6IsAllowed immediately, previously retarded up to cache max-time (5m); 2021-01-26 20:35:14 +01:00