<?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>Me Blog! &#187; Networking</title>
	<atom:link href="http://robertsweetnam.ie/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://robertsweetnam.ie</link>
	<description>It&#039;s hard to think of a tagline - All the good ones are taken..</description>
	<lastBuildDate>Sat, 15 Jan 2011 19:00:18 +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>How to lose all your customers if you are a WISP</title>
		<link>http://robertsweetnam.ie/2010/01/21/how-to-lose-all-your-customers-if-you-are-a-wisp/</link>
		<comments>http://robertsweetnam.ie/2010/01/21/how-to-lose-all-your-customers-if-you-are-a-wisp/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 14:06:36 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Idiocy]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Observation]]></category>
		<category><![CDATA[Obvious]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[AUP]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[look before you leap]]></category>
		<category><![CDATA[WISP]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=955</guid>
		<description><![CDATA[First off I better explain what a WISP , it means Wireless Internet Service Provider. For this sorry tale the WISP in question is OceanTelecom who operate in West Waterford/East Cork. I got a call the other day from my friend&#8217;s wife who was having problems receiving mail from her eircom.net account when using POP [...]]]></description>
			<content:encoded><![CDATA[<!-- Easy AdSense V2.82 -->
<!-- Post[count: 2] -->
<div class="ezAdsense adsense adsense-leadin" style="text-align:center;margin:12px;"><script type="text/javascript"><!--
google_ad_client = "pub-6763366335965000";
/* 468x60, created 9/3/08 */
google_ad_slot = "1846913107";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p>First off I better explain what a WISP , it means Wireless Internet Service Provider. For this sorry tale the WISP in question is <a title="A wily WISP" href="http://www.oceantelecom.ie/" target="_blank">OceanTelecom</a> who operate in West Waterford/East Cork.</p>
<p>I got a call the other day from my friend&#8217;s wife who was having problems receiving mail from her eircom.net account when using POP to retreive it. Sometimes she would get some mail and other times none. Using the webmail interface to her account she could see her mail there. All this started she claimed around two weeks ago.</p>
<p>Strange thought I, but then she mentioned that she had gotten a few spam reports in her mail.</p>
<p>Even stranger thought I, so I asked her to forward one of them on to me and here&#8217;s what I saw:</p>
<blockquote><p>This mail was generated automatically from Endian Firewall, which runs on<br />
efw1-oceantelecom.localdomain.(none) for scanning all mails for spam and viruses.</p>
<p>In a mail sent to you a virus has been found.</p>
<p>Virus name: Suspect.Bredozip-zippwd-2<br />
Sender of the email:  &#8220;DHL Manager Felipe Dove&#8221; &lt;shipping@dhl.com&gt;<br />
Subject: DHL delivery problem number 25130.<br />
Connection date: POP3 from 149.5.34.3:11778 to 159.134.198.135:110<br />
Message File: Per instruction, the message has been deleted.</p>
<p>Instead of the infected email this message has been sent to you.</p></blockquote>
<p>Regardless of the fact that it was a virus, it was the very fact that it had been intercepted before it got to her PC was annoying her. Her POP session to eircom&#8217;s mail server was intercepted by her ISP. Her ISP acted as a POP proxy without her permisison. Therefore her ISP is effectively snooping on her mail. You can see clear as day in the report above that their firewall intercepted her connection to eircom&#8217;s POP3 server.</p>
<p>As you can imagine this really, really annoyed her so she rang ComReg (Ireland&#8217;s Communications Regulator) to find out if OceanTelecom were allowed to do this. ComReg said it was a grey area and advised her to contact the office of the Data Protection Commissioner which she duly did. The advice she received from the DPC was that they should not be snooping on her mail as her mail is not being hosted by her ISP.</p>
<p>With this information in hand, she rang OceanTelecom to compain and promptly received torrents of abuse from the owner! Ranting and raving about how he is protecting his network, etc, etc and if she didn&#8217;t like it she could cancel her account! How about that for customer service?</p>
<p>But when she informed him that she had already contacted ComReg and the DPC he terminated the call! He hung up a call from a loyal customer of over two years!</p>
<p>She rang me yesterday to tell me what had happened and that that she was naturally going to change her ISP which is only right IMHO.</p>
<p>So, for anyone looking to choose an ISP keep this information in mind. An ISP is an internet service provider. Their only obligation should at it&#8217;s most basic level to provide you with access to the internet and nothing else. Everything else should be optional. How you use your internet connection should be of no interest to your ISP once you keep within the terms of your contract, the laws of the land and adhere to their fair use policy. You can view <a title="Eircom usage policy" href="http://www.eircom.net/policy/" target="_blank">eircom&#8217;s policy here</a>.  Some choice quotes from their policy are:</p>
<blockquote><p>eircom <strong>net</strong> will use its reasonable endeavours to prevent unauthorised access to the Service by third parties, but shall have no liability to the Customer for any unauthorised access to the Customer&#8217;s computer system. The Customer is responsible for selecting and properly using any security procedures made available by eircom <strong>net</strong> as well as other procedures and measures necessary to safeguard and back-up the Customer&#8217;s files, data and programs or any other form of information</p></blockquote>
<p>and</p>
<blockquote><p>You acknowledge that eircom net has no control over the information which can be accessed by using eircom net services and that we do not examine the use to which you or other users put the Services or the nature of the information you or they are sending or uploading. We therefore exclude all liability of any kind for the transmission or reception or such information of whatever nature.</p></blockquote>
<p>Pretty much common sense. The onus is on the customer to remain secure, eircom as an ISP only provide a service which is more than can be said for OceanTelecom.</p>
<p>However I understand that OceanTelecom is a privately owned business and ultimately it is their network and they can pretty much do what they want but I would not have expected that to include interfering with clients  e-mail that is hosted elsewhere. I certainly wouldn&#8217;t like my ISP reading my mail before me. Some serious privacy implications there.</p>
<p>If you are an OceanTelecom customer or are considering becoming one, based on the above I would suggest you avoid them or terminate your subscription. If anything the shocking and abusive customer service alone should be good enough reason.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2010/01/21/how-to-lose-all-your-customers-if-you-are-a-wisp/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Dodgy Verizon Behaviour</title>
		<link>http://robertsweetnam.ie/2009/02/25/dodgy-verizon-behaviour/</link>
		<comments>http://robertsweetnam.ie/2009/02/25/dodgy-verizon-behaviour/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 23:57:51 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Curiosities]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[begone!]]></category>
		<category><![CDATA[Bots]]></category>
		<category><![CDATA[curious]]></category>
		<category><![CDATA[WTF]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=704</guid>
		<description><![CDATA[I&#8217;ve just had 7 IP addresses from Verizon crawl through almost every page on my domain. That is blog.sweetnam.eu, tech.sweetnam.eu, www.sweetnam.eu and sweetnam.eu. A total of 5368 requests, in 3 hours! Odd things is that none of the IPs in question were typical crawlers as each IP requested an entire page at a time. Given [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just had 7 IP addresses from Verizon crawl through almost every page on my domain. That is blog.sweetnam.eu, tech.sweetnam.eu, www.sweetnam.eu and sweetnam.eu.</p>
<p>A total of 5368 requests, in 3 hours!</p>
<p>Odd things is that none of the IPs in question were typical crawlers as each IP requested an entire page at a time.</p>
<p>Given that there is 7 IP addresses involved and they are all in sequence I would imagine that a single Verizon customer has something nasty installed.</p>
<p>Here are the IPs (which I have since blocked)</p>
<blockquote><p>65.208.151.112<br />
65.208.151.113<br />
65.208.151.114<br />
65.208.151.115<br />
65.208.151.116<br />
65.208.151.117<br />
65.208.151.118</p></blockquote>
<p>The user agent:</p>
<blockquote><p>&#8220;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&#8221;</p></blockquote>
<p>Grep of my logs:</p>
<blockquote><p>robert@cache:/var/log/squid# cat access.log | grep 65.208.151 -c<br />
5368</p></blockquote>
<p>Whois of IP:</p>
<blockquote><p>MCI Communications Services, Inc. d/b/a Verizon Business UUNET65 (NET-65-192-0-0-1)<br />
65.192.0.0 &#8211; 65.223.255.255<br />
Kintiskton LLC UU-65-208-151-112-D1 (NET-65-208-151-112-1)<br />
65.208.151.112 &#8211; 65.208.151.119</p></blockquote>
<p>Dodgy stuff.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2009/02/25/dodgy-verizon-behaviour/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Gone but back again</title>
		<link>http://robertsweetnam.ie/2009/02/16/gone-but-back-again/</link>
		<comments>http://robertsweetnam.ie/2009/02/16/gone-but-back-again/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 07:44:09 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Not Spiffy]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ZOMFG]]></category>
		<category><![CDATA[Crap]]></category>
		<category><![CDATA[I'm an idiot]]></category>
		<category><![CDATA[shite]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=656</guid>
		<description><![CDATA[Just checking my logs &#8211; Hmm &#8220;not a single visitor since 10pm last night?&#8221; Strange. &#8220;I know my DNS server was down for maintenence but I definitely recreated my DNS Zone.&#8221; Quick check, &#8220;Bugger! I forgot to add an entry for blog.sweetnam.eu!&#8221; Oh well, I&#8217;m back now.]]></description>
			<content:encoded><![CDATA[<p>Just checking my logs &#8211; Hmm &#8220;not a single visitor since 10pm last night?&#8221;</p>
<p>Strange.</p>
<p>&#8220;I know my DNS server was down for maintenence but I definitely recreated my DNS Zone.&#8221;</p>
<p>Quick check,</p>
<p>&#8220;Bugger! I forgot to add an entry for blog.sweetnam.eu!&#8221;</p>
<p>Oh well, I&#8217;m back now.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2009/02/16/gone-but-back-again/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Too much LAN for one man?</title>
		<link>http://robertsweetnam.ie/2009/01/05/too-much-lan-for-one-man/</link>
		<comments>http://robertsweetnam.ie/2009/01/05/too-much-lan-for-one-man/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 16:42:26 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Boredom]]></category>
		<category><![CDATA[Curiosities]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Routers]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[WiFi]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=572</guid>
		<description><![CDATA[Over the weekend I was in conversation via e-mail with The Other Fellow. Over the course of our correspondence I mentioned my setup here at home. Later on that evening I began to realise just how ludicrous my setup has become. I have four different networks, three wireless access points, and an unearthly amount of [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend I was in conversation via e-mail with <a title="The Other Fellow" href="http://theotherfellow.com/" target="_blank">The Other Fellow</a>. Over the course of our correspondence I mentioned my setup here at home. Later on that evening I began to realise just how ludicrous my setup has become.</p>
<p>I have <em>four</em> different networks, <em>three</em> wireless access points, and an unearthly amount of machines. To give you an idea of the chaos I made up a lovely diagram which is below. (There will be a fourth wireless access point in place soon but that is for a particular plan that I&#8217;m up to. More on that sometime in the future.)</p>
<p>The Sun Sparcs and the HP-UX machine are only powered up occasionally. I use a Dell TFT monitor which is the only display in regular use. Other than that I have a 19in Mitsubishi CRT that I use only when setting up or repairing other machines. I&#8217;ve probably mentioned this before but the room is on it&#8217;s own electrical circuit which actually has it&#8217;s own meter on it and the room is currently consuming between €1.50 and €2 of electricity per day.</p>
<p>I bet you thought it might be more! Most of them are desktops and spent quite a lot of time idling away consuming between 90 and 120 watts of electricity.</p>
<p>If you look at the diagram and are wondering about the External WLAN limited to 1Mb, this is the access point and network that I use whenever I have a nasty virus and or spyware infected PC or laptop for repair.</p>
<p>Anyway, Click on the diagram for a bigger version:</p>
<p><a href="http://blog.sweetnam.eu/wp-content/uploads/2009/01/lanjan09.jpg"><img class="alignnone size-medium wp-image-573" title="lanjan09" src="http://blog.sweetnam.eu/wp-content/uploads/2009/01/lanjan09-300x243.jpg" alt="lanjan09" width="300" height="243" /></a></p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2009/01/05/too-much-lan-for-one-man/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A new trick for an old dog</title>
		<link>http://robertsweetnam.ie/2009/01/02/a-new-trick-for-an-old-dog/</link>
		<comments>http://robertsweetnam.ie/2009/01/02/a-new-trick-for-an-old-dog/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 15:09:02 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Boredom]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Nostalgia]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=565</guid>
		<description><![CDATA[I think I have finally had enough of the festive cheer. Combined with the fact I still have almost three weeks holidays left I think I have gone a bit mad. I was clearing out my computer room and came across an old PC that served me well in the past. It was a faithful [...]]]></description>
			<content:encoded><![CDATA[<p>I think I have finally had enough of the festive cheer. Combined with the fact I still have almost three weeks holidays left I think I have gone a bit mad. I was clearing out my computer room and came across an old PC that served me well in the past. It was a faithful machine who&#8217;s day had ended with a failed hard disk.</p>
<p>As it happens, while tidying up I found an old spare disk and I decided to give it a new lease of life. Again as it happens I needed another machine for a while for a particular task that this machine would be quite suited to. So now it is alive once more and is happily pushing packets across the internet.</p>
<p>I was quite pleased with the results so much so that I decided that it could run it&#8217;s very own web server.  There is just a single html page with it&#8217;s story about how an open source operating system (FreeBSD in this case) gave it a new lease of life.</p>
<p><a title="Chicken Little - The little server that could." href="http://chickenlittle.sweetnam.eu/" target="_blank">Have a look over here</a>.</p>
<p>Things must be bad when my imagination starts assigning personalities to computers!</p>
<p>The keen eyed among you may have noticed from the phpsysinfo page that it is on a different network to my other web servers. This is a clue as to it&#8217;s purpose but unfortunately I can&#8217;t divulge it&#8217;s purpose here yet!</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2009/01/02/a-new-trick-for-an-old-dog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Chopping and Changing and some website housekeeping and tweaking</title>
		<link>http://robertsweetnam.ie/2008/09/06/chopping-and-changing-and-some-website-housekeeping-and-tweaking/</link>
		<comments>http://robertsweetnam.ie/2008/09/06/chopping-and-changing-and-some-website-housekeeping-and-tweaking/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 20:32:11 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=395</guid>
		<description><![CDATA[As I will be off to college on Monday I won&#8217;t have anywhere near a fraction of the time that I used to for messing about with all my various servers here. I figured it would make a lot more sense to consolidate my various sites onto the one machine if at all possible. So [...]]]></description>
			<content:encoded><![CDATA[<p>As I will be <a title="Teaching an Old Dog new tricks!" href="http://blog.sweetnam.eu/2008/09/05/teaching-an-old-dog-new-tricks/" target="_blank">off to college</a> on Monday I won&#8217;t have anywhere near a fraction of the time that I used to for messing about with all my various servers here. I figured it would make a lot more sense to consolidate my various sites onto the one machine if at all possible.</p>
<p>So first up was the retirement of my IIS server on which my tech blog used to reside. I have migrated <a title="My Tech Blog" href="http://tech.sweetnam.eu/" target="_blank">that blog</a> over to WordPress and it along with this blog and my main site have been relocated on to a new Debian 64bit server which was previously the already mentioned IIS server.</p>
<p>The migration also meant that I could catch up on some tweaks that I had long been putting on the back burner. As my <a title="My Main Site" href="http://www.sweetnam.eu" target="_blank">main site</a> is running Mediawiki I have configured the new server so that Mediawiki now uses <a title="Memcached" href="http://www.danga.com/memcached/" target="_blank">memcached</a> to help speed up queries and reduce hits to the database. It has had a bit of an effect already. in keeping with the desire to reduce queries on the database I installed <a title="Donncha'a Blog" href="http://ocaoimh.ie" target="_blank">Donncha&#8217;s</a> excellent <a title="WP-SuperCache" href="http://ocaoimh.ie/wp-super-cache/" target="_blank">WP Super Cache plugin</a> on both WordPress blogs. To give an idea of the difference that made a quick benchmark was called for.</p>
<p>Using Apache Bench I made requested a blog entry 100 times over 10 concurrent connections:</p>
<blockquote><p>ab -n 100 -c 10 http://tech.sweetnam.eu/2008/06/even-intel-wont-touch-vista/</p></blockquote>
<p>Without WP Super Cache the results were 20.72 seconds to complete with 71.47kbytes/sec</p>
<p>With WP Super Cache the results were 2.287 seconds to complete and 658.38kbytes/sec</p>
<p>However there is a caveat with those results as each test first passed through my <a title="My Reverse Proxy" href="http://blog.sweetnam.eu/2007/08/18/reverse-proxy-or-how-to-make-your-setup-more-complicated/" target="_blank">reverse proxy</a> but nonetheless the results are pretty conclusive. Another configuration change that I made that may skew those results is that I have disabled Apache logging on the web server. As all traffic first passes through my reverse proxy I use its logfiles for analysis. Interestingly from another test I tried recently, disabling logging on Squid Cache had absolutely no effect on its performance!</p>
<p>With everything now happily in place on the new server it was time to shut down and power off both of my <a title="No longer brought to you by Sun Solaris" href="http://blog.sweetnam.eu/2008/04/13/me-blog-now-brought-to-you-by-sun-solaris/" target="_blank">Sun Machines</a>. They will be ressurected for anytime I wish to play with Solaris. My mailserver remains running on my Poweredge 2800 although I took the opportunity to upgrade to the latest version of <a title="Zimbra Collaboration Suite" href="http://www.zimbra.com" target="_blank">Zimbra</a> today.</p>
<p>After all todays tweaking and migrating I am now left with my Smoothwall firewall performing NAT, my reverse proxy which I decided to keep up and running as it is outstanding for <a title="Keeping the spambots at bay" href="http://blog.sweetnam.eu/2008/07/28/keeping-the-spambots-and-crawlers-at-bay/" target="_blank">filtering unwanted traffic</a>, the new web server and my existing mail server.</p>
<p>It&#8217;s probably still a tad excessive though! Next up is to change the theme for this site as I can&#8217;t configure the sidebars and the search option is strangely missing!</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2008/09/06/chopping-and-changing-and-some-website-housekeeping-and-tweaking/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>More benchmark madness</title>
		<link>http://robertsweetnam.ie/2008/08/10/more-benchmark-madness/</link>
		<comments>http://robertsweetnam.ie/2008/08/10/more-benchmark-madness/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 20:12:20 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=354</guid>
		<description><![CDATA[I&#8217;ve been on and on about using Squid as a reverse proxy that at times it must seem that I&#8217;m bordering on being completely obsessed with it. Well I suppose that is partly true. The performance boost that it can deliver is staggering and to get an idea of how well it performs look no further [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been <a title="Reverse Proxy" href="http://blog.sweetnam.eu/2007/08/18/reverse-proxy-or-how-to-make-your-setup-more-complicated/" target="_blank">on</a> and <a title="Keeping spambots and crawlers at bay using Squid" href="http://blog.sweetnam.eu/2008/07/28/keeping-the-spambots-and-crawlers-at-bay/">on</a> about using Squid as a <a title="Reverse Proxy with Squid" href="http://www.sweetnam.eu/index.php/Reverse_Proxy_with_Squid">reverse proxy</a> that at times it must seem that I&#8217;m bordering on being completely obsessed with it. Well I suppose that is partly true. The performance boost that it can deliver is staggering and to get an idea of how well it performs look no further than Wikipedia who use it extensively. They claim that Squid serves up <a title="Wikimedia Cache Strategy" href="http://meta.wikimedia.org/wiki/Cache_strategy" target="_blank">78% of all their requests</a> to their visitors which is a staggering amount in itself.</p>
<p>So why does it perform so well especially when compared to Apache running on its own?</p>
<p>The main reason is caching. When someone makes a request the proxy server checks to see if it has it locally and if it does it will serve that up directly instead of requesting it from a backend server. This of course depends on a number of factors. Primarily it will only cache static content such as images, css and javascript files as well as good old html. It will not cache dynamic content such as the contents of a blog post such as this one (although this can be done using memcached), however as it may well cache the ancilliary files associated with the page. The greater the number the times the same content is requests then the greater the chance that Squid will keep it in memoy increasing performance even more.</p>
<p>To use this post as an example, all the images, theme and javascript have more than likely been served to your browser by the proxy server, all that was requested from the web server itself was the text which has been pulled from a database using Apache and PHP.</p>
<p>So how much better does squid serve static content from its cache compared to Apache?</p>
<p>The quick answer is that it serves it staggeringly faster than Apache. For my test I used a single jpeg image that was 73KB in size. I then set up two virtual servers on my webserver and copied the image into both. I configured my internal DNS so that one of the sites would be served direct by the webserver and the other would be accessed via my reverse proxy.</p>
<p>Benchmarking was performed from a my main workstation using Apache Bench (ab). I used a concurrency of 10 and requested the image 100 times from each test site. So first up is the direct request:</p>
<blockquote><p>Concurrency Level:      10<br />
Time taken for tests:   2.621 seconds<br />
Complete requests:      100<br />
Failed requests:        0<br />
Write errors:           0<br />
Total transferred:      7510044 bytes<br />
HTML transferred:       7465900 bytes<br />
Requests per second:    38.16 [#/sec] (mean)<br />
Time per request:       262.082 [ms] (mean)<br />
Time per request:       26.208 [ms] (mean, across all concurrent requests)<br />
Transfer rate:          2798.37 [Kbytes/sec] received</p></blockquote>
<p>That&#8217;s not too bad but here are the results when served by the reverse proxy:</p>
<blockquote><p>Concurrency Level:      10<br />
Time taken for tests:   0.640 seconds<br />
Complete requests:      100<br />
Failed requests:        0<br />
Write errors:           0<br />
Total transferred:      7510100 bytes<br />
HTML transferred:       7465900 bytes<br />
Requests per second:    156.35 [#/sec] (mean)<br />
Time per request:       63.960 [ms] (mean)<br />
Time per request:       6.396 [ms] (mean, across all concurrent requests)<br />
Transfer rate:          11466.60 [Kbytes/sec] received</p></blockquote>
<p>It performed twice as fast when passed through the proxy server which is phenomenal!</p>
<p>However some of this performance could be attributed to differences in hardware. The webserver is a Sun 900Mhz UltraSPARC III and the reverse proxy a 3Ghz P4 but nonetheless it does demonstrate that the reverse proxy greatly accelerates performance when serving static content.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2008/08/10/more-benchmark-madness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eircom have kept their promise</title>
		<link>http://robertsweetnam.ie/2008/07/26/eircom-have-kept-their-promise/</link>
		<comments>http://robertsweetnam.ie/2008/07/26/eircom-have-kept-their-promise/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 18:55:20 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[eircom]]></category>
		<category><![CDATA[Netopia]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=324</guid>
		<description><![CDATA[Eircom promised to upgrade their customers broadband speeds by the end of July and with just 5 days to go I noticed my connection restart. A quick check of the router homepage and sure enough &#8211; I&#8217;ve been upgraded to 7.6Mb. I thought I was supposed to have been upgraded to 10Mb as I previously [...]]]></description>
			<content:encoded><![CDATA[<p>Eircom <a title="Eircom speed increases" href="http://blog.sweetnam.eu/2008/01/31/eircom-to-promise-faster-broadband-speeds/">promised</a> to upgrade their customers broadband speeds by the <a title="where's my upgrade?" href="http://blog.sweetnam.eu/2008/07/09/wheres-my-upgrade/">end of July</a> and with just 5 days to go I noticed my connection restart. A quick check of the router homepage and sure enough &#8211; I&#8217;ve been upgraded to 7.6Mb. <img src='http://robertsweetnam.ie/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I thought I was supposed to have been upgraded to 10Mb as I previously was on 4Mb so I guess that&#8217;s one for Monday morning. My upload is now 672k so that should speed things up a bit for those of you who visit.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2008/07/26/eircom-have-kept-their-promise/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New Adventures in WiFi</title>
		<link>http://robertsweetnam.ie/2008/07/24/new-adventures-in-wifi/</link>
		<comments>http://robertsweetnam.ie/2008/07/24/new-adventures-in-wifi/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 18:05:18 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Curiosities]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Routers]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[WiFi]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=295</guid>
		<description><![CDATA[Due to having copious amounts of time since being being made redundant I&#8217;ve been trying to keep busy as best I can. Of course Lucas keeps me busy at times but I also need to feed my inner geek. So for the past couple of days I&#8217;ve made a cantenna and have been busy circling [...]]]></description>
			<content:encoded><![CDATA[<p>Due to having copious amounts of time since being being made redundant I&#8217;ve been trying to keep busy as best I can. Of course Lucas keeps me busy at times but I also need to feed my inner geek. So for the past couple of days I&#8217;ve made a <a title="Cantenna on wikipedia" href="http://en.wikipedia.org/wiki/Cantenna" target="_blank">cantenna</a> and have been busy circling the town to see if it actually works!</p>
<p>First things first &#8211; The details:</p>
<ul>
<li>The can comprises of a Tia Maria Lusso presentational can which measures 110mm in diameter and is 260mm long. From various sites on the web about making cantennas I figured the best position for the USB adapter to be mounted would be about 40mm from the base of the can and mounted in such a way that if you hold the can horizontal and look into it the WiFi adapter would be vertical.</li>
<li>My wireless adapter is a NetGear WG-111.</li>
<li>And as I don&#8217;t have a Windows laptop I was using an XP virtual machine running on VMware Fusion on my MacBook.</li>
</ul>
<p>Today then I decided to pop over the Ferry Point which is the Waterford side of the Blackwater Estuary. It&#8217;s about a 6 mile drive to get there but when you do you are somewhere about 750 yards to 1 mile straight across the river from Youghal town.</p>
<p>The handy thing about using a Virtual machine was that I could use the MacBooks own Wifi to see what is around locally and compare it to the cantenna connection in the virtual machine. As a result the MacBook picked up two access points which I presume were the two houses within 200 yards of me.</p>
<p>When I connected the NetGear  USB adapter without the cantenna it picked up the same two access points however when I connected up the Netgear in the cantenna and pointed it towards Youghal then I was in for a big surprise! Have a look at this:</p>
<div id="attachment_303" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.sweetnam.eu/wp-content/uploads/2008/07/fpap11.gif"><img class="size-medium wp-image-303" title="First results with cantenna" src="http://blog.sweetnam.eu/wp-content/uploads/2008/07/fpap11-300x194.gif" alt="First results with cantenna" width="300" height="194" /></a><p class="wp-caption-text">First results with cantenna</p></div>
<div id="attachment_304" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.sweetnam.eu/wp-content/uploads/2008/07/fpap21.gif"><img class="size-medium wp-image-304" title="First results with cantenna continued" src="http://blog.sweetnam.eu/wp-content/uploads/2008/07/fpap21-300x193.gif" alt="First results with cantenna continued" width="300" height="193" /></a><p class="wp-caption-text">First results with cantenna continued</p></div>
<p>A total of 18 and that was just pointing to the middle of the town! Panning around found quite a few more but not my own however as my house is on street level parallel to two other streets before the riverbank. What is surprising is the strength of the signals.</p>
<p>While on my way home I stopped at the Waterford side of the old Youghal Bridge and ran some more tests. This location which you will be able to see from one of the pictures below is about two miles straight to the Town Hall in the town centre. I was amazed that once again I was able to see som many connections including an open one which I know exactly where it is located. I can&#8217;t give you the exact location but I can tell you that it is near the town centre and I was able to make a connection, get an IP address and browse a few web sites.</p>
<p>Now for some more pictures:</p>
<div id="attachment_301" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.sweetnam.eu/wp-content/uploads/2008/07/oldbridge.jpg"><img class="size-thumbnail wp-image-301" title="View from the Old bridge" src="http://blog.sweetnam.eu/wp-content/uploads/2008/07/oldbridge-150x150.jpg" alt="View from the Old bridge" width="150" height="150" /></a><p class="wp-caption-text">View from the Old bridge</p></div>
<div id="attachment_300" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.sweetnam.eu/wp-content/uploads/2008/07/ferrypoint.jpg"><img class="size-thumbnail wp-image-300" title="View across to Youghal" src="http://blog.sweetnam.eu/wp-content/uploads/2008/07/ferrypoint-150x150.jpg" alt="View across to Youghal" width="150" height="150" /></a><p class="wp-caption-text">View across to Youghal</p></div>
<div id="attachment_298" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.sweetnam.eu/wp-content/uploads/2008/07/cantenna.jpg"><img class="size-thumbnail wp-image-298" title="cantenna" src="http://blog.sweetnam.eu/wp-content/uploads/2008/07/cantenna-150x150.jpg" alt="Bad exposure of my cantenna" width="150" height="150" /></a><p class="wp-caption-text">Bad exposure of my cantenna</p></div>
<div id="attachment_299" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.sweetnam.eu/wp-content/uploads/2008/07/memacbook.jpg"><img class="size-thumbnail wp-image-299" title="Windows VM on my MacBook" src="http://blog.sweetnam.eu/wp-content/uploads/2008/07/memacbook-150x150.jpg" alt="Windows VM on my MacBook" width="150" height="150" /></a><p class="wp-caption-text">Windows VM on my MacBookView across to Youghal</p></div>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2008/07/24/new-adventures-in-wifi/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>AVG Antivirus sending me lots of unwanted traffic and how I dealt with it</title>
		<link>http://robertsweetnam.ie/2008/06/28/avg-antivirus-sending-me-lots-of-unwanted-traffic-and-how-i-dealt-with-it/</link>
		<comments>http://robertsweetnam.ie/2008/06/28/avg-antivirus-sending-me-lots-of-unwanted-traffic-and-how-i-dealt-with-it/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 13:10:39 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.sweetnam.eu/?p=276</guid>
		<description><![CDATA[I wrote last month about an enormous amount of traffic being directed to this blog all of a sudden. The culprit is the latest version of AVG antivirus which installs a module called &#8216;Linkscanner&#8217;. Essentially what this does is when someone searches Google for example, Linkscanner will automatically check every link in the results. The [...]]]></description>
			<content:encoded><![CDATA[<p>I <a title="AVG skewingmy traffic" href="http://blog.sweetnam.eu/2008/05/29/an-irish-botnet-extremely-strange-and-i-have-no-idea-whats-causing-it/" target="_blank">wrote last month</a> about an enormous amount of traffic being directed to this blog all of a sudden. The culprit is the latest version of AVG antivirus which installs a module called &#8216;Linkscanner&#8217;. Essentially what this does is when someone searches Google for example, Linkscanner will automatically check every link in the results. The Register have <a title="AVG fake traffic on the register" href="http://www.theregister.co.uk/2008/06/26/avg_disguises_fake_traffic_as_ie6/" target="_blank">written</a> about it a <a title="The register again" href="http://www.theregister.co.uk/2008/06/13/avg_scanner_skews_web_traffic_numbers/" target="_blank">couple</a> of times.</p>
<p>This is bad because it seriously skews my statistics for one and very bad because it is chewing up a lot of my available bandwidth. So what is one to do?</p>
<p>As I noted previously, AVG uses a few unique user agent strings. These can be used in a .htaccess file to deny access to Linkscanner or as in my case redirect the request to a certain page. Unfortunately my ability with using regular expressions is pretty limited to say the least but while browsing <a title="discussion about Linkscanner on reddit" href="http://www.reddit.com/info/6p87k/comments/" target="_blank">a discussion</a> about Linkscanner on reddit.com last night someone posted a solution. That someone was none other than Pádraig Brady who is a frequent contributor to the <a title="ILUG" href="http://www.linux.ie" target="_blank">Irish Linux Users Group</a>.</p>
<p>Rather than post Pádraig&#8217;s solution here I will <a title="Padraig's solution" href="http://www.pixelbeat.org/docs/web/avg_linkscanner.html" target="_blank">link to it instead</a>. However instead of directing AVG users back to the AVG site as Pádraig&#8217;s example does &#8211; I redirect them to a custom page I made earlier. I was going to link to my custom page but since I will be using it to keep a tally of AVG hits I decided not to link to it here.</p>
<p>To get an idea of how much extra traffic is generated as a result of Linkscanner consider that this site is relatively light on traffic but in the two hours since I started redirecting AVG users, the page mentioned above has been hit over 240 times!</p>
<p>Bad AVG, very bad.</p>
<p><img src="http://robertsweetnam.ie/?voyeur=1"></p>]]></content:encoded>
			<wfw:commentRss>http://robertsweetnam.ie/2008/06/28/avg-antivirus-sending-me-lots-of-unwanted-traffic-and-how-i-dealt-with-it/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

