MyNixOS website logo
option

services.fail2ban.bantime-increment.formula

"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 ...

Declarations
Type
null or string
Default
null
Example
"ban.Time * math.exp(float(ban.Count+1)*banFactor)/math.exp(1*banFactor)"