mirror of https://github.com/fail2ban/fail2ban
Merge 9321af0513
into 86b9adb2f5
commit
5d13c65c98
|
@ -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 =
|
|
@ -995,3 +995,7 @@ logpath = /var/log/daemon.log
|
|||
[vaultwarden]
|
||||
port = http,https
|
||||
logpath = /var/log/vaultwarden.log
|
||||
|
||||
[paperless-ngx]
|
||||
port = http,https,8000
|
||||
logpath = /var/log/paperless.log
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# failJSON: { "time": "2024-08-30T16:26:55", "match": true , "host": "80.187.85.94" }
|
||||
[2024-08-30 16:26:55,139] [INFO] [paperless.auth] Login failed for user `testuser` from private IP `80.187.85.94`.
|
||||
|
||||
# failJSON: { "time": "2024-08-30T17:44:54", "match": true , "host": "2001:db8::b6d3:95d7:1425:766d" }
|
||||
[2024-08-30 17:44:54,874] [INFO] [paperless.auth] Login failed for user `test6pub` from IP `2001:db8::b6d3:95d7:1425:766d`.
|
Loading…
Reference in New Issue