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/ipnserver
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>
1 year ago
..
proxyconnect.go logpolicy, various: allow overriding log function 1 year ago
proxyconnect_js.go all: update copyright and license headers 2 years ago
server.go ipn/localapi: only perform local-admin check in serveServeConfig (#10163) 1 year ago
server_test.go all: update copyright and license headers 2 years ago