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