Commit Graph

3792 Commits (7e8575cc5609f4ebd8a2503bc79ebac078becddd)
 

Author SHA1 Message Date
sebres 7e8575cc56 tests of fail2ban-regex extended to cover exec_command_line also;
8 years ago
Serg G. Brester 733d0ef596 Merge pull request #1569 from sebres/_0.10/fix-fakegooglebot
8 years ago
sebres 2d2d4cf185 amend to c2d2e79b0d48bf66b04c3772c2419f30a4b1f9db: fixed sporadically bug in getBanListExtendedCymruInfo:
8 years ago
sebres 0ae932ba5e setup fix for python3, bypass directories (__pycache__) created after ignore command was tested
8 years ago
sebres fa8184d4cc fixes deprecated DNSUtils.IsValidIP in fakegooglebot ignore command + test covered now;
8 years ago
sebres 973ac9a45c amend to c2d2e79b0d48bf66b04c3772c2419f30a4b1f9db: missing error variable in import block;
8 years ago
sebres c2d2e79b0d ExtendedCymruInfo: better availability check (code review and timeout's);
8 years ago
sebres ee1727ecca Merge pull request #1563 from niklasf/fix-lazy-ipv6-regex (and sebres/fix-lazy-ipv6-regex) into 0.10
8 years ago
sebres 276759b6c2 ExtendedCymruInfo code review and availability check in test cases;
8 years ago
sebres 9bf8985e2a nginx-limit-req.conf: more precise failregex (word-boundary if `<HOST>` should be non-greedy for some reasons)
8 years ago
sebres 06674bb989 use common regex for IP addresses (removed code duplication)
8 years ago
Serg G. Brester ba9a88977f Merge pull request #1562 from sebres/_0.10/fix-stability-and-speed
8 years ago
sebres 8b0f6c5413 badips test cases check availability of badips service (and skip this tests if it not available)
8 years ago
sebres 9a7c753372 fixes method-related filter for tests of suite loaded with loadTestsFromName (they may be a suite self)
8 years ago
Niklas Fiekas 057f2f3c56 make the ipv6 host regex greedy
8 years ago
sebres 77ec9df678 standardize and normalize verbosity parameters for fail2ban-regex / fail2ban-testcases (-v ... -vvvv, or --verbosity=0..4)
8 years ago
sebres 2cfaf845ca standardize and normalize logging and verbosity formats, logging level etc between command lines (server, client, test-cases);
8 years ago
sebres 62b8664175 speedup server start/stop (waiting for communicate, etc);
8 years ago
sebres 542419acab filtertestcase: use shorter sleep (almost just for the context switch here)
8 years ago
sebres b615ba49ff disengage testExecuteTimeout test-case from -fast option, just make it faster (timeout shorter) in this case
8 years ago
sebres b011cf17b2 increase performance of executeCmd (actions), thereby introduced new shorter interval for fast operations (leaves unchanged default wait operation intervals (sleep time, threshold interval) - for the same inertance, to save same system (load by many jails resp. log files);
8 years ago
sebres 310d4e224d Merge branch master (0.9) into 0.10
8 years ago
Serg G. Brester 8e3e333d54 Update ChangeLog
8 years ago
Serg G. Brester d9e1a4f547 Merge pull request #1556 from szepeviktor/master
8 years ago
Serg G. Brester a0d8581a2c Merge pull request #1557 from sebres/_0.10/fix-reload-bug
8 years ago
sebres 5151c4fa6d ChangeLog entries added
8 years ago
sebres 5e4fdb60c8 extended test-cases (coverage)
8 years ago
sebres 449c46aec4 extended test-cases (coverage)
8 years ago
sebres 004879b5b1 code review: switch MAX_TIME to 0X7FFFFFFFFFFF (is enough, because 4461763-th year, but better performance)
8 years ago
sebres e00be5f308 Fixed sporadically error in testCymruInfoNxdomain, because of unsorted values:
8 years ago
sebres e7fa74b989 smaller inertance inside test-cases (amend to d153555a07 with decreasing default wait operation that litle bit speedup test-cases)
8 years ago
sebres ab0c28260b switch down log level for some annoying messages to tracedebug or heavydebug (to 7 or even 5);
8 years ago
Viktor Szépe a406c6eb3a By the author:
8 years ago
sebres 48ebe3e735 FilterPyinotify: high cpu load fix - timeout for pyinotify must be set in milliseconds (our time values are floats contain seconds);
8 years ago
sebres c0373a7158 repair typo bug in reloading for systemd-filter;
8 years ago
sebres d153555a07 increase default wait operation (sleep time, threshold interval) - avowedly greater inertance, but fewer system load by many jails resp. log files;
8 years ago
sebres 35ce1166b6 allows to update some configuration options (read with config-readers) with command line option, e. g.:
8 years ago
Serg G. Brester 28e286cd2d Merge pull request #1551 from fail2ban/sebres-patch-fips-gh-1540
8 years ago
sebres 0f1d1a0d4d ChangeLog: FIPS compliant
8 years ago
Serg G. Brester 1071db2256 filter.py: easy-fix to use sha1 instead of md5 if its usage prohibited by some systems following strict standards (like FIPS)
8 years ago
Serg G. Brester fad953ade6 Merge pull request #1544 from sebres/fix/vsftpd-gh-1543
8 years ago
sebres 20b92f3ead fail2ban-regex: build replacement of `<HOST>` substitution corresponding parameter `usedns` - now also in fail2ban-regex (amend)
8 years ago
sebres ebd864660a normalize usage of preferred encoding (and decode any to string);
8 years ago
sebres e0347bb3a0 assertLogged extended with parameter wait (to wait up to specified timeout, before we throw assert exception) + test cases rewritten using that
8 years ago
sebres a20f325f80 database: stability fix - repack cursor iterator as long as locked
8 years ago
sebres f6197200a9 introduced new flag "banned" as property, used to recognize the ticket was really banned;
8 years ago
sebres 2108216d33 file filter-backends: stability fix for sporadically errors - always close file handle, otherwise may be locked (prevent log-rotate, etc.)
8 years ago
sebres 4404642fa3 pyinotify-backend: stability fix for sporadically errors in multi-threaded environment (without lock)
8 years ago
sebres 8c4eebc3e3 reload actions amend, code review and test cases extended for update/start/stop of actions by reloading
8 years ago
sebres 9fb167b5e1 filter.d/vsftpd.conf: optional reason message after FAIL LOGIN, closes #1543
8 years ago