Commit Graph

3814 Commits (bd1eb70c52f078fea65d1688915487a5dea1f3c7)
 

Author SHA1 Message Date
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
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
sebres 8e09be5fc8 test cases for boundaries for date-pattern extended (negative/positive, left/right)
8 years ago
sebres 7f55be3fad amend to b6bb2f88c1dbb111647269590d80d95f72c81c3e: datepattern right word boundary - prevents confusions if end of date-pattern (e.g. optional year part) misleadingly match not date values (see gh-1507)
8 years ago
sebres 861fb8d463 Merge remote-tracking branch 'remotes/gh-upstream/0.10' into _0.10/optimize-setup-test-case
8 years ago
Serg G. Brester d75af2f900 travis: coverage python 3.5 (#1511)
8 years ago
sebres 6fcf8192f3 code review
8 years ago
sebres c3d1d51daf Merge remote-tracking branch 'remotes/gh-upstream/0.9' into 0.10
8 years ago
sebres c49fe12f70 fix fail2banregextestcase using setUpMyTime/tearDownMyTime: always use correct static time as base-time (using mock up MyTime), correct datetimes inside test
8 years ago
sebres 83029b89b9 amend to 2e530fcf72c9e9bae321b37b625728bf9f88f71b: setuptools compatibility fix - just to be sure if install_scripts will be incompatible tomorrow
8 years ago
sebres eb72660eee easy-fix: reset fail2ban link to python, if it targeted unavailable file
8 years ago
sebres 2e530fcf72 setuptools compatibility fix
8 years ago
sebres fcae05190f move common initializing functionality from fail2ban-testcases to tests/utils.py, to afford setting of default options by test execution from setup process.
8 years ago
sebres b2ee3b120e optimized logging using LogCaptureTestCase (new faster handler _MemHandler);
8 years ago
sebres 461e9bab56 better handling of setup in test-cases (prevent execution of 2to3 twice, full logging in heavydebug, etc.)
8 years ago
sebres d71a525a85 Merge branch 'master' into 0.10 (resolve conflicts and cleaning tree points after back-porting gh-1508 0.10 -> 0.9)
8 years ago
sebres 42b5a10f5d Back-port pull request #1508 from sebres/_fix/python-executable-gh-1506 to master (0.10 -> 0.9)
8 years ago
sebres cb340db220 ChangeLog entry for gh-1508
8 years ago
sebres db30b7ce06 BF: prefer sys.argv[0] by retrieving of root resp. bin path: __file__ seems to be overwritten sometimes on some python versions (e.g. bug of 2.6 by running under cProfile, etc.)
8 years ago
sebres 6cdc1ce685 compatibility fix (virtualenv, running test cases in py3)
8 years ago
sebres 38d53a72fd introduces new command "fail2ban-python", as automatically created symlink to python executable, where fail2ban currently installed (resp. its modules are located);
8 years ago
sebres a4cef8a893 Merge branch '_fix/python-executable-gh-1506' into 0.10
8 years ago
Serg G. Brester db24edba81 Update README.md
8 years ago
sebres c8e7c1f7f4 BF: prefer sys.argv[0] by retrieving of root resp. bin path: __file__ seems to be overwritten sometimes on some python versions (e.g. bug of 2.6 by running under cProfile, etc.)
8 years ago
sebres f390a82b59 python 2.6 compatibility minor fix - no skip + BaseException.message seems to be deprecated
8 years ago
sebres 08af8de981 compatibility fix (virtualenv, running test cases in py3)
8 years ago