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