You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bug Fixes
Discover Tailscale IP from network interfaces instead of relying on CLI — when the daemon runs as root via launchd, the Mac App Store Tailscale CLI often cannot communicate with the user-session tailscaled. Instead of depending solely on the CLI, the daemon now scans network interfaces for an IPv4 address in the Tailscale CGNAT range (100.64.0.0/10). This works regardless of privilege level or Tailscale install method. The CLI is still used as a fallback, trying all known binary paths in sequence.
Details
internal/tailscale: New ipFromInterface() function checks all active network interfaces for a CGNAT-range IP before attempting any CLI invocation.
internal/tailscale: candidates() replaces findBinary() — returns all available CLI paths (deduped) with standalone/homebrew binaries prioritized over the App bundle CLI.
internal/tailscale: IPv4() now tries interface detection first, then iterates all CLI candidates until one succeeds, providing better error context on failure.
internal/tailscale: Available() returns true if either an interface IP or a CLI binary is found.