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
Andrea Gottardo 949b15d858
net/captivedetection: call SetHealthy once connectivity restored (#12974)
Fixes tailscale/tailscale#12973
Updates tailscale/tailscale#1634

There was a logic issue in the captive detection code we shipped in https://github.com/tailscale/tailscale/pull/12707.

Assume a captive portal has been detected, and the user notified. Upon switching to another Wi-Fi that does *not* have a captive portal, we were issuing a signal to interrupt any pending captive detection attempt. However, we were not also setting the `captive-portal-detected` warnable to healthy. The result was that any "captive portal detected" alert would not be cleared from the UI.

Also fixes a broken log statement value.

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
3 months ago
..
art all: use Go 1.22 range-over-int 7 months ago
captivedetection net/captivedetection: call SetHealthy once connectivity restored (#12974) 3 months ago
connstats all: use Go 1.22 range-over-int 7 months ago
dns net/dns, cmd/tailscaled: plumb system health tracker into dns cleanup (#12969) 3 months ago
dnscache net/dnscache: use parent context to perform lookup 5 months ago
dnsfallback net/dnsfallback: set CanPort80 in static DERPMap (#12929) 3 months ago
flowtrack net/flowtrack: fix, test String method 5 months ago
ipset go.mod: bump bart 4 months ago
ktimeout net/ktimeout: add a package to set TCP user timeout 8 months ago
memnet net/memnet: export the network name (#9111) 1 year ago
netaddr all: update copyright and license headers 2 years ago
netcheck health: introduce captive-portal-detected Warnable (#12707) 3 months ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2 years ago
netkernelconf ipn/{ipnlocal,localapi},net/netkernelconf,client/tailscale,cmd/containerboot: optionally enable UDP GRO forwarding for containers (#12410) 5 months ago
netknob all: update copyright and license headers 2 years ago
netmon all: add test for package comments, fix, add comments as needed 4 months ago
netns net/netns: add Windows support for bind-to-interface-by-route 4 months ago
netstat all: add test for package comments, fix, add comments as needed 4 months ago
netutil all: add test for package comments, fix, add comments as needed 4 months ago
packet net/flowtrack: optimize Tuple type for use as map key 5 months ago
ping net/ping: fix ICMP echo code field to 0 1 year ago
portmapper all: use math/rand/v2 more 5 months ago
proxymux all: cleanup unused code, part 1 (#10661) 11 months ago
routetable net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 6 months ago
socks5 net/socks5: add password auth support 2 years ago
sockstats net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 6 months ago
speedtest all: update copyright and license headers 2 years ago
stun ci: enable checklocks workflow for specific packages 4 months ago
stunserver all: use Go 1.22 range-over-int 7 months ago
tcpinfo all: use Go 1.22 range-over-int 7 months ago
tlsdial tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 6 months ago
tsaddr net/ipset, wgengine/filter/filtertype: add split-out packages 5 months ago
tsdial go.mod: bump bart 4 months ago
tshttpproxy all: use Go 1.22 range-over-int 7 months ago
tstun net/tstun: fix docstring for Wrapper.SetWGConfig (#12796) 4 months ago
wsconn ci: enable checklocks workflow for specific packages 4 months ago