tailscale/control/controlclient
Brad Fitzpatrick 45a3de14a6 cmd/tailscaled, tailcfg, hostinfo: add flag to disable logging + support
As noted in #5617, our documented method of blocking log.tailscale.io
DNS no longer works due to bootstrap DNS.

Instead, provide an explicit flag (--no-logs-no-support) and/or env
variable (TS_NO_LOGS_NO_SUPPORT=true) to explicitly disable logcatcher
uploads. It also sets a bit on Hostinfo to say that the node is in that
mode so we can end any support tickets from such nodes more quickly.

This does not yet provide an easy mechanism for users on some
platforms (such as Windows, macOS, Synology) to set flags/env. On
Linux you'd used /etc/default/tailscaled typically. Making it easier
to set flags for other platforms is tracked in #5114.

Fixes #5617
Fixes tailscale/corp#1475

Change-Id: I72404e1789f9e56ec47f9b7021b44c025f7a373a
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-09-13 11:47:36 -07:00
..
auto.go control/controlclient: remove Client.SetStatusFunc 2022-06-19 21:54:39 -07:00
client.go control/controlclient, ipn/ipnlocal: remove Client.SetExpirySooner, fix race 2022-06-19 22:08:29 -07:00
controlclient_test.go control/controlclient: store netinfo and hostinfo separately 2022-05-03 15:33:01 -07:00
debug_test.go control/controlclient: don't use regexp in goroutine stack scrubbing 2021-07-22 13:18:05 -07:00
debug.go control/controlclient: grow goroutine debug buffer as needed 2021-07-22 13:18:05 -07:00
direct_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
direct.go cmd/tailscaled, tailcfg, hostinfo: add flag to disable logging + support 2022-09-13 11:47:36 -07:00
map_test.go control/controlclient,tailcfg: [capver 40] create KeySignature field in tailcfg.Node 2022-08-22 11:25:41 -07:00
map.go control/controlclient,tailcfg: [capver 40] create KeySignature field in tailcfg.Node 2022-08-22 11:25:41 -07:00
noise_test.go control/controlbase: make the protocol version number selectable. 2022-04-07 13:25:28 -07:00
noise.go Allow any port for HTTPS when using Noise over TLS 2022-08-15 06:43:43 -07:00
sign_supported_test.go go.mod: update to latest certstore 2022-03-16 16:10:29 -07:00
sign_supported.go go.mod: update to latest certstore 2022-03-16 16:10:29 -07:00
sign_unsupported.go go.mod: update to latest certstore 2022-03-16 16:10:29 -07:00
sign.go control/controlclient: update machine certificate signature version 2021-09-17 17:43:06 -04:00
status.go control/controlclient: store netinfo and hostinfo separately 2022-05-03 15:33:01 -07:00