tailscale/ipn/ipnlocal
Aaron Klotz 659e7837c6 health, ipn/ipnlocal: when -no-logs-no-support is enabled, deny access to tailnets that have network logging enabled
We want users to have the freedom to start tailscaled with `-no-logs-no-support`,
but that is obviously in direct conflict with tailnets that have network logging
enabled.

When we detect that condition, we record the issue in health, notify the client,
set WantRunning=false, and bail.

We clear the item in health when a profile switch occurs, since it is a
per-tailnet condition that should not propagate across profiles.

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2022-11-29 11:42:20 -06:00
..
c2n.go wgengine/magicsock: make debug-level stuff not logged by default 2022-10-04 11:05:50 -07:00
cert_js.go ipn/ipnlocal, wgengine/netstack: start handling ports for future serving 2022-11-08 19:39:07 -08:00
cert_test.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 2022-11-07 21:50:04 -08:00
cert.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 2022-11-07 21:50:04 -08:00
dnsconfig_test.go ipn/ipnlocal: use ipn.PrefsView 2022-10-24 15:57:00 -07:00
local_test.go ipn: remove unused Backend interface 2022-11-28 19:03:27 -08:00
local.go health, ipn/ipnlocal: when -no-logs-no-support is enabled, deny access to tailnets that have network logging enabled 2022-11-29 11:42:20 -06:00
loglines_test.go ipn/ipnlocal: add support for multiple user profiles 2022-11-11 10:45:47 +05:00
network-lock_test.go ipn/ipnlocal: always tx TKA sync after enablement 2022-11-22 10:25:13 -08:00
network-lock.go cmd/tailscale,ipn: improve UX of lock init command, cosmetic changes 2022-11-28 10:39:04 -08:00
peerapi_h2c.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
peerapi_macios_ext.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
peerapi_test.go ipn/ipnlocal: move selfNode from peerAPIServer to peerAPIHandler 2022-11-17 01:02:03 +05:00
peerapi.go envknob: add CanTaildrop (TS_DISABLE_TAILDROP) to disable taildrop on device 2022-11-24 07:51:17 -08:00
profiles_test.go ipn/ipnlocal,ipnserver: rename {,Set}CurrentUser to {,Set}CurrentUserID 2022-11-25 19:48:04 +05:00
profiles.go ipn/*: make new WindowsUserID type to consolidate docs 2022-11-27 12:08:07 -08:00
serve_test.go ipn/ipnlocal: support serving files/directories too 2022-11-10 18:09:35 -08:00
serve.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 2022-11-17 16:09:43 -05:00
ssh_stub.go ssh/tailssh: add Tailscale SSH (server) support on FreeBSD 2022-11-10 20:25:23 -08:00
ssh_test.go ipn/ipnlocal: add support for multiple user profiles 2022-11-11 10:45:47 +05:00
ssh.go ssh/tailssh: add Tailscale SSH (server) support on FreeBSD 2022-11-10 20:25:23 -08:00
state_test.go ipn/ipnlocal: strip NetworkLockKey from Prefs 2022-11-19 00:57:49 +05:00