mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
01b4bec33f
It used to make assumptions based on having Anycast IPs that are super near. Now we're intentionally going to a bunch of different distant IPs to measure latency. Also, optimize how the hairpin detection works. No need to STUN on that socket. Just use that separate socket for sending, once we know the other UDP4 socket's endpoint. The trick is: make our test probe also a STUN packet, so it fits through magicsock's existing STUN routing. This drops netcheck from ~5 seconds to ~250-500ms. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> |
||
---|---|---|
.. | ||
filter | ||
magicsock | ||
monitor | ||
packet | ||
winnet | ||
faketun.go | ||
ifconfig_windows.go | ||
router_darwin_support.go | ||
router_darwin.go | ||
router_default.go | ||
router_fake.go | ||
router_freebsd.go | ||
router_linux.go | ||
router_openbsd.go | ||
router_windows.go | ||
rusage_nowindows.go | ||
rusage_windows.go | ||
rusage.go | ||
userspace.go | ||
watchdog_test.go | ||
watchdog.go | ||
wgengine.go |