tailscale/net/tsdial
Brad Fitzpatrick d5405c66b7 net/tsdial: start of new package to unify all outbound dialing complexity
For now this just deletes the net/socks5/tssocks implementation (and
the DNSMap stuff from wgengine/netstack) and moves it into net/tsdial.

Then initialize a Dialer early in tailscaled, currently only use for the
outbound and SOCKS5 proxies. It will be plumbed more later. Notably, it
needs to get down into the DNS forwarder for exit node DNS forwading
in netstack mode. But it will also absorb all the peerapi setsockopt
and netns Dial and tlsdial complexity too.

Updates #1713

Change-Id: Ibc6d56ae21a22655b2fa1002d8fc3f2b2ae8b6df
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-11-30 17:21:49 -08:00
..
dnsmap_test.go net/tsdial: start of new package to unify all outbound dialing complexity 2021-11-30 17:21:49 -08:00
dnsmap.go net/tsdial: start of new package to unify all outbound dialing complexity 2021-11-30 17:21:49 -08:00
tsdial.go net/tsdial: start of new package to unify all outbound dialing complexity 2021-11-30 17:21:49 -08:00