fail2ban: move maxretry default to jails

Throws a "option 'maxretry' in section 'DEFAULT' already exists" error
on startup otherwise.
This commit is contained in:
Henrik Lissner 2021-01-31 18:43:29 -05:00
parent 25a87f24d9
commit ffb097ce0c
3 changed files with 2 additions and 1 deletions

View file

@ -17,6 +17,7 @@ in {
enabled = true
filter = bitwarden_rs
port = 80,443,8002
maxretry = 5
'';
modules.backup.targets.bitwarden = {

View file

@ -19,7 +19,6 @@ in {
factor = "4";
};
jails.DEFAULT = ''
maxretry = 5
blocktype = DROP
bantime = 1h
findtime = 1h

View file

@ -49,6 +49,7 @@ in {
enabled = true
filter = gitea
banaction = %(banaction_allports)s
maxretry = 5
'';
modules.backup.targets.gitea = {