code-server/doc/security/code-server.fail2ban.conf
2019-08-17 05:46:37 +10:00

12 lines
229 B
Plaintext

# Fail2Ban filter for code-server
[Definition]
failregex = ^INFO\s+Failed login attempt\s+{\"password\":\"(\\.|[^"])*\",\"remote_address\":\"<HOST>\"
ignoreregex =
datepattern = "timestamp":{EPOCH}}$
# Author: Dean Sheather