<?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>Static in the Ether &#187; Networking</title>
	<atom:link href="http://lair.moria.org/blog/archives/category/networking/feed" rel="self" type="application/rss+xml" />
	<link>http://lair.moria.org/blog</link>
	<description>Unix, Information Security &#38; Systems Administration</description>
	<lastBuildDate>Wed, 11 Nov 2009 09:14:29 +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>Operating Systems seen on an African Network Telescope</title>
		<link>http://lair.moria.org/blog/archives/277</link>
		<comments>http://lair.moria.org/blog/archives/277#comments</comments>
		<pubDate>Tue, 11 Aug 2009 10:01:44 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[PhD]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/archives/277</guid>
		<description><![CDATA[I have been processing some of my network telescope data collected over the last four and a bit years. During this time I have classified a little over 3.2 million IP addresses by operating system making use of p0f The results after the latest updates are: OS Family % Windows 98.84258 Linux 0.811703 FreeBSD 0.170989 [...]]]></description>
			<content:encoded><![CDATA[<p>I have been processing some of my network telescope data collected over the last four and a bit years. During this time I have classified a little over 3.2 million IP addresses by operating system making use of p0f</p>
<p>The results after the latest updates are:</p>
<table style="border-collapse: collapse; height: 169px;" border="0" cellspacing="0" cellpadding="0" width="329">
<col style="width: 48pt;" span="3" width="64"></col>
<tbody>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt; width: 48pt;" width="64" height="20"><strong>OS Family<br />
</strong></td>
<td style="width: 48pt;" width="64"></td>
<td style="width: 48pt;" width="64"><strong>%</strong></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Windows</td>
<td></td>
<td align="right">98.84258</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Linux</td>
<td></td>
<td align="right">0.811703</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">FreeBSD</td>
<td></td>
<td align="right">0.170989</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" colspan="2" height="20">Proxyblocker</td>
<td align="right">0.078751</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">NetBSD</td>
<td></td>
<td align="right">0.030808</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">MacOS</td>
<td></td>
<td align="right">0.02954</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Other</td>
<td></td>
<td align="right">0.035633</td>
</tr>
</tbody>
</table>
<p>Windows is significant, although there has been a distinct scew towards this OS due to Conficker propagation, its still worth noting that prior to the last 7 months being imported data though December 2008 showed windows only 0.8% down on the values above, roughly evenly split between positions 2 &amp; 3.. At the bottom end of the scale some interesting artifacts.</p>
<table style="border-collapse: collapse; height: 381px;" border="0" cellspacing="0" cellpadding="0" width="223">
<col style="width: 71pt;" width="94"></col>
<col style="width: 48pt;" width="64"></col>
<tbody>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt; width: 71pt;" width="94" height="20"><strong>OS Family</strong></td>
<td style="width: 48pt;" width="64"><strong>Count</strong></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20"></td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">NMAP</td>
<td align="right">151</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">OpenBSD</td>
<td align="right">53</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">CacheFlow</td>
<td align="right">46</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Cisco</td>
<td align="right">42</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">SunOS</td>
<td align="right">27</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Redline</td>
<td align="right">27</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Google</td>
<td align="right">16</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Eagle</td>
<td align="right">11</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">HP</td>
<td align="right">11</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">PocketPC</td>
<td align="right">11</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Checkpoint</td>
<td align="right">10</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">ExtremeWare</td>
<td align="right">5</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">BSD</td>
<td align="right">3</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">Tru</td>
<td align="right">1</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">NewtonOS</td>
<td align="right">1</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">NetCache</td>
<td align="right">1</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20">SCO</td>
<td align="right">1</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/277/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting Internet Barometer Data</title>
		<link>http://lair.moria.org/blog/archives/214</link>
		<comments>http://lair.moria.org/blog/archives/214#comments</comments>
		<pubDate>Tue, 30 Jun 2009 23:20:42 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Security Tools]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=214</guid>
		<description><![CDATA[My first foray into the tag soup that is  XSL and XSLT has been to turn the XML outputs from the InterNet Barometer System as discussed previously into plain text output which I can use more easily for comparing with some of my other data sources. While A cursory browse cannot find any Terms &#38; [...]]]></description>
			<content:encoded><![CDATA[<p>My first foray into the tag soup that is  XSL and XSLT  has been to turn the XML outputs from the InterNet Barometer System as <a href="http://lair.moria.org/blog/archives/205" target="_self">discussed previously</a> into plain text output which I can use more easily for comparing with some of my other data sources. While A cursory browse cannot find any Terms &amp; conditions for the use of this data, I think I&#8217;m on safe ground given that all I&#8217;m doing is processing the same xml that is consumed by the flash objects and its not for any kind of commercial use. After hunting around for tools, and wasting a pile of bandwidth on &#8220;enterprise editions&#8221; I ended up constructing this based on some tutorials at w3c.org  using good old <a href="http://vim.org/">vim</a>. I was very tempted to just revert back to sed &amp; awk, or even try my hand at python&#8217;s parsing, but decided that I may as well &#8216;do it right&#8217;. The result of a few hours work this evening while watching a filesystem rebuild is shown below:<br />
<code><br />
&lt;?xml version='1.0'?&gt;<br />
&lt;xsl:stylesheet version="1.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;<br />
&lt;!-- Barry Irwin bvi@moria.org XSL format for translating XML from interoute Barometer output --&gt;<br />
&lt;xsl:output method="text"/&gt;<br />
&lt;xsl:strip-space elements="*"/&gt;<br />
&lt;xsl:template match="area"&gt;<br />
&lt;xsl:value-of select="../../allData/lastUpdated"/&gt;<br />
&lt;xsl:text&gt;,&lt;/xsl:text&gt;<br />
&lt;xsl:value-of select="@mc_name"/&gt;<br />
&lt;xsl:text&gt;,&lt;/xsl:text&gt;<br />
&lt;xsl:value-of select="@title"/&gt;<br />
&lt;xsl:text&gt;,&lt;/xsl:text&gt;<br />
&lt;xsl:value-of select="@value"/&gt;<br />
&lt;xsl:text&gt;,&lt;/xsl:text&gt;<br />
&lt;xsl:value-of select="@colour"/&gt;<br />
&lt;xsl:text&gt;<br />
&lt;/xsl:text&gt;    &lt;/xsl:template&gt;<br />
&lt;xsl:template match="allData"&gt;<br />
&lt;/xsl:template&gt;<br />
</code><br />
This through the magic of <a title="xsltproc command line processor form libxslt" href="http://xmlsoft.org/XSLT/xsltproc2.html">xsltproc</a> produces a nice plain text output:</p>
<p><code><tt>xsltproc map2.xsl asia.xml</tt></code></p>
<p>given the input from the <a href="http://barometer.interoute.com/barom_attacks_main.php#asia_title" target="_blank">Asia attack  graph</a> produces:</p>
<p><code>30-06-2009 05:00:17 GMT,RU,Russia,15387,green<br />
30-06-2009 05:00:17 GMT,TR,Turkey,7137,green<br />
30-06-2009 05:00:17 GMT,CN,China,2468,green<br />
30-06-2009 05:00:17 GMT,MY,Malaysia,4158,green<br />
30-06-2009 05:00:17 GMT,IN,India,2631,green<br />
30-06-2009 05:00:17 GMT,TH,Thailand,1823,green</code></p>
<p>While not the most elegant code, its gets done what I need, and is easily extensible enough to be able to  transform to other formats suitable for DB import. I&#8217;ll need to monitor data over the next couple of days to get an idea as to how the counters used are actually operating. Once that has been established I can star doing some meaningful comparisons.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/214/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Mafia take on the OSI stack</title>
		<link>http://lair.moria.org/blog/archives/163</link>
		<comments>http://lair.moria.org/blog/archives/163#comments</comments>
		<pubDate>Wed, 29 Oct 2008 08:29:39 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Web Randomness]]></category>
		<category><![CDATA[OSI]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=163</guid>
		<description><![CDATA[Laura A. Robinson has a nice piece describing the traditional OSI stack in terms of the negotiation of a meeting between two mafia a Dons.  While probably not for the technically minded ( I&#8217;m sure most people in the networking and security fields have their own little mnemonics to remember the PDNTSPA acronym), I think [...]]]></description>
			<content:encoded><![CDATA[<p>Laura A. Robinson has a nice <a title="OSI stack explained in Mafia terms" href="http://www.reskit.net/MCTFAQS/The%20OSI%20Model%20as%20explained%20by%20Laura.htm">piece</a> describing the traditional OSI stack in terms of the negotiation of a meeting between two mafia a Dons.  While probably not for the technically minded ( I&#8217;m sure most people in the networking and security fields have their own little mnemonics to remember the <acronym title="OSI STACK: Physical Data-Link Network, Transport, Session Presentation Application">PDNTSPA</acronym> acronym), I think it may serve as a useful example when illustrating things to people who have at least seen the Godfather trilogy or the Sopranos.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/163/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>C64 Web Server</title>
		<link>http://lair.moria.org/blog/archives/134</link>
		<comments>http://lair.moria.org/blog/archives/134#comments</comments>
		<pubDate>Thu, 23 Oct 2008 21:11:45 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Old Hardware]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=134</guid>
		<description><![CDATA[I stumbled across this page where Shane Wood is is running a full Webserver off his 1982 Commodore 64.  Maybe there really is the Use for my C64 that&#8217;s sitting in my garage. I game across this via a link from the Contiki Project who has also jsut announced the availability of their uIPv6 Stack [...]]]></description>
			<content:encoded><![CDATA[<p>I stumbled across <a href="http://www.c64web.com/">this page</a> where Shane Wood is is running a full Webserver off his 1982 <a href="http://en.wikipedia.org/wiki/Commodore_64">Commodore 64</a>.  Maybe there really is the Use for my C64 that&#8217;s sitting in my garage.</p>
<p>I game across this via a link from the <a href="http://www.sics.se/contiki/">Contiki Project</a> who has also jsut announced the availability of their <a href="http://www.sics.se/contiki/current-events/uipv6-contiki-is-ipv6-ready.html">uIPv6 Stack</a> that has passed all the standard conformance tests. Ipv6 has now truely come to the world of constrianed memory devices. This is definatley something I want to play with post PhD</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/134/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Security and Networks Research Group (SNRG) Site launch</title>
		<link>http://lair.moria.org/blog/archives/129</link>
		<comments>http://lair.moria.org/blog/archives/129#comments</comments>
		<pubDate>Tue, 02 Sep 2008 09:26:39 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=129</guid>
		<description><![CDATA[After some preparation and navigation of technical SNAFUs the new website for the Security and Networks research Group (SNRG) that I run in the Rhodes CS Department is up and running. While content is still a little thin on the ground, it does represent a major step forward in actually providing a point of collation [...]]]></description>
			<content:encoded><![CDATA[<p>After some preparation and navigation of technical <a title="Situation normal....." href="http://en.wikipedia.org/wiki/SNAFU">SNAFUs</a> the new website for the S<a title="Security and Networks Research at Rhodes University" href="http://snrg.ict.ru.ac.za/">ecurity and Networks research Group (SNRG)</a> that I run in the Rhodes <a href="http://www.cs.ru.ac.za/">CS Department</a> is up and running.</p>
<p>While content is still a little thin on the ground, it does represent a major step forward in actually providing a point of collation of project information under our own control.  A large task to be performed next term is to actually backfill with old project information as we can get it off CD.</p>
<p>More as content actually develops.</p>
<p><strong>Update</strong>: SNAFU n+1  the vhost is being denied access from outside of Rhodes.</p>
<p><strong>Update:</strong> All fixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/129/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Verifying Smime content with openSSL</title>
		<link>http://lair.moria.org/blog/archives/123</link>
		<comments>http://lair.moria.org/blog/archives/123#comments</comments>
		<pubDate>Mon, 25 Aug 2008 16:51:03 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[mail security]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[smime]]></category>
		<category><![CDATA[x509]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=123</guid>
		<description><![CDATA[I had an interesting question posed ot me today by Dominic who asked me to verify whether his all new Digital certificate was correctly being used for signing mail. Thunderbird sadly complained that the signature was invalid, which was unexpected, and that the issuer was unknown ( expected since it comes form a private hierarchy.)  [...]]]></description>
			<content:encoded><![CDATA[<p>I had an interesting question posed ot me today by <a title="Dominic White " href="http://singe.za.net/">Domini</a>c who asked me to verify whether his all new Digital certificate was correctly being used for signing mail. Thunderbird sadly complained that the signature was invalid, which was unexpected, and that the issuer was unknown ( expected since it comes form a private hierarchy.)  The question then lead to where did the problem lie?</p>
<p>My gut feel was that it was the disclaimer being inserted by an intermediary gateway ( one has to love corpmail).  Setting about proving this was the hard part.  The first issue at hand wa to actually extract the certificates so I could play with the verification.  <a href="https://addons.mozilla.org/en-US/firefox/addon/1964/">Cert Viewer Plus</a> for Thunderbird made this part a dream. Creating a modified version of the signed message was a little bit more problematic.</p>
<p>Trusting the command line, I started hunting around for details on OpenSSL support for <a href="http://www.ietf.org/rfc/rfc2633.txt">SMIME</a>, which it has.  OpenSSL needs a full CA path for being able to verify SMIME signed messages. One can obtain this from various places ( such as exporting form your browser) but in a case like this where a private hierarchy was being used, its enough to just make used of a somewhat smaller subset contianing only the certificates used in this chain.  These can be extracted using  <a href="https://addons.mozilla.org/en-US/firefox/addon/1964/">Cert Viewer Plus</a>. Alternately some command line magic can be used to extract the PKCS7 formatted embedded certificates out in standard PEM format., using the following command:</p>
<p><code>openssl smime -pk7out -in mail.txt | \<br />
openssl pkcs7 -print_certs &gt; extract.crt</code></p>
<p>Now that we have a certificate chain we can attempt the verify. The extract.crt below can be either from the openssl method above or the Cert Viewer plus PEM dump.<br />
<code>openssl smime -CAfile extract.crt -verify -in mail.txt</code><br />
Now we actually have a more usable error message. Although I really don&#8217;t know why I have such a deep distrust in GUI apps for actually telling me what is wrong.<br />
<code>Verification failure<br />
88175:error:21071065:PKCS7 routines:PKCS7_signatureVerify:digest failure:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/pkcs7/pk7_doit.c:808:<br />
88175:error:21075069:PKCS7 routines:PKCS7_verify:signature failure:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/pkcs7/pk7_smime.c:265:<br />
</code><br />
As suspected the digest filed, which lead to a overall signature failure.  The next step was to see if removing the disclaimer worked.  Repeating on a slightly edited version of the the mail gave the following:</p>
<p><code>openssl smime -CAfile extract.crt -verify -in mail2.txt<br />
...<br />
<em>mail contents deleted</em><br />
...<br />
Verification successful</code></p>
<p>So the original question posed was if the signature system was working correctly which it now was. The differences between the two mail files was checked using diff</p>
<p><code>diff -u mail.txt  mail2.txt<br />
--- mail.txt         Mon Aug 25 18:06:33 2008<br />
+++ mail2.txt      Mon Aug 25 18:08:10 2008<br />
@@ -61,10 +61,6 @@<br />
South Africa<br />
</code><code><br />
-Important Notice: This email is subject to important restrictions, qualifications<br />
and disclaimers ("the Disclaimer") ..that all was one very long line that made<br />
up the corporate disclaimer.....<br />
...<br />
------=_NextPart_000_0048_01C906C7.DB6FB700<br />
Content-Type: application/x-pkcs7-signature;<br />
name="smime.p7s"<br />
</code><br />
From the above the only difference shown is that a mail gateway had added in a extra four lines of disclaimer and white space padding.  The question now evolves as to how to provide the now pretty much ubiquitous organizational disclaimer in outgoing mail in such a way that it doesn&#8217;t trash any cryptographic operations in which the mail is involved.  Ive gone back over mails from a  couple of other people in corporate South Africa that I know , and the problem seems to be widespread.</p>
<p>The solution may be that the disclaimer as such is encapsulated as a separate MIME component, which is what interestingly one university here does ( although it insists on prepending its mime encapsulated HTML disclaimer, which makes for really ugly mail reading!)</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/123/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Firefox 3.0, crashes and bandwidth overload</title>
		<link>http://lair.moria.org/blog/archives/57</link>
		<comments>http://lair.moria.org/blog/archives/57#comments</comments>
		<pubDate>Tue, 17 Jun 2008 19:43:28 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[FireFox 3]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Tenet]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=57</guid>
		<description><![CDATA[Some two and a half hours into the FF3.0 download campaign, and the toll is beginning to show.spreadfirefox.com seems to be refusing connections. While individual mirror sites seem up, it looks like the counts are going via some redirector script. getfirefox.com is however working fine. The impact its having on mirrors seems to be quite [...]]]></description>
			<content:encoded><![CDATA[<p>Some two and a half hours into the FF3.0 download campaign, and the toll is beginning to show.<a href="http://www.spreadfirefox.com/node&amp;id=226100&amp;t=272">spreadfirefox.com</a> seems to be refusing connections. While individual mirror sites seem up, it looks like the counts are going via some redirector script. <a href="http://getfirefox.com">getfirefox.com</a> is however working fine.</p>
<p>The impact its having on mirrors seems to be quite intense. The following two images sow traffic stats from <a href="http://mirror.ac.za/">mirror.ac.za </a>the mirror service run by <a href="http://www.tenet.ac.za/">TENET</a> here in South Africa.<br />
<a title="Total bandwidth from mirror.ac.za nodes" rel="lightbox" href="http://lair.moria.org/blog/wp-content/uploads/2008/06/mirroracza_bandwidth.png"><img class="aligncenter size-medium wp-image-58" title="Mirror.ac.za Bandwidth usage " src="http://lair.moria.org/blog/wp-content/uploads/2008/06/mirroracza_bandwidth.png" alt="" width="300" height="153" /></a></p>
<p><a title="Total bandwidth from mirror.ac.za nodes" rel="lightbox" href="http://lair.moria.org/blog/wp-content/uploads/2008/06/mirroracza_bandwidth_total.png"><img class="aligncenter size-medium wp-image-59" title="Total bandwidth from mirror.ac.za nodes" src="http://lair.moria.org/blog/wp-content/uploads/2008/06/mirroracza_bandwidth_total.png" alt="Total bandwidth form mirror.ac.za nodes" width="311" height="142" /></a></p>
<p><strong>Update:</strong></p>
<p>A <a href="http://downloadcounter.sj.mozilla.com/ ">Firefox 3.0 download counter</a> is now available. 943806 currently averaging some 7000/minute. Some <a href="http://www.alleyinsider.com/2008/6/firefox_3_launches_servers_crash">commentary</a> on the outages, although they seem to have cleared.</p>
<p><a href="http://www.spreadfirefox.com/node&amp;id=226100&amp;t=272"><img title="Download Day - English" src="http://www.spreadfirefox.com/files/images/affiliates_banners/468x60_ddayb_en.png" border="0" alt="Download Day - English" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/57/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Hilbert Release</title>
		<link>http://lair.moria.org/blog/archives/37</link>
		<comments>http://lair.moria.org/blog/archives/37#comments</comments>
		<pubDate>Wed, 04 Jun 2008 07:13:05 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Vizualization]]></category>
		<category><![CDATA[ASN]]></category>
		<category><![CDATA[Hilbert Curve]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Network Telescope]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=37</guid>
		<description><![CDATA[With Nick now in Grahamstown, development on the Hilbert Curve application has progressed well. Version 4.05 has been released around a month after the 2.05 edition previously mentioned, which is heading much closer towards completion. The unix build scripts still need to be integrated, but there has been much improvement. The most noticeable improvements are [...]]]></description>
			<content:encoded><![CDATA[<p>With <a href="http://nick.rucus.net/">Nick</a> now in Grahamstown, development on the Hilbert Curve application has progressed well.  <a href="http://nick.rucus.net/hilbert/">Version 4.05</a> has been released around a month after the 2.05 edition <a href="http://lair.moria.org/blog/archives/11">previously mentioned,</a> which is heading much closer towards completion.  The unix build scripts still need to be integrated, but there has been much improvement.  The most noticeable improvements are in the processing speed new around 90 seconds for a datafile of 53 million Addresses, and its ability to put out some very high res images (4096&#215;4096) when working with higher order curves.  At this resolution we are able to present a single pixel as representing a class C network or in effect 256 individual IP addresses.  The updated release also allows for the application of image overlays when in interactive mode, which can make navigation significantly easier.</p>
<p>A sample of the kind of output is seen below (<a href='http://lair.moria.org/blog/wp-content/uploads/2008/06/asn2008_cache2lg.png'><acronym title="4096x4096 - 990KB">full resolution</acronym> image is <strong>990K</strong></a>) which shows destination IP addresses harvested from the Albany Schools Cache server during January through May 2008:<br/><br />
<a href='http://lair.moria.org/blog/wp-content/uploads/2008/06/asn2008_cache2sm.png' title="ASN Cache Traffic Jan - May 2008"  rel="lightbox"><img src="http://lair.moria.org/blog/wp-content/uploads/2008/06/asn2008_cache2sm.png" alt="" title="ASN Cache Traffic Jan - May 2008" width="297" height="300" class="aligncenter size-medium wp-image-41" /></a><br />
A plot of 53 million packets from the CAIDA telescope project &#8211; 27 Feb 2007 midnight to 6am:<br />
<br/><br />
<a href='http://lair.moria.org/blog/wp-content/uploads/2008/06/caida07-full2_sm.png' title="53 million packets from the CAIDA telescope project - 27 Feb 2007 midnight to 6am" rel="lightbox"><img src="http://lair.moria.org/blog/wp-content/uploads/2008/06/caida07-full2_sm.png" alt="" title="53 million packets from the CAIDA telescope project - 27 Feb 2007 midnight to 6am" width="296" height="300" class="aligncenter size-medium wp-image-43" /></a><br />
<br/><br />
With these higher resolution images available, analysis can be performed at a much finer grained level.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/37/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Usage climbing</title>
		<link>http://lair.moria.org/blog/archives/26</link>
		<comments>http://lair.moria.org/blog/archives/26#comments</comments>
		<pubDate>Sat, 31 May 2008 11:03:32 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[ASN]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[Squid]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=26</guid>
		<description><![CDATA[I spend part of my time providing network management and consulting services to a consortium of local schools &#8211; The Albany Schools Network (ASN). We have spent a significant amount of time over the last three years migrating form an ancient legacy system consisting of a decrepit SparcStation 5, and some ancient old Cisco Routers [...]]]></description>
			<content:encoded><![CDATA[<p>I spend part of my time providing network management and consulting services to a consortium of local schools &#8211; The Albany Schools Network (ASN).  We have spent a significant amount of time over the last three years migrating form an ancient legacy system consisting of a decrepit SparcStation 5, and some ancient old Cisco Routers (<a href="http://www.cisco.com/en/US/products/hw/routers/ps428/index.html">AGS+</a> and  CGS+ &#8211; both of which were <acronym title="End of Life'd">eol&#8217;d</acronym> in 1997)  linked to nominally 33.6Kbit dedicated analog lines.</p>
<p>Thankfully we have come a long way and now boast a healthy modern network with peering at <a href="http://ginx.org.za/" target="_blank"><acronym title="Grahamstown Internet Exchange">GINX</acronym></a>. Early last year saw the introduction of the first of our 1Mbit DSL lines form Internet Solutions, the first real boost of bandwidth available to the schools, and something worthwhile doing since the actual links to the schools had been upgraded.</p>
<p>Looking over some stats I pulled up the following two reports from <a href="http://lightsquid.sf.net/">LightSquid</a> while not the most scientific they convey the massive growth in utilization for the schools.  While these represent the larges of the schools in terms of usage, the grown is pretty similar for all members of the consortium.</p>
<p>The first image is from may last year:<a href="http://lair.moria.org/blog/wp-content/uploads/2008/05/sdp_200705.png" title="Web proxy Utilisation May 2007" rel="lightbox"><br />
<img class="aligncenter size-medium wp-image-27"  src="http://lair.moria.org/blog/wp-content/uploads/2008/05/sdp_200705.png" alt="Web proxy Utilization May 2007" width="300" height="170" /><br />
</a></p>
<p>The second was generated this morning showing a somewhat heavier utilization.  It is worth noting that during this period, the schools link was upgraded from 384Kbit to over a Megabit.</p>
<p><a href="http://lair.moria.org/blog/wp-content/uploads/2008/05/sdp_200805.png" rel="lightbox"   title="Web Proxy Utilization - May 2008"><img class="aligncenter size-medium wp-image-28" title="sdp_200805" src="http://lair.moria.org/blog/wp-content/uploads/2008/05/sdp_200805.png" title="Web Proxy Utilization - May 2008" width="300" height="170"  /></a></p>
<p>I find it extremely gratifying to see these schools making such full use of the resources at hand!</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/26/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gen3 Migration Complete</title>
		<link>http://lair.moria.org/blog/archives/25</link>
		<comments>http://lair.moria.org/blog/archives/25#comments</comments>
		<pubDate>Sat, 31 May 2008 07:45:24 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Rhodes]]></category>
		<category><![CDATA[Seacom]]></category>
		<category><![CDATA[Tenet]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=25</guid>
		<description><![CDATA[After a couple of false starts, Rhodes University has finally transitioned off the older Telkom Provides Gen2 ( although for the last few months we have been using the Telkom commercial Internet Service) to the New TENET Gen3 network being serviced by Neotel, and Internet Solutions. Probably the biggest difference is that TENET now gets [...]]]></description>
			<content:encoded><![CDATA[<p>After a couple of false starts, Rhodes University has finally transitioned off the older Telkom Provides Gen2 ( although for the last few months we have been using the Telkom commercial Internet Service) to the New TENET Gen3 network being serviced by Neotel, and Internet Solutions. Probably the biggest difference is that TENET now gets a Layer 2 service  with the net network rather than the Layer 3 which they previously had.</p>
<p>A almost unnoticeable transition, thanks to the hard work of the Rhodes and Neotel teams.</p>
<p>Before:</p>
<pre>$ traceroute www.google.com
traceroute to www.l.google.com (64.233.183.147)
1  ict.gw.ru.ac.za (146.231.120.1)  0.533 ms  0.370 ms  0.364 ms
2  core-struben.gw.ru.ac.za (146.231.0.2)  0.363 ms  0.212 ms  0.363 ms
3  tenet.gw.ru.ac.za (192.42.99.1)  1.139 ms  1.143 ms  1.141 ms
4  * * *
5  196.43.9.54 (196.43.9.54)  182.751 ms  179.151 ms  189.128 ms
6  83.245.76.221 (83.245.76.221)  184.445 ms  201.326 ms  190.072 ms
7  209.85.252.42 (209.85.252.42)  175.554 ms  176.190 ms  176.808 ms
8  216.239.43.123 (216.239.43.123)  322.346 ms  190.382 ms  221.579 ms
9  72.14.233.79 (72.14.233.79)  191.322 ms
72.14.233.77 (72.14.233.77)  193.961 ms  193.978 ms
10  209.85.249.133 (209.85.249.133)  306.756 ms
216.239.43.30 (216.239.43.30)  194.754 ms
216.239.43.34 (216.239.43.34)  227.038 ms
11  nf-in-f147.google.com (64.233.183.147)  214.869 ms  229.846 ms  221.110 ms</pre>
<p>Currently:</p>
<pre>$ traceroutewww.l.google.com
traceroute to www.l.google.com (64.233.183.147)
 1  ict.gw.ru.ac.za (146.231.120.1)  0.538 ms  0.377 ms  0.376 ms
 2  core-struben.gw.ru.ac.za (146.231.0.2)  0.222 ms  0.382 ms  0.364 ms
 3  tenet.gw.ru.ac.za (192.42.99.1)  1.138 ms  0.988 ms  1.297 ms
 4  unknown.uni.net.za (155.232.145.83)  18.314 ms  16.744 ms  17.523 ms
 5  unknown.uni.net.za (155.232.145.226)  17.519 ms  17.838 ms  16.119 ms
 6  unknown.uni.net.za (196.32.209.25)  193.022 ms  207.077 ms  189.129 ms
 7  ldn-tch-i1-link.telia.net (213.248.79.193)  187.563 ms  188.824 ms  193.184 ms
 8  ldn-b1-link.telia.net (80.91.250.209)  189.126 ms  186.783 ms  190.687 ms
 9  ldn-bb2-link.telia.net (80.91.248.94)  192.086 ms  188.977 ms  188.036 ms
10  adm-bb2-pos6-0-0.telia.net (213.248.65.158)  210.237 ms  197.275 ms  200.360 ms
11  adm-b1-link.telia.net (80.91.252.21)  202.852 ms  197.879 ms  206.444 ms
12  google-ic-126116-adm-b1.c.telia.net (80.239.193.182)  203.944 ms  242.015 ms  205.974 ms
13  209.85.251.12 (209.85.251.12)  233.273 ms
    209.85.251.14 (209.85.251.14)  208.804 ms  206.761 ms
14  209.85.248.79 (209.85.248.79)  223.135 ms  210.032 ms  209.098 ms
15  * 72.14.233.79 (72.14.233.79)  230.516 ms  226.125 ms
16  209.85.249.129 (209.85.249.129)  243.568 ms
    216.239.43.34 (216.239.43.34)  230.785 ms
    209.85.249.129 (209.85.249.129)  210.033 ms
17  nf-in-f147.google.com (64.233.183.147)  221.588 ms  210.659 ms  211.602 ms</pre>
<p>So a few more hops but much the same. Now to sit tight for the next 13 months until the SeaCom cable hopefully comes onstream!</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/25/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stable builds</title>
		<link>http://lair.moria.org/blog/archives/18</link>
		<comments>http://lair.moria.org/blog/archives/18#comments</comments>
		<pubDate>Wed, 21 May 2008 21:37:02 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[uptime]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=18</guid>
		<description><![CDATA[I was cleaning out some old notes the other day and came across a pile of work relating to the development of some custom FreeBSD firewall solutions that Neil and I developed while at Itouch Labs, many years back in 2002. The majority of the code is completely out dated, given these were based on [...]]]></description>
			<content:encoded><![CDATA[<p>I was cleaning out some old notes the other day and came across a pile of work relating to the development of some custom FreeBSD firewall solutions that <a href="http://nxsy.org">Neil</a> and I developed while at Itouch Labs, many years back in 2002.</p>
<p>The majority of the code is completely out dated, given these were based on the the then bleeding edge 4.3  branch.  The only thing thats probably of value, is to sometime dust off the extensions we did to natd to provide an interactive console and the ability to reload rules without dumping its state table. Possibly post PhD.</p>
<p>I also found a link to a post made by <a href="http://devco.net/">Arri</a> when he <a href="http://www.devco.net/archives/2006/07/30/freebsd_stability.php">decommissioned them</a> some four and a bit years later, with some impressive uptimes:</p>
<blockquote><p>4.3-RELEASE-p28 FreeBSD 4.3-RELEASE-p28 #0<br />
8:56AM  up 1175 days, 14:25, 1 user, load averages: 0.01, 0.00, 0.00<br />
4.3-RELEASE FreeBSD 4.3-RELEASE #3: Thu Aug  9 08:24:10 SAST 2001<br />
8:55AM  up 1353 days, 13:07, 1 user, load averages: 0.07, 0.03, 0.004.3-RELEASE FreeBSD 4.3-RELEASE #3: Thu Aug  9 08:24:10 SAST 2001<br />
8:57AM  up 1636 days, 12:16, 2 users, load averages: 0.01, 0.02, 0.00</p></blockquote>
<p>BSD is great to work with! I see that the 2nd edition of <a href="http://www.absolutefreebsd.com/">Absolute FreeBSD</a> is now finally available, and am eagerly  awaiting for my copy to arrive.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/18/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RFC BibTeX resource</title>
		<link>http://lair.moria.org/blog/archives/16</link>
		<comments>http://lair.moria.org/blog/archives/16#comments</comments>
		<pubDate>Sun, 18 May 2008 17:30:24 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[LyX]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[PhD]]></category>
		<category><![CDATA[BibTex]]></category>
		<category><![CDATA[JabRef]]></category>
		<category><![CDATA[RFC]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=16</guid>
		<description><![CDATA[Roland Bless, has a rather useful resource of a set of BibTex information for all RFC documents for those working with RFC&#8217;s and needing to cite them using BibTex. Available for download is an automatically generated .bib database of all the current RFCs. The 1.8 meg .bib file is probably a little large for general [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tm.uka.de/~bless/index.html">Roland Bless</a>, has a rather useful resource of a set of  <a href="http://www.tm.uka.de/~bless/bibrfcindex.html">BibTex information for all RFC documents</a> for those working with <a href="http://www.rfc-editor.org/">RFC&#8217;s </a>and needing to cite them using <a href="http://www.bibtex.org/">BibTex</a>.   Available for <a href="http://www.tm.uka.de/~bless/rfc.bib.gz" target="_blank">download</a> is an automatically generated .bib database of all the current RFCs.</p>
<p>The 1.8 meg .bib file is probably a little large for  general use but once can easily trim and copy entries required manually or using <a title="JabRef Reference Manager" href="http://jabref.sourceforge.net/">JabRef</a>. Citations look like the following:</p>
<blockquote><p><code>@MISC{rfc1466,<br />
author = {E. Gerich},<br />
title = {{Guidelines for Management of IP Address Space}},<br />
howpublished = {RFC 1466 (Informational)},<br />
month = may,<br />
year = {1993},<br />
note = {Obsoleted by RFC 2050},<br />
number = {1466},<br />
organisation = {Internet Engineering Task Force},<br />
publisher = {IETF},<br />
series = {Request for Comments},<br />
timestamp = {2008.05.18},<br />
url = {http://www.ietf.org/rfc/rfc1466.txt}<br />
}</code></p></blockquote>
<p>A resource certain to save typing or multiple c &amp; p operations. The one possible change one may want to make is to include the RFC number in the document tile such as:</p>
<p><code><br />
title = {{RFC 1466: Guidelines for Management of IP Address Space}}</code></p>
<p><code><br />
</code>Another  changes may be to use the @TechReport type as opposed to @Misc.  An other alternative (although out of date) is the <a href="http://www.math.utah.edu/pub/tex/bib/rfc.html">repository</a> at University of Utah Maths Department.</p>
<p>Related to this the W3C have a <a title="Gernate bibTex Citation data for W3C documents" href="http://webcapita.com/w3cbib/by-year">web page</a> which allows for automated generation of bibTeX citation information for their publications.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/16/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
