mirror of https://github.com/coder/code-server.git
12 lines
229 B
Plaintext
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
|