Fix fail2ban rule for yunohost-api login

This commit is contained in:
Alexandre Aubin 2021-06-07 23:36:52 +02:00 committed by GitHub
parent bd196c875b
commit b837d3dafd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@
# Values: TEXT # Values: TEXT
# #
failregex = helpers.lua:[0-9]+: authenticate\(\): Connection failed for: .*, client: <HOST> failregex = helpers.lua:[0-9]+: authenticate\(\): Connection failed for: .*, client: <HOST>
^<HOST> -.*\"POST /yunohost/api/login HTTP/1.1\" 401 ^<HOST> -.*\"POST /yunohost/api/login HTTP/\d.\d\" 401
# Option: ignoreregex # Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored. # Notes.: regex to ignore. If this regex matches, the line is ignored.