summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorjoshua stein <jcs@jcs.org>2026-02-22 17:13:58 -0600
committerBrad Fitzpatrick <brad@danga.com>2026-02-25 12:44:32 -0800
commit518d2417003657f955b98a546987e376ad9fe740 (patch)
tree80d9274cde2a20714b9642709ec1219c8ba64263 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent7370c24eb4989ca82f83009a0d36395bab4ea8c0 (diff)
downloadtailscale-518d2417003657f955b98a546987e376ad9fe740.tar.xz
tailscale-518d2417003657f955b98a546987e376ad9fe740.zip
netns,wgengine: add OpenBSD support to netns via an rtable
When an exit node has been set and a new default route is added, create a new rtable in the default rdomain and add the current default route via its physical interface. When control() is requesting a connection not go through the exit-node default route, we can use the SO_RTABLE socket option to force it through the new rtable we created. Updates #17321 Signed-off-by: joshua stein <jcs@jcs.org>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions