Sunday, 5 March 2017

Re: Enabling Connectivity Checking in NetworkManager

On Sun, Mar 05, 2017 at 06:07:02PM +0100, Philipp Kern wrote:
> On 02.03.2017 05:54, Aron Xu wrote:
> > Hi,
> >
> > I'd like to see it get enabled by default eventually, but preferably
> > provide a toggle in Privacy tab for Unity desktop (and configurable
> > check URL) which provides better user experience without compromising
> > privacy needs. But there remains a question for other desktops flavors
> > how to handle it (which is worse than the config-connectivity package
> > approach).
> >
> > Some facts about how to actually do the check:
> > 1. iOS uses a similar approach via HTTPS like what we NM does
> > 2. Android uses a 204 response from server via HTTPS, this would
> > reduce the server load and bandwidth requirement because there's no
> > HTTP body being transferred.
>
> Huh, isn't it using http://www.gstatic.com/generate_204?

Not really. Android uses connectivitycheck.gstatic.com since 6.0 or something
(not www :)). For example, see:

https://android.googlesource.com/platform/frameworks/base/+/b7c2487c8b5fbd154643b8ddade8d88507cae137

But more to the point, https was added at some point and turned on by
default:

https://android.googlesource.com/platform/frameworks/base/+/c5be12e7ac43cbe8c68219fa702c6fb7f06183c3

- same server though.

--
Debian Developer - deb.li/jak | jak-linux.org - free software dev
| Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline'). Thank you.

--
ubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel