summaryrefslogtreecommitdiffhomepage
path: root/wgengine/router
AgeCommit message (Expand)AuthorFilesLines
2020-07-23wgengine/router: support legacy resolvconfDmytro Shynkevych1-2/+57
2020-07-22wgengine/router: don't use 88 or 8888 as table/rule numbers.David Anderson2-40/+55
2020-07-22wgengine/router: fix router_test to match the new marks.David Anderson1-16/+16
2020-07-22wgengine/router: switch packet marks to avoid conflict with Weave Net.David Anderson1-2/+2
2020-07-18wgengine/router: use better NetworkManager APIDmytro Shynkevych2-58/+47
2020-07-17Use LittleEndian for correct byte order on DNS IPsEduardo Kienetz1-1/+1
2020-07-14wgengine: fix macos staticcheck errors (#557)Wendi Yu2-9/+8
2020-07-14wgengine/router: dns: unify on *BSD, multimode on Linux, Magic DNS (#536)Dmytro Shynkevych14-239/+894
2020-07-13cmd/tailscaled: graceful shutdown (#534)Dmytro Shynkevych1-0/+7
2020-07-06net/tsaddr: new package to hold Tailscale-specific IPs/rangesBrad Fitzpatrick1-8/+4
2020-06-26wgengine/router: do not call ifconfig up if SetRoutesFunc is setDavid Crawshaw1-0/+7
2020-06-24wgengine: add BSD userspace router to darwinReinaldo de Souza3-151/+170
2020-06-03wgengine/router: also accept exit code 254 from `ip rule del`.David Anderson2-6/+19
2020-06-02wgengine/router: don't filter subnet routing in netfilter.David Anderson2-66/+35
2020-05-31net/netns, wgengine/router: support Linux machines that don't have 'ip rule'.Avery Pennarun1-18/+37
2020-05-31wgengine: don't pass nil router.Config objects.Avery Pennarun1-1/+5
2020-05-29net/netns: set the bypass socket mark on linux.David Anderson1-0/+3
2020-05-28wgengine/router: make runner.go linux-only for now.David Anderson1-0/+2
2020-05-28router_linux: work around terrible bugs in old iptables-compat versions.Avery Pennarun1-7/+73
2020-05-28router_linux: fix behaviour when switching --netfilter-mode.Avery Pennarun1-14/+14
2020-05-28router_linux: remove need for iptables.ListChains().Avery Pennarun3-93/+43
2020-05-28router_linux: extract process runner routines into runner.go.Avery Pennarun2-76/+88
2020-05-28router_linux: use only baseline 'ip rule' features that exist in old kernels.Avery Pennarun2-86/+223
2020-05-15wgengine/router: warn about another variation of busybox's `ip`.David Anderson1-1/+1
2020-05-15wgengine/router: stop using -m comment.David Anderson2-9/+9
2020-05-14wgengine/router: more comments.David Anderson1-0/+6
2020-05-14ipn: plumb NetfilterMode all the way out to the CLI.David Anderson3-6/+42
2020-05-14wgengine/router: add a test for linux router state transitions.David Anderson2-15/+560
2020-05-14wgengine/router: support multiple levels of netfilter involvement.David Anderson2-192/+389
2020-05-14router_darwin_support: we can build this on every platform.Avery Pennarun1-2/+0
2020-05-12wgengine/router: rename config.Settings to config.Config, make pointer.David Anderson9-40/+67
2020-05-11wgengine/router: allow loopback traffic from our own IP(s).David Anderson1-8/+20
2020-05-11wgengine/router: add a setting to disable SNAT for subnet routes.David Anderson2-8/+39
2020-05-10wgengine/router: explicitly detect and complain about busybox's `ip`.David Anderson1-0/+8
2020-05-10wgengine/router: include command output if `ip rule list` fails.David Anderson1-1/+1
2020-05-10wgengine/router: include more information when iptables ops fail.David Anderson1-26/+35
2020-05-07wgengine/router: use inet.af/netaddr, not wgcfg.CIDR.David Anderson5-40/+40
2020-05-07wgengine/router: remove wireguard-go config from settings.David Anderson9-154/+103
2020-05-08wgengine/router: alter API to support multiple addrs, and use on linux.David Anderson4-25/+49
2020-05-07wgengine/router: don't use gateway routes on linux.David Anderson1-13/+11
2020-05-07wgengine/router: add more documentation.David Anderson1-6/+14
2020-05-07wgengine/router: fix typo.David Anderson1-4/+4
2020-05-06wgengine/router: rewrite netfilter and routing logic.David Anderson2-84/+382
2020-05-06wgengine/router: simplify some cmd invocations.David Anderson1-27/+25
2020-04-30wgengine/router: fix up docstring.David Anderson1-1/+2
2020-04-30wgengine/router: split out from wgengine.David Anderson10-0/+1354