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/feature
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>
3 months ago
..
buildfeatures feature/featuretags: add option to turn off DNS 3 months ago
capture feature/capture: fix wireshark decoding and add new disco frame types (#16089) 7 months ago
clientupdate feature/clientupdate: move clientupdate to a modular feature, disabled for tsnet 3 months ago
condregister ipn/ipnlocal, feature/posture: pull posture out into a modular feature 3 months ago
debugportmapper feature/portmapper: make the portmapper & its debugging tools modular 3 months ago
doctor doctor: add ts_omit_doctor support 3 months ago
drive feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 3 months ago
featuretags feature/featuretags: add option to turn off DNS 3 months ago
linuxdnsfight feature/linuxdnsfight: move inotify watching of /etc/resolv.conf out to a feature 3 months ago
oauthkey tsnet,internal/client/tailscale: resolve OAuth into authkeys in tsnet (#17191) 3 months ago
portlist feature/portlist: pull portlist service porting into extension, use eventbus 3 months ago
portmapper feature/portmapper: make the portmapper & its debugging tools modular 3 months ago
posture ipn/ipnlocal, feature/posture: pull posture out into a modular feature 3 months ago
relayserver client, cmd/tailscale/cli, feature/relayserver, net/udprelay: implement tailscale debug peer-relay-sessions (#17239) 3 months ago
sdnotify feature/sdnotify: move util/systemd to a modular feature 3 months ago
syspolicy util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 4 months ago
taildrop util/backoff: rename logtail/backoff package to util/backoff 3 months ago
tap net/tstun: move TAP support out to separate package feature/tap 11 months ago
tpm feature/tpm: only register HardwareAttestationKey on linux/windows (#17293) 3 months ago
wakeonlan feature/*: make Wake-on-LAN conditional, start supporting modular features 11 months ago
feature.go feature/featuretags: add option to turn off DNS 3 months ago
hooks.go feature/clientupdate: move clientupdate to a modular feature, disabled for tsnet 3 months ago
sdnotify.go feature/sdnotify: move util/systemd to a modular feature 3 months ago