tailscale/wgengine/magicsock
Brad Fitzpatrick a6d02dc122 wgengine/magicsock: track which NodeKey each DiscoKey was last for
This adds new fields (currently unused) to discoInfo to track what the
last verified (unambiguous) NodeKey a DiscoKey last mapped to, and
when.

Then on CallMeMaybe, Pong and on most Pings, we update the mapping
from DiscoKey to the current NodeKey for that DiscoKey.

Updates #3088

Change-Id: Idc4261972084dec71cf8ec7f9861fb9178eb0a4d
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-10-18 09:55:02 -07:00
..
debugknobs_ios.go wgengine/magicsock: remove unused debug knob. 2021-09-01 15:13:21 -07:00
debugknobs.go wgengine/magicsock: remove unused debug knob. 2021-09-01 15:13:21 -07:00
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
magicsock_test.go wgengine/magicsock: finish some renamings of discoEndpoint to endpoint 2021-10-15 22:26:07 -07:00
magicsock.go wgengine/magicsock: track which NodeKey each DiscoKey was last for 2021-10-18 09:55:02 -07:00