mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +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]
This commit is contained in:
parent
bb288f43af
commit
f16594e18b
@ -138,6 +138,7 @@ in
|
||||
findtime = 600
|
||||
maxretry = 3
|
||||
backend = systemd
|
||||
enabled = true
|
||||
'';
|
||||
|
||||
# Block SSH if there are too many failing connection attempts.
|
||||
|
Loading…
Reference in New Issue
Block a user