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>
2024-10-02 18:08:31 -07:00
..
testdata
autoupdate.go
autoupdate_disabled.go
breaktcp_darwin.go
breaktcp_linux.go
c2n.go
c2n_pprof.go
c2n_test.go
cert.go cmd/tailscale: add --min-validity flag to the cert command (#12822) 2024-07-19 09:35:22 -07:00
cert_js.go
cert_test.go
dnsconfig_test.go ipn/ipnlocal: don't program system DNS when node key is expired (#13370) 2024-09-09 15:15:29 -04:00
drive.go types/views: add SliceView.All iterator (#13536) 2024-09-20 13:55:33 -07:00
expiry.go
expiry_test.go
local.go ipn/ipnlocal: don't run portlist code unless service collection is on 2024-10-02 18:08:31 -07:00
local_test.go util/usermetrics: make usermetrics non-global 2024-09-25 15:57:00 +02:00
loglines_test.go util/usermetrics: make usermetrics non-global 2024-09-25 15:57:00 +02:00
network-lock.go tka: truncate long rotation signature chains 2024-09-04 22:17:21 +01:00
network-lock_test.go tka: truncate long rotation signature chains 2024-09-04 22:17:21 +01:00
peerapi.go
peerapi_h2c.go
peerapi_macios_ext.go
peerapi_test.go util/usermetrics: make usermetrics non-global 2024-09-25 15:57:00 +02:00
profiles.go ipn/ipnlocal: refactor and cleanup profileManager 2024-08-28 14:42:35 -05:00
profiles_notwindows.go ipn/ipnlocal: refactor and cleanup profileManager 2024-08-28 14:42:35 -05:00
profiles_test.go ipn/ipnlocal: refactor and cleanup profileManager 2024-08-28 14:42:35 -05:00
profiles_windows.go ipn/ipnlocal: refactor and cleanup profileManager 2024-08-28 14:42:35 -05:00
serve.go ipn/ipnlocal: fix race condition that results in a panic sending on a closed channel 2024-08-29 17:27:21 -05:00
serve_test.go util/usermetrics: make usermetrics non-global 2024-09-25 15:57:00 +02:00
ssh.go
ssh_stub.go
ssh_test.go
state_test.go util/usermetrics: make usermetrics non-global 2024-09-25 15:57:00 +02:00
taildrop.go
web_client.go
web_client_stub.go