335 Commits (c3994fd77ce4e92d96cd75ffb62d324141ab88f5)

Author SHA1 Message Date
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 37903a9056 wgengine/magicsock: fix occasional deadlock on Conn.Close on c.derpStarted 6 years ago
Brad Fitzpatrick fe68841dc7 wgengine/magicsock: log better with less spam on transition to stopped state 6 years ago
Brad Fitzpatrick e298327ba8 wgengine/magicsock: remove overkill, slow reflect.DeepEqual of NetworkMap 6 years ago
Brad Fitzpatrick 4970e771ab wgengine: add debug knob to disable the watchdog during debugging 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 5066b824a6 wgengine/magicsock: don't log about disco ping timeouts if we have a working address 6 years ago
Brad Fitzpatrick a89d610a3d wgengine/tstun: move sync.Pool to package global 6 years ago
Dmytro Shynkevych c53ab3111d wgengine/router: support legacy resolvconf 6 years ago
David Anderson 189d86cce5 wgengine/router: don't use 88 or 8888 as table/rule numbers. 6 years ago
David Anderson 972a42cb33 wgengine/router: fix router_test to match the new marks. 6 years ago
David Anderson d60917c0f1 wgengine/router: switch packet marks to avoid conflict with Weave Net. 6 years ago
Brad Fitzpatrick c06d2a8513 wgengine/magicsock: fix typo in comment 6 years ago
Brad Fitzpatrick bf195cd3d8 wgengine/magicsock: reduce log verbosity of discovery messages 6 years ago
Dmytro Shynkevych a3e7252ce6 wgengine/router: use better NetworkManager API 6 years ago
Eduardo Kienetz 5df6be9d38 Use LittleEndian for correct byte order on DNS IPs 6 years ago
Brad Fitzpatrick a6559a8924 wgengine/magicsock: run test DERP in mode where only disco packets allowed 6 years ago
Brad Fitzpatrick 10ac066013 all: fix vet warnings 6 years ago
Brad Fitzpatrick d74c9aa95b wgengine/magicsock: update comment, fix earlier commit 6 years ago
Brad Fitzpatrick c976264bd1 wgengine/magicsock: gofmt 6 years ago
Dmytro Shynkevych f3e2b65637
wgengine/magicsock: time.Sleep -> time.After 6 years ago
Dmytro Shynkevych 380ee76d00
wgengine/magicsock: make time.Sleep in runDerpReader respect cancellation. 6 years ago
Dmytro Shynkevych 891898525c
wgengine/magicsock: make receive from didCopy respect cancellation. 6 years ago
Brad Fitzpatrick a2267aae99 wgengine: only launch pingers for peers predating the discovery protocol 6 years ago
Brad Fitzpatrick cdfea347d0 wgengine: update for tailscale/wireguard-go API changes 6 years ago
David Anderson 45578b47f3 tstest/natlab: refactor PacketHandler into a larger interface. 6 years ago
Dmytro Shynkevych 19867b2b6d
tstun: remove buggy-looking log line. 6 years ago
Wendi Yu c3736250a4
wgengine: fix macos staticcheck errors (#557) 6 years ago
Dmytro Shynkevych 3b36400e35
tsdns: response to type ANY queries 6 years ago
Dmytro Shynkevych 2f15894a10 wgengine/magicsock: wait for derphttp client goroutine to exit 6 years ago
Dmytro Shynkevych 30bbbe9467
wgengine/router: dns: unify on *BSD, multimode on Linux, Magic DNS (#536) 6 years ago
Dmytro Shynkevych 61abab999e
cmd/tailscaled: graceful shutdown (#534) 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
Dmytro Shynkevych 21d1dbfce0 wgengine/tsdns: local DNS server for testing 6 years ago
Dmytro Shynkevych 248d28671b
tsdns: fix race in delegate 6 years ago
Brad Fitzpatrick bd59bba8e6 wgengine/magicsock: stop discoEndpoint timers on Close 6 years ago
Brad Fitzpatrick de875a4d87 wgengine/magicsock: remove DisableSTUNForTesting 6 years ago
Dmytro Shynkevych 67ebba90e1
tsdns: dual resolution mode, IPv6 support (#526) 6 years ago
Brad Fitzpatrick ce1b52bb71 wgengine/monitor: fix other potential crashes on Linux 6 years ago
Brad Fitzpatrick 4b75a27969 wgengine/monitor: fix crash on Linux on type 21 messages 6 years ago
Brad Fitzpatrick 724ad13fe1 wgengine/tstun: fix alignment of 64-bit atomic field 6 years ago
Brad Fitzpatrick 4db60a8436 wgengine/monitor: parse Linux netlink messages, ignore our own events 6 years ago
Brad Fitzpatrick 742b8b44a8 net/tsaddr: new package to hold Tailscale-specific IPs/ranges 6 years ago