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
Aaron Klotz 90fd04cbde ipn/ipnlocal, util/winutil/policy: modify Windows profile migration to load legacy prefs from within tailscaled
I realized that a lot of the problems that we're seeing around migration and
LocalBackend state can be avoided if we drive Windows pref migration entirely
from within tailscaled. By doing it this way, tailscaled can automatically
perform the migration as soon as the connection with the client frontend is
established.

Since tailscaled is already running as LocalSystem, it already has access to
the user's local AppData directory. The profile manager already knows which
user is connected, so we simply need to resolve the user's prefs file and read
it from there.

Of course, to properly migrate this information we need to also check system
policies. I moved a bunch of policy resolution code out of the GUI and into
a new package in util/winutil/policy.

Updates #7626

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
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 net/tshttpproxy: don't proxy through ourselves 2 years ago
derpprobe cmd/derpprobe: allow running all probes at the same time 2 years ago
dist release/dist: add forgotten license headers 2 years ago
get-authkey all: replace /kb/ links with /s/ equivalents 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 cmd/k8s-operator: disable HTTP/2 for the auth proxy 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 all: update copyright and license headers 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 sniproxy: add promote-https (#7487) 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 cmd/tailscale/cli: make serve and funnel visible in list (#7737) 2 years ago
tailscaled ipn/ipnlocal, util/winutil/policy: modify Windows profile migration to load legacy prefs from within tailscaled 2 years ago
testcontrol all: update copyright and license headers 2 years ago
testwrapper all: update copyright and license headers 2 years ago
tsconnect cmd/tsconnect: allow root directory to be passed in 2 years ago
tsshd all: update copyright and license headers 2 years ago
viewer all: update tools that manage copyright headers 2 years ago