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/ipn/localapi
Andrew Lytvynov 55cd5c575b
ipn/localapi: only perform local-admin check in serveServeConfig (#10163)
On unix systems, the check involves executing sudo, which is slow.
Instead of doing it for every incoming request, move the logic into
localapi serveServeConfig handler and do it as needed.

Updates tailscale/corp#15405

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2 years ago
..
cert.go ipn/ipnlocal: do unexpired cert renewals in the background 2 years ago
debugderp.go all: avoid repeated default interface lookups 3 years ago
disabled_stubs.go all: update copyright and license headers 3 years ago
localapi.go ipn/localapi: only perform local-admin check in serveServeConfig (#10163) 2 years ago
localapi_test.go ipn/localapi: only perform local-admin check in serveServeConfig (#10163) 2 years ago
pprof.go all: update copyright and license headers 3 years ago