tailscale/cmd
Joe Tsai 0173a50bf0
cmd/derper: add a rate limiter for accepting new connection (#3908)
A large influx of new connections can bring down DERP
since it spins off a new goroutine for each connection,
where each routine may do significant amount of work
(e.g., allocating memory and crunching numbers for TLS crypto).
The momentary spike can cause the process to OOM.

This commit sets the groundwork for limiting connections,
but leaves the limit at infinite by default.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-02-11 12:02:38 -08:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/cloner: mangle "go:generate" in cloner.go 2021-10-16 17:53:43 -07:00
derper cmd/derper: add a rate limiter for accepting new connection (#3908) 2022-02-11 12:02:38 -08:00
derpprobe cmd/derpprobe: check derper TLS certs too 2022-01-27 10:09:04 -08:00
hello cmd/hello: also redirect https://hello.ipn.dev to hello.ts.net 2022-01-04 19:45:02 -08:00
mkpkg cmd/mkpkg: allow zero files in a package. 2021-06-07 16:22:23 -07:00
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 2022-01-06 08:44:17 -08:00
speedtest cmd: upgrade to ffcli v3 2021-09-14 13:21:55 -07:00
tailscale cmd/tailscale: add "tailscale configure-host" to prep a Synology machine at boot 2022-02-08 09:26:26 -08:00
tailscaled cmd/tailscaled, util/winutil: add accessor functions for Windows system policies. 2022-02-09 14:58:51 -07:00
testcontrol cmd/testcontrol: add test control server 2021-08-19 17:50:48 -07:00
tsshd tsshd: fix double exit with different exit codes 2021-11-23 09:19:59 -08:00