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/types
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
..
dnstype net/dns, types/dnstypes: update some comments, tests for DoH 2 years ago
empty types/empty: add Message, stop using mysterious *struct{} 4 years ago
flagtype types/flagtype: fix bug showing the default port value (shown in --help) 4 years ago
ipproto net/packet, wgengine/filter: support SCTP 3 years ago
key all: store NL keys per profile 2 years ago
logger all: remove old +build tags 2 years ago
netlogtype types/netlogtype: add constants for maximum serialized sizes of ConnectionCounts (#6163) 2 years ago
netmap cmd/tailscale: make "up", "status" warn if routes and --accept-routes off 2 years ago
nettype net/netaddr: start migrating to net/netip via new netaddr adapter package 2 years ago
opt all: fix spelling mistakes 2 years ago
persist ipn/ipnlocal: handle untagging nodes better 2 years ago
preftype types/preftype: don't use iota for consts persisted to disk 3 years ago
structs types/structs: add structs.Incomparable annotation, use it where applicable 4 years ago
tkatype client,cmd/tailscale,ipn,tka,types: implement tka initialization flow 2 years ago
views ipn/prefs: add views 2 years ago