40 Commits (7f83f9fc832b17626e94de308cf37a29e04cd555)

Author SHA1 Message Date
Brad Fitzpatrick c3c18027c6 all: make more tests pass/skip in airplane mode 2 years ago
Brad Fitzpatrick 6b95219e3a net/netmon, add: add netmon.State type alias of interfaces.State 2 years ago
Brad Fitzpatrick 3672f29a4e net/netns, net/dns/resolver, etc: make netmon required in most places 2 years ago
Brad Fitzpatrick 7a62dddeac net/netcheck, wgengine/magicsock: make netmon.Monitor required 2 years ago
James Tucker 6e334e64a1 net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics 2 years ago
Andrew Dunham 727acf96a6 net/netcheck: use DERP frames as a signal for home region liveness 2 years ago
James Tucker de8e55fda6 net/netcheck,wgengine/magicsock: reduce coupling between netcheck and magicsock 3 years ago
Andrew Dunham 9b5e29761c net/netcheck: ignore PreferredDERP changes that are small 3 years ago
Andrew Dunham 7aba0b0d78 net/netcheck, tailcfg: add DERPHomeParams and use it 3 years ago
James Tucker da90fab899 net/netcheck: reenable TestBasic on Windows 3 years ago
James Tucker c5150eae67 net/netcheck: reenable TestNodeAddrResolve on Windows 3 years ago
James Tucker 8dec1a8724 .github/workflows: reenable Windows CI, disable broken tests 3 years ago
Andrew Dunham 228d0c6aea net/netcheck: use dnscache.Resolver when resolving DERP IPs 3 years ago
Andrew Dunham 4cb1bfee44 net/netcheck: improve determinism in hairpinning test 3 years ago
Maisem Ali b9ebf7cf14 tstest: add method to Replace values for tests 3 years ago
Brad Fitzpatrick b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 years ago
Will Norris 71029cea2d all: update copyright and license headers 3 years ago
Andrew Dunham c6162c2a94
net/netcheck: add check for captive portal (#5593) 4 years ago
Brad Fitzpatrick ec9d13bce5 hostinfo, net/netcheck: use CutPrefix 4 years ago
Andrew Dunham f0d6f173c9
net/netcheck: try ICMP if UDP is blocked (#5056) 4 years ago
Brad Fitzpatrick a12aad6b47 all: convert more code to use net/netip directly 4 years ago
Brad Fitzpatrick 7eaf5e509f net/netaddr: start migrating to net/netip via new netaddr adapter package 4 years ago
David Anderson c1cb3efbba net/netcheck: test for OS IPv6 support as well as connectivity. 4 years ago
Josh Bleecher Snyder 0868329936 all: use any instead of interface{} 4 years ago
Avery Pennarun 0d4a0bf60e magicsock: if STUN failed to send before, rebind before STUNning again. 5 years ago
Brad Fitzpatrick 1ae35b6c59 net/{interfaces,netcheck}: rename some fields, funcs 5 years ago
Brad Fitzpatrick c6358f2247 net/netcheck: add a few more STUN retries for prior DERP home 5 years ago
Denton Gentry ac42757cd7 netcheck: use reflect in sortRegions test. 5 years ago
Denton Gentry 43e060b0e5 netcheck: test sortRegions 5 years ago
Brad Fitzpatrick 676b5b7946 net/netcheck: improve the preferred DERP hysteresis 5 years ago
Brad Fitzpatrick 053a1d1340 all: annotate log verbosity levels on most egregiously spammy log prints 5 years ago
Brad Fitzpatrick 7ac91c15bd net/netcheck: fix tests on Windows 6 years ago
Brad Fitzpatrick 5c6d8e3053 netcheck, tailcfg, interfaces, magicsock: survey UPnP, NAT-PMP, PCP 6 years ago
Brad Fitzpatrick 2d6e84e19e net/netcheck, wgengine/magicsock: replace more UDPAddr with netaddr.IPPort 6 years ago
Brad Fitzpatrick deb113838e net/netcheck: use logger.ArgWriter in logConciseReport, fix comma bug, add tests 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 0245bbe97b Make netcheck handle v6-only interfaces better, faster. 6 years ago
Avery Pennarun 7cd9ff3dde net/netcheck: fix race condition initializting RegionLatency maps. 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
Brad Fitzpatrick 44b07aa708 netcheck: STUN less aggressively to known distant servers 6 years ago
Brad Fitzpatrick 495796fff1 derp/derpmap: add World.ForeachServer, check STUN server validity earlier 6 years ago
Brad Fitzpatrick 1df3c8d02a derp, netcheck: make tests listen on localhost only 6 years ago
Brad Fitzpatrick 19a1704abd netcheck: use best DERP server in past 5 minutes to avoid flip-flopping 6 years ago
Brad Fitzpatrick b9c6d3ceb8 netcheck: work behind UDP-blocked networks again, add tests 6 years ago
Brad Fitzpatrick 01b4bec33f stunner: re-do how Stunner works 6 years ago