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 f054e16451 wgengine/magicsock: delete peerMap.endpointForDiscoKey, remove remaining caller
The one remaining caller of peerMap.endpointForDiscoKey was making the
improper assumption that there's exactly 1 node with a given DiscoKey
in the network. That was the cause of #3088.

Now that all the other callers have been updated to not use
endpointForDiscoKey, there's no need to try to keep maintaining that
prone-to-misuse index.

Updates #3088

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit 695df497ba)
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: delete peerMap.endpointForDiscoKey, remove remaining caller 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