200 Commits (33b2f30cea55c015bb483bab12faa35532425e22)

Author SHA1 Message Date
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
David Anderson 1ac570def7 wgengine/router: split out from wgengine. 6 years ago
Avery Pennarun ee3395e63a wgengine/filter: fix linter warning. 6 years ago
Avery Pennarun 65fbb9c303 wgengine/filter: support subnet mask rules, not just /32 IPs. 6 years ago
Avery Pennarun 85e675940d wgengine/filter: allow ICMP response packets. 6 years ago
Brad Fitzpatrick e1526b796e ipn: don't listen on the unspecified address in test 6 years ago
Brad Fitzpatrick 18017f7630 ipn, wgengine/magicsock: be more idle when in Stopped state with no peers 6 years ago
fgergo 8296c934ac Update ifconfig_windows.go 6 years ago
David Anderson 9669b85b41 wgengine/magicsock: wait for endpoint updater goroutine when closing. 6 years ago
Elias Naur 2dac4f2b24 wgengine/monitor: disable monitor on Android 6 years ago
Brad Fitzpatrick 268d331cb5 wgengine/magicsock: prune key.Public-keyed on peer removals 6 years ago
Brad Fitzpatrick 00d053e25a wgengine/magicsock: fix slow memory leak as peer endpoints move around 6 years ago
Brad Fitzpatrick 7fc97c5493 wgengine/magicsock: use netaddr more 6 years ago
Brad Fitzpatrick 6fb30ff543 wgengine/magicsock: start using inet.af/netaddr a bit 6 years ago
David Anderson afbfe4f217 wgengine: drop wireguard MTU to 1280 bytes. 6 years ago
Avery Pennarun dc9b39e3fb wgengine/windows: use new winipcfg.Sync{Addresses,Routes} functions. 6 years ago
Brad Fitzpatrick adf74c75ed wgengine: also diagnose not-yet-rebooted system updates on Arch 6 years ago
Brad Fitzpatrick 45f2b53aca all: remove unnecessary trailing newlines in format patterns for consistency 6 years ago
Brad Fitzpatrick a7e7c7b548 wgengine/magicsock: close derp connections on rebind 6 years ago
Brad Fitzpatrick 614261d00d wgengine/magicsock: reset AddrSet states on Rebind 6 years ago
Brad Fitzpatrick c0697e1feb net/interfaces: add IsExpensive and up state to State 6 years ago
Brad Fitzpatrick a55c4217db wgengine: diagnose why CreateTUN might've failed for users 6 years ago
Brad Fitzpatrick 3a3b64301e wgengine: quiet some engine reconfig logging, make more consistent 6 years ago
Brad Fitzpatrick 1ec27dbb5b wgengine: remove an allocation in reconfig 6 years ago
David Crawshaw 5b95aa81ea wgengine: remove IpcSetOperation on LinkChange 6 years ago
Brad Fitzpatrick 922d9546bf wgengine: don't allocate so much in userspaceEngine.getStatus 6 years ago
Brad Fitzpatrick 0f64d7f9cc wgengine: remove a tiny allocation 6 years ago