56 Commits (1886dfdca357efbbbe30c1cfcdafb1e8ea5c2e98)

Author SHA1 Message Date
Brad Fitzpatrick 461db356b9 wgengine/router/dns: fix staticcheck error on Mac 6 years ago
Dmytro Shynkevych a583e498b0
router/dns: set all domains on Windows (#672) 6 years ago
Mike Kramlich 6fa7a9a055 wgengine/router/router_userspace_bsd: on Mac the route program syntax expects delete not del -- this had caused router reconfig to fail in some cases. Fixes #673 6 years ago
Dmytro Shynkevych 95a18f815c
router/dns: detect host endianness for NetworkManager. 6 years ago
Brad Fitzpatrick c64a43a734 wgengine/router: set MTU on Windows to min(configured,possible) 6 years ago
Josh Bleecher Snyder 2622e8e082 wgenginer/router: fix build 6 years ago
Dmytro Shynkevych 28e52a0492
all: dns refactor, add Proxied and PerDomain flags from control (#615) 6 years ago
Dmytro Shynkevych 8c850947db
router: split off sandboxed path from router_darwin (#624) 6 years ago
Dmytro Shynkevych 2ce2b63239
router: stop iOS subprocess sandbox violations (#617) 6 years ago
Dmytro Shynkevych 154d1cde05
router: reload systemd-resolved after changing /etc/resolv.conf (#619) 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
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
Wendi Yu c3736250a4
wgengine: fix macos staticcheck errors (#557) 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
Brad Fitzpatrick 742b8b44a8 net/tsaddr: new package to hold Tailscale-specific IPs/ranges 6 years ago
David Crawshaw 9258d64261 wgengine/router: do not call ifconfig up if SetRoutesFunc is set 6 years ago
Reinaldo de Souza a8635784bc wgengine: add BSD userspace router to darwin 6 years ago
David Anderson 5a32f8e181 wgengine/router: also accept exit code 254 from `ip rule del`. 6 years ago
David Anderson 08a38f21c9 wgengine/router: don't filter subnet routing in netfilter. 6 years ago
Avery Pennarun e7ae6a2e06 net/netns, wgengine/router: support Linux machines that don't have 'ip rule'. 6 years ago
Avery Pennarun f0b6ba78e8 wgengine: don't pass nil router.Config objects. 6 years ago
David Anderson 5114df415e net/netns: set the bypass socket mark on linux. 6 years ago
David Anderson fff062b461 wgengine/router: make runner.go linux-only for now. 6 years ago
Avery Pennarun f69003fd46 router_linux: work around terrible bugs in old iptables-compat versions. 6 years ago
Avery Pennarun 9ff51909a3 router_linux: fix behaviour when switching --netfilter-mode. 6 years ago
Avery Pennarun a496cdc943 router_linux: remove need for iptables.ListChains(). 6 years ago
Avery Pennarun 8a6bd21baf router_linux: extract process runner routines into runner.go. 6 years ago
Avery Pennarun 34c30eaea0 router_linux: use only baseline 'ip rule' features that exist in old kernels. 6 years ago
David Anderson 7fb33123d3 wgengine/router: warn about another variation of busybox's `ip`. 6 years ago
David Anderson 9c914dc7dd wgengine/router: stop using -m comment. 6 years ago
David Anderson 3e27b3c33c wgengine/router: more comments. 6 years ago
David Anderson 0fe262f093 ipn: plumb NetfilterMode all the way out to the CLI. 6 years ago
David Anderson c67c8913c3 wgengine/router: add a test for linux router state transitions. 6 years ago
David Anderson 292606a975 wgengine/router: support multiple levels of netfilter involvement. 6 years ago
Avery Pennarun d53e8fc0da router_darwin_support: we can build this on every platform. 6 years ago
David Anderson 9ccbcda612 wgengine/router: rename config.Settings to config.Config, make pointer. 6 years ago
David Anderson cd01bcc395 wgengine/router: allow loopback traffic from our own IP(s). 6 years ago
David Anderson bfdc8175b1 wgengine/router: add a setting to disable SNAT for subnet routes. 6 years ago
David Anderson 21ac65d3da wgengine/router: explicitly detect and complain about busybox's `ip`. 6 years ago
David Anderson 381b94d4d1 wgengine/router: include command output if `ip rule list` fails. 6 years ago
David Anderson efc1feedc9 wgengine/router: include more information when iptables ops fail. 6 years ago
David Anderson b01db109f5 wgengine/router: use inet.af/netaddr, not wgcfg.CIDR. 6 years ago
David Anderson b8f01eed34 wgengine/router: remove wireguard-go config from settings. 6 years ago
David Anderson 8861bb5a19 wgengine/router: alter API to support multiple addrs, and use on linux. 6 years ago
David Anderson 6802481bf5 wgengine/router: don't use gateway routes on linux. 6 years ago