mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Create paperless-ngx.conf
Filter for unsuccessful authentication attempts on paperless-ngx
This commit is contained in:
parent
f0e2bec01e
commit
0c50c6cc27
1 changed files with 9 additions and 0 deletions
9
config/filter.d/paperless-ngx.conf
Normal file
9
config/filter.d/paperless-ngx.conf
Normal 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 =
|
||||
Loading…
Reference in a new issue