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/util
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>
3 years ago
..
cibuild all: use cibuild.On 3 years ago
clientmetric util/clientmetric: add gauge_ name prefix when uploading names 3 years ago
cmpver util/cmpver: move into OSS from corp repo. 4 years ago
codegen cmd/cloner,util/codegen: refactor cloner internals to allow reuse 3 years ago
deephash tailcfg,all: change structs to []*dnstype.Resolver 3 years ago
dnsname all: use Go 1.18's strings.Cut 3 years ago
endian all: gofmt with Go 1.17 3 years ago
groupmember util/groupmember: remove redundant code (#4298) 3 years ago
jsonutil all: use any instead of interface{} 3 years ago
lineread util/lineread: add docs to Reader 4 years ago
mak util/mak: move tailssh's mapSet into a new package for reuse elsewhere 3 years ago
multierr all: use any instead of interface{} 3 years ago
netconv util/netconv: add package to convert between netip and netaddr types 3 years ago
osshare all: gofmt with Go 1.17 3 years ago
pidowner all: gofmt with Go 1.17 3 years ago
racebuild all: gofmt with Go 1.17 3 years ago
systemd all: use any instead of interface{} 3 years ago
uniq all: use any instead of interface{} 3 years ago
winutil net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains. 3 years ago