mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-29 13:38:46 +00:00
16 lines
235 B
Plaintext
16 lines
235 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
|
||
|
|