treewide: upstreaming changes
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
parent
d159232b37
commit
e4e1b03c7e
160 changed files with 3408 additions and 5474 deletions
14
s0mev1rtn0de-nix/services/fail2ban.nix
Normal file
14
s0mev1rtn0de-nix/services/fail2ban.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{...}: {
|
||||
services = {
|
||||
fail2ban = {
|
||||
enable = true;
|
||||
bantime-increment = {
|
||||
enable = true;
|
||||
factor = "10";
|
||||
formula = "ban.Time * math.exp(float(ban.Count+1)*banFactor)/math.exp(1*banFactor)";
|
||||
overalljails = true;
|
||||
maxtime = "500h";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue