1775 Commits (7407f404d996594de43a546cfabbd40d776a4e22)

Author SHA1 Message Date
Brad Fitzpatrick a428656280 wgengine/magicsock: don't report v4 localhost addresses on IPv6-only systems 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
Avery Pennarun 30e5c19214 magicsock: work around race condition initializing .Regions[]. 6 years ago
Dmytro Shynkevych 737124ef70 tstun: tolerate zero reads 6 years ago
Brad Fitzpatrick b0c10fa610 stun, netcheck: move under net 6 years ago
Brad Fitzpatrick 43ded2b581 wgengine/packet: add some tests, more docs, minor Go style, performance changes 6 years ago
Brad Fitzpatrick e6b84f2159 all: make client use server-provided DERP map, add DERP region support 6 years ago
David Anderson e8b3a5e7a1 wgengine/filter: implement a destination IP pre-filter. 6 years ago
David Anderson 7fb33123d3 wgengine/router: warn about another variation of busybox's `ip`. 6 years ago
Dmytro Shynkevych 635f7b99f1 wgengine: pass tun.NativeDevice to router 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
Brad Fitzpatrick e6d0c92b1d wgengine/magicsock: clean up earlier fix a bit 6 years ago
Avery Pennarun d53e8fc0da router_darwin_support: we can build this on every platform. 6 years ago
Avery Pennarun fc88e34f42 wgengine/magicsock/tests: wait for home DERP connection before sending packets. 6 years ago
Avery Pennarun 4f128745d8 magicsock/test: oops, fix a data race in nested-test logf hack. 6 years ago
Avery Pennarun 42a0e0c601 wgengine/magicsock/tests: call tstest.ResourceCheck for each test. 6 years ago
Avery Pennarun 08acb502e5 Add tstest.PanicOnLog(), and fix various problems detected by this. 6 years ago
Dmytro Shynkevych 33b2f30cea
wgengine: wrap tun.Device to support filtering and packet injection (#358) 6 years ago
David Anderson 9ccbcda612 wgengine/router: rename config.Settings to config.Config, make pointer. 6 years ago
David Anderson 72cae5504c wgengine: generate and plumb router.Settings in from ipn. 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
Brad Fitzpatrick 8a3e77fc43 ipn, wgengine/filter: remove exported type aliases 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 e83d02ffd1 wgengine: don't double-close tundev on setup error. 6 years ago
David Anderson efc1feedc9 wgengine/router: include more information when iptables ops fail. 6 years ago
David Anderson e16f7e48a3 wgengine: simplify wgcfg.* to netaddr.* conversion. 6 years ago
David Anderson ccbd0937d0 wgengine: avoid v6 mapped v4 IPs when converting to netaddr types. 6 years ago
Wendi Yu 499c8fcbb3
Replace our ratelimiter with standard rate package (#359) 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 89af51b84d wgengine: plumb locally advertised subnet routes. 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
Brad Fitzpatrick fefd7e10dc types/structs: add structs.Incomparable annotation, use it where applicable 6 years ago
David Anderson 755fd9253c wgengine/router: fix up docstring. 6 years ago