Create paperless-ngx.conf

Filter for unsuccessful authentication attempts on paperless-ngx
pull/3982/head
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
1 changed files with 9 additions and 0 deletions

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 =