537 Commits (a255a08ea61ba918ddeeacfdfbc3ca5e489481aa)

Author SHA1 Message Date
Brad Fitzpatrick 6cb2705833 wgengine/magicsock: don't run UDP listeners on js/wasm 5 years ago
Brad Fitzpatrick c30fa5903d wgengine/magicsock: remove peerMap.byDiscoKey map 5 years ago
David Crawshaw 3552d86525 wgengine/magicsock: turn down timeouts in tests 5 years ago
David Anderson b956139b0c wgengine/magicsock: track IP<>node mappings without relying on discokeys. 5 years ago
Brad Fitzpatrick 7a243ae5b1 wgengine/magicsock: finish TODO to speed up peerMap.forEachEndpointWithDiscoKey 5 years ago
Brad Fitzpatrick 11fdb14c53 wgengine/magicsock: don't check always-non-nil endpoint for nil-ness 5 years ago
David Anderson e7eb46bced wgengine/magicsock: add an explicit else branch to peerMap update. 5 years ago
David Anderson 2aa5df7ac1 wgengine/magicsock: document and enforce that peerInfo.ep is non-nil. 5 years ago
David Anderson 521b44e653 wgengine/magicsock: move discoKey fields to the mutex-protected section. 5 years ago
Brad Fitzpatrick a6d02dc122 wgengine/magicsock: track which NodeKey each DiscoKey was last for 5 years ago
Brad Fitzpatrick c759fcc7d3 wgengine/magicsock: fix data race with sync.Pool in error+logging path 5 years ago
Brad Fitzpatrick 75a7779b42 disco, wgengine/magicsock: send self node key in disco pings 5 years ago
Denton Gentry def650b3e8 wgengine/magicsock: don't Rebind after STUN error if closed. 5 years ago
Brad Fitzpatrick f55c2bccf5 wgengine/magicsock: don't call setAddrToDiscoLocked on DERP ping 5 years ago
Brad Fitzpatrick 569f70abfd wgengine/magicsock: finish some renamings of discoEndpoint to endpoint 5 years ago
Brad Fitzpatrick 695df497ba wgengine/magicsock: delete peerMap.endpointForDiscoKey, remove remaining caller 5 years ago
Brad Fitzpatrick 04fd94acd6 wgengine/magicsock: remove endpointForDiscoKey call from handleDiscoMessage 5 years ago
Brad Fitzpatrick 151b4415ca wgengine/magicsock: remove endpoint parameter from handlePingLocked 5 years ago
Brad Fitzpatrick d86081f353 wgengine/magicsock: add new discoInfo type for DiscoKey state, move some fields 5 years ago
Brad Fitzpatrick e5779f019e wgengine/magicsock: move temporary endpoint lookup later, add TODO to remove 5 years ago
Brad Fitzpatrick 36a07089ee wgengine/magicsock: remove redundant/wrong sharedDiscoKey delete 5 years ago
Brad Fitzpatrick 3e80806804 wgengine/magicsock: pass src NodeKey to handleDiscoMessage for DERP disco msgs 5 years ago
Brad Fitzpatrick 82fa15fa3b wgengine/magicsock: start removing endpointForDiscoKey 5 years ago
Avery Pennarun 0d4a0bf60e magicsock: if STUN failed to send before, rebind before STUNning again. 5 years ago
David Anderson 830f641c6b wgengine/magicsock: update discokeys on netmap change. 5 years ago
Josh Bleecher Snyder a722e48cef wgengine/magicsock: skip alloc test with -race 5 years ago
Brad Fitzpatrick 31c1331415 wgengine/magicsock: deflake TestReceiveFromAllocs 5 years ago
Brad Fitzpatrick 2238814b99 wgengine/magicsock: fix crash introduced in recent cleanups 5 years ago
Brad Fitzpatrick 640134421e all: update tests to use tstest.MemLogger 5 years ago
David Anderson efe8020dfa wgengine/magicsock: fix race condition in tests. 5 years ago
Brad Fitzpatrick 5bacbf3744 wgengine/magicsock, health, ipn/ipnstate: track DERP-advertised health 5 years ago
David Anderson bb10443edf wgengine/wgcfg: use just the hexlified node key as the WireGuard endpoint. 5 years ago
David Anderson d00341360f wgengine/magicsock: remove unused debug knob. 5 years ago
David Anderson dfd978f0f2 wgengine/magicsock: use NodeKey, not DiscoKey, as the trigger for lazy reconfig. 5 years ago
David Anderson 4c27e2fa22 wgengine/magicsock: remove Start method from Conn. 5 years ago
David Anderson 1a899344bd wgengine/magicsock: don't store tailcfg.Nodes alongside endpoints. 5 years ago
David Anderson b2181608b5 wgengine/magicsock: eagerly create endpoints in SetNetworkMap. 5 years ago
Emmanuel T Odeke 0daa32943e all: add (*testing.B).ReportAllocs() to every benchmark 5 years ago
David Anderson 44d71d1e42 wgengine/magicsock: fix race in test shutdown, again. 5 years ago
David Anderson f09ede9243 wgengine/magicsock: don't configure eager WireGuard handshaking in tests. 5 years ago
David Anderson 86d1c4eceb wgengine/magicsock: ignore close races even harder. 5 years ago
David Anderson 8bacfe6a37 wgengine/magicsock: remove unused sendLogLimit limiter. 5 years ago
David Anderson e151b74f93 wgengine/magicsock: remove opts.SimulatedNetwork. 5 years ago
David Anderson 58c1f7d51a wgengine/magicsock: rename opts.PacketListener to TestOnlyPacketListener. 5 years ago
David Anderson 8049063d35 wgengine/magicsock: rename discoEndpoint to just endpoint. 5 years ago
David Anderson f2d949e2db wgengine/magicsock: fold findEndpoint into its only remaining caller. 5 years ago
David Anderson fe2f89deab wgengine/magicsock: fix rare shutdown race in test. 5 years ago
David Anderson 97693f2e42 wgengine/magicsock: delete legacy AddrSet endpoints. 5 years ago
slowy07 ac0353e982 fix: typo spelling grammar 5 years ago
Brad Fitzpatrick 37053801bb wgengine/magicsock: restore a bit of logging on node becoming active 5 years ago