fail2ban: Split and update configuration files

- Easy to configure for separate services.

- Unique names ensure that system administrator FreedomBox configuration files
  don't conflict with system administrator created ones.

- Set maximum attempts to 10 globally instead of 5.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa committed 2019-01-24 14:20:27 -08:00
1 parent 760fa77b70
commit f113a3bfc9
5 files changed
+8 -8

No files matched your search

@@ -0,0 +1,2 @@
[apache-auth]
enabled = true
+3
View File
@@ -0,0 +1,3 @@
[DEFAULT]
# 10 tries in the last 10 minutes before banning for 10 minutes
maxretry = 10
@@ -0,0 +1,2 @@
[sshd]
enabled = true
-6
View File
@@ -1,6 +0,0 @@
[sshd]
enabled = true
[apache-auth]
enabled = true
maxretry = 10