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/ipn/ipnlocal
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>
3 years ago
..
dnsconfig_test.go net/dns: schedule DoH upgrade explicitly, fix Resolver.Addr confusion 3 years ago
local.go ipn: remove enforceDefaults option from PrefsFromBytes 3 years ago
local_test.go ipn/ipnlocal: make peerIPs return a sorted slice 3 years ago
loglines_test.go ipn/store: add common package for instantiating ipn.StateStores 3 years ago
peerapi.go ipn/ipnlocal/peerapi: add endpoint to list local interfaces 3 years ago
peerapi_h2c.go ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 3 years ago
peerapi_macios_ext.go net/tsdial: move macOS/iOS peerapi sockopt logic from LocalBackend 3 years ago
peerapi_test.go ipn/ipnlocal: add start of inter-user Taildrop 3 years ago
ssh.go tempfork: temporarily fork gliderlabs/ssh and x/crypto/ssh 3 years ago
ssh_stub.go ssh: make it build on darwin 3 years ago
ssh_test.go ipn/ipnlocal: generate tailscaled-owned SSH keys as needed 3 years ago
state_test.go ipn/ipnlocal: do not process old status messages received out of order 3 years ago