tailscale/ipn
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
..
ipnlocal net/dnsfallback: cache most recent DERP map on disk (#5545) 2022-09-05 14:36:30 -04:00
ipnserver net/dnsfallback: cache most recent DERP map on disk (#5545) 2022-09-05 14:36:30 -04:00
ipnstate cmd/tailscale: add emoji for illumos in status subcommand 2022-08-28 08:29:31 -07:00
localapi cmd/tailscaled, tailcfg, hostinfo: add flag to disable logging + support 2022-09-13 11:47:36 -07:00
policy ipn/policy: treat DNS service as interesting so it's not filtered out 2021-12-03 12:55:54 -08:00
store all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
backend.go all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
fake_test.go ipn/ipnlocal: move Ping method from IPN bus to LocalBackend (HTTP) 2022-05-03 15:59:19 -07:00
handle.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
ipn_clone.go cmd/tailscale/cli: add backwards compatibility 'up' processing for legacy client 2022-09-01 14:21:48 -07:00
message_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
message.go all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
prefs_test.go cmd/tailscale/cli: add backwards compatibility 'up' processing for legacy client 2022-09-01 14:21:48 -07:00
prefs.go cmd/tailscale/cli: add backwards compatibility 'up' processing for legacy client 2022-09-01 14:21:48 -07:00
store.go assorted: plumb tka initialization & network-lock key into tailscaled 2022-08-03 14:51:47 -07:00