mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
nixos/fail2ban: Enable jails by default
With jails defaulting to 'enabled = true', the sshd jail that NixOS
defines will now be enabled.
[Bjørn: tweak commit message]
(cherry picked from commit f16594e18b)
This commit is contained in:
committed by
Bjørn Forsman
parent
3614f64d58
commit
e0da216fbd
@@ -138,6 +138,7 @@ in
|
||||
findtime = 600
|
||||
maxretry = 3
|
||||
backend = systemd
|
||||
enabled = true
|
||||
'';
|
||||
|
||||
# Block SSH if there are too many failing connection attempts.
|
||||
|
||||
Reference in New Issue
Block a user