36 Commits (622c0d0cb39dfd64b0f1e73a088d1e02f0d3e607)

Author SHA1 Message Date
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
David Anderson 78b1ed39ea wgengine/router: add more documentation. 6 years ago
David Anderson c9de43cd59 wgengine/router: fix typo. 6 years ago
David Anderson 89198b1691 wgengine/router: rewrite netfilter and routing logic. 6 years ago
David Anderson 7618d7e677 wgengine/router: simplify some cmd invocations. 6 years ago
David Anderson 755fd9253c wgengine/router: fix up docstring. 6 years ago
David Anderson 1ac570def7 wgengine/router: split out from wgengine. 6 years ago