Bug 384929 - Detect captive portals
Summary: Detect captive portals
Status: CONFIRMED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 5.5.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-21 12:40 UTC by sedrubal
Modified: 2018-08-27 23:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The certificate warning (21.02 KB, image/png)
2017-09-21 12:40 UTC, sedrubal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sedrubal 2017-09-21 12:40:36 UTC
Created attachment 107933 [details]
The certificate warning

Akonadi should not try to sync with external servers (in my case the DAV resource) when the device is connected to a captive portal. If you configured to use a TLS secured connection, you'll receive many (!) certificate warnings if the captive portal web site is also available on a TLS connection and if your requests will be redirected to the captive portal website.

Maybe you can use NetworkManager to determine if you are in an captive portal:
$ nmcli networking connectivity check
Comment 1 Daniel Vrátil 2018-08-27 23:00:07 UTC
We tried using NetworkManager to detect whether we are behind a captive protal, unfortunately it sometimes had false positives. 

Maybe things have improved since then.