tailscale/safesocket
Paul Scott 9a56184bef
cmd/tailscale: Check App Store tailscaled dialable before selecting. (#9234)
PR #9217 attempted to fix the same issue, but suffered from not letting the
user connect to non-oss tailscaled if something was listening on the socket, as
the --socket flag doesn't let you select the mac apps.

Rather than leave the user unable to choose, we keep the mac/socket preference
order the same and check a bit harder whether the macsys version really is
running. Now, we prefer the App Store Tailscale (even if it's Stopped) and you
can use --socket to sswitch. But if you quit the App Store Tailscale, we'll try
the socket without needing the flag.

Fixes #5761
Signed-off-by: Paul Scott <408401+icio@users.noreply.github.com>
2023-09-06 12:43:10 +01:00
..
basic_test.go safesocket: enable test to run on Windows unpriviliged 2023-04-19 19:06:18 -07:00
pipe_windows_test.go safesocket: enable test to run on Windows unpriviliged 2023-04-19 19:06:18 -07:00
pipe_windows.go safesocket: enable test to run on Windows unpriviliged 2023-04-19 19:06:18 -07:00
safesocket_darwin.go cmd/tailscale: Check App Store tailscaled dialable before selecting. (#9234) 2023-09-06 12:43:10 +01:00
safesocket_js.go safesocket: remove the now unused WindowsLocalPort 2023-01-30 10:33:02 -08:00
safesocket_ps.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
safesocket_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
safesocket.go safesocket: remove the now unused WindowsLocalPort 2023-01-30 10:33:02 -08:00
unixsocket.go safesocket: remove the now unused WindowsLocalPort 2023-01-30 10:33:02 -08:00