Backtrack:  
 
by lunarg on February 9th 2010, at 23:36
function
My internet router/firewall
manufacturer
Bought it at Mini-ITX.
named after
Sil, from the movie Species.
date of commissioning
April 2009
last current system specs
CPU: VIA Eden 1Ghz ; RAM: 1 GB DDR2-533 ; HDD: 4 GB CompactFlash ; NIC: 2x Agere ET-131x Gbit, 4x Realtek 8139 10/100 ; OS: pfSense v1.2.3 (Embedded)
the story

I found this little baby on Mini-ITX/. It's an embedded ITX platform for industrial routers and internet gateways, based on a VIA chipset (which is x86, btw). What's there not to like?
Before this one, I had a Linksys WRT54GL from work, flashed with OpenWRT and a site-to-site VPN on it. But because of the limited hardware and extensibility, there was not much room for anything more than that. As I found the hardware for Sil (thanks to JCM-Concepts), it was ideal for a little bit more. Okay, I would lose the built-in wireless, but I could easily switch to my old WAP54G if needed.

As for an OS, I didn't know of anything to my liking that was prepared for embedded systems. They were either as limited as OpenWRT, or lacked some other things.
So I started working on modifying a Debian Lenny x86 so it would keep its /etc and /var partitions in RAM, so logging and such would not wear down the CF card. To attain this, I modified the initramfs scripts so they would be using aufs to overlay a read-only file system with partitions in RAM. Modifications would have to be made to the read-only file systems (which would then be mounted read/write during reconfiguration). Logging would be written to ramdisk, and thus, not wear out the CF. This was a bit of tweaking, but in fact, worked rather well. I installed OpenVPN, Shorewall to set up netfilter, and a bunch of other software I needed, and that was that.

Later on, I lended out my WAP54G, and got an Airport Extreme in its place, which is, while a bit more expensive, the best access point I've ever seen, both in performance as well as functionality (it can act as an access point, a wireless router, a repeater, print-server, ...), and ease of configuration.

Of course, updating was a hassle, and changing configuration required some effort as well. So, I started looking for an alternative, but still came up empty.
Then, a collegue at work introduced me with pfSense, a firewall "appliance", based on FreeBSD. It has an install for harddisks, and even better, a version for embedded systems.

It didn't take long to decide: after proper testing on a machine at work, I opted to install pfSense Embedded on my router. A bit unfortunately, the embedded installer did not work properly, as it was targeted for Soekris boards, which are also x86 but are properly configured with a serial port, as they have no keyboard or VGA. However, not really a problem, as there's an unofficial way to get a full installation to act as an embedded one, without the loss of VGA and keyboard, but with the gain of embedded (and thus, no wear on the CF). Installing it this way was a true success. I finally have a properly running firewall appliance, with the power of FreeBSD and all its goodness.

/media/gallery/2c70adaa14ae316546e55ea43260f9af/5556306294ab97ffaa5c6a795a5964ae.JPG
Sil's rear
JPEG · 2010-02-13 15:02
/media/gallery/2c70adaa14ae316546e55ea43260f9af/11c85663e6eefcc3636e09e5e0293b73.JPG
Front panel
JPEG · 2010-02-11 21:36
/media/gallery/2c70adaa14ae316546e55ea43260f9af/4f30a5e622b51859fd25ea17892c4905.JPG
Side-look
JPEG · 2010-02-11 21:36
/media/gallery/2c70adaa14ae316546e55ea43260f9af/8e6e0962e1c744ccefba92817200f336.JPG
Internals
JPEG · 2010-02-11 21:35
/media/gallery/2c70adaa14ae316546e55ea43260f9af/fde3a5190d64eea4f9752a5d09228ecd.JPG
Special-sized DDR2 RAM
JPEG · 2010-02-11 21:32
 
 
« September 2010»
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
2627282930  
 
Links
 
Quote
« If the batteries of a TV remote run out, why do we press the buttons so much harder? »