What is locationd and why is my 3rd party firewall intercepting it in Snow Leopard at intervals?

31,290

Solution 1

Short answer: You are seeing the request to Skyhook Wireless because they have the geographic database that Apple uses for Core Location in the operating system.

Longer answer:

Skyhook Wireless is the company with the geographic database about WiFi access points that is used for the new location services (Core Location) in OS X Snow Leopard. Core Location is a developer framework for dealing with the computer's location, and a usage example is automatic time zone updates based on your location. There is an option to turn the time zone updates on/off under the Date & Time preferences pane under Time Zone.

Skyhook Wireless's database triangulates a location based on a combination of IP geo-location and the MAC addresses of wireless devices that can be seen, even if the networks it is triangulating the location from is not open. (MAC addresses are always unencrypted and public even when using WPA since the MAC address helps identify the access point.) If I recall correctly, they can usually triangulate to within a few hundred meters of accuracy.

Solution 2

As mentioned in another answer, locationd is the daemon (system process) responsible for Snow Leopard's new Core Location service, which uses the Skyhook WiFi location database to (attempt to) ascertain your location based on the WiFi access points your Mac "sees." However, disabling the "automatically update time zone" in Date and Time Preferences does NOT disable this feature. To completely disable Location Services, go to the Security preferences pane, and check the "Disable Location Services" button. Note that you'll only see any of these options if your Mac actually has WiFi. (this may sound obvious but I thought I'd better mention it seeing as how I just spent about ten minutes looking at my Mac Pro [which doesn't have AirPort] and scratching my head saying "gee, now I thought there was an option to disable that...")

Share:
31,290

Related videos on Youtube

user4881
Author by

user4881

Updated on September 17, 2022

Comments

  • user4881
    user4881 almost 2 years

    Little Snitch reported an outgoing connection from locationd which appears to be a new daemon installed by default on Snow Leopard.

    A search for strings inside the locationd binary shows a link to http://skyhookwireless.com. The index of their page reads:

    Skyhook Wireless' XPS is the world's first true hybrid positioning system.

    Combining the unique benefits of GPS, Cell Tower triangulation and Wi-Fi Positioning, mobile consumers no longer have to wait minutes for a response or cope with inaccurate location.

    If it happens again, I will report back with more details (endpoint, etc). I only clicked "allow once", so I did not create a firewall rule, unfortunately.

    • Telemachus
      Telemachus over 14 years
      Skyhook =~ Skynet: sounds like the end of the world to me...
  • Jared Harley
    Jared Harley almost 15 years
    This is correct. Apple first paired up with Skyhook to provide positioning for the iPhone/iPod Touch based on wireless networks. You can also add your personal wireless network to Skyhook's database.
  • user4881
    user4881 almost 15 years
    Adam- I'm interested in what else the location services do in the process of keeping my OS running. Also, why would locationd need to transmit data to a remote endpoint in order to adjust my system clock to the correct time zone?
  • Lara Dougan
    Lara Dougan almost 15 years
    I added some more detail to this post, especially about Skyhook Wireless specifically. locationd needs to transmit data, because Skyhook Wireless are the ones with the geolocation database, not Apple.
  • Chealion
    Chealion almost 15 years
    @sludge: If the Date and Time Preference Pane is set to automatically find your location it uses CoreLocation to find your location and then sets the time zone accordingly.