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
Josh Bleecher Snyder c7e5ab8094 wgengine/magicsock: retry and re-send packets in TestTwoDevicePing
When a handshake race occurs, a queued data packet can get lost.
TestTwoDevicePing expected that the very first data packet would arrive.
This caused occasional flakes.

Change TestTwoDevicePing to repeatedly re-send packets
and succeed when one of them makes it through.

This is acceptable (vs making WireGuard not drop the packets)
because this only affects communication with extremely old clients.
And those extremely old clients will eventually connect,
because the kernel will retry sends on timeout.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
4 years ago
..
filter wgengine/filter: add a Clone method. 4 years ago
magicsock wgengine/magicsock: retry and re-send packets in TestTwoDevicePing 4 years ago
monitor wgengine/monitor: close closeHandle 4 years ago
netstack types/netmap: split controlclient.NetworkMap off into its own leaf package 4 years ago
router wgengine/router: fix BSD router to support multiple local addrs, IPv6 4 years ago
tsdns tstest: simplify goroutine leak tests 4 years ago
tstun wgengine/tstun: reply to MagicDNS pings 4 years ago
wgcfg types/netmap: split controlclient.NetworkMap off into its own leaf package 4 years ago
wglog wgengine: adapt to wireguard-go changes 4 years ago
winnet wgengine/winnet: don't build on non-windows 4 years ago
pendopen.go ipn: split LocalBackend off into new ipn/ipnlocal package 4 years ago
userspace.go wgengine: remove IpcGetOperation filter 4 years ago
userspace_test.go all: move wgcfg from wireguard-go 4 years ago
watchdog.go types/netmap: split controlclient.NetworkMap off into its own leaf package 4 years ago
watchdog_test.go cmd/tailscaled, wgengine/netstack: add start of gvisor userspace netstack work 4 years ago
wgengine.go types/netmap: split controlclient.NetworkMap off into its own leaf package 4 years ago