You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
basic_test.go safesocket: enable test to run on Windows unpriviliged 1 year ago
pipe_windows.go safesocket: enable test to run on Windows unpriviliged 1 year ago
pipe_windows_test.go safesocket: enable test to run on Windows unpriviliged 1 year ago
safesocket.go safesocket: remove the now unused WindowsLocalPort 2 years ago
safesocket_darwin.go cmd/tailscale: Check App Store tailscaled dialable before selecting. (#9234) 1 year ago
safesocket_js.go safesocket: remove the now unused WindowsLocalPort 2 years ago
safesocket_ps.go all: update copyright and license headers 2 years ago
safesocket_test.go all: update copyright and license headers 2 years ago
unixsocket.go safesocket: remove the now unused WindowsLocalPort 2 years ago