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 f4f57b815b wgengine/magicsock: rebind on EPIPE/ECONNRESET
Observed in the wild some macOS machines gain broken sockets coming out
of sleep (we observe "time jumped", followed by EPIPE on sendto). The
cause of this in the platform is unclear, but the fix is clear: always
rebind if the socket is broken. This can also be created artificially on
Linux via `ss -K`, and other conditions or software on a system could
also lead to the same outcomes.

Updates tailscale/corp#25648

Signed-off-by: James Tucker <james@tailscale.com>
11 months ago
..
batching_conn.go wgengine/magicsock: refactor batchingUDPConn to batchingConn interface (#13042) 1 year ago
batching_conn_default.go wgengine/magicsock: refactor batchingUDPConn to batchingConn interface (#13042) 1 year ago
batching_conn_linux.go wgengine/magicsock: don't upgrade to linuxBatchingConn on Android (#13161) 1 year ago
batching_conn_linux_test.go wgengine/magicsock: refactor batchingUDPConn to batchingConn interface (#13042) 1 year ago
blockforever_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
cloudinfo.go wgengine/magicsock: use cloud metadata to get public IPs 1 year ago
cloudinfo_nocloud.go wgengine/magicsock: use cloud metadata to get public IPs 1 year ago
cloudinfo_test.go wgengine/magicsock: use cloud metadata to get public IPs 1 year ago
debughttp.go all: use iterators over slice views more 1 year ago
debugknobs.go wgengine/magicsock: allow a CSV list for pretendpoint 1 year ago
debugknobs_stubs.go wgengine/magicsock: allow a CSV list for pretendpoint 1 year ago
derp.go wgengine/magicsock: export packet drop metric for outbound errors 1 year ago
derp_test.go net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics 2 years ago
discopingpurpose_string.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 2 years ago
endpoint.go util/slicesx: add MapKeys and MapValues from golang.org/x/exp/maps 11 months ago
endpoint_default.go all: adjust some build tags for plan9 2 years ago
endpoint_stub.go all: adjust some build tags for plan9 2 years ago
endpoint_test.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 2 years ago
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2 years ago
endpoint_tracker_test.go all: use Go 1.22 range-over-int 2 years ago
magicsock.go wgengine/magicsock: rebind on EPIPE/ECONNRESET 11 months ago
magicsock_default.go wgengine/magicsock: disable raw disco by default; add envknob to enable 1 year ago
magicsock_linux.go wgengine/magicsock: disable raw disco by default; add envknob to enable 1 year ago
magicsock_linux_test.go wgengine/magicsock: actually use AF_PACKET socket for raw disco 1 year ago
magicsock_notplan9.go wgengine/magicsock: rebind on EPIPE/ECONNRESET 11 months ago
magicsock_notwindows.go wgengine/magicsock: disable SIO_UDP_NETRESET on Windows 1 year ago
magicsock_plan9.go wgengine/magicsock: rebind on EPIPE/ECONNRESET 11 months ago
magicsock_test.go util/slicesx: add MapKeys and MapValues from golang.org/x/exp/maps 11 months ago
magicsock_unix_test.go all: update copyright and license headers 3 years ago
magicsock_windows.go wgengine/magicsock: disable SIO_UDP_NETRESET on Windows 1 year ago
peermap.go wgengine/magicsock: allow disco communication without known endpoints 2 years ago
peermtu.go magicsock: mute noisy expected peer mtu related error (#10870) 2 years ago
peermtu_darwin.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
peermtu_linux.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
peermtu_stubs.go magicsock: mute noisy expected peer mtu related error (#10870) 2 years ago
peermtu_unix.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 2 years ago
rebinding_conn.go wgengine/magicsock: refactor batchingUDPConn to batchingConn interface (#13042) 1 year ago