tailscale/wgengine
Brad Fitzpatrick d06ceffd02 wgengine/magicsock: add disabled failing (deadlocking) test for #1282
The fix can make this test run unconditionally.

This moves code from 5c619882bc for
testability but doesn't fix it yet. The #1282 problem remains (when I
wrote its wake-up mechanism, I forgot there were N DERP readers
funneling into 1 UDP reader, and the code just isn't correct at all
for that case).

Also factor out some test helper code from BenchmarkReceiveFrom.

The refactoring in magicsock.go for testability should have no
behavior change.

(cherry picked from commit 6d2b8df06d)
2021-02-08 14:38:37 -08:00
..
filter wgengine/filter: add a Clone method. 2021-01-22 17:31:37 -08:00
magicsock wgengine/magicsock: add disabled failing (deadlocking) test for #1282 2021-02-08 14:38:37 -08:00
monitor wgengine/monitor: close closeHandle 2021-01-07 20:18:02 -08:00
netstack wgengine/netstack: use tailscale IPs instead of a hardcoded one (#1131) 2021-01-15 09:16:28 -05:00
router wgengine/router: probe better for v6 policy routing support. 2021-02-01 16:13:32 -08:00
tsdns wgengine/tsdns: fix MagicDNS lookups of shared nodes 2021-01-14 14:49:32 -08:00
tstun wgengine/tstun: also support DropSilently on PostFilterIn 2021-01-22 13:22:32 -08:00
wglog wgengine: use Tailscale-style peer identifiers in logs 2021-01-21 19:13:32 -08:00
winnet Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
pendopen.go wgengine: access flow pending problem with lock held 2021-02-04 11:19:54 -08:00
userspace.go wgengine: don't leak TUN device in NewUserspaceEngine error path 2021-01-27 11:06:56 -08:00
userspace_test.go all: convert from []wgcfg.Endpoint to string 2021-01-14 13:54:07 -08:00
watchdog.go wgengine/netstack: use tailscale IPs instead of a hardcoded one (#1131) 2021-01-15 09:16:28 -05:00
watchdog_test.go cmd/tailscaled, wgengine/netstack: add start of gvisor userspace netstack work 2021-01-11 09:31:14 -08:00
wgengine.go wgengine/netstack: use tailscale IPs instead of a hardcoded one (#1131) 2021-01-15 09:16:28 -05:00