Compare commits

...

5 Commits

Author SHA1 Message Date
Tyler Smalley
b78b245704 VERSION.txt: this is v1.54.1
Signed-off-by: Tyler Smalley <tyler@tailscale.com>
2023-11-30 10:17:35 -08:00
Tom DNetto
b709a723ba ipn/ipnlocal: update hostinfo when app connector state is toggled
Updates: https://github.com/tailscale/corp/issues/16041
Signed-off-by: Tom DNetto <tom@tailscale.com>
(cherry picked from commit 8a660a6513)
2023-11-29 14:18:53 -08:00
Denton Gentry
864484b758 Revert "ipn/ipnlocal,cmd/tailscale: persist tailnet name in user profile"
This reverts commit 7acf78116d.

We'll deliver this in 1.56.0.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-11-29 14:18:01 -08:00
Marwan Sulaiman
7acf78116d ipn/ipnlocal,cmd/tailscale: persist tailnet name in user profile
This PR starts to persist the NetMap tailnet name in SetPrefs so that tailscaled
clients can use this value to disambiguate fast user switching from one tailnet
to another that are under the same exact login. We will also try to backfill
this information during backend starts and profile switches so that users don't
have to re-authenticate their profile. The first client to use this new
information is the CLI in 'tailscale switch -list' which now uses text/tabwriter
to display the ID, Tailnet, and Account. Since account names are ambiguous, we
allow the user to pass 'tailscale switch ID' to specify the exact tailnet they
want to switch to.

Updates #9286

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
2023-11-29 12:11:53 -08:00
Denton Gentry
c82fd1256b VERSION.txt: this is v1.54.0
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-11-15 09:52:33 -08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -1 +1 @@
1.53.0
1.54.1

View File

@@ -3970,6 +3970,7 @@ func (b *LocalBackend) applyPrefsToHostinfoLocked(hi *tailcfg.Hostinfo, prefs ip
// properly. This exists as an optimization to control to program fewer DNS
// records that have ingress enabled but are not actually being used.
hi.WireIngress = b.wantIngressLocked()
hi.AppConnector.Set(prefs.AppConnector().Advertise)
}
// enterState transitions the backend into newState, updating internal