Create paperless-ngx.conf

Filter for unsuccessful authentication attempts on paperless-ngx
This commit is contained in:
Rajib Sharia 2025-04-03 11:39:47 +08:00 committed by GitHub
parent f0e2bec01e
commit 0c50c6cc27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,9 @@
# Fail2Ban filter for unsuccessful paperless-ngx authentication attempts
# Logged in /var/log/paperless.log
# Author: LearningSpot
[Definition]
failregex = ^\s*(?:\[\]\s*)?\[INFO\] \[paperless\.auth\] Login failed for user `<F-USER>\S+</F-USER>` from (private )?IP `<ADDR>`\.$
ignoreregex =