wgengine/magicsock: delete legacy AddrSet endpoints.

Instead of using the legacy codepath, teach discoEndpoint to handle
peers that have a home DERP, but no disco key. We can still communicate
with them, but only over DERP.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-08-25 19:39:20 -07:00
committed by Dave Anderson
parent 61c62f48d9
commit 97693f2e42
11 changed files with 596 additions and 1394 deletions

View File

@@ -42,7 +42,7 @@ func BenchmarkBatchTCP(b *testing.B) {
}
func BenchmarkWireGuardTest(b *testing.B) {
b.Skip("setup code doesn't support disco yet")
b.Skip("https://github.com/tailscale/tailscale/issues/2716")
run(b, func(logf logger.Logf, traf *TrafficGen) {
setupWGTest(b, logf, traf, Addr1, Addr2)
})