tailscale/ipn/localapi
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
..
cert.go ipn/localapi: send Tailscale version in ACME User-Agent (#5499) 2022-08-30 16:48:59 -04:00
disabled_stubs.go wasm: exclude code that's not used on iOS for Wasm too 2022-06-06 13:52:52 -07:00
localapi.go cmd/tailscaled, tailcfg, hostinfo: add flag to disable logging + support 2022-09-13 11:47:36 -07:00
profile.go wasm: exclude code that's not used on iOS for Wasm too 2022-06-06 13:52:52 -07:00