mirror of https://github.com/fail2ban/fail2ban
Create paperless-ngx.conf
Filter for unsuccessful authentication attempts on paperless-ngxpull/3982/head
parent
f0e2bec01e
commit
0c50c6cc27
|
@ -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 New Issue