Commit Graph

3862 Commits (6e18508a07f69fe47f30a1ec7789ba59e23a8101)
 

Author SHA1 Message Date
roedie 6e18508a07 Add shorewall IPv6 support
8 years ago
Serg G. Brester feae7370ce Update THANKS
8 years ago
Serg G. Brester 8d9fe5d3da Merge pull request #1583 from sebres/_0.10/fix-datedetector-grave-fix-v2
8 years ago
sebres 8018796b45 wrong indentation (important code-piece in if log-level only)
8 years ago
sebres 39c343bd06 better reorder templates handling, code coverage increase (a small part of _reorderTemplate was not covered at all)
8 years ago
sebres 5d5ab27435 small amend: removed unreachable code + coverage increase
8 years ago
sebres c06084d7d9 _start_params - fix: symlinks should be absolute paths
8 years ago
sebres 40cbe96352 Merge remote-tracking branch 0.10 into _0.10/fix-datedetector-grave-fix-v2
8 years ago
Serg G. Brester 389ad10344 Merge pull request #1622 from sebres/_0.10/configreader-and-more
8 years ago
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 a2cf34a64e code review: added endpos to found tuple, just to be safe by unpack
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
sebres 58717c1854 fail2ban-testcases: persistently set (python) time zone to CET during test cases process (used in zone-related test-cases)
8 years ago
sebres c8b036456d changelog entries
8 years ago
sebres ffa9705412 fixed UTC/GMT named time zone using `%Z` and `%z` patterns (special case with 0 zone offset);
8 years ago
sebres faee5f1fdc better caching (thereby better performance), better recognition of similar regex
8 years ago
sebres ae7297e16b more precise date template handling (WARNING: this commit creates possible incompatibilities):
8 years ago
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