Commit Graph

3838 Commits (ce540554c59d6b475b1e37695f30a1482b301544)
 

Author SHA1 Message Date
sebres ce540554c5 Merge configreader-py3-compat branch into _0.10/configreader-and-more
8 years ago
sebres ec7bb0d6c9 python 3x compatibility fix (positional arguments vs named arguments)
8 years ago
sebres a2af19c9f0 fixed several actions, that could not work with jails using multiple logpath; additionally repaired execution in default shell (bad substitution by `${x//...}` executing in `/bin/sh`);
8 years ago
sebres 65abc639cc allow newline in extra init-parameters of action/filter (or interpolation of it), e. g. action[..., logpath="%(logpath)s"]
8 years ago
sebres 097970781c filter/action (and its includes): substitution `%(param)s` may be used now (instead of `<param>`) for init-values specified in jail-configs via `action[param1="...", param2=...]`;
8 years ago
sebres b856e1dadc Merge pull request #1618 from sebres/_0.10/systemd-service
8 years ago
sebres 308bba448c ChangeLog update
8 years ago
sebres 95dd76b7dd Merge pull request #1619 from sebres/_0.10/skip-wrong-jails
8 years ago
sebres d908688b56 ChangeLog update
8 years ago
sebres 45174c5eaf if fail2ban running as systemd-service, for logging to the systemd-journal, the `logtarget` could be set to STDOUT
8 years ago
sebres 1cd67ecaa2 automatically creates /var/run/fail2ban before start fail2ban (systems which /var/run/ is virtual resp. memory mount device)
8 years ago
sebres 7256a5cb8e code review: back to previous code - no skipping in testReadTestJailConf
8 years ago
sebres 8ed5b44bfd no cover for sporadic executed (time-related) code pieces (just to prevent randomly increasing/decreasing of coverage)
8 years ago
sebres fdac44ca58 introduced new option `-t` or `--test` to test configuration resp. start server only if configuration is clean (not skip wrong configured jails if option `-t` specified);
8 years ago
sebres 3e9852d4d2 code review, increase coverage
8 years ago
sebres 4882093a41 test cases extended: cover skipping invalid jail
8 years ago
sebres e52b47d8f5 normalized log output (all jail parameters in filter are indented with 2 spaces)
8 years ago
sebres c6e8c700f7 test cases fixed
8 years ago
sebres 77dc5a334c really skips invalid jails (because of theirs wrong configuration) - server starts nevertheless, as long as one jail was successful configured;
8 years ago
sebres 528a7a5abb systemd service update:
8 years ago
sebres 261f875748 Fixed sporadic tab-replacement (`\n\t` instead of `\n ` by word wrapping) in mime content of smtp-message in test cases, see
8 years ago
Serg G. Brester 44fddc102d Merge pull request #1616 from sebres/fix-1194
8 years ago
sebres 701abfd250 ChangeLog entry added
8 years ago
sebres c442569b63 executeCmd: added possibility to select success return codes
8 years ago
sebres 189e70d99c processLine etc. rewritten:
8 years ago
sebres ea4c1f6356 Merge branch 'master' into 0.10
8 years ago
sebres dab5f56609 Merge branch 'fix-gh-1477'
8 years ago
Serg G. Brester 4e252be76f Update FILTERS
8 years ago
Yaroslav Halchenko 5502e47486 Merge pull request #1579 from sebres/fix-gh-1578
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
sebres 519e355bf2 ChangeLog entry added
8 years ago
sebres 84c3eb3e0e filter.d/sendmail-reject.conf: double space (should be by missing dns-host only)
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