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>
2022-05-27 14:56:09 -06:00
..
childproc cmd/tailscaled/childproc: add be-child registration mechanism 2022-02-24 14:20:20 -08:00
debug.go cmd/tailscaled: make build fail nicely on older Go versions 2022-03-18 08:25:51 -07:00
depaware.txt net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains. 2022-05-27 14:56:09 -06:00
install_darwin.go cmd/tailscaled: make build fail nicely on older Go versions 2022-03-18 08:25:51 -07:00
install_windows.go cmd/tailscaled: make build fail nicely on older Go versions 2022-03-18 08:25:51 -07:00
proxy.go cmd/tailscaled: make build fail nicely on older Go versions 2022-03-18 08:25:51 -07:00
required_version.go cmd/tailscaled: make build fail nicely on older Go versions 2022-03-18 08:25:51 -07:00
ssh.go all: gofmt all 2022-04-29 13:06:04 -07:00
tailscaled_bird.go cmd/tailscaled: make build fail nicely on older Go versions 2022-03-18 08:25:51 -07:00
tailscaled_notwindows.go cmd/tailscaled: make build fail nicely on older Go versions 2022-03-18 08:25:51 -07:00
tailscaled_test.go cmd/tailscaled: add a no-op test for profiling init-time memory allocs 2022-02-24 14:58:12 -08:00
tailscaled_windows.go cmd/tailscaled: fix state path for windows svc 2022-05-26 17:59:50 -07:00
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 2020-03-13 14:38:04 -07:00
tailscaled.go cmd/tailscaled: fix state path for windows svc 2022-05-26 17:59:50 -07:00
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 2021-07-08 14:39:45 -04:00
tailscaled.service cmd/tailscaled: set StateDirectoryMode=0700 in tailscaled.service 2021-09-28 09:09:24 -07:00