Mailinglist Archive: opensuse-factory (826 mails)

< Previous Next >
Re: [opensuse-factory] Re: Access Hotspot notification? wasTumbleweed - Review of the week 2017/41
Il 16/10/2017 14:08, Dominique Leuenberger / DimStar ha scritto:
On Mon, 2017-10-16 at 15:47 +0000, Marco Calistri wrote:

Beside the issue itself I really don't know why NM needs to check the
connectivity and furthermore why in case of failure it opens a big
notification window on the user desktop.

It's portal detection - the idea is to detect if you are behind a
captive portal where you need to login to make use of the network
connection (like is the case at every airport)

Totally a new feature which I see for the first time in openSUSE, for
this reason I've been surprised.

Hence, NM tries to reach, where it
expects to be receiving a http/204 (empty body) answer with a X-
NetworkManager-Status: online header in plus; our server setup there is
as dumb as it can be: the header is unconditionally injected into a
static http/204 reply (any other header would not make sense if NM
could already reach that server)

IMHO from one side such NM behavior looks like a sort of a "spyware"
from the other side appears to be a bad design of its notification

The notification popped up because NM did not get the expected reply -
but when the portal then opened, it could reach -
which is not something the portal code anticipated. What is not clear,
though, is why failed to respond correctly
during the power outage: a backup server was in place during that time
(the only explanation so far is that we might have missed to cater for
ipv6-only clients; but I doubt there are THAT many out there yet)

But these are just my very personal impressions.

You're entitled to have them, as much as you're entitled to read the
code about the 'phone home impression' so you can find out what
happens. you're even able to setup your own server and change your
configuration to that server to query the status, if you wish to
preserve the functionality, or disable it.

Yes, I could safely get rid of this NM checker because I don't need it
but now that notification doesn't pops anymore, I can easily live with it.

The beauty of open source, eh?



< Previous Next >