tailscale/net
Brad Fitzpatrick 349015098d net/tlsdial: bake in LetsEncrypt's ISRG Root X1 root
We still try the host's x509 roots first, but if that fails (like if
the host is old), we fall back to using LetsEncrypt's root and
retrying with that.

tlsdial was used in the three main places: logs, control, DERP. But it
was missing in dnsfallback. So added it there too, so we can run fine
now on a machine with no DNS config and no root CAs configured.

Also, move SSLKEYLOGFILE support out of DERP. tlsdial is the logical place
for that support.

Fixes #1609

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit 7cf8ec8108)
2021-10-01 11:04:21 -07:00
..
dns net/dns/resolver: add unsecured Quad9 resolvers 2021-10-01 11:04:21 -07:00
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 2021-07-26 20:30:28 -07:00
dnsfallback net/tlsdial: bake in LetsEncrypt's ISRG Root X1 root 2021-10-01 11:04:21 -07:00
flowtrack net/packet, wgengine/filter: support SCTP 2021-03-20 21:34:13 -07:00
interfaces net/interfaces: fix default route lookup on Windows 2021-08-26 14:51:47 -07:00
netcheck net/{interfaces,netcheck}: rename some fields, funcs 2021-06-17 17:50:13 -07:00
netns all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
netstat all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 2021-04-06 15:34:29 -07:00
packet net/packet: use netaddr AppendTo methods 2021-05-20 20:42:18 -07:00
portmapper net/portmapper: fix "running a test" condition. 2021-08-25 22:06:49 -07:00
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 2021-06-28 13:12:42 -07:00
speedtest Implemented Commandline Download Speedtest (#2064) 2021-07-15 14:43:13 -04:00
stun all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tlsdial net/tlsdial: bake in LetsEncrypt's ISRG Root X1 root 2021-10-01 11:04:21 -07:00
tsaddr net/tsaddr: remove IsULA, replace with netaddr.IP.IsPrivate 2021-07-30 19:56:11 -07:00
tshttpproxy all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tstun net/tstun: block looped disco traffic, take 17 2021-10-01 11:04:18 -07:00