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/ipn
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>
4 months ago
..
auditlog ipn/ipnext: remove some interface indirection to add hooks 9 months ago
conffile ipn/conffile: don't depend on hujson on iOS/Android 1 year ago
desktop util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 5 months ago
ipnauth ipn/ipnauth: don't crash on OpenBSD trying to log username of unknown peer 4 months ago
ipnext feature/portlist: pull portlist service porting into extension, use eventbus 4 months ago
ipnlocal feature/featuretags: add option to turn off DNS 4 months ago
ipnserver feature/sdnotify: move util/systemd to a modular feature 4 months ago
ipnstate cmd/tailscale, ipn/ipnstate, wgengine/magicsock: update ping output for peer relay (#16515) 7 months ago
lapitest various: allow tailscaled shutdown via LocalAPI 4 months ago
localapi feature/featuretags: add option to turn off DNS 4 months ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 2 years ago
store ipn/store, feature/condregister: move AWS + Kube store registration to condregister 4 months ago
backend.go ipn: fix the string representation of an empty ipn.Notify 4 months ago
backend_test.go ipn: fix the string representation of an empty ipn.Notify 4 months ago
conf.go ipn: ensure that conffile is source of truth for advertised services. (#15361) 10 months ago
doc.go ipn: generate LoginProfileView and use it instead of *LoginProfile where appropriate 12 months ago
ipn_clone.go cmd/tailscale/cli,ipn,ipn/ipnlocal: add AutoExitNode preference for automatic exit node selection 7 months ago
ipn_test.go all: do not depend on the testing package 2 years ago
ipn_view.go util/linuxfw, feature/buildfeatures: add ts_omit_iptables to make IPTables optional 4 months ago
prefs.go util/linuxfw, feature/buildfeatures: add ts_omit_iptables to make IPTables optional 4 months ago
prefs_test.go ipn: warn about self as the exit node if backend is running (#17018) 5 months ago
serve.go cmd/tailscale/cli: revert key for web config for services to FQDN (#16627) 6 months ago
serve_test.go cmd/tailscale/cli: Add service flag to serve command (#16191) 6 months ago
store.go tailcfg: report StateEncrypted in Hostinfo (#16434) 7 months ago
store_test.go ipn/store: automatically migrate between plaintext and encrypted state (#16318) 7 months ago