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
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>
11 months ago
..
conffile ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 12 months ago
ipnauth ipn/ipnauth: improve the Windows token administrator check 11 months ago
ipnlocal client/tailscale,ipn/{ipnlocal,localapi}: check UDP GRO config (#10071) 11 months ago
ipnserver ipn/localapi: only perform local-admin check in serveServeConfig (#10163) 11 months ago
ipnstate client/web: restrict full management client behind browser sessions 12 months ago
localapi ipn/localapi: only perform local-admin check in serveServeConfig (#10163) 11 months ago
policy ipn: prefer allow/denylist terminology 2 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 1 year ago
backend.go cmd/tailscale,ipn/ipnlocal: print debug component names 1 year ago
conf.go ipn: add user pref for running web client 11 months ago
doc.go all: update copyright and license headers 2 years ago
fake_test.go all: update copyright and license headers 2 years ago
ipn_clone.go ipn: introduce app connector advertisement preference and flags 11 months ago
ipn_test.go net/packet: split off checksum munging into different pkg 12 months ago
ipn_view.go ipn: introduce app connector advertisement preference and flags 11 months ago
prefs.go ipn: introduce app connector advertisement preference and flags 11 months ago
prefs_test.go ipn: introduce app connector advertisement preference and flags 11 months ago
serve.go ipn/localapi: require local Windows admin to set serve path (#9969) 11 months ago
serve_test.go ipn/localapi: require local Windows admin to set serve path (#9969) 11 months ago
store.go ipn: avoid useless no-op WriteState calls 1 year ago
store_test.go ipn: avoid useless no-op WriteState calls 1 year ago