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/cmd
Maisem Ali 320f77bd24 cmd/containerboot: add support for setting ServeConfig
This watches the provided path for a JSON encoded ipn.ServeConfig.
Everytime the file changes, or the nodes FQDN changes it reapplies
the ServeConfig.

At boot time, it nils out any previous ServeConfig just like tsnet does.

As the ServeConfig requires pre-existing knowledge of the nodes FQDN to do
SNI matching, it introduces a special `${TS_CERT_DOMAIN}` value in the JSON
file which is replaced with the known CertDomain before it is applied.

Updates #502
Updates #7895

Signed-off-by: Maisem Ali <maisem@tailscale.com>
1 year ago
..
addlicense all: update tools that manage copyright headers 2 years ago
cloner cmd/cloner: use maps.Clone and ptr.To 1 year ago
containerboot cmd/containerboot: add support for setting ServeConfig 1 year ago
derper util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 1 year ago
derpprobe prober: migrate to Prometheus metric library 2 years ago
dist cmd/dist,release/dist: add distsign signing hooks (#9070) 1 year ago
get-authkey all: use cmpx.Or where it made sense 1 year ago
gitops-pusher cmd/gitops-pusher: re-use existing types from acl package 1 year ago
hello all: update copyright and license headers 2 years ago
k8s-operator cmd/k8s-operator: handle changes to services w/o teardown 1 year ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 1 year ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
netlogfmt all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 2 years ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 2 years ago
sniproxy cmd/sniproxy: add port forwarding and prometheus metrics 1 year ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: replace deprecated ioutil references 1 year ago
stunc all: update copyright and license headers 2 years ago
sync-containers all: adjust some build tags for plan9 1 year ago
tailscale client/web: add self node cache 1 year ago
tailscaled all: adjust some build tags for plan9 1 year ago
testcontrol all: update copyright and license headers 2 years ago
testwrapper cmd/testwrapper: fix off-by-one error in maxAttempts check 1 year ago
tsconnect all: adjust some build tags for plan9 1 year ago
tsshd all: update copyright and license headers 2 years ago
viewer types/views,cmd/viewer: add ByteSlice[T] to replace mem.RO 1 year ago