You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine
Avery Pennarun e7ae6a2e06 net/netns, wgengine/router: support Linux machines that don't have 'ip rule'.
We'll use SO_BINDTODEVICE instead of fancy policy routing. This has
some limitations: for example, we will route all traffic through the
interface that has the main "default" (0.0.0.0/0) route, so machines
that have multiple physical interfaces might have to go through DERP to
get to some peers. But machines with multiple physical interfaces are
very likely to have policy routing (ip rule) support anyway.

So far, the only OS I know of that needs this feature is ChromeOS
(crostini). Fixes #245.

Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
6 years ago
..
filter wgengine/filter: implement a destination IP pre-filter. 6 years ago
magicsock net/netns: set the bypass socket mark on linux. 6 years ago
monitor wgengine/monitor: disable monitor on Android 6 years ago
packet wgengine/packet: add some tests, more docs, minor Go style, performance changes 6 years ago
router net/netns, wgengine/router: support Linux machines that don't have 'ip rule'. 6 years ago
tstun tstun: tolerate zero reads 6 years ago
winnet Move Linux client & common packages into a public repo. 6 years ago
rusage.go Move "logger" package to under types, now that we have it. 6 years ago
rusage_nowindows.go wgengine: flesh out some docs 6 years ago
rusage_windows.go Move Linux client & common packages into a public repo. 6 years ago
userspace.go wgengine: separately dedupe wireguard configs and router configs. 6 years ago
watchdog.go all: make client use server-provided DERP map, add DERP region support 6 years ago
watchdog_test.go net/netns: set the bypass socket mark on linux. 6 years ago
wgengine.go all: make client use server-provided DERP map, add DERP region support 6 years ago