Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/packages/server/src
Dean Sheather a65773338c
add failed authentication attempt logger
When `isAuthed()` is called and the password cookie is not what we
expected, the failed login attempt is logged with the provided password,
remote address and user agent.

To allow for logging failed attempts with a reverse proxy, the
`--trust-proxy` argument has been added to trust the `X-Forwarded-For`
header. This implementation of an `X-Forwarded-For` parser uses the last
value in the list, therefore only trusting the nearest proxy.
2019-07-07 16:50:43 +10:00
..
vscode Extra extensions directories (#694) 2019-05-19 17:58:47 -05:00
cli.ts add failed authentication attempt logger 2019-07-07 16:50:43 +10:00
constants.ts Adhere to XDG base directory spec for dataDir and logDir (#156) 2019-03-09 09:11:30 -08:00
ipc.ts Some cleanup 2019-02-06 11:53:23 -06:00
portScanner.ts Explicitly mention if netstat isn't installed; downgrade to warning 2019-04-08 11:15:25 -05:00
server.ts add failed authentication attempt logger 2019-07-07 16:50:43 +10:00