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 04fd94acd6 wgengine/magicsock: remove endpointForDiscoKey call from handleDiscoMessage
A DiscoKey maps 1:n to endpoints. When we get a disco pong, we don't
necessarily know which endpoint sent it to us. Ask them all. There
will only usually be 1 (and in rare circumstances 2). So it's easier
to ask all two rather than building new maps from the random ping TxID
to its endpoint.

Updates #3088

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
bench all: fix spelling mistakes 4 years ago
filter cmd/cloner: add Clone context to regen struct assignments 4 years ago
magicsock wgengine/magicsock: remove endpointForDiscoKey call from handleDiscoMessage 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/router: ignore Linux ip route error adding dup route 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