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>
2022-09-16 15:30:19 -07:00
..
ipnlocal ipn/{ipnlocal,localapi}: use strs.CutPrefix, add more domain validation 2022-09-16 05:52:33 -07:00
ipnserver envknob: generalize Windows tailscaled-env.txt support 2022-09-16 15:30:19 -07:00
ipnstate cmd/tailscale: add emoji for illumos in status subcommand 2022-08-28 08:29:31 -07:00
localapi ipn/{ipnlocal,localapi}: use strs.CutPrefix, add more domain validation 2022-09-16 05:52:33 -07:00
policy ipn/policy: treat DNS service as interesting so it's not filtered out 2021-12-03 12:55:54 -08:00
store refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
backend.go all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
fake_test.go ipn/ipnlocal: move Ping method from IPN bus to LocalBackend (HTTP) 2022-05-03 15:59:19 -07:00
handle.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
ipn_clone.go cmd/tailscale/cli: add backwards compatibility 'up' processing for legacy client 2022-09-01 14:21:48 -07:00
message_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
message.go all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
prefs_test.go refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
prefs.go refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
store.go assorted: plumb tka initialization & network-lock key into tailscaled 2022-08-03 14:51:47 -07:00