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/ipnlocal
Brad Fitzpatrick 383120c534 ipn/ipnlocal: don't run portlist code unless service collection is on
We were selectively uploading it, but we were still gathering it,
which can be a waste of CPU.

Also remove a bunch of complexity that I don't think matters anymore.

And add an envknob to force service collection off on a single node,
even if the tailnet policy permits it.

Fixes #13463

Change-Id: Ib6abe9e29d92df4ffa955225289f045eeeb279cf
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 weeks ago
..
testdata
autoupdate.go
autoupdate_disabled.go
breaktcp_darwin.go
breaktcp_linux.go
c2n.go
c2n_pprof.go
c2n_test.go
cert.go
cert_js.go
cert_test.go
dnsconfig_test.go ipn/ipnlocal: don't program system DNS when node key is expired (#13370) 2 months ago
drive.go types/views: add SliceView.All iterator (#13536) 1 month ago
expiry.go
expiry_test.go
local.go ipn/ipnlocal: don't run portlist code unless service collection is on 4 weeks ago
local_test.go util/usermetrics: make usermetrics non-global 1 month ago
loglines_test.go util/usermetrics: make usermetrics non-global 1 month ago
network-lock.go tka: truncate long rotation signature chains 2 months ago
network-lock_test.go tka: truncate long rotation signature chains 2 months ago
peerapi.go
peerapi_h2c.go
peerapi_macios_ext.go
peerapi_test.go util/usermetrics: make usermetrics non-global 1 month ago
profiles.go
profiles_notwindows.go
profiles_test.go
profiles_windows.go
serve.go
serve_test.go util/usermetrics: make usermetrics non-global 1 month ago
ssh.go
ssh_stub.go
ssh_test.go
state_test.go util/usermetrics: make usermetrics non-global 1 month ago
taildrop.go
web_client.go
web_client_stub.go