From c8592c769ec4393c3e6aa7a52885275776749b92 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Mon, 15 Aug 2016 16:17:32 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20des=20valeurs=20par=20d=C3=A9faut=20car?= =?UTF-8?q?=20remplac=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/activation-manuelle/service-fail2ban.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base/activation-manuelle/service-fail2ban.nix b/base/activation-manuelle/service-fail2ban.nix index e103025..1f26183 100644 --- a/base/activation-manuelle/service-fail2ban.nix +++ b/base/activation-manuelle/service-fail2ban.nix @@ -30,6 +30,12 @@ mkIf cfg.fail2ban { maxretry = 3 destemail = ${destemail} + + # https://github.com/Baughn/nixpkgs/blob/master/nixos/modules/services/security/fail2ban.nix + findtime = 600 + maxretry = 3 + backend = systemd + enabled = true ''; ssh-route = '' filter = sshd