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/tailscaled
Aaron Klotz b005b79236 net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains.
AFAICT this isn't documented on MSDN, but based on the issue referenced below,
NRPT rules are not working when a rule specifies > 50 domains.

This patch modifies our NRPT rule generator to split the list of domains
into chunks as necessary, and write a separate rule for each chunk.

For compatibility reasons, we continue to use the hard-coded rule ID, but
as additional rules are required, we generate new GUIDs. Those GUIDs are
stored under the Tailscale registry path so that we know which rules are ours.

I made some changes to winutils to add additional helper functions in support
of both the code and its test: I added additional registry accessors, and also
moved some token accessors from paths to util/winutil.

Fixes https://github.com/tailscale/coral/issues/63

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2 years ago
..
childproc cmd/tailscaled/childproc: add be-child registration mechanism 2 years ago
debug.go cmd/tailscaled: make build fail nicely on older Go versions 2 years ago
depaware.txt net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains. 2 years ago
install_darwin.go cmd/tailscaled: make build fail nicely on older Go versions 2 years ago
install_windows.go cmd/tailscaled: make build fail nicely on older Go versions 2 years ago
proxy.go cmd/tailscaled: make build fail nicely on older Go versions 2 years ago
required_version.go cmd/tailscaled: make build fail nicely on older Go versions 2 years ago
ssh.go all: gofmt all 2 years ago
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 4 years ago
tailscaled.go cmd/tailscaled: fix state path for windows svc 2 years ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 3 years ago
tailscaled.service cmd/tailscaled: set StateDirectoryMode=0700 in tailscaled.service 3 years ago
tailscaled_bird.go cmd/tailscaled: make build fail nicely on older Go versions 2 years ago
tailscaled_notwindows.go cmd/tailscaled: make build fail nicely on older Go versions 2 years ago
tailscaled_test.go cmd/tailscaled: add a no-op test for profiling init-time memory allocs 2 years ago
tailscaled_windows.go cmd/tailscaled: fix state path for windows svc 2 years ago