fail2ban/fail2ban/tests
sebres 1ad587ac7c Stability fix for fail2banclienttestcase:
- provide waitForServerEnd method for decorator `with_foreground_server_thread`, to wait for real server stop if needed;
  - accept any exit code in decorator `with_foreground_server_thread`, because multi-threaded, thus server can exit in-between;
  - fix sporadic fail "AssertionError: 'Banned 5 / 5, 5 ticket(s)' was not found" (if some tickets will be processed earlier,
    thus not as chunk but separately), so in case of:
Banned 1 / 1, 1 ticket(s) in 'nginx-blck-lst'
Banned 4 / 5, 5 ticket(s) in 'nginx-blck-lst'
2017-12-22 12:36:01 +01:00
..
action_d test_smtp inconsistency for py3+IPv6 2017-03-28 19:29:45 +02:00
config filter.d/sshd.conf: extended failregex for modes "extra"/"aggressive": now finds all possible (also future) forms of "no matching (cipher|mac|MAC|compression method|key exchange method|host key type) found", see "ssherr.c" for all possible SSH_ERR_..._ALG_MATCH errors; 2017-11-23 22:21:42 +01:00
files filter.d/exim.conf: provides mode "aggressive" to ban flood resp. DDOS-similar failures; 2017-12-05 16:07:53 +01:00
__init__.py Merge branch 'master' into 0.9 2013-05-08 15:16:13 -04:00
actionstestcase.py several test cases rewritten using new assertIn, assertNotIn (better as own from unittest, because support generators beautifying, etc.) 2016-08-01 13:52:05 +02:00
actiontestcase.py fixed grave vulnerability by wrong escape of tags by executing of shell actions 2017-03-20 12:09:42 +01:00
banmanagertestcase.py amend to 10c0d95401: order in cymru-info can variate on each level, 2017-08-16 21:23:42 +02:00
clientbeautifiertestcase.py output execution time of each test case if verbosity > 2 2017-03-14 13:34:54 +01:00
clientreadertestcase.py move extractOptions from JailReader to helpers (common usage server- / client-side); 2017-12-05 17:49:22 +01:00
databasetestcase.py prevent sporadic assert errors on nested lists/dict differ at some level (mostly causes on python 3.4 because of different dict hashing); 2017-08-16 20:48:18 +02:00
datedetectortestcase.py Implemented zone abbreviations (DST, etc.) and abbr+-offset functionality (accept zones like 'CET+0100'), for the list of abbreviations see strptime.TZ_STR; 2017-06-09 20:29:34 +02:00
dummyjail.py RF: make Jail new style class, avoiding multiple inheritance with object 2015-12-29 12:49:24 +01:00
fail2banclienttestcase.py Stability fix for fail2banclienttestcase: 2017-12-22 12:36:01 +01:00
fail2banregextestcase.py amend to gh-1792: introduced new fail2ban-regex option "--timezone" ("--TZ"), to set time-zone used by convert of time format. 2017-08-08 12:55:13 +02:00
failmanagertestcase.py output execution time of each test case if verbosity > 2 2017-03-14 13:34:54 +01:00
filtertestcase.py Merge branch 'master' into 0.10: fixed test-cases covering dns2ip (IP of www.epfl.ch changed) 2017-11-23 22:46:17 +01:00
misctestcase.py remove build folder, if created through setup-process in test 2017-11-24 12:57:55 +01:00
samplestestcase.py SampleRegexsFactory: introduce opportunity to supply multiple options combinations (check lines using filters with several options), see for example filter sshd.conf 2017-07-10 19:57:02 +02:00
servertestcase.py action.d/firewallcmd-ipset.conf: extended with actionflush to bulk unban resp. flush ipset 2017-12-06 01:10:56 +01:00
sockettestcase.py more precise date template handling (WARNING: this commit creates possible incompatibilities): 2016-10-17 11:20:27 +02:00
tickettestcase.py introduced new flag "banned" as property, used to recognize the ticket was really banned; 2016-09-09 16:12:48 +02:00
utils.py amend to 10c0d95401: order in cymru-info can variate on each level, 2017-08-16 21:23:42 +02:00