4 ms·
> But, why should I change it? > Well, on Android 6 or higher, every time you switch networks, your phone tries to access the following URL: > http://connecti
by acover 3y ago
> But, why should I change it?
> Well, on Android 6 or higher, every time you switch networks, your phone tries to access the following URL:
> http://connectivitycheck.gstatic.com/generate_204 http://connectivitycheck.gstatic.com/generate_204
> As we can see, gstatic.com – Google’s servers. We might not want Google to know our new IP address or when we switched between networks. So… Why don’t we just self-host it? It’s pretty easy.
- stavros 3y agoYeah, that's not Google having a say on whether captive portals exist and deciding to keep them there, that's just Google deciding that it wants to know your IP whenever you connect to a network. I don't know why this is such a big issue, given that they have your more or less exact location at all times, but changing it is so easy that, why not.
- duskwuff 3y ago> that's just Google deciding that it wants to know your IP whenever you connect to a network. No, it's Google wanting Android users to be notified when they sign in to a wifi network that uses a captive portal, rather than having all network requests silently fail because they're being redirected. Fixing the (generally terrible) user experience of captive portals is the primary goal of this feature. Any data collection is secondary.
- charcircuit 3y agoGoogle already knows every IP address. There is a fixed amount. Anyone can send a request to that address. This doesn't give Google any new information either.
- hackmiester 3y agoI guess that is true, but the IP address space today is so large as to be unscannable. Practically speaking, you have to have some evidence that some host is there before you can start prodding at that host.
- philipkglass 3y agoDo you mean the IPv6 space? The full Ipv4 space has been practically scannable for quite a while now. https://zmap.io/ https://zmap.io/ ZMap is a fast single-packet network scanner optimized for Internet-wide network surveys. On a computer with a gigabit connection, ZMap can scan the entire public IPv4 address space on a single port in under 45 minutes. With a 10gigE connection and PF_RING, ZMap can scan the IPv4 address space in 5 minutes.
- hackmiester 3y agoYes of course. Most devices on the Internet don't have IPv4 addresses.
- lern_too_spel 3y agogstatic.com is a cookieless domain. The persistent push connection needed by FCM (like APNS on iPhones) can tie the IP to a specific account, so this captive portal check gives them less information than they already have. Luckily on Android, you can use UnifiedPush and run your own push server to gain actual privacy.