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/net
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>
3 years ago
..
dns ipn/ipnlocal, net/dns/resolver: use exit node's DoH proxy when available 3 years ago
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 3 years ago
dnsfallback net/netns: thread logf into control functions 3 years ago
flowtrack all: use testingutil.MinAllocsPerRun 3 years ago
interfaces wgengine/monitor: ignore adding/removing uninteresting IPs 3 years ago
netcheck net/netns: thread logf into control functions 3 years ago
netknob all: disable TCP keep-alives on iOS/Android 3 years ago
netns net/netns: thread logf into control functions 3 years ago
netstat all: gofmt with Go 1.17 3 years ago
nettest net/nettest: deflake TestPipeTimeout 3 years ago
packet all: use testingutil.MinAllocsPerRun 3 years ago
portmapper net/portmapper: improve handling of UPnP parse errors 3 years ago
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 3 years ago
socks5 net/tsdial: start of new package to unify all outbound dialing complexity 3 years ago
speedtest all: fix spelling mistakes 3 years ago
stun all: gofmt with Go 1.17 3 years ago
tlsdial net/tlsdial: add forgotten test file for go mod tidy 3 years ago
tsaddr ipn/ipnlocal: for IPv6-only nodes, publish IPv6 MagicDNS records of peers 3 years ago
tsdial net/tsdial: start of new package to unify all outbound dialing complexity 3 years ago
tshttpproxy net/tshttpproxy: use correct size for Windows BOOL argument 3 years ago
tstun net/tstun: rate limit "self disco out packet" logging 3 years ago