Commit Graph

4442 Commits (3a1c38695843e37493e88ea7354eccda51a0abcf)
 

Author SHA1 Message Date
Sergey G. Brester 3a1c386958
Update ChangeLog
7 years ago
Sergey G. Brester 0e0e478483
Merge pull request #2038 from sebres/long-epoch-and-epoch-pattern
7 years ago
sebres dcbf904876 allow to parse milliseconds as float + more test cases;
7 years ago
sebres 3e8098d427 python 3.x compatibility: fix replacement string (may fail with errors like `bad escape \d ...`, etc)
7 years ago
sebres 442b0b1c59 extends date-detector with long epoch (LEPOCH) to parse milliseconds/microseconds posix-dates;
7 years ago
Sergey G. Brester 01f3df03c8
Merge pull request #2034 from sebres/0.10_/fix-gh-2028
7 years ago
sebres 0ed11817c1 restore coverage: no cover for normally unreachable scopes (only if test cases failed)
7 years ago
sebres 0be0e43d47 amend to 03b577d7b92a120e325abe20a99b6956a7e0657c: add new-line after matches via tag `<br>` without usage of interim variable
7 years ago
sebres 03b577d7b9 action.d/blocklist_de.conf: fixed tag substitution (in 0.10 it can be variables supplied via shell-arguments), expand `<matches>` with trailing newline;
7 years ago
sebres 435f359a06 allow substitute section-related parameters like `<Definition/option>` in all config-readers as well as during substitute after supply of init arguments;
7 years ago
sebres f547a7c7b1 LogCaptureTestCase: use almost non-blocking handling by getvalue/_is_logged (especially important in tests with waiting for logged via `assertLogged(..., wait=TO)`):
7 years ago
sebres 5f3ba289d6 restore code coverage (decreased in latest "fixes") - no cover for unreachable cases;
7 years ago
sebres ac9d5f61e7 rewrite keywords reserved in python 3.7 (`async` -> `nonsync`)
7 years ago
Sergey G. Brester 6b7cca07ae
Merge pull request #2025 from yarikoptic/bf-0.10-debian
7 years ago
sebres 7a757645bb introduces new decorator/conditional helper in order to skip some STOCK-related test-cases (if running outside of stock-config environment).
7 years ago
sebres 9af9ec25f5 allow to override use_stock_cfg values (used as default value now), e. g. actions rest filters only, reject d1afbb566f0304487b5d578b4aacef8e647ee74b
7 years ago
Yaroslav Halchenko 3f51c158cd Added manpage (still would need tuning) for fail2ban-python
7 years ago
Yaroslav Halchenko a5b9128fcc BF: RF test for "being a root" to check if actually can read the file
7 years ago
Yaroslav Halchenko 49be8de902 BF: look for system.journal also under system-state-logs (i.e. /var/log)
7 years ago
Yaroslav Halchenko 2f0bc491e2 BF: use tests.utils.CONFIG_DIR instead of hardcoded "config" in fail2banclienttestcase
7 years ago
Sergey G. Brester 3ac6166b48
Merge pull request #2027 from yarikoptic/bf-0.10-review
7 years ago
Yaroslav Halchenko 527bb9a7c3 dos2unix for helpers-common.conf
7 years ago
Yaroslav Halchenko ba2538ba04 DOC: minor typos spotted around comments etc
7 years ago
Yaroslav Halchenko af2de7ff2f RF: COND_FAMILIES - use tuple
7 years ago
sebres 8cfd97a68f skip a testRepairDb if no sqlite3 command-helper available; code review (removed unnecessary code-pieces resp. code-duplication)
7 years ago
sebres 9d5f20aab2 FilterPyinotify: fixed sporadic test-case error (multi-threaded) - 'NoneType' object has no attribute 'stop'.
7 years ago
sebres 9a38d5697f bump version (0.10.2 -> 0.10.3.dev1)
7 years ago
sebres a45488465e prepare release: bump version, update ChangeLog, man's and MANIFEST etc.
7 years ago
sebres 81b61fe30c ChangeLog update
7 years ago
sebres f69e28adfc action.d/pf.conf: compatibility fix - recognizes that parameter `port` specified as empty, with or without braces (should be more backwards compatible to 0.9 now).
7 years ago
sebres ed22ddbbbb Merge remote-tracking branch 'remotes/gh-upstream/master' into 0.10
7 years ago
Sergey G. Brester 37f5a6975e
Merge pull request #2015 from BenediktSeidl/nginx-http-auth--spaces-fix
7 years ago
sebres 63e906b2c1 regex rewritten: a bit fewer vulnerable now and using non-capturing groups, test-cases extended in order to cover trying of injection on user name
7 years ago
Benedikt Seidl fed6c49c2d nginx-http-auth: match usernames with spaces
7 years ago
Sergey G. Brester 9a8c4a9869
Merge pull request #2018 from riceru/patch-1
7 years ago
Sergey G. Brester b6c6565a7e
regex updated using non-capturing groups
7 years ago
Sergey G. Brester 9a46590486
extended test-cases to cover new log-format (http_auth -> mod_auth)
7 years ago
riceru 6a1bbbf101
Update lighttpd-auth.conf
7 years ago
sebres 2b7b0da943 Merge remote-tracking branch 'remotes/gh-upstream/master' into 0.10
7 years ago
sebres 2bce0c5e3e file-filter's: provide stop function in order to explicitly delete/stop monitoring of each file.
7 years ago
sebres 81c86fa83f Remove annoying error-message "rm_watch: cannot remove WD=2, Errno=Invalid argument (EINVAL)", logged from pyinotify-module if rm_watch called with non-existing watch file descriptor (probably multi-threaded issue by dual-remove).
7 years ago
sebres b644d2d73f should fix sporadic coverage decrease (don't cover "return", because too sporadic to get idle in pyinotify-callback);
7 years ago
sebres 7516cd025d fixed restoring sane environment (via stop/start) if invariant check failed: bypass possible errors in stop (if start/check succeeded hereafter);
7 years ago
Serg G. Brester 7e05976ead
action.d/hostsdeny.conf: actionunban rewritten using sed, also dots in IP were escaped now.
7 years ago
sebres 29e1fe9479 micro-fix: delete temporary file (forgotten in test-case `test_move_dir` by reassign to directory)
7 years ago
Serg G. Brester 6251fcf5f7
Merge pull request #2014 from sebres/sshd-fix-connects-with-mult-pub-keys
7 years ago
sebres 1c0fc73e48 Update ChangeLog
7 years ago
sebres 2112145eb4 stop ban of legitimate users with multiple public keys (e. g. git, etc), thereby
7 years ago
sebres 314e402fe0 filter.d/sendmail-auth.conf - extended daemon for Fedora 24/RHEL - the daemon name is "sendmail" (gh-1632)
7 years ago
sebres c36fbdf743 test cases extended in order to cover `firewallcmd-ipset` with `allports`
7 years ago