<?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>tales from the crypt( ) &#187; apple</title>
	<atom:link href="http://org.against.org/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://org.against.org</link>
	<description>slightly biased and undoubtful pieces of random information</description>
	<lastBuildDate>Fri, 16 Apr 2010 01:56:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8230;and then they were three</title>
		<link>http://org.against.org/and-then-they-were-three/</link>
		<comments>http://org.against.org/and-then-they-were-three/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 01:21:27 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[iMac]]></category>
		<category><![CDATA[toys]]></category>

		<guid isPermaLink="false">http://org.against.org/and-then-they-were-three/</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://org.against.org/r.php?http://org.against.org/wp-content/uploads/P100416_0129501.jpg" rel="lightbox"><img class="aligncenter size-full wp-image-158" title="new toys" src="http://org.against.org/wp-content/uploads/P100416_0129501.jpg" alt="" width="480" height="360" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/and-then-they-were-three/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Cisco VPN client on OS X</title>
		<link>http://org.against.org/cisco-vpn-os-x/</link>
		<comments>http://org.against.org/cisco-vpn-os-x/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 11:39:06 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[useful stuff]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco vpn]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[vpnclient]]></category>

		<guid isPermaLink="false">http://org.against.org/?p=160</guid>
		<description><![CDATA[&#8230;and I still failing to understand why it&#8217;s 2010 and Cisco VPN client connection profiles and certificates are stored anywhere but the current user homedir.
For future reference:
OS X:
/private/etc/opt/cisco-vpnclient/Certificates
/etc/CiscoSystemsVPNClient/Certificates
Linux:
/etc/opt/cisco-vpnclient/Certificates
Windows:
C:\Program Files\Cisco VPN Client\Certificates
&#8220;Profiles&#8221; and &#8220;Certificates&#8221; folders can be copied/moved between different systems to replicate configuration when there are CA limitations or restrictive policies on certificate export/imports.
]]></description>
			<content:encoded><![CDATA[<p>&#8230;and I still failing to understand why it&#8217;s 2010 and Cisco VPN client connection profiles and certificates are stored anywhere but the current user homedir.</p>
<p>For future reference:</p>
<p><strong>OS X:</strong></p>
<pre style="padding-left: 30px;">/private/etc/opt/cisco-vpnclient/Certificates</pre>
<pre style="padding-left: 30px;">/etc/CiscoSystemsVPNClient/Certificates</pre>
<p><strong>Linux:</strong></p>
<pre style="padding-left: 30px;">/etc/opt/cisco-vpnclient/Certificates</pre>
<p><strong>Windows:</strong></p>
<pre style="padding-left: 30px;">C:\Program Files\Cisco VPN Client\Certificates</pre>
<p>&#8220;Profiles&#8221; and &#8220;Certificates&#8221; folders can be copied/moved between different systems to replicate configuration when there are CA limitations or restrictive policies on certificate export/imports.</p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/cisco-vpn-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I switched</title>
		<link>http://org.against.org/hello-i-am-a-mac/</link>
		<comments>http://org.against.org/hello-i-am-a-mac/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 00:59:03 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[humor]]></category>
		<category><![CDATA[iphoto]]></category>
		<category><![CDATA[jesus]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://org.against.org/hello-i-am-a-mac/</guid>
		<description><![CDATA[

&#8230;and I&#8217;m having a ball&#8230;
]]></description>
			<content:encoded><![CDATA[<p><a href="http://org.against.org/r.php?http://org.against.org/wp-content/uploads/iphoto09.png" title="iphoto 09" rel="lightbox"></a></p>
<p style="text-align: center"><a href="http://org.against.org/r.php?http://org.against.org/wp-content/uploads/iphoto09.png" title="iphoto 09" rel="lightbox"><img src="http://org.against.org/wp-content/uploads/iphoto09_t.jpg" alt="iphoto thumb" border="0" /></a></p>
<p style="text-align: center">&#8230;and I&#8217;m having a ball&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/hello-i-am-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three things I hate about the iThingies</title>
		<link>http://org.against.org/three-things-i-hate-about-the-ithingies/</link>
		<comments>http://org.against.org/three-things-i-hate-about-the-ithingies/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 03:27:05 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[bastards]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[I want an ipod classic instead]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[itunes]]></category>

		<guid isPermaLink="false">http://org.against.org/three-things-i-hate-about-the-ithingies/</guid>
		<description><![CDATA[These apply to the iPhone and the iPod Touch. And I&#8217;m pissed.
I hate to have it getting the time and date reset to something in the past (can&#8217;t find any pattern on the new date/time) everytime I drop it in the dock and sync. This happens when iTunes is left open when the computer goes [...]]]></description>
			<content:encoded><![CDATA[<p>These apply to the iPhone and the iPod Touch. And I&#8217;m pissed.</p>
<p>I hate to have it getting the time and date reset to something in the past (can&#8217;t find any pattern on the new date/time) everytime I drop it in the dock and sync. This happens when iTunes is left open when the computer goes to sleep or hibernates (and closing iTunes before sleeping does the trick). It has been like this since forever, there are people reporting the issue <a href="http://org.against.org/r.php?http://forums.macrumors.com/archive/index.php/t-362975.html" class="external">since September 2007</a> (<a href="http://org.against.org/r.php?http://www.youtube.com/watch?v=WdoYIRBck30" class="external">video</a>). Why hasn&#8217;t this been fixed?</p>
<p>I hate to have it performing a device backup which takes forever and which I&#8217;ll probably never have a chance to actually use and not having a straight way to disable it without <a href="http://org.against.org/r.php?http://iphonefreakz.com/2008/07/27/windows-users-disable-itunes-backup-for-faster-sync/" class="external">messing around</a>. Bastards.</p>
<p>I hate to downloading 250 megs of firmware updates every 2 weeks (currently 2.0.2, released a couple of hours ago, downloading over 3G as we speak), checking the release notes and saying these are just &#8220;bug fixes&#8221;. Which ones? Fix the damn thing, will you?</p>
<p>A company with a market cap of over $150 billion should actually listen to the customers, right?</p>
<p><em>And don&#8217;t get me started on the interface. The user interface is brilliant if you&#8217;re planning to use it as a webpad, PDA, mobile phone, gaming console, show-off thingie, whatever. If you want to use it to listen to music, it&#8217;s terrible, it&#8217;s cumbersome, it&#8217;s annoying. One of the killer features of the &#8220;classic&#8221; iPods was ease of use, the simple (yet powerful, for a MP3 player) of the interface. Scroll wheel for changing the volume and&#8230; uh&#8230; scrolling. Simple menu structure. Easy to operate the device without actually looking at it (or having it inside a pocket, for instance). One actual &#8220;lock&#8221; button that &#8220;works&#8221;. Do I need to shell out $20 to get a remote and have it working properly?<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/three-things-i-hate-about-the-ithingies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>o cupertino, where art thou?</title>
		<link>http://org.against.org/o-cupertino-where-art-thou/</link>
		<comments>http://org.against.org/o-cupertino-where-art-thou/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 21:58:46 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[annoying]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dscacheutil]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[nslookup]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[ttl]]></category>

		<guid isPermaLink="false">http://org.against.org/o-cupertino-where-art-thou/</guid>
		<description><![CDATA[Sure, the Mac is exciting. I have nightmares about living in a world where laptops have no backlit keyboards and large shiny screens, sleek user interfaces and some other nice details. I must admit these guys do things the right way. But then&#8230;
For those with ADD: Why, oh why does leopard insist on storing entries [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://org.against.org/r.php?http://flickr.com/photos/halfpinay/315916670" class="external"><img src="http://org.against.org/wp-content/uploads/2008/01/315916670_2eef344cd21.jpg" alt="rotten apple" align="right" border="0" /></a>Sure, the Mac is exciting. I have nightmares about living in a world where laptops have no backlit keyboards and large shiny screens, sleek user interfaces and some other nice details. I must admit these guys do things the right way. But then&#8230;</p>
<p><strong>For those with ADD: </strong>Why, oh why does leopard insist on storing entries on its DNS cache with TTL=3600 when the DNS proxy is sending them with TTL=0?</p>
<p><strong>For everyone else:</strong> I&#8217;m testing DSL routers. One of the &#8220;nice&#8221; features to have in such a device is something that stands between the DNS clients (computers connected to the LAN ports) and the DNS server (usually provided by the network). This is usually called a DNS proxy or DNS relay and will (hopefully, in decent implementations), if the DSL connection is down, translate every single request to an internal/private/reserved IP address. If the user is using a browser, the www.whatever.com DNS query returns the mentioned IP address instead of the real one and the HTTP request will land on the router itself, which will politely say <em>&#8220;your connection is down, go get a towel or something&#8221;</em>. Aditionally, the router will send the DNS answer time-to-live to something real low (zero, preferably, so the &#8220;fake&#8221; DNS entry doesn&#8217;t get stored in local DNS caches).</p>
<p>So far so good.</p>
<p>Eventually, DSL connections go up. Sometimes they don&#8217;t (but that&#8217;s not my problem).</p>
<p>Should the DSL connection go up again, the router will probably fetch a working DNS server from the network and start resolving DNS correctly. End of story.</p>
<p>***Except*** there seems to be something essentially wrong with Leopard (I&#8217;m hearing people grinning and whispering <em>&#8220;eh, don&#8217;t get me started&#8230;&#8221;</em>).</p>
<p>A quick search on Google returns a few hundred hits on people whining about Leopard&#8217;s DNS implementation and the fact that it&#8217;ll take a few <em>dscacheutil -flushcache</em> iterations a day to clean the cache from DNS lookup failures (due to unresponsive DNS servers, for instance). Those error entries get marked with a big YES on <em>dscacheutil -cachedump -entries</em> &#8220;Neg&#8221; column. And they&#8217;ll probably have some sort of dealing up with that clutter. Not the issue here.</p>
<p>There&#8217;s another issue I won&#8217;t bother to go into right now, but is slightly related. Most entries on the cache show up has having TTL=3600 when the DNS server is sending values far above that (12 or 24 hours, just to name a few &#8211; I&#8217;ve got the packet captures to show it). The sentence <em>&#8220;Why would someone want to store a DNS cache entry for so many time&#8221;</em> makes some sense to me, but it would be nice if the operating system just did as it&#8217;s being told.</p>
<p>Which brings &#8220;the&#8221; problem here (my problem, at least &#8211; but <a href="http://org.against.org/r.php?http://open-mind-open-opinion.blogspot.com/2008/01/o-meo-maior-que-o-teu-1.html" class="external">JP mentioned a similar behavior</a> around the time I first noticed the issue on my equipment): Leopard is storing entries with a TTL of 3600 (seconds) for entries that were sent with TTL=0. The DNS relay is saying <em>&#8220;don&#8217;t cache this entry&#8221;</em> but Leopard insists on doing so &#8211; and for an hour or something. <em>dscacheutil -flushcache</em> will fix it, but this is plainly annoying.</p>
<p>Here&#8217;s the DNS response from the DSL modem on Wireshark:<br />
<a href="http://org.against.org/r.php?http://org.against.org/wp-content/uploads/2008/01/wireshark.png" class="imagelink" title="Wireshark capture" rel="lightbox"><img src="http://org.against.org/wp-content/uploads/2008/01/wireshark.thumbnail.png" id="image74" alt="Wireshark capture" /></a></p>
<p>Windows&#8217; <em>ipconfig /displaydns</em> listing (showing no trace of the google.com entry):<br />
<a href="http://org.against.org/r.php?http://org.against.org/wp-content/uploads/2008/01/windows.png" class="imagelink" title="windows doing something right (for a change)" rel="lightbox"><img src="http://org.against.org/wp-content/uploads/2008/01/windows.thumbnail.png" id="image76" alt="windows doing something right (for a change)" /></a></p>
<p>Last but not least, the Leopard <em>dscache -cachedump -entries</em> listing with a glorious TTL=3600:<br />
<a href="http://org.against.org/r.php?http://org.against.org/wp-content/uploads/2008/01/dscache.png" class="imagelink" title="it just works (not)" rel="lightbox"><img src="http://org.against.org/wp-content/uploads/2008/01/dscache.thumbnail.png" id="image75" alt="it just works (not)" /></a></p>
<p>No sight of similar problems on the Ubuntu installation I tried. <a href="http://org.against.org/r.php?http://mat.su" class="external">Pedro</a> confirmed me minutes ago that Tiger behaves slightly better than Leopard and honors the TTL=0, keeping these records away from the cache (as it should).</p>
<p><strike>Now could someone do something about this?</strike> I just did. Filed bug <a href="http://org.against.org/r.php?https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/47/wo/007vkB2NJvEy0k2B8KTmEg/10.65.0.3" class="external">#5711166</a> and became a Mac Geek, according to <a href="http://org.against.org/r.php?http://the.taoofmac.com" class="external">Rui</a>. Why do I have a feeling I&#8217;ll regret this? ;)</p>
<p>(Update: this issue has been fixed on the Mac OS X 10.5.3 Server update. Not bad.)</p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/o-cupertino-where-art-thou/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
