You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
7 months ago
..
ace
net/ace, control/controlhttp: start adding ACE dialing support
7 months ago
art
all: fix new lint warnings from bumping staticcheck
2 years ago
bakedroots
tstest/tlstest: simplify, don't even bake in any keys
10 months ago
batching
net/udprelay: use batching.Conn ( #16866 )
8 months ago
captivedetection
derp/derpserver: split off derp.Server out of derp into its own package
7 months ago
connectproxy
net/tlsdial: fix TLS cert validation of HTTPS proxies
10 months ago
connstats
{net/connstats,wgengine/magicsock}: fix packet counting in connstats
2 years ago
dns
feature/featuretags: add option to turn off DNS
7 months ago
dnscache
net/dnscache: fix case where Resolver could return zero IP with single IPv6 address
7 months ago
dnsfallback
net/dns/recursive: remove recursive DNS resolver
7 months ago
flowtrack
net/flowtrack: fix, test String method
2 years ago
ipset
all: use iterators over slice views more
1 year ago
ktimeout
various: disable MPTCP when setting TCP_USER_TIMEOUT sockopt ( #15063 )
1 year ago
memnet
net/memnet: allow listener address reuse ( #17342 )
7 months ago
netaddr
all: update copyright and license headers
3 years ago
netcheck
all: don't rebind variables in for loops
7 months ago
neterror
net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux ( #7791 )
3 years ago
netkernelconf
all: remove non-applicable "linux" deps on Android
11 months ago
netknob
all: update copyright and license headers
3 years ago
netmon
net/netmon: make ChangeDelta event not a pointer ( #17112 )
7 months ago
netns
tsconst, util/linuxfw, wgengine/router: move Linux fw consts to tsconst
7 months ago
netstat
all: add test for package comments, fix, add comments as needed
2 years ago
netutil
net/netmon: publish events to event bus
1 year ago
netx
net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl
1 year ago
packet
net/packet/checksum: copy the gvisor checksum, remove the dep
7 months ago
ping
net/ping: fix ICMP echo code field to 0
3 years ago
portmapper
feature/portmapper: make the portmapper & its debugging tools modular
7 months ago
proxymux
all: cleanup unused code, part 1 ( #10661 )
2 years ago
routetable
net/routetable: don't try to fetch the route table on android
1 year ago
sockopts
wgengine/magicsock,net/sockopts: export Windows ICMP suppression logic ( #16917 )
8 months ago
socks5
net/socks5: optimize UDP relay
1 year ago
sockstats
net/sockstats: prevent crash in setNetMon ( #13985 )
1 year ago
speedtest
net/speedtest: mark flaky test, and skip it by default as it's slow
7 months ago
stun
ci: enable checklocks workflow for specific packages
2 years ago
stunserver
all: use Go 1.22 range-over-int
2 years ago
tcpinfo
all: use Go 1.22 range-over-int
2 years ago
tlsdial
health,ipn/ipnlocal: introduce eventbus in heath.Tracker ( #17085 )
7 months ago
tsaddr
net/tsaddr: include test input in test failure output
1 year ago
tsdial
net/*: remove Windows exceptions for when Resolver.PreferGo didn't work
10 months ago
tshttpproxy
net/tshttpproxy: use errors.New for error creation ( #16860 )
8 months ago
tstun
net/tstun: use ts_omit_gro in another place I missed earlier
7 months ago
udprelay
client, cmd/tailscale/cli, feature/relayserver, net/udprelay: implement tailscale debug peer-relay-sessions ( #17239 )
7 months ago
wsconn
go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket
2 years ago