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/wgengine
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
..
bench types/netmap: use key.NodePublic instead of tailcfg.NodeKey. 3 years ago
filter wgengine/filter: fix, test NewAllowAllForTest 3 years ago
magicsock ipn/ipnlocal: populate self status from netmap in ipnlocal, not magicsock. 3 years ago
monitor wgengine/monitor: ignore adding/removing uninteresting IPs 3 years ago
netstack net/tsdial: start of new package to unify all outbound dialing complexity 3 years ago
router wgengine/router: demote TestDebugListRules fail to skip 3 years ago
wgcfg wgengine/wgcfg: recover from mismatched PublicKey/Endpoints 3 years ago
wglog wgengine/wgcfg: convert to use new node key type. 3 years ago
winnet wgengine/winnet: don't build on non-windows 3 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 3 years ago
pendopen.go net/socks5/tssocks, wgengine: permit SOCKS through subnet routers/exit nodes 3 years ago
userspace.go net/socks5/tssocks, wgengine: permit SOCKS through subnet routers/exit nodes 3 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 3 years ago
userspace_test.go tailcfg: use key.NodePublic in wire protocol types. 3 years ago
watchdog.go net/socks5/tssocks, wgengine: permit SOCKS through subnet routers/exit nodes 3 years ago
watchdog_test.go all: close fake userspace engines when tests complete 3 years ago
wgengine.go net/socks5/tssocks, wgengine: permit SOCKS through subnet routers/exit nodes 3 years ago