<?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>Fubra &#187; Apple</title>
	<atom:link href="http://www.fubra.com/blog/tag/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fubra.com</link>
	<description>Focused on you</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:38:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Howto: Setup a Mac Mini as a BGP Router</title>
		<link>http://www.fubra.com/blog/2007/10/19/howto-setup-a-mac-mini-as-a-bgp-router/</link>
		<comments>http://www.fubra.com/blog/2007/10/19/howto-setup-a-mac-mini-as-a-bgp-router/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 09:58:00 +0000</pubDate>
		<dc:creator>Mark Sutton</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[BGP]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[LINX]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac Mini]]></category>
		<category><![CDATA[Router]]></category>

		<guid isPermaLink="false">http://www.fubra.com/blog/2007/10/howto-setup-a-mac-mini-as-a-bgp-router/</guid>
		<description><![CDATA[Thinking Differently&#8230; An update on our Mac Mini Routers at LINX We have been quiet...]]></description>
			<content:encoded><![CDATA[<p><em>Thinking Differently&#8230; An update on our Mac Mini Routers at LINX</em></p>
<p>We have been quiet for a while on the subject of the mac minis we installed into <a href="https://www.linx.net/">LINX</a> at Telehouse several months ago&#8230;</p>
<p>You may remember the <a href="http://www.fubra.com/blog/2007/04/first-mac-mini-bgp-routers-on-worlds.html">previous article</a>, basically we are using a pair of Mac Mini computers to connect our hosting platform to the LINX Internet exchange in London.</p>
<p><a href="http://www.fubra.com/blog/uploaded_images/3macminis-756319.jpg"><img style="margin: 0px auto 10px;text-align: center;cursor: pointer" src="http://www.fubra.com/blog/uploaded_images/3macminis-756317.jpg" border="0" alt="" /></a></p>
<p><span id="more-201"></span></p>
<p>Having a connection to LINX enables us to get much closer to our end users and to our primary content providers, meaning our information moves faster and at lower cost.</p>
<p>Our decision to use the Mac Minis as routers was based on a combination of economic factors. Compared with the typical <a href="http://www.cisco.com/en/US/products/hw/routers/ps341/index.html">Cisco 7200</a> or <a href="http://www.juniper.net/products_and_services/m_series_routing_portfolio/index.html">Juniper M-series</a> routers, the Minis use less space and a fraction of the power whilst providing a massive 2GB of RAM for routing tables, a Core2 DUO 1.83GHz CPU and Gigabit network interface for a <span style="font-style: italic">tiny</span> fraction of the cost.</p>
<p>Whilst some old-school network purists might have their own opinion on software routers, we have used Linux based routers at our edge and core for over four years now with no issues at all and saved tens of thousands of pounds in routing hardware. So far, packet-for-packet the Minis have performed every bit as well as our 1u rackmount routers in use at our less power constrained sites.</p>
<p>Now that the initial setup is completed, I have been asked to into go more detail about the system and how we solved the various issues encountered along the way. And there have been many issues to solve, mainly because the Mac Mini wasn&#8217;t really designed for use as a border router.</p>
<p>So first, the hardware issues&#8230;</p>
<h3>Hardware problem 1 &#8211; Booting without a monitor</h3>
<p>The Mac Mini is designed for use as a desktop computer. As such it expects to have a monitor attached &#8211; and somewhat unusually will not boot without one.</p>
<p>To get around this problem we made up some svga dongles as described <a href="http://www.mythic-beasts.com/support/macminicolo_howto.html">here</a> and connected them using the svga-&gt;dvi adapters supplied by Apple.</p>
<p><img style="margin: 0px auto 10px;text-align: center;cursor: pointer" src="http://www.fubra.com/blog/uploaded_images/svga-dongle-parts.jpg" border="0" alt="" /></p>
<p><img style="margin: 0px auto 10px;text-align: center;cursor: pointer" src="http://www.fubra.com/blog/uploaded_images/svga-dongle-assembled.jpg" border="0" alt="" /></p>
<p>Granted, from a purist perspective an svga dongle sticking out of the back does spoil the form of the Mini slightly, but in another way it looks like a chromed exhaust pipe, quite fitting for our little hot-hatch routers!</p>
<p><a href="http://www.fubra.com/blog/uploaded_images/Macmini-749542.jpg"><img style="margin: 0px auto 10px;text-align: center;cursor: pointer" src="http://www.fubra.com/blog/uploaded_images/Macmini-749531.jpg" border="0" alt="" /></a></p>
<h3>Hardware problem 2 &#8211; Automatic power-on</h3>
<p>The next hardware problem encountered was how to make the minis boot automatically after a power cut/cycle. Fortunately this was also figured out quite easily, it was simply a case of adding the following line early in the boot process:</p>
<blockquote>
<pre>  # setpci -s 0:1f.0 0xa4.b=0</pre>
</blockquote>
<h3>Hardware problem 3 &#8211; complex routing on a single network interface</h3>
<p>The final hardware problem &#8211; well not really a problem, but something I often get asked about &#8211; is how the networking works.  The Mini has just one network card and most people think of a router as having more than one physical network interface.</p>
<p>However, by installing a decent &#8216;managed&#8217; network switch between our physical network connections and the router, we are able to use VLAN technology (802.1q VLAN Tagging to be precise) to provide multiple secure &#8216;virtual&#8217; network connections to Linux.</p>
<p><a href="http://www.fubra.com/blog/uploaded_images/fubravlanrouter-large.png"><img style="margin: 0px auto 10px;text-align: center;cursor: pointer" src="http://www.fubra.com/blog/uploaded_images/fubravlanrouter-small.png" border="0" alt="" /></a></p>
<p>Problem solved.  Next, software and driver issues.</p>
<p>We run Ubuntu-Server 7.04 as the operating system on the Minis. For those who aren&#8217;t in the know yet, Ubuntu is one of the leading Linux software distributions. Fubra is no stranger to Linux with more than 150 Fedora, Centos and Ubuntu Linux systems deployed across the network as workstations, web servers, email servers, databases and routers.</p>
<h3>Software problem 1 &#8211; Dodgy ethernet drivers&#8230;</h3>
<p>Probably the biggest problem we had with the Minis was getting the network cards to remain stable under heavy load. The culprit in this case was what appears to be the buggy (aka &#8220;experimental&#8221; in kernel speak <img src='http://www.fubra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  SKY2 network card driver supplied in the Linux kernel.</p>
<p>In the end we decided to stop using the SKY2 driver altogether until it is more stable. Instead we chose to use the Marvell supplied driver which can be found <a href="http://www.marvell.com/drivers/driverDisplay.do?dId=153&amp;pId=36">here</a>. Since switching to the Marvell driver the network card has remained rock solid and we have had no problems or device lockups at all.</p>
<h3>Software problem 2 &#8211; Connecting to the Internet. Oh yeah, and support for md5 passwords&#8230;</h3>
<p>For most people, connecting to the Internet means subscribing to a broadband service, which typically provides a single route out to the Internet at between 2 and 20Mb/s. As a hosting company with a lot of high-traffic websites, we have multiple connections to the Internet running at between 100 and 1000Mb/s, enabling us to handle a lot of simultaneous visitors without slowing down.</p>
<p>The other main reason for having multiple connections is that we can survive ISP failures on our network, but implementing this level of protection requires another software protocol running on the router called Border Gateway Protocol, or BGP.</p>
<p>BGP is like a route-planning system for the Internet. In much the same way as an in-car, GPS-based navigation system does, it knows of every route between any two given points on the Internet and can calculate which is the best path to take.</p>
<p>The only issue we had with BGP was getting md5 signatures (a common authentication method for BGP routers) to work &#8211; and judging by the <a href="http://www.quagga.net/">Quagga</a> mailing list and <a href="http://wiki.quagga.net/index.php/Main/AddRes">wiki</a> this has been a perennial problem for quite some time.  I won&#8217;t go into too much detail but from what I can tell the resolution was quite typical for an open source project:</p>
<ol>
<li>Some kernel developers suggest md5 signing has no place in the kernel &#8211; it should go into userspace.</li>
<li>Some userspace developers feel the most appropriate place for md5 signing is in the kernel.</li>
<li>Both solutions end up developed&#8230; [<a href="http://www.pilosoft.com/bgpmd5/bgpmd5.pl">bgpmd5.pl</a>] [<a href="http://lists.quagga.net/pipermail/quagga-users/2006-March/006662.html">md5qd</a>] [<a href="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/">Kernel &gt;=2.6.20</a>]</li>
</ol>
<p>In the end we went for the following recipe:</p>
<ul>
<li>Linux Kernel 2.6.22 (compiled from Vanilla sources)</li>
<li>Quagga 0.99.9 plus Solinno patch found <a href="http://www.solinno.co.uk/md5sig/quagga_md5_bsd_linux_v7.diff">here</a></li>
</ul>
<p>Note it took a couple of extra steps not all that well documented anywhere to get quagga to work properly with the in-kernel support for md5 signing:</p>
<p>First, since the patch was taken against quagga-0.99.8, it has to be applied as follows:</p>
<blockquote>
<pre>  # tar -zxvf quagga-0.99.9.tar.gz
  # cd quagga-0.99.9
  # patch -p1 &lt;../quagga_md5_bsd_linux_v7.diff</pre>
</blockquote>
<p>Next, the sources need to be configured with an option to disable IPV6 (note that this disables support for IPV6 in Quagga altogether):</p>
<blockquote>
<pre>  # ./configure --enable-ipv6=no --localstatedir=/var/run/quagga --sysconfdir=/etc/quagga</pre>
</blockquote>
<p>To enable the md5 support provided by the Solinno patch, an extra line should be added to config.h before compiling and installing:</p>
<blockquote>
<pre>  # echo "#define HAVE_TCP_MD5SIG" &gt;&gt;config.h
  # make &amp;&amp; make install</pre>
</blockquote>
<p>I&#8217;d like to thank all the guys on the Quagga mailing list who have worked on the md5 problem over the last couple of years.</p>
<p>Having used both of the user-space solutions in production (bgpmd5.pl, md5qd), I can honestly say that the in-kernel method seems to be far more reliable once you get it working and &#8220;just feels right&#8221;.</p>
<p>Plus a special shout to Dunc from <a href="http://www.thebunker.net/">The Bunker</a> who has been working on the same bgp md5 problems for just about as long as I have <img src='http://www.fubra.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h3>So how fast will our little hot-hatches go?</h3>
<p>To be fair, I&#8217;m not yet 100% sure what we can expect from our Mini routers but the bottom line is, with a 1.8GHz processor, 2GB of ram for holding large routing tables, a Gigabit network interface and a liberal sprinkling of kernel tweaks I fully expect the routers to handle several hundred Megabits per second (and yes, before you shout at me I know &#8211; its really about packets per second, not Megabits!).</p>
<p>Hopefully we&#8217;ll get the opportunity to fully test some Minis under lab conditions to get some real numbers. When we do, I&#8217;ll be sure to post the results in a subsequent article.</p>
<p>I&#8217;m convinced that one day we will have to invest in something a little more substantial, after all a hot hatch is great but it doesn&#8217;t have enough room for four kids and a pram.</p>
<p>Until then we&#8217;ll enjoy the lower fuel consumption and lower purchase cost of our Mac Minis.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fubra.com/blog/2007/10/19/howto-setup-a-mac-mini-as-a-bgp-router/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First Mac Mini BGP routers on world&#039;s largest Internet exchange</title>
		<link>http://www.fubra.com/blog/2007/04/26/first-mac-mini-bgp-routers-on-worlds-largest-internet-exchange/</link>
		<comments>http://www.fubra.com/blog/2007/04/26/first-mac-mini-bgp-routers-on-worlds-largest-internet-exchange/#comments</comments>
		<pubDate>Thu, 26 Apr 2007 12:32:00 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[BGP]]></category>
		<category><![CDATA[LINX]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac Mini]]></category>

		<guid isPermaLink="false">http://www.fubra.com/blog/2007/04/first-mac-mini-bgp-routers-on-worlds-largest-internet-exchange/</guid>
		<description><![CDATA[We think this could be a world&#8217;s first: Forget Cisco or Juniper, yesterday we hooked...]]></description>
			<content:encoded><![CDATA[<p>We think this could be a world&#8217;s first: Forget Cisco or Juniper, yesterday we hooked up two Mac Mini boxes running <a href="http://www.quagga.net/">Quagga</a> in to the <a href="http://www.linx.net/www_public/about">London INternet eXchange (LINX)</a> to act as <a href="http://en.wikipedia.org/wiki/Border_Gateway_Protocol">BGP</a> border routers for the Fubra Network.</p>
<p>LINX handles 95% of total UK Internet traffic, and as their newest members we had to come up with a clever solution to keep costs low and speeds high. Utilitising <strong>just 3U of rackspace</strong>, we were able to install 2 low latency HP gigabit switches and a pair of 1.83 GHz Mac Minis with 2 GB Ram, giving us fully redundant connections to the largest Internet Exchange Point in the world.</p>
<p><span id="more-210"></span></p>
<p>Fulfilling our environmental obligations, <strong>the total power draw of this setup is less than 2 ordinary household lightbulbs (&lt; 120W)</strong>.</p>
<div id="attachment_440" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-440" src="/wp-content/uploads/2007/04/mac-mini1-300x225.jpg" alt="Our 2 mac mini boxes and HP switches in the LINK rack" width="300" height="225" /><p class="wp-caption-text">Our 2 mac mini boxes and HP switches in the LINK rack</p></div>
<div id="attachment_441" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-441" src="/wp-content/uploads/2007/04/mac-mini2-300x225.jpg" alt="Another mac mini router picture" width="300" height="225" /><p class="wp-caption-text">Another mac mini router picture</p></div>
<div id="attachment_442" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-442" src="/wp-content/uploads/2007/04/mac-mini3-300x225.jpg" alt="mac-mini3" width="300" height="225" /><p class="wp-caption-text">Another mac mini router picture</p></div>
<p>Our engineers, Nigel Marett and Mark Sutton, who installed the kit said the contrast between our tiny Mac Minis and the existing telco router kit that other people were using was striking.</p>
<p>Nigel commented, <span style="font-style:italic">&#8220;It is kinda a strange sight mate: you walk into that room, and there is a Juniper m120 and another even larger (half rack) router, one of them has an OC48 (STM-15) and three gbit fibres coming out of it, the other one a whole bunch of fibre, and then you get to our rack and there&#8217;s two mini&#8217;s!&#8221;</span></p>
<p><strong>Background</strong></p>
<p>Recently we have been re-designing our core hosting network and IP connectivity, and as part of this overhaul we decided to join LINX. For those of you who don&#8217;t know, an Internet Exchange is where a bunch of ISPs and content providers get together to swap traffic. This saves money and improves network performance as you don&#8217;t have to use a 3rd party transit provider to carry data on your behalf.</p>
<p>Since there is a shortage of power in most London data centres, and space is at a premium, our solution would have to work within tight constraints. After searching high and low for suitable dedicated hardware routers, it was clear that Cisco, Juniper and Extreme Networks&#8217; offerings were all too big and power hungry for the job. Someone said &#8220;what about a Mac Mini running Quagga?&#8221; and the rest, as they say, is history.</p>
<p>Currently our total traffic is at 42Mbps, and we hope that <a href="http://www.apple.com/macmini/specs.html">Mac Minis</a> will cope with anything up to several hundred megabits per second on their gigabit interfaces.</p>
<p><strong>Setup</strong></p>
<p>If you want to make your own iRouter setup, you will need the following:</p>
<ul>
<li>2 x HP Procurve 1800 24G Switches</li>
<li>2 x 1.83GHz Intel Core Duo Mac Minis (with 2Gb Memory upgrade)</li>
<li>Ubuntu 7.04 Feisty Fawn (Server Edition) + OpenSSH + Quagga</li>
<li>2 x 100Mbps connections to LINX (eXtreme LAN and Foundry LAN) or similar</li>
</ul>
<p><strong>Fixes</strong></p>
<p>If you plan on using a Mac Mini as a server with Ubuntu 7.04, you need to add the following to the end of your rc.local</p>
<blockquote>
<pre>setpci -d 8086:27b9 0xa4.b=0</pre>
</blockquote>
<p>This will fix the power restore status, by telling the EFI not to reset the power flag on reboot. The machine will then auto-power on after a power cut.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fubra.com/blog/2007/04/26/first-mac-mini-bgp-routers-on-worlds-largest-internet-exchange/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fubra announces InsanelyMac acquisition</title>
		<link>http://www.fubra.com/blog/2007/03/29/fubra-announces-insanelymac-acquisition/</link>
		<comments>http://www.fubra.com/blog/2007/03/29/fubra-announces-insanelymac-acquisition/#comments</comments>
		<pubDate>Thu, 29 Mar 2007 18:22:00 +0000</pubDate>
		<dc:creator>Brendan</dc:creator>
				<category><![CDATA[House Price Crash]]></category>
		<category><![CDATA[Insanely Mac]]></category>
		<category><![CDATA[Acquire]]></category>
		<category><![CDATA[Advertising]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.fubra.com/blog/2007/03/fubra-announces-insanelymac-acquisition/</guid>
		<description><![CDATA[We are pleased to announce that we have acquired a new web site InsanelyMac.com. The...]]></description>
			<content:encoded><![CDATA[<p>We are pleased to announce that we have acquired a new web site <a href="http://www.insanelymac.com">InsanelyMac.com</a>. The site is a leading discussion forum and news site which discusses a range of apple related products and software.</p>
<p>It was acquired following the successful acquisition of HousePriceCrash.co.uk last year another forum web site which discusses the possibility of house prices falling.</p>
<p>As a business traditionally Fubra&#8217;s growth has come purely organically. But we have spent more than a year working hard on perfecting our internal systems and processes as well as our hosting platform and advertising systems. Now we are ready to step up our growth levels both organically and via acquisition. We are excited about the prospects for both methods of growth.</p>
<p>The purchase of <a href="http://www.housepricecrash.co.uk">HousePriceCrash.co.uk</a> has given us confidence, that we can successfully integrate a community web site into our network of web sites and make improvements to it. Those improvements have pleased the community and enhanced our traffic and earnings growth from the web site.</p>
<p>As Fubra continues to grow we will look for more web sites to integrate into our portfolio that are priced at sensible earnings multiples. The sites will need to present the opportunity to better monitise the existing traffic they have and also to use our other internal talent and platforms to grow the current traffic.</p>
<p>InsanelyMac.com is a great addtion with over 40,000 visitor per day and 14% of those UK based visits and 60% US based. It adds substantially to our portfolio of sites and is a rare find. Anyone wishing to target this technology savvy audience should contact Brendan on our team page about the options available.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fubra.com/blog/2007/03/29/fubra-announces-insanelymac-acquisition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

