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
Brad Fitzpatrick 6bcb466096 ipn: disambiguate how machine key was initialized
Seeing "frontend-provided legacy machine key" was weird (and not quite
accurate) on Linux machines where it comes from the _daemon key's
persist prefs, not the "frontend".

Make the log message distinguish between the cases.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
ipnserver ipn: only use Prefs, not computed stateKey, to determine server mode 4 years ago
ipnstate Revert "all: keep UserProfiles a slice instead of a map for longer" 4 years ago
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 4 years ago
backend.go ipn, ipn/ipnserver: add IPN state for server in use, handle explicitly 4 years ago
doc.go Move Linux client & common packages into a public repo. 4 years ago
fake_test.go cmd/tailscale/cli: add basic 'down' subcommand 4 years ago
handle.go ipn: add Login backend command for sign-in with token 4 years ago
local.go ipn: disambiguate how machine key was initialized 4 years ago
loglines_test.go ipn: don't log redundant peer stats so often 4 years ago
message.go ipn, ipn/ipnserver: add IPN state for server in use, handle explicitly 4 years ago
message_test.go ipn: add Login backend command for sign-in with token 4 years ago
prefs.go ipn: use cmd/cloner for Prefs.Clone 4 years ago
prefs_clone.go ipn: use cmd/cloner for Prefs.Clone 4 years ago
prefs_test.go Change some os.IsNotExist to errors.Is(err, os.ErrNotExist) for non-os errors. 4 years ago
store.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 4 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 4 years ago