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
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
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
cloner cmd/viewer: add codegen tool for Views 3 years ago
derper cmd/derper: add --stun-port flag 3 years ago
derpprobe all: use any instead of interface{} 3 years ago
hello all: use strings.Cut even more 3 years ago
mkpkg cmd/mkpkg: use package flag (#4373) 3 years ago
nginx-auth cmd/nginx-auth: maintainer scripts and tailnet checking (#4460) 3 years ago
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 3 years ago
proxy-to-grafana client/tailscale: move/copy all package funcs to new LocalClient type 3 years ago
speedtest cmd: upgrade to ffcli v3 3 years ago
tailscale net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains. 2 years ago
tailscaled net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains. 2 years ago
testcontrol all: use any instead of interface{} 3 years ago
tsshd cmd/tsshd: delete, leaving only forwarding docs 3 years ago
viewer cmd/viewer,types/views: add support for views of maps 3 years ago