You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 4 years ago
cloner cmd/cloner: mangle "go:generate" in cloner.go 4 years ago
derper cmd/derper: add a rate limiter for accepting new connection (#3908) 4 years ago
derpprobe cmd/derpprobe: check derper TLS certs too 4 years ago
hello cmd/hello: also redirect https://hello.ipn.dev to hello.ts.net 4 years ago
mkpkg cmd/mkpkg: allow zero files in a package. 5 years ago
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 4 years ago
speedtest cmd: upgrade to ffcli v3 4 years ago
tailscale cmd/tailscale: add "tailscale configure-host" to prep a Synology machine at boot 4 years ago
tailscaled cmd/tailscaled, util/winutil: add accessor functions for Windows system policies. 4 years ago
testcontrol cmd/testcontrol: add test control server 4 years ago
tsshd tsshd: fix double exit with different exit codes 4 years ago