<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Glotzfisch.de &#187; itunes</title>
	<atom:link href="http://www.glotzfisch.de/tag/itunes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.glotzfisch.de</link>
	<description>If something does not work out the way you want it to - try something different</description>
	<lastBuildDate>Wed, 26 May 2010 08:43:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Itunes</title>
		<link>http://www.glotzfisch.de/itunes/</link>
		<comments>http://www.glotzfisch.de/itunes/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 17:47:19 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Apfel]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/itunes/</guid>
		<description><![CDATA[I wanted to know who was connected to my iTunes Library and found this helpful article here in which the author says: Who&#8217;s connected: Go to your command prompt and type: lsof &#124;grep iTunes &#124;grep TCP You&#8217;ll see something like this: iTunes 338 name 16u IPv4 0x37fc710 0t0 TCP *:daap (LISTEN) iTunes 338 name 17u [...]]]></description>
			<content:encoded><![CDATA[<p><!--PageTitleFmt--><!--PageText-->       I wanted to know who was connected to my iTunes Library and found this helpful article <a href="http://www.hackszine.com/blog/archive/2007/03/whos_listening_to_your_shared.html" class="urllink">here</a> in which the author says:</p>
<h2>Who&#8217;s connected:</h2>
<p>Go to your command prompt and type:</p>
<pre>    lsof |grep iTunes |grep TCP</pre>
<p>You&#8217;ll see something like this:</p>
<pre>    iTunes 338 name 16u <span class="createlink">IPv4</span> 0x37fc710 0t0 TCP *:daap (LISTEN)
    iTunes 338 name 17u <span class="createlink">IPv4</span> 0x2efb920 0t0 TCP 192.168.0.3:daap-&gt;192.168.0.8:50565 (ESTABLISHED)</pre>
<p>The first line is just your iTunes application listening for incoming connections. The second is another machine with IP address 192.168.0.8 that is connected and browsing the music library. If nobody were connected, you&#8217;d just see that first line.</p>
<h2>Who&#8217;s listening?</h2>
<p>When another machines iTunes client connects to your library, it first opens up a TCP connection for browsing your music library. When the client chooses to play a file, a second TCP connection is made to transmit that file&#8217;s data. When you search for TCP connections and someone is actually downloading music, you&#8217;ll see something like this:</p>
<pre>    iTunes 338 name 16u <span class="createlink">IPv4</span> 0x37fc710 0t0 TCP *:daap (LISTEN)
    iTunes 338 name 17u <span class="createlink">IPv4</span> 0x2efb920 0t0 TCP 192.168.0.3:daap-&gt;192.168.0.8:50565 (ESTABLISHED)
    iTunes 338 name 18u <span class="createlink">IPv4</span> 0x2dae920 0t0 TCP 192.168.0.3:daap-&gt;192.168.0.8:50573 (ESTABLISHED)</pre>
<p>Because there are two connections from 192.168.0.8 in this scenario, we know that the remote iTunes client is transferring file data, and not just browsing.</p>
<h2>What&#8217;s being listened to?</h2>
<p>Back at the command prompt, run another lsof and look for files that are open in your music library. This assumes that your files are stored in the default iTunes Music directory.</p>
<pre>    lsof |grep "iTunes Music"</pre>
<p>You should see something like this:</p>
<pre>    iTunes 338 name 17r REG 14,2 5657237 965155
       /Users/name/Music/iTunes/iTunes Music/Compilations/Xen Cuts
       (Disc 3)/3-07 Drunk Trumpet 1.mp3</pre>
<p>Now keep in mind, this will list every file that is opened by your iTunes application, whether it&#8217;s being transmitted over the network or you are listening to it locally. Unfortunately, I don&#8217;t know of a way to associate a particular file with a particular downloader, but it&#8217;s not too difficult to figure out unless there are several people connected. If it&#8217;s just a single user, just look for any files you aren&#8217;t currently listening to yourself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
