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
Brad Fitzpatrick 90ba26cea1 net/netcheck: fix crash when IPv6 kinda but not really works
Looks like on some systems there's an IPv6 address, but then opening
a IPv6 UDP socket fails later. Probably some firewall. Tolerate it
better and don't crash.

To repro: check the "udp6" to something like "udp7" (something that'll
fail) and run "go run ./cmd/tailscale netcheck" on a machine with
active IPv6. It used to crash and now it doesn't.

Fixes #7949

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
art net/art: skip tests on CI for now 2 years ago
connstats net/connstats: exclude traffic with internal Tailscale service (#7904) 2 years ago
dns all: avoid repeated default interface lookups 2 years ago
dnscache all: avoid repeated default interface lookups 2 years ago
dnsfallback all: avoid repeated default interface lookups 2 years ago
flowtrack all: update copyright and license headers 2 years ago
interfaces all: move network monitoring from wgengine/monitor to net/netmon 2 years ago
memnet net/memnet: rename from net/nettest 2 years ago
netaddr all: update copyright and license headers 2 years ago
netcheck net/netcheck: fix crash when IPv6 kinda but not really works 2 years ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2 years ago
netknob all: update copyright and license headers 2 years ago
netmon all: move network monitoring from wgengine/monitor to net/netmon 2 years ago
netns all: avoid repeated default interface lookups 2 years ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 2 years ago
netutil all: replace /kb/ links with /s/ equivalents 2 years ago
packet net, wgengine/capture: encode NAT addresses in pcap stream 2 years ago
ping all: avoid repeated default interface lookups 2 years ago
portmapper all: avoid repeated default interface lookups 2 years ago
proxymux all: update copyright and license headers 2 years ago
routetable net/routetable: include unknown flags in the routetable doctor output 2 years ago
socks5 net/socks5: add password auth support 2 years ago
sockstats all: avoid repeated default interface lookups 2 years ago
speedtest all: update copyright and license headers 2 years ago
stun wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2 years ago
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 2 years ago
tsaddr all: replace /kb/ links with /s/ equivalents 2 years ago
tsdial all: avoid repeated default interface lookups 2 years ago
tshttpproxy net/tshttpproxy: don't proxy through ourselves 2 years ago
tstun net/tstun: add tests for captureHook 2 years ago
wsconn all: update copyright and license headers 2 years ago