Commit Graph

249 Commits (53fb25fc2fc49deaae48e36044f80ff1eded9aa9)

Author SHA1 Message Date
Brad Fitzpatrick 53fb25fc2f all: generate discovery key, plumb it around 6 years ago
Brad Fitzpatrick d9054da86a wgengine: disambiguate Reconfig logging paths 6 years ago
Brad Fitzpatrick abd79ea368 derp: reduce DERP memory use; don't require callers to pass in memory to use 6 years ago
Brad Fitzpatrick 280e8884dd wgengine/magicsock: limit redundant log spam on packets from low-pri addresses 6 years ago
David Anderson d05b0500ac wgengine: loop back tuntap packets destined for local IPs. 6 years ago
Avery Pennarun 51d176ecff wgengine: Remove leftover debug message. 6 years ago
Dmytro Shynkevych 07e02ec9d3
wgengine/tsdns: add test and prevent useless updates (#449) 6 years ago
Dmytro Shynkevych 511840b1f6
tsdns: initial implementation of a Tailscale DNS resolver (#396) 6 years ago
Dmytro Shynkevych 02231e968e
wgengine/tstun: add tests and benchmarks (#436) 6 years ago
Dmytro Shynkevych 059b1d10bb
wgengine/packet: refactor and expose UDP header marshaling (#408) 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
Dmytro Shynkevych 73c40c77b0
filter: prevent escape of QDecode to the heap (#417) 6 years ago
Brad Fitzpatrick 722673f307 Update go4.org/mem, adjust to revised API. 6 years ago
Brad Fitzpatrick 9e5d79e2f1 wgengine/magicsock: drop a bytes.Buffer sync.Pool, use logger.ArgWriter instead 6 years ago
Brad Fitzpatrick becce82246 net/netns, misc tests: remove TestOnlySkipPrivilegedOps, argv checks 6 years ago
Avery Pennarun e7ae6a2e06 net/netns, wgengine/router: support Linux machines that don't have 'ip rule'. 6 years ago
Avery Pennarun e46238a2af wgengine: separately dedupe wireguard configs and router configs. 6 years ago
Avery Pennarun f0b6ba78e8 wgengine: don't pass nil router.Config objects. 6 years ago
David Anderson 5114df415e net/netns: set the bypass socket mark on linux. 6 years ago
Brad Fitzpatrick db2a216561 wgengine/magicsock: don't log on UDP send errors if address family known missing 6 years ago
David Crawshaw cf5d25e15b wgengine: ensure pingers are gone before returning from Close 6 years ago
Brad Fitzpatrick 9e3ad4f79f net/netns: add package for start of network namespace support 6 years ago
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