Commit Graph

3814 Commits (bd1eb70c52f078fea65d1688915487a5dea1f3c7)
 

Author SHA1 Message Date
sebres bd1eb70c52 speedup template first time selection through pre-sorted template list by template hits
8 years ago
sebres 0bed91b3c2 speedup SeekToTime test cases using exact date pattern...
8 years ago
sebres e735f8f568 default non-unicode and case-sensitive matching (by pattern templates automatically add `(?iu)` for "ignore case" and "unicode" if expected)
8 years ago
sebres ab0ac2111c added possibility to specify more precise default date pattern:
8 years ago
sebres f56ff5f48b optimized to better usage of the last time template (parse part of line at the same place as last time, if enclosed in the same boundaries)
8 years ago
sebres b9033d004e amend distance collision check - always find template with shortest distance, also first time (test-case extended);
8 years ago
sebres 75a5440acf extends date detector template with distance (position of match in log-line), to prevent grave collision using (re)ordered template list (e.g. find-spot of wrong date-match inside foreign input, misleading date patterns by ambiguous formats, etc.);
8 years ago
sebres 84fe55b99b [temp commit] 2nd try to optimize datedetector/datetemplate functionality (almost ready, needs fine tuning)
8 years ago
sebres a7d9de8c52 [temp commit] 1st try to optimize datedetector/datetemplate functionality (fix ambiguous resp. misleading date detection if several formats used in log resp. by format switch after restart of some services):
8 years ago
sebres 10bdadaef2 fixed sporadically (multi-threading) errors by reload/stop/start of polling filter inside getModified (so prevents to stop running main cycle)
8 years ago
Serg G. Brester c1174d7935 Merge pull request #1577 from sebres/_0.10/code-review-fix-log-fmt-auto-verbosity
8 years ago
sebres 7f8c48d59e code review (e. g. remove code duplication) and coverage
8 years ago
sebres 5b40309052 code coverage of server module: switch backend
8 years ago
sebres 57a7795282 code coverage of server module: multiple ignoreregex
8 years ago
sebres 1ef367e77a fixes log format by starting server with `--loglevel=debug` without specifying of verbosity level
8 years ago
sebres 98f87a1a52 better server-ready event: notify waiting thread if server really ready (communication ready) or failed to start
8 years ago
sebres c809c3e61e Merge branch 'master' into 0.10
8 years ago
sebres 15dc2db8bb Merge pull request #1498 from ahpnils:npf to master:
8 years ago
Nils f7df6026a3 Update Changelog to reflect the new np.conf action
8 years ago
Nils d08db22b92 Create npf.conf for the NPF packet filter
8 years ago
Serg G. Brester 77f2dcfdb6 Merge pull request #1576 from sebres/_0.10/fail2ban-regex-coverage
8 years ago
sebres 44f93bfbff increase coverage, better test and output of errors
8 years ago
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