77 Commits (1886dfdca357efbbbe30c1cfcdafb1e8ea5c2e98)

Author SHA1 Message Date
Brad Fitzpatrick 9a346fd8b4 wgengine,magicsock: fix two lazy wireguard config issues 6 years ago
Brad Fitzpatrick 41c4560592 control/controlclient: remove unused NetworkMap.UAPI method 6 years ago
Brad Fitzpatrick bfcb0aa0be wgengine/magicsock: deflake tests, Close deadlock again 6 years ago
Dmytro Shynkevych 28e52a0492
all: dns refactor, add Proxied and PerDomain flags from control (#615) 6 years ago
Brad Fitzpatrick 915f65ddae wgengine/magicsock: stop disco activity on IPN stop 6 years ago
David Anderson f8e4c75f6b wgengine/magicsock: check slightly less aggressively for connectivity. 6 years ago
David Anderson 41d0c81859 wgengine/magicsock: make disco subtest name more precise. 6 years ago
David Anderson 9beea8b314 wgengine/magicsock: remove unnecessary use of context. 6 years ago
David Anderson b62341d308 wgengine/magicsock: add docstring. 6 years ago
David Anderson 9265296b33 wgengine/magicsock: don't deadlock on shutdown if sending blocks. 6 years ago
David Anderson 0249236cc0 ipn/ipnstate: record assigned Tailscale IPs. 6 years ago
David Anderson c3958898f1 tstest/natlab: be a bit more lenient during test shutdown. 6 years ago
David Anderson 7578c815be wgengine/magicsock: give pinger a more generous packet timeout. 6 years ago
David Anderson c3994fd77c derp: remove OnlyDisco option. 6 years ago
David Anderson 5455c64f1d wgengine/magicsock: add a test for two facing endpoint-independent NATs. 6 years ago
David Anderson f794493b4f wgengine/magicsock: explicitly check path discovery, add a firewall test. 6 years ago
David Anderson f582eeabd1 wgengine/magicsock: add a test for active path discovery. 6 years ago
Brad Fitzpatrick fe68841dc7 wgengine/magicsock: log better with less spam on transition to stopped state 6 years ago
David Anderson 3669296cef wgengine/magicsock: refactor twoDevicePing to make stack construction cleaner. 6 years ago
Brad Fitzpatrick 16a9cfe2f4 wgengine: configure wireguard peers lazily, as needed 6 years ago
Brad Fitzpatrick a6559a8924 wgengine/magicsock: run test DERP in mode where only disco packets allowed 6 years ago
David Anderson 45578b47f3 tstest/natlab: refactor PacketHandler into a larger interface. 6 years ago
David Anderson 88e8456e9b wgengine/magicsock: add a connectivity test for facing firewalls. 6 years ago
David Anderson 1f7b1a4c6c wgengine/magicsock: rearrange TwoDevicePing test for future natlab tests. 6 years ago
David Anderson 977381f9cc wgengine/magicsock: make trivial natlab test pass. 6 years ago
Brad Fitzpatrick 6c74065053 wgengine/magicsock, tstest/natlab: start hooking up natlab to magicsock 6 years ago
Brad Fitzpatrick 6196b7e658 wgengine/magicsock: change API to not permit disco key changes 6 years ago
Brad Fitzpatrick 5132edacf7 wgengine/magicsock: fix data race from undocumented wireguard-go requirement 6 years ago
Brad Fitzpatrick 77e89c4a72 wgengine/magicsock: handle CallMeMaybe discovery mesages 6 years ago
Brad Fitzpatrick 2d6e84e19e net/netcheck, wgengine/magicsock: replace more UDPAddr with netaddr.IPPort 6 years ago
Brad Fitzpatrick e96f22e560 wgengine/magicsock: start handling disco message, use netaddr.IPPort more 6 years ago
Brad Fitzpatrick a83ca9e734 wgengine/magicsock: cache precomputed nacl/box shared keys 6 years ago
Brad Fitzpatrick a975e86bb8 wgengine/magicsock: add new endpoint type used for discovery-supporting peers 6 years ago
Brad Fitzpatrick 103c06cc68 wgengine/magicsock: open discovery naclbox messages from known peers 6 years ago
Dmytro Shynkevych de5f6d70a8 magicsock: eliminate logging race in test 6 years ago
Brad Fitzpatrick 280e8884dd wgengine/magicsock: limit redundant log spam on packets from low-pri addresses 6 years ago
Brad Fitzpatrick becce82246 net/netns, misc tests: remove TestOnlySkipPrivilegedOps, argv checks 6 years ago
David Anderson 5114df415e net/netns: set the bypass socket mark on linux. 6 years ago
Brad Fitzpatrick b0c10fa610 stun, netcheck: move under net 6 years ago
Brad Fitzpatrick e6b84f2159 all: make client use server-provided DERP map, add DERP region support 6 years ago
David Anderson e8b3a5e7a1 wgengine/filter: implement a destination IP pre-filter. 6 years ago
Brad Fitzpatrick e6d0c92b1d wgengine/magicsock: clean up earlier fix a bit 6 years ago
Avery Pennarun fc88e34f42 wgengine/magicsock/tests: wait for home DERP connection before sending packets. 6 years ago
Avery Pennarun 4f128745d8 magicsock/test: oops, fix a data race in nested-test logf hack. 6 years ago
Avery Pennarun 42a0e0c601 wgengine/magicsock/tests: call tstest.ResourceCheck for each test. 6 years ago
Avery Pennarun 08acb502e5 Add tstest.PanicOnLog(), and fix various problems detected by this. 6 years ago
Dmytro Shynkevych 33b2f30cea
wgengine: wrap tun.Device to support filtering and packet injection (#358) 6 years ago
Brad Fitzpatrick 577f321c38 wgengine/magicsock: revise derp fallback logic 6 years ago
Brad Fitzpatrick e085aec8ef all: update to wireguard-go API changes 6 years ago
Brad Fitzpatrick b9c6d3ceb8 netcheck: work behind UDP-blocked networks again, add tests 6 years ago