refactoring changes from sequpgrade (endReturn, ...) and some modernizations

This commit is contained in:
2023-01-03 15:49:08 +01:00
parent 215135e8aa
commit 3c22d5729f
69 changed files with 553 additions and 654 deletions

View File

@@ -1,4 +1,4 @@
[Definition]
failregex = ^.*\"remoteAddr\":\"<HOST>\".*Trusted domain error.*$
^.*\"remoteAddr\":\"<HOST>\".*Login failed:.*$
^.*\"remoteAddr\":\"<HOST>\".*Login failed:.*$

View File

@@ -7,10 +7,10 @@ logpath = /etc/fail2ban/ip.blacklist
maxretry = 0
findtime = 600
# infinite ban
#bantime = -1
#bantime = -1
# 1 day ban
#bantime = 24h
#bantime = 24h
# 2 day ban
bantime = 48h
bantime = 48h
# 10 minute ban
#bantime = 10m

View File

@@ -4,4 +4,4 @@ logpath = /var/nc_data/nextcloud.log
port = http,https
filter = nextcloud
maxretry = 3
bantime = 24h
bantime = 24h