レナート   TBFKAYIBYNYAAYB   ﻟﻴﻨﺎﺭﺕ

Sat, 15 Sep 2007

iLock-in: Apple locks Free Software out, but where's the news?

So, Apple now blocks third-party software from accessing iPods. But is behaviour like that news? No, unfortunately not at all.

Let's have a look on two technologies that are closely related to the iPod and Apple-style media playback: DAAP (Digital Audio Access Protocol) and RAOP (Remote Audio Output Protocol). RAOP is the protocol that is spoken when you want to output audio from iTunes over the network on your AirPort base station. DAAP is the popular protocol which you can use to swap music between multiple iTunes instances on a LAN. Both technologies use cryptographic hashes to block interoperable alternative implementations.

Now, the RAOP client crypto key has been extracted from iTunes, hence its now possible to implement alternative software that takes the role of iTunes and streams audio to an AirPort. However, noone managed to extract the RAOP server key yet, hence noone is able to implement software that exposes itself as AirPort-compatible audio sink on the network, so that iTunes could stream data to it.

With DAAP it's a similar situation: iTunes uses cryptographic hashes to make sure that only real iTunes instances can swap audio with each other. This key has been broken multiple times, hence there are now a couple of alternative DAAP implementations, which can swap audio with iTunes (Rhythmbox being one example). However, with iTunes 7 Apple changed the cryptographic key once again, and until now nobody managed to break it.

So basically, Apple now dongles AirPorts to iTunes, iTunes to iTunes and iTunes to iPods. The whole Apple eco-system of media devices and software is dongled together. And none of the current iterations of the underlying technologies have been fully broken yet.

While the audio files you can buy at the iTunes shop may now be DRM-free, you're still locked into the Apple eco-system if you do that. They replaced DRM with vendor lock-in.

This lock-in behaviour is childish at best. DAAP once was the de-facto standard for swapping media files in LANs. Swapping files in LANs is perfectly legitimate and legal. Then, Microsoft/Intel started to include a similar technology in UPnP, the UPnP MediaServer. An open technology that has now been included in endless media server devices. Several Free Software implementations exist (most notably gUPnP). These days, uPNP MediaServer is ubiquitous, DAAP is no more. Apple had the much better starting position, but they blew it, because of their childish locking-out of alternative implementations.

I believe that DAAP is the superior protocol in comparison to UPnP MediaServer. (Not really surprising, since I wrote most of Avahi, which is a free implementation of mDNS/DNS-SD ("Zeroconf"), the (open) Apple technology that is the basis for DAAP.) However, due to the closedness of DAAP I would recommend everyone to favour UPnP MediaServer over DAAP. It's a pity.

Both DAAP and UPnP MediaServer are transfer protocols, nothing that is ever directly exposed to the user. Right now, Free Software media players support DAAP much better than UPnP MediaServer. Hopefully, they will start to abstract the differences away, and allow swapping music the same way over DAAP and over uPnP. And hopefully, DAAP will eventually die or Apple will open it. They have shown that they are able to change for the good, they became much more open with WebKit, and they changed the license of Bonjour to a real Free Software license. Let's hope they will eventually notice that locking users in makes their own technology irrelevant in the long term.

Oh, and let's hope that Jon finds the time to break all remaining Apple crypto keys! Jon, DAAP 7.0, and the RAOP server key is waiting for you! I'd love to make PulseAudio RAOP-compatible, both as client and as server.

Update: Ars Technica has an update on this.

posted at: 18:52 | path: /projects | permanent link to this entry | 9 comments


Posted by mr troll at Sat Sep 15 22:45:56 2007
"This lock-in behaviour is childish at best."

No, it is not. Vendor lock-in is business 101. That is what they are doing, open source is barely even on their radar. They did that because of basic business reasons.

Posted by Gestu at Sun Sep 16 00:10:22 2007
"They did that because of basic business reasons."

Thanks for informing us of that, Captain Obvious.

What Microsoft does also makes business sense, that doesn't mean that their interests and actions conflict with usability and open standards of the public.

Posted by Gestu at Sun Sep 16 00:13:40 2007
That should be "do not conflict".

What remains to be seen is how the public acts towards this. Apple removed DRM because there began a massive change of opinion towards DRM that started on the internet and migrated to the mainstream, but will people care too much about this issue thereby forcing Apple to change their ways? Like has been evident before, Apple's popularity has been built on excellent marketing and good reputation, even if that isn't exactly reflective of their decisions - so there should be more awareness of this lock-in if Apple is to change their own ways.

Posted by Anonymous at Sun Sep 16 07:03:53 2007
This is also partially the fault of the nice people who reverse engineered the ipod in the first place causing FOSS users to buy iPods. Why fight this battle with Apple by reversing it again? Boycott is better!

Posted by fizze at Sun Sep 16 10:34:56 2007
Re: DAAP and iTunes7, so you are saying iTunes7 isn't able to "see" a rhythmbox daap share anymore?
Why does it work with mt-daapd/firefly then?

Or did I miss something here? ^^

Posted by Paul Mison at Sun Sep 16 10:57:36 2007
fizze: Rhythmbox shares aren't encrypted so iTunes can play the,. iTunes shares are, so Rhythmbox can't.

Or, to restate it in case that isn't clear: you cannot connect any third-party DAAP client to an iTunes server.

Posted by fizze at Mon Sep 17 09:14:27 2007
Ah, in that direction, yes, I see.
Well, for that i don't know of any means around without royalty fees.

The Pinnacle SoundBridge vs. RoKu SoundBridge is a infamous example....

Posted by FusionGuy at Mon Sep 17 16:42:50 2007
Most people only consider this type of behavior as evil if the company is Microsoft.  In fact, Microsoft is MUCH more open than Apple will ever be.

Posted by jay at Fri Feb 15 15:58:21 2008
ilock licence key

Leave a Comment:

Your Name:


Your E-mail (optional):


Comment:


As a protection against comment spam, please type the following number into the field on the right:
Secret Number Image

Please note that this is neither a support forum nor a bug tracker! Support questions or bug reports posted here will be ignored and not responded to!


It should be obvious but in case it isn't: the opinions reflected here are my own. They are not the views of my employer, or Ronald McDonald, or anyone else.

Please note that I take the liberty to delete any comments posted here that I deem inappropriate, off-topic, or insulting. And I excercise this liberty quite agressively. So yes, if you comment here, I might censor you. If you don't want to be censored your are welcome to comment on your own blog instead.


Lennart Poettering <mzoybt (at) 0pointer (dot) net>
Syndicated on Planet GNOME, Planet Fedora, planet.freedesktop.org, Planet Debian Upstream. feed RSS 0.91, RSS 2.0
Archives: 2005, 2006, 2007, 2008, 2009, 2010

Valid XHTML 1.0 Strict!   Valid CSS!