<?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>ArvinderKang.com &#187; apple</title>
	<atom:link href="http://arvinderkang.com/tag/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://arvinderkang.com</link>
	<description>The world is my backyard.</description>
	<lastBuildDate>Thu, 29 Jul 2010 22:58:55 +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>Leopard firewall revisited</title>
		<link>http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/</link>
		<comments>http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 21:19:13 +0000</pubDate>
		<dc:creator>Arvinder Kang</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[ipfw]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[waterroof]]></category>

		<guid isPermaLink="false">http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/</guid>
		<description><![CDATA[While bringing up firewalls for my test server, I thought of doing a little check on my machine. The logs raised both my eyebrows. Dear Google told me, I was not the only one. Leopard introduced application based firewall, while &#8230; <a href="http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://arvinderkang.com/wp-content/uploads/2009/03/orion-aveugle-cherchant-le-soleil.jpg" alt="Orion Aveugle Cherchant le Soleil" /></p>

<p>While bringing up firewalls for my test server, I thought of doing a little check on my machine. The logs raised both my eyebrows. Dear Google told me, <a href="http://db.tidbits.com/article/9294" title="TidBITS Safe Computing: Leopard Firewall Takes One Step Forward, Three Steps Back">I was not the only one</a>.</p>

<p>Leopard introduced application based firewall, while the old ipfw still exists with just one default rule (Accept everything from everything!)</p>

<pre><code>65535 allow ip from any to any
</code></pre>

<p><span id="more-188"></span>
So with Application firewall doing its best, lets add some ipfw rules. One way to do is <a href="http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html" title="IPFW">making and adding new rules</a>. However Newton said &#8220;<em>Pigmaei gigantum humeris impositi plusquam ipsi gigantes vident</em>(If I have seen a little further it is by standing on the shoulders of Giants.)&#8221;</p>

<p>So I downloaded the tested <a href="http://securosis.com/2007/11/15/ipfw-rules/" title="ipfw Rules, 2007/11/15 revision | securosis.com">ipfw rule list from securosis.com</a> to start with and tweaked to my taste, and imported the file into <a href="http://www.hanynet.com/waterroof/" title="WaterRoof ipfw firewall frontend">WaterRoof</a>, an ipfw frontend.</p>

<p>To check your ipfw rules, use “sudo ipfw list“. When you’re satisfied with your rules, install them for future reboots with “Tools > Rules Configuration > Save to startup configuration” and “Tools > Startup Script > Install Startup Script”.</p>

<p>I also installed <a href="http://www.wireshark.org/" title="Wireshark: Go deep.">WireShark</a>, originally known as Ethereal, but could not get it working. However a look at network log is much more satisfactory now than before.</p>

<p>Image: Cedalion standing on the shoulders of Orion from Blind Orion Searching for the Rising Sun by Nicolas Poussin, 1658. This image is in the public domain.</p>
]]></content:encoded>
			<wfw:commentRss>http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->