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
Maisem Ali dd50dcd067 ipn/ipnlocal: handle untagging nodes better
We would end up with duplicate profiles for the node as the UserID
would have chnaged. In order to correctly deduplicate profiles, we
need to look at both the UserID and the NodeID. A single machine can
only ever have 1 profile per NodeID and 1 profile per UserID.

Note: UserID of a Node can change when the node is tagged/untagged,
and the NodeID of a device can change when the node is deleted so we
need to check for both.

Updates #713

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
ipnlocal ipn/ipnlocal: handle untagging nodes better 2 years ago
ipnserver ipn/ipnserver: validate Host header on debug ServeHTMLStatus status 2 years ago
ipnstate all: store NL keys per profile 2 years ago
localapi ipn/localapi: require POST to add a bugreport marker 2 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 3 years ago
store all: remove old +build tags 2 years ago
backend.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
doc.go ipn: add WebServerConfig, add views 2 years ago
fake_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
ipn_clone.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 2 years ago
ipn_view.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 2 years ago
message.go all: gofmt for Go 1.19 2 years ago
message_test.go ipn: remove handle.go 2 years ago
prefs.go ipn/ipnlocal: handle untagging nodes better 2 years ago
prefs_test.go ipn: make Notify.Prefs be a *ipn.PrefsView 2 years ago
store.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 2 years ago