Le 07/05/2024 à 03:57, Vincent Lefevre a écrit :
On 2024-05-07 03:28:28 +0200, Vincent Lefevre wrote:
May 07 03:01:28 qaa fail2ban-server[557228]: 2024-05-07 03:01:28,226 fail2ban
[557228]: ERROR Failed during configuration: Have not found any
log file for sshd jail
I suppose that this is because sshd no longer uses the systemd
backend. This is wrong. If I understand correctly, the point of
https://github.com/fail2ban/fail2ban/issues/3292#issuecomment-2078361360
is to no longer use the systemd backend for all jails, but for
sshd only. So "backend = systemd" has been removed from DEFAULT,
but the above comment also points to
https://github.com/fail2ban/fail2ban/commit/85a4881a9a818b6a746109f74980919296eedad0
which adds for DEFAULT in paths-debian.conf:
------------------------------------------------------------
banaction = nftables
banaction_allports = nftables[type=allports]
sshd_backend = systemd
------------------------------------------------------------
But paths-debian.conf has not changed in the fail2ban 1.1.0-1 package.
ok, thanks.
Any idea what the fix should be? I am a bit lost in this conversation :/
Thanks
S