mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-05-23 05:48:59 +02:00
Add fail2ban checks for owncloud
This commit is contained in:
@@ -40,6 +40,14 @@ logpath = /var/log/roundcubemail/errors
|
||||
maxretry = 20
|
||||
findtime = 30
|
||||
|
||||
[owncloud]
|
||||
enabled = true
|
||||
port = http,https
|
||||
filter = owncloud
|
||||
logpath = /home/user-data/owncloud/owncloud.log
|
||||
maxretry = 20
|
||||
findtime = 30
|
||||
|
||||
[recidive]
|
||||
enabled = true
|
||||
maxretry = 10
|
||||
|
||||
3
conf/fail2ban/owncloud.conf
Normal file
3
conf/fail2ban/owncloud.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
[Definition]
|
||||
failregex=Login failed: .*Remote IP: '<HOST>[\)']
|
||||
ignoreregex =
|
||||
Reference in New Issue
Block a user