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 adc5997592 net/tsdial: give netstack a Dialer, start refactoring name resolution
This starts to refactor tsdial.Dialer's name resolution to have
different stages: in-memory MagicDNS vs system resolution. A future
change will plug in ExitDNS resolution.

This also plumbs a Dialer into netstack and unexports the dnsMap
internals.

And it removes some of the async AddNetworkMapCallback usage and
replaces it with synchronous updates of the Dialer's netmap
from LocalBackend, since the LocalBackend has the Dialer too.

Updates #3475

Change-Id: Idcb7b1169878c74f0522f5151031ccbc49fe4cb4
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: fix docs on Mon.InterfaceState 3 years ago
netstack net/tsdial: give netstack a Dialer, start refactoring name resolution 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/tsdial: move macOS/iOS peerapi sockopt logic from LocalBackend 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