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/cmd
Chenyang Gao b9fb8ac702 fix sys.Set(router) issue will crash the daemon in some OSs
Signed-off-by: Chenyang Gao <gps949@outlook.com>

in commit 6e96744, the tsd system type has been added.
Which will cause the daemon will crash on some  OSs (Windows, darwin and so on).
The root cause is that on those OSs, handleSubnetsInNetstack() will return true and set the conf.Router with a wrapper. 
Later in NewUserspaceEngine() it will do subsystem set and found that early set router mismatch to current value, then panic.
2 years ago
..
addlicense all: update tools that manage copyright headers 2 years ago
cloner all: update tools that manage copyright headers 2 years ago
containerboot cmd/containerboot,kube: consolidate the two kube clients 2 years ago
derper go.mod: bump all deps possible that don't break the build 2 years ago
derpprobe prober: migrate to Prometheus metric library 2 years ago
dist release/dist: add forgotten license headers 2 years ago
get-authkey cmd/tailscale/cli: [up] add experimental oauth2 authkey support 2 years ago
gitops-pusher Add support for OAuth tokens #7394 (#7393) 2 years ago
hello all: update copyright and license headers 2 years ago
k8s-operator ci: add more lints (#7909) 2 years ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg all: update copyright and license headers 2 years ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
netlogfmt all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 2 years ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 2 years ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 2 years ago
sniproxy cmd/sniproxy: Set App name in tsnet hostinfo 2 years ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: update copyright and license headers 2 years ago
stunc all: update copyright and license headers 2 years ago
sync-containers cmd/sync-containers: update latest and stable tags 2 years ago
tailscale various: add detection and Taildrop for Unraid 2 years ago
tailscaled fix sys.Set(router) issue will crash the daemon in some OSs 2 years ago
testcontrol all: update copyright and license headers 2 years ago
testwrapper all: update copyright and license headers 2 years ago
tsconnect tsd: add package with System type to unify subsystem init, discovery 2 years ago
tsshd all: update copyright and license headers 2 years ago
viewer all: update tools that manage copyright headers 2 years ago