tailscale/wgengine
James Tucker de8e55fda6 net/netcheck,wgengine/magicsock: reduce coupling between netcheck and magicsock
Netcheck no longer performs I/O itself, instead it makes requests via
SendPacket and expects users to route reply traffic to
ReceiveSTUNPacket.

Netcheck gains a Standalone function that stands up sockets and
goroutines to implement I/O when used in a standalone fashion.

Magicsock now unconditionally routes STUN traffic to the netcheck.Client
that it hosts, and plumbs the send packet sink.

The CLI is updated to make use of the Standalone mode.

Fixes #8723

Signed-off-by: James Tucker <james@tailscale.com>
2023-08-11 10:08:21 -07:00
..
bench all: move network monitoring from wgengine/monitor to net/netmon 2023-04-20 10:15:59 -07:00
capture various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
filter tailcfg,ipn/ipnlocal,wgengine: add values to PeerCapabilities 2023-07-25 14:32:51 -07:00
magicsock net/netcheck,wgengine/magicsock: reduce coupling between netcheck and magicsock 2023-08-11 10:08:21 -07:00
netlog wgengine/netlog: fix nil pointer dereference in logtail (#8598) 2023-07-13 08:54:29 -07:00
netstack ipn/ipnlocal,wgengine/netstack: move LocalBackend specifc serving logic to LocalBackend 2023-06-12 12:56:07 -07:00
router wgengine/router: add auto selection heuristic for iptables/nftables 2023-08-08 14:59:06 -04:00
wgcfg tailcfg,etc: remove unused tailcfg.Node.KeepAlive field 2023-07-08 06:57:10 -07:00
wgint all: update copyright and license headers 2023-01-27 15:36:29 -08:00
wglog all: update copyright and license headers 2023-01-27 15:36:29 -08:00
winnet all: update copyright and license headers 2023-01-27 15:36:29 -08:00
mem_ios.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pendopen.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace_ext_test.go tsd: add package with System type to unify subsystem init, discovery 2023-05-04 14:21:59 -07:00
userspace_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace.go wgengine,ipn,cmd/tailscale: add size option to ping (#8739) 2023-08-08 13:11:28 +01:00
watchdog_js.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog.go wgengine,ipn,cmd/tailscale: add size option to ping (#8739) 2023-08-08 13:11:28 +01:00
wgengine.go wgengine,ipn,cmd/tailscale: add size option to ping (#8739) 2023-08-08 13:11:28 +01:00