Commit Graph

3838 Commits (ce540554c59d6b475b1e37695f30a1482b301544)
 

Author SHA1 Message Date
sebres b12a3acb06 temp commit: reload not ready...
8 years ago
sebres f512628af2 make with_foreground_server_thread decorator to test several client/server commands
8 years ago
sebres 0a7374dec6 Merge branch '_0.9/fix-systemd-convert-gh-1341' into _0.10/fix-systemd-convert-gh-1341
8 years ago
sebres 7ac9890bf6 forgotten obsolete code removed
8 years ago
sebres ad61f0f381 Merge branch '_0.9/fix-systemd-convert-gh-1341' into _0.10/fix-systemd-convert-gh-1341
8 years ago
sebres 51fd9a1027 amend to activate performance-fix (respect findtime before search of match) + code coverage
8 years ago
sebres e3a75b4f1e optimize test cases after merge (using 0.10-features)
8 years ago
sebres ae38b626d1 Merge branch '_0.9/fix-systemd-convert-gh-1341' into 0.10
8 years ago
sebres 57458a462e allow to set default or preferred encoding for other filters (e.g. to decode bytes from journal)
8 years ago
sebres 3119f81705 fixed journal systemd ascii/utf-8 default converting (see gh-1341, gh-1344)
8 years ago
Yaroslav Halchenko aff680eb43 Merge branch 'master' into 0.10 (strategy ours)
8 years ago
Yaroslav Halchenko 87acd7a0fc RF: Replace old fashioned "except E , e" with "except E as e" (Closes #1537)
8 years ago
Yaroslav Halchenko f6258c7b69 Merge branch 'rf-exc'
8 years ago
Yaroslav Halchenko adeb6e94a5 Merge remote-tracking branch 'origin/master' into 0.10
8 years ago
sebres 00c08f0cfa Merge pull request #1523 from sebres/_0.10/systemd-journal-path-gh-1408 with 0.10
8 years ago
Serg G. Brester 0f942aba17 Merge pull request #1539 from sebres/_0.10/fix-gh-1529
8 years ago
sebres 1d6b546658 sleep a little bit in error case (to get around time-related errors, e.g. something like log-rotate, etc.)
8 years ago
sebres 6454d0cd75 prevents to stop processing after first unhandled exception inside processLineAndAdd (filter going idle after 100th error);
8 years ago
sebres 90f9009959 fixes wrong date (invalid format or value) recognition if template available (+ test cases extended)
8 years ago
sebres d974ebd581 rewritten idle handling for all filters, test cases extended to work in idle mode also (should not find/process failures)
8 years ago
Yaroslav Halchenko b875e51cd7 RF: Replace old fashioned "except E , e" with "except E as e" (Closes #1537)
8 years ago
sebres 23c14acec0 update `_0.10/systemd-journal-path-gh-1408` (after merge `_0.9/systemd-journal-path-gh-1408` to 0.10)
8 years ago
sebres 387aa6ba47 Merge master branch '_0.9/systemd-journal-path-gh-1408' into 0.10
8 years ago
sebres c0e0cfb39d Merge remote-tracking branch 'remotes/gh-upstream/master' into 0.10
8 years ago
sebres 564b696530 Merge branch '_0.9/systemd-journal-path-gh-1408'
8 years ago
sebres 5f35b52b9a test cases extended
8 years ago
sebres 35b5fea038 backend "systemd" can be used as prefix now - `backend = systemd[...]`
8 years ago
sebres 7ed6cab120 jail configuration extended with new syntax to pass options to the backend (see gh-1408),
8 years ago
sebres 1c4733ef89 [systemd] added new constructor parameters like journalpath, journalfiles and journalflags for systemd backup
8 years ago
Serg G. Brester 0ab042fcce Merge pull request #1522 from sebres/fix-asterisk-log-prefix
8 years ago
sebres 4a1d720344 filter.d/asterisk.conf: another part ` chan_sip.c:28468 handle_request_register:` in log prefix
8 years ago
sebres 2c54f90469 sshd-filter: better universal regexp, that matches more complex different injects, using conditional expressions (on username and auth-info section), see new test cases also.
8 years ago
sebres a544c5abac sshd-filter: recognized "Failed publickey for" now (gh-1477) + improved regexp (not anchored now to recognize all "Failed anything for ... from <HOST>"
8 years ago
Yaroslav Halchenko 6c737454dd RF+ENH: 0.10/let know version when running tests and move arg parsing code into the module (#1516)
8 years ago
sebres af126eb308 simplify fail2ban-testcases: move some code pieces inclusive option parser from fail2ban-testcases to tests/utils.py (+ coverage)
8 years ago
sebres f7f618b15d Let know the version (and python), also in travis (no output if verbosity is 0)
8 years ago
Serg G. Brester 13a70e3bdb Merge pull request #1515 from sebres/_0.10/fix
8 years ago
sebres 9aca34d3b1 normalize name of the test cases: method and class name fixed for MonitorJournalFailures
8 years ago
sebres 4bb5f3492e Merge branch '_0.10/tests-verbosity' into _0.10/fix
8 years ago
sebres cd6b528542 new test-cases option "--verbosity" to set numeric level of verbosity during test cases;
8 years ago
sebres f91ec84bfb prevent theoretical time-related assertion errors for other filters, replace isFilled with waitFailTotal (known expected failure count)
8 years ago
sebres 67e4ac5c66 common monitor test case class, that unite some duplicate code
8 years ago
sebres 7b7d60c486 fixed sporadically test cases assertion error "AssertionError: 3 != 4" - because multi-threaded, occurred if getFailTicket() called after 3th failure (before 4th failure was monitored), so we will wait in new method waitFailTotal (instead of isFilled) for expected failure count...
8 years ago
Serg G. Brester e3f4ea7284 Update README.md
8 years ago
Serg G. Brester 9a30cfa77d Merge pull request #1510 from sebres/_0.10/optimize-setup-test-case
8 years ago
sebres 2b5c5103f4 safer multi-threaded execution inside (logging with lock inside LogCaptureTestCase logging handler);
8 years ago
sebres 5509ba37a2 Merge pull request #1512 from 'remotes/gh-upstream/0.9' into 0.10
8 years ago
Serg G. Brester f61aa3225c Merge pull request #1512 from sebres/_fix/datepattern-right-word-boundary
8 years ago
sebres 9935cf19c1 description provided, ChangeLog entries added
8 years ago
sebres 0bdee2556f testAmbiguousDatePattern rewritten with DateDetector/DatePatternRegex directly (moved to misctestcase.py)
8 years ago