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>
1 year ago
..
addlicense all: update tools that manage copyright headers 1 year ago
cloner all: update tools that manage copyright headers 1 year ago
containerboot cmd/containerboot,kube: consolidate the two kube clients 1 year ago
derper net/tshttpproxy: don't proxy through ourselves 1 year ago
derpprobe cmd/derpprobe: allow running all probes at the same time 1 year ago
dist release/dist: add forgotten license headers 1 year ago
get-authkey all: replace /kb/ links with /s/ equivalents 1 year ago
gitops-pusher Add support for OAuth tokens #7394 (#7393) 1 year ago
hello all: update copyright and license headers 1 year ago
k8s-operator cmd/k8s-operator: disable HTTP/2 for the auth proxy 1 year ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 1 year ago
mkpkg all: update copyright and license headers 1 year ago
mkversion version/mkversion: open-source version generation logic 1 year ago
nardump all: update copyright and license headers 1 year ago
netlogfmt all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 1 year ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 1 year ago
pgproxy all: update copyright and license headers 1 year ago
printdep cmd/printdep: print correct toolchain URL 1 year ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 1 year ago
sniproxy sniproxy: add promote-https (#7487) 1 year ago
speedtest all: update copyright and license headers 1 year ago
ssh-auth-none-demo all: update copyright and license headers 1 year ago
stunc all: update copyright and license headers 1 year ago
sync-containers cmd/sync-containers: update latest and stable tags 1 year ago
tailscale cmd/tailscale/cli: make serve and funnel visible in list (#7737) 1 year ago
tailscaled ipn/ipnlocal, util/winutil/policy: modify Windows profile migration to load legacy prefs from within tailscaled 1 year ago
testcontrol all: update copyright and license headers 1 year ago
testwrapper all: update copyright and license headers 1 year ago
tsconnect cmd/tsconnect: allow root directory to be passed in 1 year ago
tsshd all: update copyright and license headers 1 year ago
viewer all: update tools that manage copyright headers 1 year ago