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/captivedetection
Andrea Gottardo 4055b63b9b
net/captivedetection: exclude cellular data interfaces (#13002)
Updates tailscale/tailscale#1634

This PR optimizes captive portal detection on Android and iOS by excluding cellular data interfaces (`pdp*` and `rmnet`). As cellular networks do not present captive portals, frequent network switches between Wi-Fi and cellular would otherwise trigger captive detection unnecessarily, causing battery drain.

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
2 months ago
..
captivedetection.go net/captivedetection: exclude cellular data interfaces (#13002) 2 months ago
captivedetection_test.go health: introduce captive-portal-detected Warnable (#12707) 2 months ago
endpoints.go health: introduce captive-portal-detected Warnable (#12707) 2 months ago
rawconn.go health: introduce captive-portal-detected Warnable (#12707) 2 months ago
rawconn_apple.go health: introduce captive-portal-detected Warnable (#12707) 2 months ago