summaryrefslogtreecommitdiffstats
path: root/roles/common/files/etc/fail2ban/filter.d/nextcloud.conf
blob: 22305d6baa5fcf5b0b5bbbc98f5bae06efc788d4 (plain)
1
2
3
4
5
6
# Source: https://github.com/nextcloud/vm/blob/master/apps/fail2ban.sh

[Definition]
failregex=(?:^{|,)\"message\":\"Login failed: <F-USER>.*?</F-USER> \(Remote IP: '<HOST>'\)\"(:?,|}$)
          (?:^{|,)\"message\":\"Login failed: <F-USER>.*?</F-USER> \(Remote IP: <HOST>\)\"(:?,|}$)
          (?:^{|,)\"remoteAddr\":\"<HOST>\",.*Trusted domain error