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