code-server-2/packages/server
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
..
scripts Add support for musl and centos 2019-04-26 09:56:14 -04:00
src add failed authentication attempt logger 2019-07-07 16:50:43 +10:00
.gitignore Add constants file 2019-02-07 13:11:01 -06:00
README.md Featureful (#31) 2019-02-21 11:55:42 -06:00
package.json Add telemetry and option to disable (#519) 2019-04-17 17:18:35 -05:00
webpack.config.js Make assets unique (#518) 2019-04-17 17:18:20 -05:00
yarn.lock Add telemetry and option to disable (#519) 2019-04-17 17:18:35 -05:00

README.md

server

Endpoints

/tunnel/<port>

Tunnels a TCP connection over WebSockets. Implemented for proxying connections from a remote machine locally.

/ports

Watches for open ports. Implemented for tunneling ports on the remote server.

/resource/<url>

Reads files on GET. Writes files on POST.