summaryrefslogtreecommitdiffhomepage
path: root/wgengine
AgeCommit message (Expand)AuthorFilesLines
2020-05-30wgengine: ensure pingers are gone before returning from Closecrawshaw/pinger2David Crawshaw1-38/+76
2020-05-28net/netns: add package for start of network namespace supportBrad Fitzpatrick1-4/+7
2020-05-28wgengine/magicsock: don't report v4 localhost addresses on IPv6-only systemsBrad Fitzpatrick1-2/+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-28magicsock: work around race condition initializing .Regions[].Avery Pennarun1-1/+6
2020-05-27tstun: tolerate zero readsDmytro Shynkevych1-12/+36
2020-05-25stun, netcheck: move under netBrad Fitzpatrick2-3/+3
2020-05-25wgengine/packet: add some tests, more docs, minor Go style, performance changesBrad Fitzpatrick3-50/+115
2020-05-23all: make client use server-provided DERP map, add DERP region supportBrad Fitzpatrick5-124/+180
2020-05-22wgengine/filter: implement a destination IP pre-filter.David Anderson3-20/+54
2020-05-15wgengine/router: warn about another variation of busybox's `ip`.David Anderson1-1/+1
2020-05-15wgengine: pass tun.NativeDevice to routerDmytro Shynkevych2-1/+8
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-14wgengine/magicsock: clean up earlier fix a bitBrad Fitzpatrick2-20/+32
2020-05-14router_darwin_support: we can build this on every platform.Avery Pennarun1-2/+0
2020-05-13wgengine/magicsock/tests: wait for home DERP connection before sending packets.Avery Pennarun2-6/+28
2020-05-13magicsock/test: oops, fix a data race in nested-test logf hack.Avery Pennarun1-27/+42
2020-05-13wgengine/magicsock/tests: call tstest.ResourceCheck for each test.Avery Pennarun1-1/+14
2020-05-13Add tstest.PanicOnLog(), and fix various problems detected by this.Avery Pennarun5-65/+113
2020-05-13wgengine: wrap tun.Device to support filtering and packet injection (#358)Dmytro Shynkevych6-129/+352
2020-05-12wgengine/router: rename config.Settings to config.Config, make pointer.David Anderson12-48/+72
2020-05-12wgengine: generate and plumb router.Settings in from ipn.David Anderson3-66/+10
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 Anderson5-15/+49
2020-05-11ipn, wgengine/filter: remove exported type aliasesBrad Fitzpatrick3-12/+12
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: don't double-close tundev on setup error.David Anderson1-2/+3
2020-05-10wgengine/router: include more information when iptables ops fail.David Anderson1-26/+35
2020-05-09wgengine: simplify wgcfg.* to netaddr.* conversion.David Anderson1-22/+4
2020-05-08wgengine: avoid v6 mapped v4 IPs when converting to netaddr types.David Anderson1-2/+21
2020-05-08Replace our ratelimiter with standard rate package (#359)Wendi Yu1-14/+7
2020-05-07wgengine/router: use inet.af/netaddr, not wgcfg.CIDR.David Anderson6-44/+67
2020-05-07wgengine/router: remove wireguard-go config from settings.David Anderson10-178/+121
2020-05-08wgengine/router: alter API to support multiple addrs, and use on linux.David Anderson5-32/+61
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-07wgengine: plumb locally advertised subnet routes.David Anderson3-10/+14
2020-05-06wgengine/router: rewrite netfilter and routing logic.David Anderson3-84/+384
2020-05-06wgengine/router: simplify some cmd invocations.David Anderson1-27/+25