From 827eb202c00fcc75e1913559f2871402d19a9134 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 6 Jul 2023 12:21:46 +0900 Subject: [PATCH] test --- services/fail2ban.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/services/fail2ban.nix b/services/fail2ban.nix index bd32e170..1002c336 100644 --- a/services/fail2ban.nix +++ b/services/fail2ban.nix @@ -8,7 +8,6 @@ bantime = "24h"; # Set bantime to one day bantime-increment = { enable = true; # Enable increment of bantime after each violation - formula = "ban.Time * math.exp(float(ban.Count+1)*banFactor)/math.exp(1*banFactor)"; multipliers = "1 2 4 8 16 32 64"; maxtime = "168h"; # Do not ban for more than 1 week overalljails = true; # Calculate the bantime based on all the violations