LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-01-2018, 06:16 AM   #1
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Rep: Reputation: 57
How can you tell how precisely your geographical location is monitored


If you type "what is the time" on google and you are using a 3G smartphone, it shows the time and your location as an area about 30 square miles big in my case. If you do the same with the Opera Mini browser on the same smartphone it shows your location as a 4 square mile area. Neither browser is allowed access to the GPS so this is entirely IP based. So our locations are monitored and available to Google Inc.

Typing "what is the time" on a laptop with ADSL internet access does not return such precision. But if you connect the smartphone to the same wifi, the smartphone shows the same 4 square mile area that is showed with 3G access.

What is the most precise way to tell an IP's location with a linux laptop alone? Why is Opera Mini so much more precise even with ADSL access?

Last edited by Ulysses_; 09-01-2018 at 06:22 AM.
 
Old 09-01-2018, 08:08 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
I just tried with my main computer (hardwired ethernet to adsl router to land line) and was told that I am in London N13. Which is not true. So it seems they can't do much with just the IP address.
 
Old 09-01-2018, 08:32 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
I too can be located in London - VPNs are a wonderful thing.
IPs give a general location, mobile SIMs locate to a tower, wifi routers and/or bluetooth locate much more specifically. I turn it all off. Companies here boast of "heat maps" from phones using MAC address at things like concerts so they can determine what are popular booths for patrons to visit. Scary shit, and completely without your say-so.
 
Old 09-01-2018, 11:48 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
12:43 PM
Saturday, September 1, 2018 (EDT)
Time in Boardman, OH
I have a Mac and I don't really care how it is known. ("Location services" is how)
I suspect your upstream provider's gateway IP setting may be telling on you.

nameservers are a semi-fixed asset (rDNS...)

I utilize
1.0.0.1
9.9.9.9

Just sayin'
John out.
 
Old 09-01-2018, 04:32 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hazel View Post
I just tried with my main computer (hardwired ethernet to adsl router to land line) and was told that I am in London N13. Which is not true. So it seems they can't do much with just the IP address.
this is my experience too.
no vpn.
no google accounts.
no cookies, no javascript or anything else.
just the IP - they get the general vicinity, about 200km in all directions, not more.

and on my phone, of course the same as above, plus no gps.
 
Old 09-02-2018, 05:52 AM   #6
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
But why is the Nokia Mini browser more precise than the default browser?
 
Old 09-02-2018, 09:30 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
From the W3C Geolocation wiki page
Quote:
The most common sources of location information are IP address, Wi-Fi and Bluetooth MAC address, radio-frequency identification (RFID), Wi-Fi connection location, or device Global Positioning System (GPS) and GSM/CDMA cell IDs. The location is returned with a given accuracy depending on the best location information source available.
I suspect that either you have given permission or that the browser is doing it regardless of your phone settings. No expert on the geolocation API but as posted the API will find the best location and for the desktop and hopefully from a mobile device if no permissions are given that of the ISPs. It it also possible that your router's mac and location were recorded by any other phone with GPS enabled and by Google's street view cameras.

https://www.w3schools.com/html/html5_geolocation.asp
 
Old 09-02-2018, 02:17 PM   #8
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
Maybe there is a way for the smartphone to connect to the internet through the usb cable. If so, it would be interesting to see what happens if the smartphone is put in plenty of aluminum foil and google time is then checked.
 
Old 09-02-2018, 11:35 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ ok, i smile indulgently.

back to post #1. have you repeated the experiment often enough (and in many different locations, not just your home town but further away) to be able to deduce that opera mini browser always gets it better?
or maybe it's just lying to you?
i also heard that opera browsers cache half of the internet for you, thus making it "Turbo". could have some impact.
in the end, there's many factors that could have some impact.

"Location services" on Android phones includes much more than the built-in GPS, and there's always stories that some software manages to get more informatioin than the user agreed to...

i always have my gps switched off. I switch it on about once a year (when I'm lost in the forest). It takes about 5 minutes before it finds my location reliably.
with that in mind, i would think that the OFF switch does indeed switch it off, and it is not possible for apps to use it regardless. but i might be wrong.

PS:
the Librem 5 is going to have hardware kill switches for these things, there you could make some more definite experiments.

Last edited by ondoho; 09-02-2018 at 11:37 PM.
 
Old 09-07-2018, 09:04 AM   #10
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 688
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by ondoho View Post
...about 200km in all directions, not more.

and on my phone, of course the same as above, plus no gps.
With a modern cell phone I think someone could locate you to a much closer range then 200km. I believe they could at least tell what cell tower you are connected to. Maybe even triangulate using 2 or more towers depending upon where you are. For triangulate, I am only speculating.
 
Old 09-07-2018, 01:29 PM   #11
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by jmccue View Post
With a modern cell phone I thcnk someone could locate you to a much closer range then 200km. I believe they could at least tell what cell tower you are connected to. Maybe even triangulate using 2 or more towers depending upon where you are. For triangulate, I am only speculating.
Stop speculating: you can do this and the accuracy can be somewhere around 50 metres. Probably better in conurbations and worse out in the open country due to the density of cell towers. This was useful back when GPS wasn't a standard feature that you could expect to be present on nearly all (smart)-phones so if you wanted to sanity check the location of someone making an emergency call (which probably wasn't going to originate from an indoors location where GPS is flaky at best).

When stores do this they want to know which display or department you're hovering by and for how long. For this they need a few metres of accuracy and they can do this from bluetooth. What they then want to do is to track an individual phone and they have been doing this by looking at battery charge level which isn't totally reliable but is totally sneaky. I think that there has been a move to stop you reading battery level with later APIs to make this difficult but I didn't follow this debate fully through to the end and don't know which phones/OSs this still works with.

Incidentally I've been watching with interest some of the 'meet single women in xxxxxxx area' adverts that pop up from time to time. For me this doesn't seem to give them accurate info but a value that is about 50 miles out. On the other hand they seem to have gender-located me quite accurately until quite recently. Maybe they were just using the default...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Geographical distribution of LQ members Michael Uplawski LQ Suggestions & Feedback 8 03-04-2016 08:26 AM
LXer: Redirect or block traffic based on country geographical location using Apache mod_geoip LXer Syndicated Linux News 0 06-23-2015 11:12 AM
LXer: Google I/O Android News: Location, Location, Location (Plus Cloud Messaging and Bluetooth) LXer Syndicated Linux News 0 06-05-2013 01:00 PM
[SOLVED] Geographical Popularity of Linux indiana913 Linux - General 12 08-31-2011 11:36 AM
!0.04 Notification area shows incorrect geographical location as default Robertson Tay Linux - Software 1 04-26-2011 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration