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/magicsock
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>
1 year ago
..
batching_conn.go wgengine/magicsock: factor out more separable parts 1 year ago
blockforever_conn.go wgengine/magicsock: factor out more separable parts 1 year ago
debughttp.go all: update copyright and license headers 2 years ago
debugknobs.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
debugknobs_stubs.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
derp.go cmd/tailscale: add debug commands to break connections 1 year ago
discopingpurpose_string.go all: update copyright and license headers 2 years ago
dontfrag_darwin.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
dontfrag_default.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
dontfrag_linux.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
endpoint.go wgengine,ipn,cmd/tailscale: add size option to ping (#8739) 1 year ago
magicsock.go net/netcheck,wgengine/magicsock: reduce coupling between netcheck and magicsock 1 year ago
magicsock_default.go wgengine/magicsock: delete unused stuff 1 year ago
magicsock_linux.go wgengine/magicsock: clarify a log message is a warning, not an error 1 year ago
magicsock_test.go all: update exp/slices and fix call sites 1 year ago
magicsock_unix_test.go all: update copyright and license headers 2 years ago
peermap.go wgengine/magicsock: factor out peerMap into separate file 1 year ago
rebinding_conn.go wgengine/magicsock: factor out more separable parts 1 year ago