Mozilla Location Service

From Wikipedia, the free encyclopedia
Mozilla Location Service
Type of site
Collaborative cell spotting
Available inEnglish
OwnerMozilla
URLOfficial website Edit this at Wikidata
CommercialNo
Launched2013; 11 years ago (2013)
Current statusOnline
Content license
CC0 1.0 Universal

Mozilla Location Service (MLS) is an open geolocation service which allows devices to find their position by processing their received signals of publicly observable radio transmitters: cellular network antennae (and their Cell IDs), Wi-Fi access points (and their BSSIDs), and Bluetooth beacons.[1][2] The service is provided by Mozilla since 2013.[3] The service uses Mozilla's open source software project called Ichnaea.[4]

In February 2019 MLS had collected more than 44.43 million unique cell networks and 1450 million unique WiFi networks[5] (April 2018: 37.7 million UCN and 1145 million UWN,[6] November 2016: 28 million UCN and 757 million UWN,[7] November 2015: 17 million UCN and 427 million UWN[8]).

In March 2024, it was announced that MLS will be retired. Functionality will be reduced in stages until the project is archived in July. [9]

Data collection and processing[edit]

The mobile app Mozilla Stumbler for Android could be used to contribute signals of cellular networks and Wi-Fi access points at the device's GPS position. It was available in the Google Play store and F-Droid from November 2014 to February 2021 at which point it was officially retired.[10][11][12] It was noted that contributions from Firefox for Android users "completely overwhelm[ed] the contributions made by the dedicated Stumbler app."[13] Other apps, such as Tower Collector, are also available for the same purpose,[14][15] although these are limited to collecting cell information. There are currently no working software capable of contributing Wi-Fi or Bluetooth information.[11]

Firefox for Android had the option to contribute to the service in a similar manner to Stumbler up until Firefox version 68, after which Mozilla performed a major rewrite of the browser,[16] and the option to contribute to MLS was not re-added.

Mozilla does not collect the SSID name (e.g. "Simpson-family-wifi") from WiFi networks, but does collects the BSSID (which is often the MAC address of the WiFi device).[17] The service is opt-out, meaning it will be enabled on client applications without the user's consent unless disabled. Mozilla's client applications do not collect information about WiFi access points whose SSID is hidden or ends with the string "_nomap" (e.g. "Simpson-family-wifi_nomap").[18]

When the service is used to request the geolocation of a device by sending it information about nearby radio transmitters, it not only responds with a location estimate, but also uses the data to update its own database. For example, if a device requests its location by sending the service information about 7 nearby Wi-Fi networks, but MLS only knows about 5 of them, the information about the 2 previously undiscovered Wi-Fi networks will be added as a data point at the device's estimated location. These requests are also used to verify that the 5 reported Wi-Fi networks still exist, and that their characteristics, such as their location, orientation, or other factors that might alter the signal, are unchanged. If they are changed, for example, by someone moving their Wi-Fi router to another room, then the device gets the Blocked status, which means that it isn't taken into account for location queries for 48 hours. If the device then remains stable at its new position, it is considered usable again. If it were to keep moving, it will be considered a moving emitter, and will not be taken into account for location queries. This is used to filter out, for example, Wi-Fi access points on buses and trains, and mobile hotspots created by phones and laptops.[19]

The service does not try to calculate and store the location of the radio transmitters themselves. Instead, it calculates and stores the areas in which their signal can be received. This area is internally represented as a circle whose center is the weighted average of the location of all the measurements in which the signal was received. Measurements which are deemed to have a higher accuracy, higher signal strength and better signal-to-noise ratio are given a higher weight. The circle's size is set to be large enough to encompass a bounding box of all measurements.[19]

Mozilla publishes aggregated data set of cell locations (MLS Cell Network Export Data[20]) under a public domain license (CC-0).[17] Unlike the cell database, the raw WiFi database is not made public because the underlying data contains personally identifiable information from both the users uploading data and from the owners of Wi-Fi devices.[17] However, Mozilla shares this proprietary data with its corporate partner Combain AB.[21]

Usage[edit]

