Bug 70555 - VPN causes invalid TimeZone to be detected
Summary: VPN causes invalid TimeZone to be detected
Status: RESOLVED MOVED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-17 00:37 UTC by Christian Hergert
Modified: 2018-05-06 14:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hergert 2013-10-17 00:37:04 UTC
VPNs are often in a different timezone than the one you are presently within.
So detecting the timezone when connecting over a VPN creates a likely incorrect answer.

Perhaps ignore checking when a VPN is established, unless it can be made to go
through the non-VPN network device.
Comment 1 Zeeshan Ali 2013-11-04 15:54:41 UTC
(In reply to comment #0)
> VPNs are often in a different timezone than the one you are presently within.
> So detecting the timezone when connecting over a VPN creates a likely
> incorrect answer.

Doesn't "Use this connection only for resources on this network" option in VPN connection settings work?

> Perhaps ignore checking when a VPN is established, unless it can be made to
> go
> through the non-VPN network device.

That setting should actually do that. Detecting VPN and/or making our traffic to bypass VPN will be difficult, though I think we should be doing that.
Comment 2 Christian Hergert 2013-11-04 20:53:33 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > VPNs are often in a different timezone than the one you are presently within.
> > So detecting the timezone when connecting over a VPN creates a likely
> > incorrect answer.
> 
> Doesn't "Use this connection only for resources on this network" option in
> VPN connection settings work?

Sure, but VPNs have as many uses for secure tunnels as "road warriors". Just because I want to secure my traffic through a VPN to avoid my ISP/Wifi Hotspot from sniffing my traffic doesn't mean I live there.
Comment 3 Zeeshan Ali 2015-03-02 18:55:05 UTC
I think if you want all your traffic to pass through VPN and want geoclue to detect your actual location, you'd want more hardware on your machine (WiFi or 3G dongle). We are also hoping to create a GPS sharing solution as part of GSoC 2015 that could use your phone's GPS but lets see how that goes.
Comment 4 Bastien Nocera 2015-03-02 19:15:26 UTC
I think we should simply fail when a VPN is being used. There's no point in claiming that we're on the other side of the planet when all the traffic goes through a VPN. Might be a little hard to detect though, best ask the Dans.
Comment 5 Allan Day 2017-02-22 13:06:56 UTC
Same issue here. Another aspect is that the timezone doesn't seem to correct itself after you've turned the VPN off.
Comment 6 Zeeshan Ali 2017-02-22 13:51:47 UTC
I think this will at least help those with Wifi:

https://bugs.freedesktop.org/show_bug.cgi?id=94352
Comment 7 GitLab Migration User 2018-05-06 14:36:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/geoclue/geoclue/issues/45.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.