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/control/controlclient
Brad Fitzpatrick bcd79b161a feature/featuretags: add option to turn off DNS
Saves 328 KB (2.5%) off the minimal binary.

For IoT devices that don't need MagicDNS (e.g. they don't make
outbound connections), this provides a knob to disable all the DNS
functionality.

Rather than a massive refactor today, this uses constant false values
as a deadcode sledgehammer, guided by shotizam to find the largest DNS
functions which survived deadcode.

A future refactor could make it so that the net/dns/resolver and
publicdns packages don't even show up in the import graph (along with
their imports) but really it's already pretty good looking with just
these consts, so it's not at the top of my list to refactor it more
soon.

Also do the same in a few places with the ACME (cert) functionality,
as I saw those while searching for DNS stuff.

Updates #12614

Change-Id: I8e459f595c2fde68ca16503ff61c8ab339871f97
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 months ago
..
auto.go util/backoff: rename logtail/backoff package to util/backoff 2 months ago
client.go control/controlclient: introduce eventbus messages instead of callbacks (#16956) 3 months ago
controlclient_test.go health,ipn/ipnlocal: introduce eventbus in heath.Tracker (#17085) 3 months ago
direct.go feature/featuretags: add option to turn off DNS 2 months ago
direct_test.go control/controlclient: introduce eventbus messages instead of callbacks (#16956) 3 months ago
errors.go control/controlclient, ipn: add client audit logging (#14950) 9 months ago
map.go health: prefix Warnables received from the control plane 6 months ago
map_test.go ipn/ipnlocal: add a C2N endpoint for fetching a netmap 3 months ago
noise.go controlclient: do not set HTTPS port for any private coordination server IP (#14564) 11 months ago
noise_test.go nettest, *: add option to run HTTP tests with in-memory network 8 months ago
sign.go all: update copyright and license headers 3 years ago
sign_supported.go util/syspolicy/policyclient: add policyclient.Client interface, start plumbing 3 months ago
sign_supported_test.go all: update copyright and license headers 3 years ago
sign_unsupported.go util/syspolicy/policyclient: add policyclient.Client interface, start plumbing 3 months ago
status.go all: implement AppendText alongside MarshalText (#9207) 2 years ago