The service is used by default as a geolocation provider fallback in the Beta and Nightly versions of Mozilla Firefox for desktop computers and laptops,[11] used when Firefox fails to acquire geolocation data from the operating system. Some versions of Firefox distributed by third-parties — especially Linux distributions — also use MLS.[22] By default, the first-party, stable Firefox releases from Mozilla use a similar alternative service operated by Google.[23][24] Firefox users have the option to change this setting to force the browser to use MLS instead, by visiting the about:config page and changing the value of geo.provider.network.url to https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%.[22] This location data is exposed to websites using the HTML5 Geolocation API after the user has granted the website permission to access their location.[25]

It is also the primary location source in the GeoClue library for non-GPS enabled devices, which is used in the GNOME and KDE environment in location-dependent applications such as the ones providing weather and maps.[26]

The service is free to use, but an API key is required for requesting geolocation data. Keys are given out on an individual basis. In order to receive a key, one must fill out a request form. Mozilla does not, as of 2022-11-13, provide keys to commercial or personal projects. Keys are only offered if the person requesting it provides a link to their software repository which must be licensed under an open source license.[27] However, it is possible to anonymously submit collected data to the service without the need for an API key.[28]

See also[edit]

References[edit]

  1. ^ "Mozilla's Location Service pilot project provides geolocation lookups based on public cell tower and WiFi data". The Next Web. 2013-10-28. Retrieved 25 June 2015.
  2. ^ "MLS - Overview". location.services.mozilla.com. Retrieved 2022-11-14.
  3. ^ "Combain Provides Cell-ID and WiFi Positioning to Mozilla (Podcast)". GPS Business News. 2015-03-10. Retrieved 25 June 2015.
  4. ^ mozilla/ichnaea, Mozilla, 2022-11-13, retrieved 2022-11-13
  5. ^ MLS stats, accessed February 2019
  6. ^ MLS stats, accessed April 2018
  7. ^ MLS stats, accessed November 2016
  8. ^ MLS stats, accessed November 2015
  9. ^ "Retiring the Mozilla Location Service". Mozilla Discourse. 2024-03-13. Retrieved 2024-03-14.
  10. ^ "Mozilla Stumbler 1.0 geolocation crowd-sourcing app now in Google Play Store". Mozilla Services. 3 November 2014. Retrieved 2021-03-21.
  11. ^ a b c "Retiring Mozilla Stumbler". Mozilla Discourse. 2021-02-08. Retrieved 2022-11-13.
  12. ^ "F-Droid". Archived from the original on 2016-05-28. Retrieved 2015-06-25.
  13. ^ "Status of Mozilla Stumbler?". groups.google.com. Retrieved 2022-11-15.
  14. ^ "CloudServices/Location/Software - MozillaWiki". wiki.mozilla.org. Retrieved 2021-03-21.
  15. ^ "Tower Collector | F-Droid - Free and Open Source Android App Repository". f-droid.org. Retrieved 2021-03-21.
  16. ^ "Firefox for Android 68.11.0, See All New Features, Updates and Fixes". Mozilla. Retrieved 2022-11-15.
  17. ^ a b c https://wiki.mozilla.org/CloudServices/Location/FAQ
  18. ^ Mozilla Location Service Opt-Out location.services.mozilla.com
  19. ^ a b "Observations — Ichnaea 2.3 documentation". ichnaea.readthedocs.io. Retrieved 2022-11-14.
  20. ^ "MLS - Downloads".
  21. ^ "Combain Deal Helps Expand Mozilla Location Service". 6 March 2015.
  22. ^ a b "CloudServices/Location/Software - MozillaWiki". wiki.mozilla.org. Retrieved 2022-11-13.
  23. ^ "Firefox Privacy Notice". Mozilla. Retrieved 2022-11-13.
  24. ^ "Does Firefox share my location with websites? | Mozilla Support". support.mozilla.org. Retrieved 2022-11-13.
  25. ^ "Geolocation API - Web APIs | MDN". developer.mozilla.org. Retrieved 2022-11-13.
  26. ^ Aleksandersen, Daniel (11 August 2016). "Help Mozilla build out their Location Service while walking about with your phone". Slight Future. Retrieved 14 August 2016.
  27. ^ "Request Form for MLS API Key". Google Docs. Retrieved 2022-11-13.
  28. ^ "Services API — Ichnaea 2.3 documentation". ichnaea.readthedocs.io. Retrieved 2022-11-14.

External links[edit]