Bonjour Sleep Proxy

Apple's Bonjour Sleep Proxy service is an open source[1] component of zero configuration networking, designed to assist in reducing power consumption of networked electronic devices.[2] A device acting as a sleep proxy server will respond to Multicast DNS queries for another, compatible device which has gone into low power mode. The low-power-mode device remains asleep while the sleep proxy server responds to any Multicast DNS queries.[2]

When the sleep proxy server sees a query which requires the low-power-mode device to wake up, the sleep proxy server sends a special wake-up-packet ("magic packet") to the low-power-mode device. Finally, communication parameters are updated via Multicast DNS and normal communications proceed.[2]

Apple Inc. describes the service as Bonjour Sleep Proxy in their support documents.[3] The service supports the Wake on Demand feature, first offered in Mac OS X Snow Leopard.[4]

Details

Address resolution protocol

The sleep proxy service responds to address resolution protocol requests on behalf of the low-power-mode device:[2]

When a sleep proxy sees an IPv4 ARP or IPv6 ND Request for one of the sleeping device's addresses, it answers on behalf of the sleeping device, without waking it up, giving its own MAC address as the current (temporary) owner of that address.

This may appear confusing to network administrators who are not expecting the behaviour of changing MAC addresses.

Wireless magic packet

In case the low-power-mode device is communicating via Wi-Fi, the wake-up-packet is sent via Wireless Multimedia Extensions (WMM).[4] This was not possible in previous implementations of Wake on LAN (WoL). The wireless hardware must be updated enough to include WMM support.[4] Apple provides instructions for checking compatibility with this feature for Macintosh computers.[3]

Supported services and examples

The sleep proxy service is able to advertise any Bonjour-supported services, while the host computer sleeps. Some examples of supported services are:[3]

Troubleshooting

Stuart Cheshire has a page describing steps for troubleshooting Sleep Proxy Service.

Implementations

Implementations on a local area network can be seen with Bonjour Browser.

This list is incomplete; you can help by expanding it.

References

  1. Note: see mDNSResponder source code at www.macosforge.org, which includes a full implementation of the DNS-SD/mDNS Sleep Proxy Service, available under the Apache 2.0 Open Source license.
  2. 1 2 3 4 Marc Krochmal (2010-03-23). "Internet Draft: draft-cheshire-dnsext-multicastdns-11". Apple Inc. Retrieved 2010-05-30.
  3. 1 2 3 4 5 6 "Mac OS X v10.6: About Wake on Demand (Apple Article HT3774)". Apple. 2009-08-27. Retrieved 2009-09-15. Setting up Wake on Demand", "Setting up a Bonjour Sleep Proxy
  4. 1 2 3 Glenn Fleishman (2009-08-28). "Wake on Demand lets Snow Leopard sleep with one eye open". Macworld.com. Retrieved 2009-09-15. How it works", "Energy Saver preference pane
  5. Apple Inc. Worldwide Developers Conference (WWDC) 2009, Session 508, Zero Configuration Networking Using Bonjour

External links

This article is issued from Wikipedia - version of the Wednesday, November 04, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.