services.fail2ban.bantime-increment.formula

NixOS option

“bantime.formula” used by default to calculate next value of ban time, default value below, the same ban time growing will be reached by multipliers 1, 2, 4, 8, 16, 32 …

type: null or string
Default
null
Example
"ban.Time * math.exp(float(ban.Count+1)*banFactor)/math.exp(1*banFactor)"
declared in: nixos/modules/services/security/fail2ban.nixView source on NixOS/nixpkgs →