<?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>Joe's Amazing Technicolor Weblog &#187; firewall</title>
	<atom:link href="http://slagwerks.com/blog/index.php/tag/firewall/feed/" rel="self" type="application/rss+xml" />
	<link>http://slagwerks.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 23 Jul 2010 22:31:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A few more Soekris notes</title>
		<link>http://slagwerks.com/blog/index.php/2009/02/11/a-few-more-soekris-notes/</link>
		<comments>http://slagwerks.com/blog/index.php/2009/02/11/a-few-more-soekris-notes/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 19:24:24 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[soekris]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=243</guid>
		<description><![CDATA[The Soekris I installed a few months ago has been working well, so I&#8217;m setting up a second for another location. Mostly setting it up the same as before, and collected the following notes along the&#160;way. I&#8217;d forgotten how to figure out the Soekris&#8217; MAC address, which is needed for the DHCP server config. Turns [...]]]></description>
			<content:encoded><![CDATA[<p>The Soekris I installed a few months ago has been working well, so I&#8217;m setting up a second for another location. Mostly setting it up the same as before, and collected the following notes along the&nbsp;way.</p>
<ul>
<li>I&#8217;d forgotten how to figure out the Soekris&#8217; <span class="caps">MAC</span> address, which is needed for the <span class="caps">DHCP</span> server config. Turns out it&#8217;s shown when you tell the soekris to try netbooting via <code>boot&nbsp;f0</code>.</li>
<li>The ubuntu (&amp; presumably debian) tftpd configures itself without the <code>-s</code> flag, which allows pxeboot&#8217;s requests for files like /bsd to be found in the <code>/srv/tftp/</code>&nbsp;directory</li>
<li>Despite rediscovering the above, I ended up reinstalling onsite from my macbook. Got most of the way thanks to tfpd tips <a href="http://aplawrence.com/MacOSX/tftp.html">here</a> and the <span class="caps">ISC</span> dhcp server from MacPorts. However, as launchd was involved, there was much unhappiness getting tftpd to actually serve the files in question. Had just about thrown up my hands when I figured out that the <code>-s</code> flag actually works the same as it does in debian, not the way the OS X manpage says it&nbsp;does.</li>
<li>After close to 10 years of being confused about why OpenBSD&#8217;s installer often pukes when trying to use a local ftp or http connection, I finally thought to look at my local webserver&#8217;s access log, and saw that the installer was trying to get an index.txt file. Creating one with the name of the relevant files did the&nbsp;trick.</li>
<li>I thought to plug the Soekris into a Kill a Watt while installing, and never saw a draw of over 4 watts while formatting the <span class="caps">CF</span>, copying over the install set, or writing the files. Not bad! Idles at 2&nbsp;watts.</li>
</ul>
<p>Rather than taking Michiel&#8217;s exact approach with the memory filesystem, I decided I&#8217;d use the memoryfs for the commonly-changed files, but leave the root writeable, which has the benefit of allowing ports to be installed and configuration changes to be made on the&nbsp;fly.</p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2009/02/11/a-few-more-soekris-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenBSD firewall on Soekris 4501</title>
		<link>http://slagwerks.com/blog/index.php/2008/10/10/openbsd-firewall-on-soekris-4501/</link>
		<comments>http://slagwerks.com/blog/index.php/2008/10/10/openbsd-firewall-on-soekris-4501/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 10:14:22 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[soekris]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=67</guid>
		<description><![CDATA[Would you believe that a branch office of a certain unnamed organization hasn&#8217;t had a firewall (or even a router doing NAT) for close to a year? You could configure the printer from across the world and everything. That is, until the other day, when I got this little guy installed. Questions I had to [...]]]></description>
			<content:encoded><![CDATA[<p>Would you believe that a branch office of a certain unnamed organization hasn&#8217;t had a firewall (or even a router doing <span class="caps">NAT</span>) for close to a year? You could configure the printer from across the world and everything. That is, until the other day, when I got this little guy installed. Questions I had to answer in this project:<a href="http://flickr.com/photos/18474854@N00/2928329542/"><img class="alignright" title="tiny firewall" src="http://farm4.static.flickr.com/3051/2928329542_890261c450_m.jpg" alt="" width="240" height="180" /></a></p>
<ol>
<li>Which soekris? Current needs are reasonably simple firewalling for a smaller office, so the <a href="http://www.soekris.com/net4501.htm">4501</a> answers nicely. Would consider 5501s for an office with more traffic /&nbsp;servers.</li>
<li>What media? 2 <span class="caps">GB</span> <span class="caps">CF</span> cards are cheap as dirt now, I remember running OpenBSD on systems with smaller hard drives&#8230; the lower heat / power / footprint and higher reliability of <span class="caps">CF</span> is very attractive for this application, compared to a hard&nbsp;drive.</li>
<li>What <span class="caps">OS</span> / distro? Initially, I&#8217;m going with what&#8217;s basically a default i386 OpenBSD installation. Commonly used for firewalls, and given the cheapness and reliability of <span class="caps">CF</span> these days, a generic setup should work for now. Once I&#8217;m comfortable with how things are running I&#8217;ll look into more options for minimizing writes, and possibly mounting some or all of the FSes ro. The most promising reference I&#8217;ve found so far is <a href="http://michiel.vanbaak.info/soekrisobsdcarp.htm#obsd">Michiel van Baak&#8217;s&nbsp;guide</a>.</li>
<li>What style of installation? Having serial access seems like a much better idea than just blindly booting <span class="caps">CF</span> cards, for troubleshooting purposes if nothing else. This also flows from the previous question, if I&#8217;d settled on a <a href="http://www.nmedia.net/flashdist/">flashdist</a> type approach, I&#8217;d be writing via a <span class="caps">CF</span> card. As it was, I got a keyspan <span class="caps">USB</span>-to-serial connector (drivers for <span class="caps">OS</span> X and linux!) <span class="amp">&amp;</span> a null modem, and talked to the 4501 via <code>screen /dev/cu.KeySerial1 19200</code> from my laptop. I then booted the Soekris from a convenient Debian server, with some helpful tips from&nbsp;<a href="http://michiel.vanbaak.info/soekrisobsdcarp.htm#obsdinstall">here</a>.</li>
</ol>
<p>Stumbling blocks I ran&nbsp;into:</p>
<ul>
<li>The whole <span class="caps">TFTP</span> booting situation was tricky due to a missing &#8216;next-server&#8217; directive in my dhcpd conf file, which I fixed thanks to&nbsp;<a href="http://www.mail-archive.com/soekris-tech@lists.soekris.com/msg03015.html">this</a>.</li>
<li>After that, I got hung at
<pre><code>
boot&gt; boot bsd.rd
booting tftp:bsd.rd: 4780308+874136 [52+178240+163973]=0x5b821c
entry point at 0x200120</code></pre>
<p>which was fixed by&nbsp;doing</p>
<pre><code>
boot&gt; set tty com0
boot&gt; stty com0 19200</code></pre>
<p>before booting bsd.rd (thanks to google&#8217;s cache of an mailing list discussion for&nbsp;that).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2008/10/10/openbsd-firewall-on-soekris-4501/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Planning soekris project</title>
		<link>http://slagwerks.com/blog/index.php/2008/06/25/planning-soekris-project/</link>
		<comments>http://slagwerks.com/blog/index.php/2008/06/25/planning-soekris-project/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 13:07:50 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[soekris]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=61</guid>
		<description><![CDATA[In the market for a reliable, cheap, low power firewall, and already familiar with OpenBSD &#38; PF, I&#8217;ve been eying the Soekris line of products. This project looks like it&#8217;ll be just a little more involved than buying something off the shelf, but way more flexible, and have more parts in common with other stuff [...]]]></description>
			<content:encoded><![CDATA[<p>In the market for a reliable, cheap, low power firewall, and already familiar with OpenBSD <span class="amp">&amp;</span> <span class="caps">PF</span>, I&#8217;ve been eying the <a href="https://www.soekris.com/">Soekris</a> line of products. This project looks like it&#8217;ll be just a little more involved than buying <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16833122081">something off the shelf</a>, but way more flexible, and have more parts in common with other stuff I&#8217;m already&nbsp;using.</p>
<p>From my research, it looks like the necessary pieces&nbsp;are:</p>
<ul>
<li><a href="https://www.soekris.com/shop/product_info.php?products_id=75">Soekris 4501 <span class="amp">&amp;</span> case</a> -&nbsp;$173</li>
<li><a href="https://www.soekris.com/shop/product_info.php?products_id=131">power supply</a> -&nbsp;$11</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820171353">2 <span class="caps">GB</span> SanDisk <span class="caps">CF</span></a> -&nbsp;$26</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820401803"><span class="caps">USB</span> card reader</a> - $12 (to write to the <span class="caps">CF</span> card,&nbsp;naturally)</li>
<li><a href="http://www.amazon.com/Cables-Go-26886-Serial-Adapter/dp/B000067RVJ/ref=pd_bxgy_e_text_b">Null Modem <span class="amp">&amp;</span> <span class="caps">USB</span> &lt;-&gt; <span class="caps">DB9</span> cable</a> - $27 (no hardware with <span class="caps">DB9</span>&nbsp;around)</li>
</ul>
<p>So, for about $250 + some shipping, and a bit of fiddling around time, this could be a pretty robust solution. I&#8217;m not sure I&#8217;d care to work out all the installation and configuration details myself, but there are <a href="http://michiel.vanbaak.info/soekrisobsdcarp.htm">a couple</a> <a href="http://glozer.net/soekris/soekris.html">guides</a> to getting everything up <span class="amp">&amp;</span> running. I&#8217;ll certainly add my own notes if I go through with&nbsp;this.</p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2008/06/25/planning-soekris-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
