mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
content of debian-files/jail.d_defaults-debian.conf (banactions only and systemd for sshd) moved to paths-debian.conf;
remove default backend (systemd) - too dangerous for all jails, because it's hardly to find an error if some jail mistakenly start to monitor journal instead of logfile (even if it exists), but will silently find nothing; sshd jail disabled by default - user have to enable jails in jail.local or jail.d
This commit is contained in:
parent
e0e228ae91
commit
85a4881a9a
2 changed files with 5 additions and 7 deletions
|
|
@ -9,6 +9,11 @@ after = paths-overrides.local
|
|||
|
||||
[DEFAULT]
|
||||
|
||||
banaction = nftables
|
||||
banaction_allports = nftables[type=allports]
|
||||
|
||||
sshd_backend = systemd
|
||||
|
||||
syslog_mail = /var/log/mail.log
|
||||
|
||||
# control the `mail.warn` setting, see `/etc/rsyslog.d/50-default.conf` (if commented `mail.*` wins).
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
[DEFAULT]
|
||||
banaction = nftables
|
||||
banaction_allports = nftables[type=allports]
|
||||
backend = systemd
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
Loading…
Reference in a new issue