News for hackers. Stuff that matters.
Re:Fakespot Is Acquired by Mozilla by mtlmtlmtlmtl on Tuesday May 02, 2023 @03:14PM (#35792676)
I never understood what geolocation was supposed to be within the context of of a desktop browser. If a website asks for this information, and I approve, what information is transmitted that couldn't be determined serverside via geoip?
Re:Fakespot Is Acquired by Mozilla by lights0123 on Tuesday May 02, 2023 @03:17PM (#35792717)
BSSIDs of nearby WiFi networks that are compared to lists sent by mobile devices with real GPS
Re:Fakespot Is Acquired by Mozilla by mtlmtlmtlmtl on Tuesday May 02, 2023 @04:26PM (#35793670)
And if I don't even have a wifi card?
Re:Fakespot Is Acquired by Mozilla by NavinF on Tuesday May 02, 2023 @06:46PM (#35795213)
Then you represent a trivially small fraction of users. My desktop doesn't have wifi either, but most modern motherboards come with a wifi card built in. Not to mention the majority of visitors to mainstream sites are on mobile and a good chunk of the rest are on a laptop. Also Firefox has 3% market share so we're talking about a tiny fraction of a tiny fraction of a tiny fraction.
Re:Fakespot Is Acquired by Mozilla by mtlmtlmtlmtl on Tuesday May 02, 2023 @08:14PM (#35796061)
I run Qubes unless I'm doing something very performance-oriented like massively parallel workloads. So Firefox doesn't know about the builtin wifi card, which has no antenna connected, because I don't use it and it's just in the way anyway.

So yeah I have a wifi card, technically, but also technically don't from the point of view of firefox or any other program on my computer.

Re:Fakespot Is Acquired by Mozilla by gsich on Wednesday May 03, 2023 @06:10AM (#35800316)
Most? More likely than not you will not have such a card in a mainboard.
Re:Fakespot Is Acquired by Mozilla by NavinF on Wednesday May 03, 2023 @04:37PM (#35807442)
Yes, most. Look at X470 or z590 mobos that are 2 generations old. The majority have wifi though I personally don't see the point.
Re:Fakespot Is Acquired by Mozilla by gsich on Thursday May 04, 2023 @06:49AM (#35813510)
Re:Fakespot Is Acquired by Mozilla by nl on Tuesday May 02, 2023 @08:03PM (#35795973)
I don't think the BSSIDs are sent using the HTML5 location service.

Instead your computer operating system sends the BSSIDs to another service, get the location back and then your browser uses this location service to send a lat,long to the requesting website.

See https://support.apple.com/en-au/guide/mac-help/mh35873/mac and https://support.microsoft.com/en-us/windows/windows-location...

Re:Fakespot Is Acquired by Mozilla by iudqnolq on Tuesday May 02, 2023 @03:49PM (#35793150)
I think this is a gnome bug rather than an ff one, but it's pretty shit on my desktop. It reports absurd (<10ft) accuracy while being off by miles.

Edit: s/100ft/10ft after I remembered better

Re:Fakespot Is Acquired by Mozilla by kelnos on Tuesday May 02, 2023 @03:57PM (#35793263)
On the desktop, it might be limited in the sources it has. GeoIP is one source, of course, but that's often wrong or too coarse-grained (or distorted by things like VPNs). The BSSIDs of nearby WiFi access points can help make that better, but that depends on you being close enough to APs in its dataset. Most desktops don't have actual GPS hardware.
Re:Fakespot Is Acquired by Mozilla by iudqnolq on Tuesday May 02, 2023 @04:10PM (#35793422)
Of course. But the desktop reports both estimated location and estimated accuracy. I'm complaining about the inaccuracy of the accuracy, not of the location.
Re:Fakespot Is Acquired by Mozilla by kelnos on Tuesday May 02, 2023 @03:55PM (#35793224)
GeoIP tells you at best what city someone is in, and even then, for smaller towns, will usually report the nearest large city, which could be quite a ways a way. Not to mention it's often even just flat-out wrong. VPNs and other things distort where you are. Sometimes a website might need (or at least think it needs) correct, fine-grained location information.

I do suspect that most websites that ask for location information could do fine with GeoIP, but that doesn't mean there isn't any use for more reliable, fine-grained location data.

Re:Fakespot Is Acquired by Mozilla by danielheath on Tuesday May 02, 2023 @06:12PM (#35794925)
Okay, but I never told Firefox my location, so what’s it doing that geoip can’t?
Re:Fakespot Is Acquired by Mozilla by ktosobcy on Tuesday May 02, 2023 @06:42PM (#35795176)
like Google and apple - they use exact locations of WiFi hotspots most of the time...
Re:Fakespot Is Acquired by Mozilla by saagarjha on Wednesday May 03, 2023 @02:08AM (#35798618)
That’s not something a webpage can access.
Re:Fakespot Is Acquired by Mozilla by shmoe on Wednesday May 03, 2023 @03:27AM (#35799205)
It's something a webpage can access on it's backend (the database of ssid/bssid and their locations) and something your computer uses(the access points its seeing) to locate you in the lack of a gps receiver and saying yes to the browser seeing your location.
Re:Fakespot Is Acquired by Mozilla by ktosobcy on Thursday May 04, 2023 @10:41PM (#35824666)
Browsers have geolocation api, webpage uses it. Then browser utilizes underlying OS capabilities to determine the location. On the phone it could use GPS, regular PC may relay on SSID of wifi networks, etc.
Re:Fakespot Is Acquired by Mozilla by u320 on Tuesday May 02, 2023 @07:05PM (#35795394)
In my experience, it will only reliably tell you what country you are in.
Re:Fakespot Is Acquired by Mozilla by progmetaldev on Tuesday May 02, 2023 @03:57PM (#35793269)
Although I am unfamiliar with what is sent with geolocation, I do use a VPN, and allowing geolocation on a website does pull my correct location even when connected somewhere far away.
Re:Fakespot Is Acquired by Mozilla by 867-5309 on Tuesday May 02, 2023 @04:31PM (#35793754)
for implicit it is reverse-geocoded from your IP address

for explicit it is using device GPS and/or cell tower

either you are not actually connected to the VPN or the website is storing your consent to access GPS coordinates. I'm not sure which is scarier

to test the former go to a few different websites that tell you your IP address

for the latter, fully clear your browser's cookies and cache and retry. does it ask to access fine location?

another reason could be that you are logged in to e.g. google who already knows where you are based on historic searches, nearby wifi and bluetooth devices, etc.

Re:Fakespot Is Acquired by Mozilla by progmetaldev on Tuesday May 02, 2023 @05:10PM (#35794248)
Thank you for the response, most likely it is browser cookies, as I've checked my IP address has changed and that there are no leaks. I will try running from a different browser in incognito mode to see if it still works.
Re:Fakespot Is Acquired by Mozilla by deesep on Tuesday May 02, 2023 @05:56PM (#35794780)
WebRTC leaks expose your real identity and location even when you use a VPN. You should disable it in your browsers.
Re:Fakespot Is Acquired by Mozilla by progmetaldev on Wednesday May 03, 2023 @08:38AM (#35801658)
Agreed, I disable WebRTC, and run uBlock Origin and Privacy Badger.
Re:Fakespot Is Acquired by Mozilla by nl on Tuesday May 02, 2023 @08:09PM (#35796011)
The geolocation API uses location services on your device. This doesn't rely on your IP and instead looks at nearby WiFi access points and uses a 3rd party service to translate them to GPS locations.
Re:Fakespot Is Acquired by Mozilla by vhcr on Tuesday May 02, 2023 @05:35PM (#35794556)
Most MacBooks have a GPS antenna, so they will return pretty accurate location. And having a consistent API is important too, not having to care if your code is running on mobile or desktop is pretty nice.
Re:Fakespot Is Acquired by Mozilla by matthew-wegner on Tuesday May 02, 2023 @07:09PM (#35795437)
What? Zero MacBooks have GPS inside.
Re:Fakespot Is Acquired by Mozilla by kevingadd on Tuesday May 02, 2023 @08:03PM (#35795976)
Are you sure they don't just use WiFi SSIDs to determine a location? I can't find any evidence to support macbooks having GPS.
Re:Fakespot Is Acquired by Mozilla by chillfox on Tuesday May 02, 2023 @07:38PM (#35795744)
Lol… geoip has never once gotten the state right for me. Best it does is get the country right.