summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorJonathan Nobels <jnobels@gmail.com>2026-01-16 14:53:23 -0500
committerJonathan Nobels <jonathan@tailscale.com>2026-01-16 14:55:20 -0500
commit919b2ac2c6070ffb6a494d75c818b864dcfbe8e1 (patch)
tree18ec2a50de4c52afb5f3ec093cb6ad85d441af1c /control/controlhttp/controlhttpserver/controlhttpserver.go
parent82077075c79f2c20bc663029dd14ab2f19e09307 (diff)
downloadtailscale-919b2ac2c6070ffb6a494d75c818b864dcfbe8e1.tar.xz
tailscale-919b2ac2c6070ffb6a494d75c818b864dcfbe8e1.zip
net/netmon: move TailscaleInterfaceIndex out of netmon.State (#18428)
fixes tailscale/tailscale#18418 Both Serve and PeerAPI broke when we moved the TailscaleInterfaceName into State, which is updated asynchronously and may not be available when we configure the listeners. This extracts the explicit interface name property from netmon.State and adds as a static struct with getters that have proper error handling. The bug is only found in sandboxed Darwin clients, where we need to know the Tailscale interface details in order to set up the listeners correctly (they must bind to our interface explicitly to escape the network sandboxing that is applied by NECP). Currently set only sandboxed macOS and Plan9 set this but it will also be useful on Windows to simplify interface filtering in netns. Signed-off-by: Jonathan Nobels <jonathan@tailscale.com> (cherry picked from commit 643e91f2eb8b3e3bc7a12b3e79a2df580684e3d0)
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions