35 Commits (1886dfdca357efbbbe30c1cfcdafb1e8ea5c2e98)

Author SHA1 Message Date
Dmytro Shynkevych 28e52a0492
all: dns refactor, add Proxied and PerDomain flags from control (#615) 6 years ago
David Anderson 189d86cce5 wgengine/router: don't use 88 or 8888 as table/rule numbers. 6 years ago
David Anderson d60917c0f1 wgengine/router: switch packet marks to avoid conflict with Weave Net. 6 years ago
Dmytro Shynkevych 30bbbe9467
wgengine/router: dns: unify on *BSD, multimode on Linux, Magic DNS (#536) 6 years ago
Brad Fitzpatrick 742b8b44a8 net/tsaddr: new package to hold Tailscale-specific IPs/ranges 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
David Anderson 5114df415e net/netns: set the bypass socket mark on linux. 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
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 1ac570def7 wgengine/router: split out from wgengine. 6 years ago
Martin Baillie 8ae3ba0cf5 wgengine: define default tunname for each platform 6 years ago
Brad Fitzpatrick 89a2c3eb04 wgengine: don't create duplicate iptables rules on Linux, clean up 6 years ago
wardn c51b8c206d wgengine: resolv.conf spelling corrections 6 years ago
David Crawshaw 45d687e213 wgengine: fix build on linux/freebsd/openbsd/windows 6 years ago
Brad Fitzpatrick 7f5e3febe5 wgengine: move link monitor to be owned by the engine, not the router 6 years ago
Brad Fitzpatrick 79295b1138 wgengine: simplify, change some signatures 6 years ago
Brad Fitzpatrick 2896be60db Move "logger" package to under types, now that we have it. 6 years ago
wardn 2cafbd74c7 monitor: refactor for architecture-specific connection implementations 6 years ago
Brad Fitzpatrick 7e5e32775a wgengine: flesh out some docs, minor cleanups 6 years ago
Earl Lee a8d8b8719a Move Linux client & common packages into a public repo. 6 years ago