tailscale/paths
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
..
migrate.go ipn, paths: ensure that the state directory for Windows has the correct perms 2021-09-22 14:50:00 -06:00
paths.go cmd/tailscaled: default to userspace-networking mode on gokrazy, set paths 2022-03-01 20:34:45 -08:00
paths_js.go paths: add missing js/wasm stub 2021-11-07 12:13:15 -08:00
paths_unix.go cmd/tailscaled: default to userspace-networking mode on gokrazy, set paths 2022-03-01 20:34:45 -08:00
paths_windows.go 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