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 b0f7b23efe net/netcheck: preserve live home DERP through packet loss
During a short period of packet loss, a TCP connection to the home DERP
may be maintained. If no other regions emerge as winners, such as when
all regions but one are avoided/disallowed as candidates, ensure that
the current home region, if still active, is not dropped as the
preferred region until it has failed two keepalives.

Relatedly apply avoid and no measure no home to ICMP and HTTP checks as
intended.

Updates tailscale/corp#12894
Updates tailscale/corp#29491

Signed-off-by: James Tucker <james@tailscale.com>
6 months ago
..
art all: fix new lint warnings from bumping staticcheck 1 year ago
bakedroots net/bakedroots: add LetsEncrypt ISRG Root X2 11 months ago
captivedetection tailcfg: add DERPRegion.NoMeasureNoHome, deprecate+document Avoid [cap 115] 9 months ago
connstats {net/connstats,wgengine/magicsock}: fix packet counting in connstats 1 year ago
dns net/dns: cache dns.Config for reuse when compileConfig fails (#16059) 6 months ago
dnscache net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 8 months ago
dnsfallback net/netmon: publish events to event bus 8 months ago
flowtrack net/flowtrack: fix, test String method 1 year ago
ipset all: use iterators over slice views more 1 year ago
ktimeout various: disable MPTCP when setting TCP_USER_TIMEOUT sockopt (#15063) 10 months ago
memnet net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 8 months ago
netaddr all: update copyright and license headers 3 years ago
netcheck net/netcheck: preserve live home DERP through packet loss 6 months ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 3 years ago
netkernelconf all: remove non-applicable "linux" deps on Android 7 months ago
netknob all: update copyright and license headers 3 years ago
netmon net/netmon: publish events to event bus 8 months ago
netns all: remove non-applicable "linux" deps on Android 7 months ago
netstat all: add test for package comments, fix, add comments as needed 1 year ago
netutil net/netmon: publish events to event bus 8 months ago
netx net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 8 months ago
packet net/packet: fix Parsed docs (#16200) 6 months ago
ping net/ping: fix ICMP echo code field to 0 2 years ago
portmapper net/portmapper: fix test flakes from logging after test done 7 months ago
proxymux all: cleanup unused code, part 1 (#10661) 2 years ago
routetable net/routetable: don't try to fetch the route table on android 8 months ago
socks5 net/socks5: optimize UDP relay 1 year ago
sockstats net/sockstats: prevent crash in setNetMon (#13985) 1 year ago
speedtest all: update copyright and license headers 3 years ago
stun ci: enable checklocks workflow for specific packages 1 year ago
stunserver all: use Go 1.22 range-over-int 2 years ago
tcpinfo all: use Go 1.22 range-over-int 2 years ago
tlsdial cmd/derper, net/tlsdial: fix client's self-signed cert validation 7 months ago
tsaddr net/tsaddr: include test input in test failure output 1 year ago
tsdial net/tsdial: update (*Dialer).SetRoutes() to log the size of the resulting bart.Table 7 months ago
tshttpproxy net/tshttpproxy: fix WDAP/PAC proxy detection on Win10 1607 and earlier 6 months ago
tstun net/tstun: don't try to set link attributes on android 8 months ago
udprelay feature/relayserver,net/{netcheck,udprelay}: implement addr discovery (#16253) 6 months ago
wsconn go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket 1 year ago