tailscale/net
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
..
art net/art: use more intelligible, go-ish state tracking in table.Get 2023-07-24 13:33:48 -07:00
connstats net/connstats: exclude traffic with internal Tailscale service (#7904) 2023-04-17 14:24:29 -07:00
dns derp, net/dns/recursive: use Go 1.21 min 2023-08-08 21:34:47 -07:00
dnscache tstest: prepare for Clock API changes 2023-07-06 17:03:19 -04:00
dnsfallback all: update exp/slices and fix call sites 2023-07-28 13:11:53 -07:00
flowtrack all: update copyright and license headers 2023-01-27 15:36:29 -08:00
interfaces ipnlocal, net/*: deprecate interfaces.GetState, use netmon more for it 2023-08-01 16:14:46 -07:00
memnet net/memnet: add optional Listener.NewConn config knob 2023-06-12 14:06:11 -07:00
netaddr all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netcheck net/netcheck,wgengine/magicsock: reduce coupling between netcheck and magicsock 2023-08-11 10:08:21 -07:00
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2023-04-04 16:32:16 -07:00
netknob all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netmon all: adjust case of "IPv4" and "IPv6" 2023-06-27 10:09:30 -07:00
netns util/linuxfw: decoupling IPTables logic from linux router 2023-06-27 19:54:27 -04:00
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 2023-02-02 07:41:49 -08:00
netutil cmd/tailscale: refactor shared utility methods 2023-08-09 08:59:10 -07:00
packet net/packet: add NAT support for DCCP and GRE 2023-04-24 15:30:50 -07:00
ping net/ping,netcheck: add v6 pinging capabilities to pinger (#7971) 2023-04-26 15:59:37 -07:00
portmapper all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
proxymux all: update copyright and license headers 2023-01-27 15:36:29 -08:00
routetable net/routetable: include unknown flags in the routetable doctor output 2023-02-10 15:54:31 -08:00
socks5 net/socks5: add password auth support 2023-03-05 14:08:34 -08:00
sockstats net/sockstats: wait before reporting battery usage 2023-05-09 10:18:16 -07:00
speedtest all: update copyright and license headers 2023-01-27 15:36:29 -08:00
stun wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2023-04-15 13:40:15 -07:00
tcpinfo net/tcpinfo: add package to allow fetching TCP information 2023-06-27 21:59:43 -04:00
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 2023-02-01 23:17:41 -05:00
tsaddr all: update exp/slices and fix call sites 2023-07-28 13:11:53 -07:00
tsdial ipn/ipnlocal,net/tsdial: update docs/rename funcs 2023-08-11 07:00:08 -07:00
tshttpproxy net/tshttpproxy: don't proxy through ourselves 2023-03-29 17:09:45 -04:00
tstun net/tstun, tsnet: make happier on WASI 2023-06-11 18:03:42 -07:00
wsconn all: update copyright and license headers 2023-01-27 15:36:29 -08:00