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/wgengine
Brad Fitzpatrick cb0d784a79 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>
(cherry picked from commit a6d02dc122)
4 years ago
..
bench wgengine/wgcfg: use just the hexlified node key as the WireGuard endpoint. 4 years ago
filter cmd/cloner: add Clone context to regen struct assignments 4 years ago
magicsock wgengine/magicsock: track which NodeKey each DiscoKey was last for 4 years ago
monitor wgengine/monitor: ignore ipsec link monitor events on iOS/macOS 4 years ago
netstack wgengine/netstack: include DNS.ExtraRecords in DNSMap 4 years ago
router wgengine: only use AmbientCaps on DSM7+ 4 years ago
wgcfg cmd/cloner: add Clone context to regen struct assignments 4 years ago
wglog wgengine/wglog: Fix docstring on wireguardGoString to match args 4 years ago
winnet wgengine/winnet: don't build on non-windows 5 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 5 years ago
pendopen.go wgengine/magicsock: start removing endpointForDiscoKey 4 years ago
userspace.go magicsock: if STUN failed to send before, rebind before STUNning again. 4 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 5 years ago
userspace_test.go all: close fake userspace engines when tests complete 4 years ago
watchdog.go wgengine: randomize client port if netmap says to 5 years ago
watchdog_test.go all: close fake userspace engines when tests complete 4 years ago
wgengine.go wgengine: randomize client port if netmap says to 5 years ago