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/tstest
Brad Fitzpatrick c37af58ea4 net/tsdial: move more weirdo dialing into new tsdial package, plumb
Not done yet, but this move more of the outbound dial special casing
from random packages into tsdial, which aspires to be the one unified
place for all outbound dialing shenanigans.

Then this plumbs it all around, so everybody is ultimately
holding on to the same dialer.

As of this commit, macOS/iOS using an exit node should be able to
reach to the exit node's DoH DNS proxy over peerapi, doing the sockopt
to stay within the Network Extension.

A number of steps remain, including but limited to:

* move a bunch more random dialing stuff

* make netstack-mode tailscaled be able to use exit node's DNS proxy,
  teaching tsdial's resolver to use it when an exit node is in use.

Updates #1713

Change-Id: I1e8ee378f125421c2b816f47bc2c6d913ddcd2f5
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
archtest go.mod: bump netstack for mipsle fix 3 years ago
integration net/tsdial: move more weirdo dialing into new tsdial package, plumb 3 years ago
natlab fix: typo spelling grammar 3 years ago
staticcheck tstest/staticcheck: import the main package to fix "go mod tidy" 4 years ago
allocs.go util/testingutil: new package with MinAllocsPerRun 3 years ago
clock.go tstest/natlab: add a stateful firewall. 4 years ago
log.go tstest: make MemLogger.String acquire its mutex 3 years ago
log_test.go tstest: rename LogListener to LogLineTracker 4 years ago
resource.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 3 years ago
tstest.go tstest: add WaitFor helper 4 years ago