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/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>
2 years ago
..
auto.go control/controlclient: remove Client.SetStatusFunc 2 years ago
client.go control/controlclient, ipn/ipnlocal: remove Client.SetExpirySooner, fix race 2 years ago
controlclient_test.go control/controlclient: store netinfo and hostinfo separately 3 years ago
debug.go
debug_test.go
direct.go cmd/tailscaled, tailcfg, hostinfo: add flag to disable logging + support 2 years ago
direct_test.go all: convert more code to use net/netip directly 2 years ago
map.go control/controlclient,tailcfg: [capver 40] create KeySignature field in tailcfg.Node 2 years ago
map_test.go control/controlclient,tailcfg: [capver 40] create KeySignature field in tailcfg.Node 2 years ago
noise.go Allow any port for HTTPS when using Noise over TLS 2 years ago
noise_test.go control/controlbase: make the protocol version number selectable. 3 years ago
sign.go control/controlclient: update machine certificate signature version 3 years ago
sign_supported.go go.mod: update to latest certstore 3 years ago
sign_supported_test.go go.mod: update to latest certstore 3 years ago
sign_unsupported.go go.mod: update to latest certstore 3 years ago
status.go control/controlclient: store netinfo and hostinfo separately 3 years ago