fail2ban/config
MichaIng dd9f359f5c
Fix Dropbear filter when logging to STDOUT
Since Debian Bookworm, the distribution ships Dropbear with a native systemd service instead of the default upstream init.d service, and accordingly uses the `-F` and `-E` flags, to run it in foreground and have it logging to STDOUT instead of syslog.

As usual, timestamps and also the PID are now included by the log message emitted by Dropbear, in addition to the systemd journal log prefix.

The Dropbear filter hence does not match anymore. This commit adds the PID and timestamp as optional pattern between prefix and fail log text, to support Dropbear on Debian Bookworm and newer (and likely new versions of other distros) without breaking the old pattern when running Dropbear without `-E` flag.

Additionally, for performance reasons, this commit adds a `journalmatch` entry, matching Debian's and Fedora's `dropbear.service` with `dropbear` executable/identifier, the most likely match for a Dropbear systemd service.

Signed-off-by: MichaIng <micha@dietpi.com>
2024-12-27 13:59:35 +07:00
..
action.d Merge pull request #3636 from szepeviktor/typos 2024-12-21 19:31:54 +01:00
filter.d Fix Dropbear filter when logging to STDOUT 2024-12-27 13:59:35 +07:00
fail2ban.conf New logtarget: systemd-journal; 2022-08-29 12:30:05 +02:00
jail.conf Add jail to jail.conf as requested by test-suite 'More filters exists than are referenced in stock jail.conf set(['proxmox']) 2024-07-30 19:11:02 +02:00
paths-arch.conf Add a path configuration for Arch Linux 2017-02-14 18:43:01 +08:00
paths-common.conf [DATALAD RUNCMD] run codespell throughout fixing typo automagically 2023-11-18 10:04:04 -05:00
paths-debian.conf cherry-pick from debian: debian default banactions are nftables, systemd backend for sshd 2024-04-26 02:26:55 +02:00
paths-fedora.conf config/paths-common.conf: Added initial values for syslog_authpriv, syslog_mail in order to avoid errors while parsing/interpolating configuration; 2017-11-03 14:15:07 +01:00
paths-freebsd.conf config/paths-common.conf: Added initial values for syslog_authpriv, syslog_mail in order to avoid errors while parsing/interpolating configuration; 2017-11-03 14:15:07 +01:00
paths-opensuse.conf config/paths-common.conf: Added initial values for syslog_authpriv, syslog_mail in order to avoid errors while parsing/interpolating configuration; 2017-11-03 14:15:07 +01:00
paths-osx.conf config/paths-common.conf: Added initial values for syslog_authpriv, syslog_mail in order to avoid errors while parsing/interpolating configuration; 2017-11-03 14:15:07 +01:00