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/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>
10 months ago
..
art net/art: use more intelligible, go-ish state tracking in table.Get 10 months ago
connstats net/connstats: exclude traffic with internal Tailscale service (#7904) 1 year ago
dns derp, net/dns/recursive: use Go 1.21 min 10 months ago
dnscache tstest: prepare for Clock API changes 11 months ago
dnsfallback all: update exp/slices and fix call sites 10 months ago
flowtrack all: update copyright and license headers 1 year ago
interfaces ipnlocal, net/*: deprecate interfaces.GetState, use netmon more for it 10 months ago
memnet net/memnet: add optional Listener.NewConn config knob 12 months ago
netaddr all: update copyright and license headers 1 year ago
netcheck net/netcheck,wgengine/magicsock: reduce coupling between netcheck and magicsock 10 months ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 1 year ago
netknob all: update copyright and license headers 1 year ago
netmon all: adjust case of "IPv4" and "IPv6" 11 months ago
netns util/linuxfw: decoupling IPTables logic from linux router 11 months ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 1 year ago
netutil cmd/tailscale: refactor shared utility methods 10 months ago
packet net/packet: add NAT support for DCCP and GRE 1 year ago
ping net/ping,netcheck: add v6 pinging capabilities to pinger (#7971) 1 year ago
portmapper all: avoid repeated default interface lookups 1 year ago
proxymux all: update copyright and license headers 1 year ago
routetable net/routetable: include unknown flags in the routetable doctor output 1 year ago
socks5 net/socks5: add password auth support 1 year ago
sockstats net/sockstats: wait before reporting battery usage 1 year ago
speedtest all: update copyright and license headers 1 year ago
stun wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 1 year ago
tcpinfo net/tcpinfo: add package to allow fetching TCP information 11 months ago
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 1 year ago
tsaddr all: update exp/slices and fix call sites 10 months ago
tsdial ipn/ipnlocal,net/tsdial: update docs/rename funcs 10 months ago
tshttpproxy net/tshttpproxy: don't proxy through ourselves 1 year ago
tstun net/tstun, tsnet: make happier on WASI 12 months ago
wsconn all: update copyright and license headers 1 year ago