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>
2024-08-02 12:23:48 -07:00
..
captivedetection_test.go health: introduce captive-portal-detected Warnable (#12707) 2024-07-26 11:25:55 -07:00
captivedetection.go net/captivedetection: exclude cellular data interfaces (#13002) 2024-08-02 12:23:48 -07:00
endpoints.go health: introduce captive-portal-detected Warnable (#12707) 2024-07-26 11:25:55 -07:00
rawconn_apple.go health: introduce captive-portal-detected Warnable (#12707) 2024-07-26 11:25:55 -07:00
rawconn.go health: introduce captive-portal-detected Warnable (#12707) 2024-07-26 11:25:55 -07:00