mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
nextcloud: Remove fail2ban jail, brute force protection present
Nextcloud has a built-in brute force protection[1]. Combined with good password policies, fail2ban is not required. Built-in protection is better than fail2ban because, fail2ban makes the service unavailable which causes some confusion to a genuine user. Links: 1) https://docs.nextcloud.com/server/19/admin_manual/configuration_server/bruteforce_configuration.html Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
7ab7d949af
commit
c371f77e3b
3 files changed
-13
No files matched your search
@@ -72,8 +72,6 @@ class NextcloudApp(app_module.App):
|
||||
|
||||
dropin_configs = DropinConfigs('dropin-configs-nextcloud', [
|
||||
'/etc/apache2/conf-available/nextcloud-freedombox.conf',
|
||||
'/etc/fail2ban/jail.d/nextcloud-freedombox.conf',
|
||||
'/etc/fail2ban/filter.d/nextcloud-freedombox.conf',
|
||||
'/etc/redis/conf.d/freedombox.conf',
|
||||
])
|
||||
self.add(dropin_configs)
|
||||
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
[INCLUDES]
|
||||
before = common.conf
|
||||
|
||||
[Definition]
|
||||
_daemon = apache-access
|
||||
prefregex = %(__prefix_line)s
|
||||
failregex = \S+ <HOST>(?::\d+)? - \S+ \[[^\]]*\] "GET /nextcloud/login\?direct=1&user=\S+ HTTP/\S+" 200
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
[nextcloud-freedombox]
|
||||
enabled = true
|
||||
filter = nextcloud-freedombox
|
||||
journalmatch = SYSLOG_IDENTIFIER=apache-access
|
||||
Reference in new issue
Block a user