mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 02:31:18 -08:00
This adds a tailscaled string flag "--windows-mode" which accepts two possible values: the empty string (default) to get the normal behavior (tailscaled running as an admin, usually as a service), and "dev", to make the safesocket named pipe path be at a location that regular users (non-admins) can create. It then modifies the safesocket client side (as used by the CLI) to try the dev mode path too on failure. This lets people work on tailscaled.exe+tailscale.exe in a terminal easily during development, as either an admin or non-admin. (This used to work prior to the move away from TCP localhost to named pipes for safesocket on Windows) Updates #2791 Signed-off-by: Brad Fitzpatrick <[email protected]> Change-Id: I9c1e3a5b7d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c
65 lines
2.0 KiB
Go
65 lines
2.0 KiB
Go
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Code generated by gen_deps.go; DO NOT EDIT.
|
|
|
|
package integration
|
|
|
|
import (
|
|
// And depend on a bunch of tailscaled innards, for Go's test caching.
|
|
// Otherwise cmd/go never sees that we depend on these packages'
|
|
// transitive deps when we run "go install tailscaled" in a child
|
|
// process and can cache a prior success when a dependency changes.
|
|
_ "tailscale.com/client/local"
|
|
_ "tailscale.com/cmd/tailscaled/childproc"
|
|
_ "tailscale.com/control/controlclient"
|
|
_ "tailscale.com/derp/derphttp"
|
|
_ "tailscale.com/drive/driveimpl"
|
|
_ "tailscale.com/envknob"
|
|
_ "tailscale.com/feature"
|
|
_ "tailscale.com/feature/buildfeatures"
|
|
_ "tailscale.com/feature/condregister"
|
|
_ "tailscale.com/feature/ssh"
|
|
_ "tailscale.com/health"
|
|
_ "tailscale.com/hostinfo"
|
|
_ "tailscale.com/ipn"
|
|
_ "tailscale.com/ipn/conffile"
|
|
_ "tailscale.com/ipn/ipnlocal"
|
|
_ "tailscale.com/ipn/ipnserver"
|
|
_ "tailscale.com/ipn/store"
|
|
_ "tailscale.com/ipn/store/mem"
|
|
_ "tailscale.com/logpolicy"
|
|
_ "tailscale.com/logtail"
|
|
_ "tailscale.com/net/dns"
|
|
_ "tailscale.com/net/dnscache"
|
|
_ "tailscale.com/net/dnsfallback"
|
|
_ "tailscale.com/net/netmon"
|
|
_ "tailscale.com/net/netns"
|
|
_ "tailscale.com/net/proxymux"
|
|
_ "tailscale.com/net/socks5"
|
|
_ "tailscale.com/net/tsdial"
|
|
_ "tailscale.com/net/tstun"
|
|
_ "tailscale.com/paths"
|
|
_ "tailscale.com/safesocket"
|
|
_ "tailscale.com/syncs"
|
|
_ "tailscale.com/tailcfg"
|
|
_ "tailscale.com/tsconst"
|
|
_ "tailscale.com/tsd"
|
|
_ "tailscale.com/tsweb/varz"
|
|
_ "tailscale.com/types/flagtype"
|
|
_ "tailscale.com/types/key"
|
|
_ "tailscale.com/types/logger"
|
|
_ "tailscale.com/types/logid"
|
|
_ "tailscale.com/util/clientmetric"
|
|
_ "tailscale.com/util/eventbus"
|
|
_ "tailscale.com/util/osshare"
|
|
_ "tailscale.com/util/syspolicy"
|
|
_ "tailscale.com/util/syspolicy/pkey"
|
|
_ "tailscale.com/util/syspolicy/policyclient"
|
|
_ "tailscale.com/version"
|
|
_ "tailscale.com/version/distro"
|
|
_ "tailscale.com/wgengine"
|
|
_ "tailscale.com/wgengine/netstack"
|
|
_ "tailscale.com/wgengine/router"
|
|
)
|