From 37f9447a3872c950783666fc1687507c5218b43e Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Thu, 5 Dec 2024 19:16:04 +0100 Subject: [PATCH] increase fail2ban limits --- modules/core/fail2ban.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/core/fail2ban.nix b/modules/core/fail2ban.nix index 2681d43..5c08578 100644 --- a/modules/core/fail2ban.nix +++ b/modules/core/fail2ban.nix @@ -15,13 +15,14 @@ enabled = true # aggressive mode to add blocking for aborted connections filter = dovecot[mode=aggressive] - maxretry = 3 + maxretry = 15 ''; postfix = '' enabled = true filter = postfix[mode=aggressive] - maxretry = 3 + maxretry = 15 ''; + sshd.settings.maxretry = 15; }; }; }