tailscale/ipn
Mihai Parparita 316523cc1e
ipn: remove enforceDefaults option from PrefsFromBytes
The Mac client was using it, but it had the effect of the `RouteAll`
("Use Tailscale subnets") pref always being enabled at startup,
regardless of the persisted value.

enforceDefaults was added to handle cases from ~2 years ago where
we ended up with persisted `"RouteAll": false` values in the keychain,
but that should no longer be a concern. New users will get the default
of it being enabled via `NewPrefs`.

There will be a corresponding Mac client change to stop passing in
enforceDefaults.

For #3962

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2022-04-29 14:08:26 -07:00
..
ipnlocal ipn: remove enforceDefaults option from PrefsFromBytes 2022-04-29 14:08:26 -07:00
ipnserver all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
ipnstate tailcfg, control/controlclient: TSMP & disco pings 2022-04-15 22:36:51 -07:00
localapi cmd/tailscale, etc: make "tailscale up --ssh" fail fast when unavailable 2022-04-18 09:45:46 -07:00
policy ipn/policy: treat DNS service as interesting so it's not filtered out 2021-12-03 12:55:54 -08:00
store util/mak: move tailssh's mapSet into a new package for reuse elsewhere 2022-04-21 21:20:10 -07:00
backend.go ipn: use key.NodePublic instead of tailcfg.NodeKey 2021-11-01 20:32:10 -07:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
fake_test.go ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up 2021-04-18 08:12:18 -07:00
handle.go ipn: another controlplane synonym 2021-07-13 08:22:10 -07:00
message_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
message.go ipn: add IPCVersion override func 2022-04-25 20:51:05 -07:00
prefs_clone.go wgengine/netstack: add an SSH server experiment 2022-01-24 19:14:13 -08:00
prefs_test.go ipn: remove enforceDefaults option from PrefsFromBytes 2022-04-29 14:08:26 -07:00
prefs.go ipn: remove enforceDefaults option from PrefsFromBytes 2022-04-29 14:08:26 -07:00
store.go ipn/store: add common package for instantiating ipn.StateStores 2022-02-28 13:23:33 -08:00