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/ipn
Brad Fitzpatrick 65c24b6334 envknob: generalize Windows tailscaled-env.txt support
ipnserver previously had support for a Windows-only environment
variable mechanism that further only worked when Windows was running
as a service, not from a console.

But we want it to work from tailscaed too, and we want it to work on
macOS and Synology. So move it to envknob, now that envknob can change
values at runtime post-init.

A future change will wire this up for more platforms, and do something
more for CLI flags like --port, which the bug was originally about.

Updates #5114

Change-Id: I9fd69a9a91bb0f308fc264d4a6c33e0cbe352d71
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
ipnlocal ipn/{ipnlocal,localapi}: use strs.CutPrefix, add more domain validation 2 years ago
ipnserver envknob: generalize Windows tailscaled-env.txt support 2 years ago
ipnstate cmd/tailscale: add emoji for illumos in status subcommand 2 years ago
localapi ipn/{ipnlocal,localapi}: use strs.CutPrefix, add more domain validation 2 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 3 years ago
store refactor: move from io/ioutil to io and os packages 2 years ago
backend.go all: gofmt for Go 1.19 2 years ago
doc.go Move Linux client & common packages into a public repo. 5 years ago
fake_test.go ipn/ipnlocal: move Ping method from IPN bus to LocalBackend (HTTP) 3 years ago
handle.go all: convert more code to use net/netip directly 2 years ago
ipn_clone.go cmd/tailscale/cli: add backwards compatibility 'up' processing for legacy client 2 years ago
message.go all: gofmt for Go 1.19 2 years ago
message_test.go all: use any instead of interface{} 3 years ago
prefs.go refactor: move from io/ioutil to io and os packages 2 years ago
prefs_test.go refactor: move from io/ioutil to io and os packages 2 years ago
store.go assorted: plumb tka initialization & network-lock key into tailscaled 2 years ago