Commit graph

6 commits

Author SHA1 Message Date
Henrik Lissner ffb097ce0c fail2ban: move maxretry default to jails
Throws a "option 'maxretry' in section 'DEFAULT' already exists" error
on startup otherwise.
2021-01-31 18:43:29 -05:00
Henrik Lissner c32a1846e0 Tweak fail2ban defaults 2021-01-31 18:39:01 -05:00
Henrik Lissner 68fa845a73 Add comments & remove redundant config
IS_TLS_ENABLED = true is implied if HOST's port is 465
2021-01-31 18:20:17 -05:00
Henrik Lissner 2da00f3ad5 fail2ban: speed up gitea/bitwarden jails
These services log to syslog, so a log file doesn't exist, meaning
fail2ban must scan the whole journal to seek authentication failure
logs, which is slow! By specifying a journalmatch, it significantly
narrows the scope of their searches.
2021-01-30 06:04:38 -05:00
Henrik Lissner d380e06cba Make fail2ban defaults less forgiving 2021-01-30 04:52:13 -05:00
Henrik Lissner 177a7eec6f
Add services/fail2ban module
With bitwarden_rs & gitea filters
2021-01-01 21:19:06 -05:00