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
committerGitHub <noreply@github.com>2026-01-16 14:53:23 -0500
commit643e91f2eb8b3e3bc7a12b3e79a2df580684e3d0 (patch)
treee77ecace5e5b088e42109c9fd2dd1b7ae0fbb2e5 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent1478028591283068717b68bbf4ab90ccf01457ab (diff)
downloadtailscale-643e91f2eb8b3e3bc7a12b3e79a2df580684e3d0.tar.xz
tailscale-643e91f2eb8b3e3bc7a12b3e79a2df580684e3d0.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>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions