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
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
..
c2n.go wgengine/magicsock: make debug-level stuff not logged by default 2 years ago
cert.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 2 years ago
cert_js.go ipn/ipnlocal, wgengine/netstack: start handling ports for future serving 2 years ago
cert_test.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 2 years ago
dnsconfig_test.go ipn/ipnlocal: use ipn.PrefsView 2 years ago
local.go ipn/ipnlocal: handle untagging nodes better 2 years ago
local_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
loglines_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
network-lock.go all: store NL keys per profile 2 years ago
network-lock_test.go all: store NL keys per profile 2 years ago
peerapi.go ipn/ipnlocal: move selfNode from peerAPIServer to peerAPIHandler 2 years ago
peerapi_h2c.go all: remove old +build tags 2 years ago
peerapi_macios_ext.go all: remove old +build tags 2 years ago
peerapi_test.go ipn/ipnlocal: move selfNode from peerAPIServer to peerAPIHandler 2 years ago
profiles.go ipn/ipnlocal: handle untagging nodes better 2 years ago
profiles_test.go ipn/ipnlocal: handle untagging nodes better 2 years ago
serve.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 2 years ago
serve_test.go ipn/ipnlocal: support serving files/directories too 2 years ago
ssh.go ssh/tailssh: add Tailscale SSH (server) support on FreeBSD 2 years ago
ssh_stub.go ssh/tailssh: add Tailscale SSH (server) support on FreeBSD 2 years ago
ssh_test.go ipn/ipnlocal: add support for multiple user profiles 2 years ago
state_test.go ipn/ipnlocal: handle untagging nodes better 2 years ago