Commit Graph

5274 Commits (412120ac3c3f1c9a3fa8c7676059ab2be0f87c6a)
 

Author SHA1 Message Date
Sergey G. Brester 428c75d1cd
Merge pull request #2651 from fail2ban/0.10-travis-3.9-dev
5 years ago
Sergey G. Brester d4da9afd7f
Update ChangeLog
5 years ago
Sergey G. Brester 9d7388e684
Thread: is_alive instead of isAlive (removed in py-3.9)
5 years ago
Sergey G. Brester 55e76c0b80
restore isAlive method removed in python 3.9
5 years ago
Sergey G. Brester 781a25512b
travis CI: add 3.9-dev as target
5 years ago
sebres 8b43d54878 Merge branch '0.11'
5 years ago
sebres 32f02ef3b3 Merge branch '0.10' into 0.11
5 years ago
sebres 42714d0849 filter.d/common.conf: closes gh-2650, avoid substitute of default values in related `lt_*` section, `__prefix_line` should be interpolated in definition section (after the config considers all sections that can overwrite it);
5 years ago
sebres 2ddf687c31 Merge branch '0.10' into 0.11 - test cases only (add ban to database was moved to observer in 0.11)
5 years ago
sebres 15158e4474 closes gh-2647: add ban to database is moved from jail.putFailTicket to actions.__CheckBan; be sure manual ban is written to database, so can be restored by restart; reload/restart test extended
5 years ago
sebres f088e7bf76 Merge branch '0.10' into 0.11
5 years ago
sebres 6281dc3633 failmanager, ticket: avoid reset of retry count by pause between attempts near to findTime - adjust time of ticket will now change current attempts considering findTime as an estimation from rate by previous known interval (if it exceeds the findTime);
5 years ago
sebres 4766547e1f performance optimization of `datepattern` (better search algorithm);
5 years ago
sebres ef1eaf9b37 Merge branch '0.11'
5 years ago
sebres c15c300d2a Merge branch '0.10' into 0.11
5 years ago
sebres e6ca04ca9d Merge branch '0.10' into 0.11 + version bump (back to dev)
5 years ago
Sergey G. Brester 2e42b98cd3
Merge pull request #2638 from gurnec/pypy-ulimit-fix
5 years ago
sebres 6c6cf2a956 small amend (avoid possible error by close of not existing pipe)
5 years ago
Christopher Gurnee df885586d4 close Popen() pipes explicitly for PyPy
5 years ago
sebres e57e950ef5 version bump (back to dev)
5 years ago
sebres ab3a7fc6d2 filter.d/sshd.conf: mode `ddos` (and aggressive) extended to detect port scanner sending unexpected ident string after connect
5 years ago
sebres 35591db3e8 Merge branch '0.11'
5 years ago
sebres 7282cf91b0 Merge branch '0.10' into 0.11
5 years ago
sebres b3644ad413 code normalization and optimization (strip of trailing new-line, date parsing, ignoreregex mechanism, etc)
5 years ago
sebres 91eca4fdeb automatically create not-existing path (last level folder only) for pidfile, socket and database (with default permissions)
5 years ago
sebres 14e68eed72 performance: set fetch handler getGroups depending on presence of alternate tags in RE (simplest variant or merged with alt-tags) in regex constructor
5 years ago
sebres 9137c7bb23 filter processing:
5 years ago
sebres 1492ab2247 improve processing of pending failures (lines without ID/IP) - fail2ban-regex would show those in matched lines now (as well as increase count of matched RE);
5 years ago
Sergey G. Brester ac8e8db814
travis: switch 3.8-dev to 3.8 (released)
5 years ago
Sergey G. Brester d7643fe538
Merge pull request #2630 from fail2ban/gh-2200-postfix
5 years ago
Sergey G. Brester 88cf5bcd93
Update postfix
5 years ago
Sergey G. Brester 774dda6105
filter.d/postfix.conf: extended mode ddos and aggressive covering multiple disconnects without auth
5 years ago
Sergey G. Brester 34d63fccfe
close gh-2629 - jail.conf (action_blocklist_de interpolation): replace service parameter (use jail name instead of filter, which can be empty)
5 years ago
sebres 65ce64ba6d Merge branch '0.11'
5 years ago
sebres 01333fc3e2 Merge branch '0.10' into 0.11
5 years ago
sebres 7a28861fc7 review of command line: more long-named options can be supplied via command line
5 years ago
sebres 3f48907064 amend to f3dbc9dda10e52610e3de26f538b5581fd905505: change main thread-name back to `fail2ban-server`;
5 years ago
sebres 9c7bd80807 fail2ban-regex: stop endless logging on closed streams (redirected pipes like `... | head -n 100`), exit if stdout channel is closed
5 years ago
sebres ccbc0c7405 Merge branch '0.11'
5 years ago
sebres a7c68ea19f Merge branch '0.10' into 0.11
5 years ago
sebres 12b3ac684a closes #2615: systemd backend would seek to last known position (or `now - findtime`) in journal at start.
5 years ago
sebres cd42cb26d6 database: try to fix `out of sequence` error on some old platform / sqlite versions (#2613) - repack iterator as long as in lock (although dirty read has no matter here and only writing operations should be serialized, but to be sure and exclude this as source of that errors).
5 years ago
sebres 569dea2b19 filter.d/mysqld-auth.conf: capture user name in filter (can be more strict if user switched, used in action or fail2ban-regex output);
5 years ago
sebres 9e6d07d928 testSampleRegexsFactory: `time` is not mandatory anymore (check time only if set in json), allows usage of same line(s) matching different `logtype` option:
5 years ago
sebres 3befbb1770 improved wait for observer stop on server quit (second stop would force quit), this also cause reset db in observer (to avoid out of sequence errors) before database gets ultimately closed at end of server stop process (gh-2608)
5 years ago
sebres 7f1b578af4 Merge branch 'gh-488-check-on-error'
5 years ago
sebres 8cbc1e0ebb ChangeLog (change actioncheck behavior)
5 years ago
sebres 546fff8dc0 Merge branch '0.11'
5 years ago
Sergey G. Brester d2d3762ba9
Merge pull request #2605 from angeloc/0.11
5 years ago
Angelo Compagnucci 5fa1f69264 setup.py: adding option to install without tests
5 years ago