fail2ban/fail2ban/tests
2020-12-22 20:36:01 +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/dovecot.conf: allow more verbose logging 2020-11-23 18:17:29 +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 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
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 performance optimization of datepattern (better search algorithm); 2020-02-28 14:27:21 +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 implements special datepattern {NONE} - allow to find failures without date-time in log messages (filter use now as timestamp) 2020-08-20 20:28:29 +02:00
failmanagertestcase.py small amend (rename maxEntries -> maxMatches for consistency reasons) 2019-04-18 19:50:48 +02:00
filtertestcase.py added test case covering new date handling (simulation, unknown format, warnings, etc) 2020-08-20 19:46:41 +02: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 action.d/firewallcmd-*.conf (multiport only): fixed port range selector, replacing : with -; 2020-09-03 16:41:23 +02: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 tweaks to speedup test-cases (test-suite seems to be time stable now, so we could shorten sleeping intervals) 2020-11-05 15:31:11 +01:00