mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
15 lines
235 B
Text
15 lines
235 B
Text
# Fail2Ban filter for code-server
|
|
#
|
|
#
|
|
|
|
[Definition]
|
|
|
|
|
|
failregex = ^INFO\s+Failed login attempt\s+{\"password\":\"(\\.|[^"])*\",\"remote_address\":\"<HOST>\"
|
|
|
|
ignoreregex =
|
|
|
|
datepattern = "timestamp":{EPOCH}}$
|
|
|
|
# Author: Dean Sheather
|
|
|