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.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
6 years ago
David Anderson
89198b1691
wgengine/router: rewrite netfilter and routing logic.
...
New logic installs precise filters for subnet routes,
plays nice with other users of netfilter, and lays the
groundwork for fixing routing loops via policy routing.
Signed-off-by: David Anderson <danderson@tailscale.com>
6 years ago
David Anderson
7618d7e677
wgengine/router: simplify some cmd invocations.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
6 years ago
David Anderson
755fd9253c
wgengine/router: fix up docstring.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
6 years ago
David Anderson
1ac570def7
wgengine/router: split out from wgengine.
...
The router implementations are logically separate, with their own API.
Signed-off-by: David Anderson <danderson@tailscale.com>
6 years ago