516 Commits (2716250ee823f21c984e2989c596bc2aaa495613)

Author SHA1 Message Date
Brad Fitzpatrick 8ec44d0d5f wgengine/magicsock: remove some log spam 4 years ago
Josh Bleecher Snyder b3d6704aa3 wgengine/magicsock: fix data race on endpoint.discoKey 4 years ago
Josh Bleecher Snyder 773af7292b wgengine/magicsock: simplify peerMap.upsertEndpoint 4 years ago
Josh Bleecher Snyder 9da22dac3d wgengine/magicsock: fix bug in peerMap.upsertEndpoint 4 years ago
Josh Bleecher Snyder 16870cb754 wgengine/magicsock: fix typo in comment 4 years ago
Brad Fitzpatrick 24ea365d48 netcheck, controlclient, magicsock: add more metrics 4 years ago
Brad Fitzpatrick 57b039c51d util/clientmetrics: add new package to add metrics to the client 4 years ago
David Anderson 0532eb30db all: replace tailcfg.DiscoKey with key.DiscoPublic. 5 years ago
David Anderson 7e6a1ef4f1 tailcfg: use key.NodePublic in wire protocol types. 5 years ago
David Anderson 72ace0acba wgengine/magicsock: use key.NodePublic instead of tailcfg.NodeKey. 5 years ago
David Anderson 84c3a09a8d types/key: export constants for key size, not a method. 5 years ago
David Anderson 6422789ea0 disco: use key.NodePublic instead of tailcfg.NodeKey. 5 years ago
David Anderson 418adae379 various: use NodePublic.AsNodeKey() instead of tailcfg.NodeKeyFromNodePublic() 5 years ago
David Anderson ef241f782e wgengine/magicsock: remove uses of tailcfg.DiscoKey. 5 years ago
David Anderson 55b6753c11 wgengine/magicsock: remove use of key.{Public,Private}. 5 years ago
David Anderson c1d009b9e9 ipn/ipnstate: use key.NodePublic instead of the generic key.Public. 5 years ago
David Anderson 37c150aee1 derp: use new node key type. 5 years ago
David Anderson c9bf773312 wgengine/magicsock: replace use of wgkey with new node key type. 5 years ago
Brad Fitzpatrick b0b0a80318 net/netcheck: implement netcheck for js/wasm clients 5 years ago
Brad Fitzpatrick ed3fb197ad wgengine/magicsock: fix/disable a few misc things to get js/wasm working 5 years ago
Brad Fitzpatrick e25afc6656 wgengine/magicsock: don't try to determine endpoints on js/wasm 5 years ago
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
Brad Fitzpatrick 2238814b99 wgengine/magicsock: fix crash introduced in recent cleanups 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 dfd978f0f2 wgengine/magicsock: use NodeKey, not DiscoKey, as the trigger for lazy reconfig. 5 years ago