mirror of https://git.tuxpa.in/a/code-server.git
a65773338c
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. |
||
---|---|---|
.. | ||
scripts | ||
src | ||
.gitignore | ||
README.md | ||
package.json | ||
webpack.config.js | ||
yarn.lock |
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.