Update to 0.9.6:
filter.d/apache-modsecurity.conffilter.d/asterisk.conffilter.d/dovecot.conffilter.d/ignorecommands/apache-fakegooglebotfilter.d/assp.conffilter.d/postfix-sasl.conffilter.d/vsftpd.conffilter.d/sendmail-reject.conffilter.d/sshd.conf
New Actions:
action.d/npf.conf for NPF, the latest packet filter for NetBSDNew Filters:
filter.d/mongodb-auth.conf for MongoDB (document-oriented NoSQL database engine)
(gh-1586, gh-1606 and gh-1607)DateTemplate regexp extended with the word-end boundary, additionally to word-start boundary
diff
-#!/usr/bin/env python
+#!/usr/bin/env fail2ban-pythonbackend = systemd[journalpath=/run/log/journal/machine-1]backend = systemd[journalfiles="/run/log/journal/machine-1/system.journal, /run/log/journal/machine-1/user.journal"]backend = systemd[journalflags=2]Fix sendmail-auth filter (bug #1329919)
Please log in to add feedback.
This update has been submitted for testing by orion.
This update has been pushed to testing.
Installed and found it breaks fail2ban-regex when testing against systemd-journal.
fail2ban-regex "systemd-journal" /etc/fail2ban/filter.d/sshd.conf
Running tests
Use failregex filter file : sshd, basedir: /etc/fail2ban Use maxlines : 10 Use journal match : _SYSTEMD_UNIT=sshd.service + _COMM=sshd
Traceback (most recent call last): File "/bin/fail2ban-regex", line 34, in <module> exec_command_line() File "/usr/lib/python3.5/site-packages/fail2ban/client/fail2banregex.py", line 599, in exec_command_line if not fail2banRegex.start(opts, args): File "/usr/lib/python3.5/site-packages/fail2ban/client/fail2banregex.py", line 538, in start self.process(test_lines) File "/usr/lib/python3.5/site-packages/fail2ban/client/fail2banregex.py", line 370, in process for line_no, line in enumerate(test_lines): File "/usr/lib/python3.5/site-packages/fail2ban/client/fail2banregex.py", line 93, in journal_lines_gen yield FilterSystemd.formatJournalEntry(entry) TypeError: formatJournalEntry() missing 1 required positional argument: 'logentry'
This update has been obsoleted by fail2ban-0.9.6-2.fc25.