mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
ssh, apache: Make fail2ban use systemd journald backend by default
- This allows disabling syslog daemons. - Fall back to using file based monitoring for Apache. Tests performed: - Before and after the patch, connecting via SSH and typing in incorrect password leads to a entry in fail2ban.log. 10 incorrect attempts result in a 10 minute ban. - Before and after the patch, typing in incorrect password for radicale leads to a entry in fail2ban.log. 10 incorrect attempts result in a 10 minute ban. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
631e10c09e
commit
fd7bda7ce9
@ -1,3 +1,4 @@
|
||||
[DEFAULT]
|
||||
# 10 tries in the last 10 minutes before banning for 10 minutes
|
||||
maxretry = 10
|
||||
backend = systemd
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
[apache-auth]
|
||||
enabled = true
|
||||
backend = auto
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user