mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-27 20:55:25 +00:00
938c6ef829
Fixes #1177.
16 lines
363 B
Plaintext
16 lines
363 B
Plaintext
# Fail2Ban filter for code-server
|
|
|
|
[Definition]
|
|
|
|
failregex = ^Failed login attempt\s+{\"remoteAddress\":\"<HOST>\"
|
|
|
|
# Use this instead for proxies (ensure the proxy is configured to send the
|
|
# X-Forwarded-For header).
|
|
# failregex = ^Failed login attempt\s+{\"xForwardedFor\":\"<HOST>\"
|
|
|
|
ignoreregex =
|
|
|
|
datepattern = "timestamp":{EPOCH}}$
|
|
|
|
# Author: Dean Sheather
|