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/net
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
..
dns net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains. 3 years ago
dnscache net/dns/resolver: make DoH dialer use existing dnscache happy eyeball dialer 3 years ago
dnsfallback net/dnsfallback: update from 'go generate' 3 years ago
flowtrack all: use any instead of interface{} 3 years ago
interfaces net/interfaces: add FreeBSD default route lookup (portmapping, etc) 3 years ago
netcheck all: gofmt all 3 years ago
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 3 years ago
netknob all: disable TCP keep-alives on iOS/Android 3 years ago
netns net/netns: remove a useless probe of the "ip" command 3 years ago
netstat all: gofmt with Go 1.17 3 years ago
nettest net/nettest: deflake TestPipeTimeout 3 years ago
netutil net/netutil: add CheckIPForwardingLinux (#4301) 3 years ago
packet *: use WireGuard where logged, printed or named 3 years ago
portmapper all: use any instead of interface{} 3 years ago
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 3 years ago
socks5 all: use any instead of interface{} 3 years ago
speedtest all: fix spelling mistakes 3 years ago
stun all: gofmt with Go 1.17 3 years ago
tlsdial envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 3 years ago
tsaddr net/dns/resolver, net/tsaddr: fix reverse lookups in 4to6 IP range 3 years ago
tsdial net/tsdial: add SystemDial as a wrapper on netns.Dial 3 years ago
tshttpproxy net/tshttpproxy: synology: pick proxy by scheme 3 years ago
tstun net/tstun, wgengine: use correct type for counter metrics 3 years ago