fail2ban: move maxretry default to jails
Throws a "option 'maxretry' in section 'DEFAULT' already exists" error on startup otherwise.
This commit is contained in:
parent
25a87f24d9
commit
ffb097ce0c
|
@ -17,6 +17,7 @@ in {
|
|||
enabled = true
|
||||
filter = bitwarden_rs
|
||||
port = 80,443,8002
|
||||
maxretry = 5
|
||||
'';
|
||||
|
||||
modules.backup.targets.bitwarden = {
|
||||
|
|
|
@ -19,7 +19,6 @@ in {
|
|||
factor = "4";
|
||||
};
|
||||
jails.DEFAULT = ''
|
||||
maxretry = 5
|
||||
blocktype = DROP
|
||||
bantime = 1h
|
||||
findtime = 1h
|
||||
|
|
|
@ -49,6 +49,7 @@ in {
|
|||
enabled = true
|
||||
filter = gitea
|
||||
banaction = %(banaction_allports)s
|
||||
maxretry = 5
|
||||
'';
|
||||
|
||||
modules.backup.targets.gitea = {
|
||||
|
|
Loading…
Reference in a new issue