Commit Graph

4641 Commits (89c611064db13caf485c13e6464fff52bb8f8056)
 

Author SHA1 Message Date
Sergey G. Brester cc321b78da
Merge pull request #2176 from sebres/ignore-cache
6 years ago
sebres f8f01d5ab7 introduced new option `ignorecache` to improve performance of ignore failure check (using caching of `ignoreip`, `ignoreself` and `ignorecommand`)
6 years ago
sebres 9b6d17d07e extend `ignorecommand` to use actions-similar replacement (ticket-based now, so capable to interpolate all possible tags)
6 years ago
Sergey G. Brester 11c1bf0149
Update ChangeLog
6 years ago
Daniel Dương a719ba81e9 Fix cymru reference link
6 years ago
sebres d9b9bb5f40 Merge pull request #2125 from jodlajodla/0.11 (rebased)
6 years ago
sebres 1e44b3f085 systemd no cover (currently unsupported by travis)
6 years ago
Jan Sušnik 54a04b3a6a Fixed data type of journal flags from str to int
6 years ago
Jan Sušnik df33322f9f Added test to prove bug when specifying journal flags to systemd backend
6 years ago
Sergey G. Brester 75330568d9
Merge pull request #2168 from dpavlin/dovecot-add-F-USER
6 years ago
sebres f7962469a9 Merge pull request #2173 from mattsta/fix/findtime-backsearch-on-file-load (rebased)
6 years ago
sebres 1eb93e2556 filter.py: repair start-time of initial seek to time (regardless the position of `findtime` option in config);
6 years ago
Matt Stancliff 00a0e98041 Load logpath only after findtime is configured
6 years ago
sebres 857d6954c4 Merge pull request #2171 from sebres/0.10-fix-decoding-issues
6 years ago
sebres d0945120bf ChangeLog
6 years ago
sebres 73e89df912 amend to bcf557990e15922aff22485cc86ddd2fcf41b796: wrong logging syntax will not throw an error anymore (logged now, as logging is safe)
6 years ago
sebres bcf557990e relocate exception-safe logging from database json-handler to common logger handling, using injection on _log-method of Logger class;
6 years ago
sebres 06f2130575 typo/indent fix (no functional changes)
6 years ago
sebres 6ce67a6d21 coverage
6 years ago
sebres bd54d472b3 extend test-cases to check the database is still operable (not locked) after all the errors during the simulation
6 years ago
sebres 3be82a9ce9 coverage
6 years ago
sebres 5a4b47464b a bit optimized helpers
6 years ago
sebres 7dffa7a2a1 coverage related, after default encoding change
6 years ago
sebres c81de46d21 remove some no cover pragma's - covered now
6 years ago
sebres 48c2cbfa0b improve failure-message of assertNotLogged in case of single match given
6 years ago
sebres 7c9146feb3 ticket can contains bytes now (if deserialized from json by py3.x)
6 years ago
sebres 930cc6c8f1 improve adapter/converter handlers working on invalid characters in sense of json and/or sqlite-database;
6 years ago
sebres 85fd1854bc minimize influence of implicit conversions errors (between unicode, bytes and str), provide new universal helper `uni_string`, which uses safe explicit conversion to string (also if default encoding is ascii); avoid conversion errors on wrong-chars by replace tags.
6 years ago
Dobrica Pavlinusic 6f1e789f31 dovecot: collect F-USER and variants
7 years ago
sebres 227550684a **interim** try to fix several conversion errors
7 years ago
sebres 79350e916e fixes issue with wrong-chars in string items of CallingMap by its representation, additionally don't calculate values implicitly (may be unexpected for some constellations resp. too slow in DEBUG)
7 years ago
sebres 2f5059ebfb test-cases: rewrite dirty-read algorithm of _MemHandler to avoid sporadic reset of dirty flag by too fast logging;
7 years ago
sebres 8cbe1e6b13 Merge pull request #2155
7 years ago
cheese1 43db4411de small typo
7 years ago
sebres 8ec225e20a Merge pull request #2153
7 years ago
sebres 38631d0cd4 fix test-case from gh-2153 (test-suite running in year 2005)
7 years ago
Boris Gulay 34f363f6af Added test case for updated dovecot failregex.
7 years ago
Boris Gulay a923cd209b `filter.d/dovecot.conf`: failregex enhancement to catch sql password mismatch errors;
7 years ago
benrubson f54f6caece Merge Apache SNI error / misredirect attempts rules
7 years ago
sebres 61e30949b3 Merge branch '0.10-short-version' into 0.10
7 years ago
sebres f220aba26f minor: added missing new-line (no functional changes)
7 years ago
sebres e36f4667ab fail2ban-client, fail2ban-server and fail2ban-regex will return version without logo info, additionally option `-V` can be used to get version in normalized machine-readable short format;
7 years ago
Sergey G. Brester a3cb1dbd4d
Update jailreader.py
7 years ago
sebres 1b4ba602ba normalize bool conversion, introduced common helper function `_as_bool`
7 years ago
sebres 60b36c4213 rewritten preventive measure to convert "unexpected" type before pickled in CS-protocols: don't convert all basic types now (also bool, int etc).
7 years ago
sebres e01981cc72 tweak performance a bit (filter.py: inIgnoreIPList: changed default of parameter `log_ignore=True`, mostly used against filter-calls)
7 years ago
sebres a208b11796 added log message if ignored by `ignoreself` rule (similar to both other rules `ignoreip` and `ignorecommand`), and test covered now;
7 years ago
sebres 4099897be0 test dummy action first
7 years ago
Sergey G. Brester 9f3a80a21a
Update ChangeLog
7 years ago
sebres bba7a6c5cf amend to (gh-2067) / b34ae5999e0d8ee1af8939527305c13152844b3d: fix parameter in config (dynamic parameters stating with '_' are protected and don't allowed in command-actions);
7 years ago