<?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>trivia &#187; networks and networking</title>
	<atom:link href="http://baldric.net/category/networks-and-networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://baldric.net</link>
	<description>another voice in the babble on the net</description>
	<lastBuildDate>Sat, 19 May 2012 20:18:49 +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>now switch it back on</title>
		<link>http://baldric.net/2012/04/18/now-switch-it-back-on/</link>
		<comments>http://baldric.net/2012/04/18/now-switch-it-back-on/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 16:15:24 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1562</guid>
		<description><![CDATA[Bugtraq can be an interesting list. Back in June 2008 I noted that one Craig Wright had posted an advisory about a vulnerability in an Oral B toothbrush. Well, just over a week ago a chap called Gabriel Menezes Nunes posted a proof of concept remote denial of service attack on a Sony Bravia television &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/04/18/now-switch-it-back-on/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Bugtraq can be an interesting list. Back in June 2008 I noted that one Craig Wright had posted an advisory about a <a href="http://baldric.net/2008/06/19/dental-dos/">vulnerability in an Oral B toothbrush</a>. Well, just over a week ago a chap called Gabriel Menezes Nunes posted a proof of concept remote denial of service attack on a Sony Bravia television set. He had discovered that a packet flood attack to any port on his TV using the tool <a href="http://www.hping.org/">&#8220;hping&#8221;</a> would cause a denial of service. In his post he says:</p>
<blockquote><p>
&#8220;After 35 seconds the TV stop working and back. This happens 3 times. At fourth time, the TV shuts down. In less than 3 minutes, the TV is off remotely. It is necessary to turn on the TV physically.&#8221;
</p></blockquote>
<p>I can&#8217;t help thinking that using the normal remote control would have been easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/04/18/now-switch-it-back-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android mail client is broken</title>
		<link>http://baldric.net/2012/03/24/android-mail-client-is-broken/</link>
		<comments>http://baldric.net/2012/03/24/android-mail-client-is-broken/#comments</comments>
		<pubDate>Sat, 24 Mar 2012 22:03:12 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[mail and mail lists]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[tips, tricks and howtos]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mobile phone]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[system administration]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1494</guid>
		<description><![CDATA[In January of this year I wrote about t-mobile&#8217;s apparent policy of actively looking for and blocking any TLS-secured SMTP sessions over their network. At the time I believed this to be a cockup rather than a deliberate policy. I still prefer to believe that, but the episode left a rather sour taste in my &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/03/24/android-mail-client-is-broken/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>In January of this year I wrote about<a href="http://baldric.net/2012/01/12/t-mobile-resets-its-policy/"> t-mobile&#8217;s apparent policy</a> of actively looking for and blocking any TLS-secured SMTP sessions over their network. At the time I believed this to be a cockup rather than a deliberate policy. I still prefer to believe that, but the episode left a rather sour taste in my mouth. So this month I took the opportunity presented by the end of my contract to shift to another provider. Of course, in doing so I gained a nice shiny new &#8216;phone which meant that I could spend a fun few hours setting it up the way I wanted it and nailing it down as much as possible so that it didn&#8217;t leak <strong>all</strong> my data to google. This is unnecessarily difficult, and much harder than it should be (and I know that people like Peter H will simply tell me that I shouldn&#8217;t be using an android &#8216;phone in the first place). But that is not the point of this post.</p>
<p>Like most people these days, I use my &#8216;phone to pick up email. The standard email client on my last &#8216;phone was pretty uninspiring so I used <a href="https://github.com/k9mail/k-9/wiki">K-9 mail</a> in its place. K-9 is a pretty good application, but it has a <a href="http://code.google.com/p/k9mail/issues/detail?id=350&amp;can=1&amp;q=CertPathValidatorException&amp;colspec=ID%20Product%20Type%20Status%20Priority%20Milestone%20Owner%20Summary">silly little bug</a> in it which is still not sorted properly. This bug manifests itself in a rather odd, and unpredictable way &#8211; K-9 seems to &#8220;forget&#8221; the X509 certificate used to protect the authentication process if that certificate is self-signed, or otherwise not verifiable by an external CA. The cure, such as it is, is to simply refresh the certificate by reloading the account settings and accepting the cert when K-9 warns you that &#8220;TrustAnchor found but validation failed&#8221;. The length of time between accepting the cert and K-9 &#8220;forgetting&#8221; it again seemed random to me, so I got into the habit of refreshing my account settings whenever I noticed that I hadn&#8217;t received any mail for a while. Annoying, but not ultimately a deal breaker for using what was otherwise a pretty good application.</p>
<p>So, the first application I looked at on my new mobile was, of course, email. The default mail client on this new phone looks a lot slicker than the old one on my previous phone, but then it is a much newer &#8216;phone, from a different manufacturer and the android version is much newer too, so no real surprise there. The setup seemed to have no problem with my self signed certs so I thought I might stay with the default to see if it would solve my annoying little problem with K-9.</p>
<p>Unfortunately not.</p>
<p>Whilst I had no problem with incoming mail over my IMAPS connection, all attempts to send mail failed. On checking my server logs I found the following (real details changed or obfuscated):</p>
<blockquote><p>Mar 20 20:45:57 pipe postfix/smtpd[7594]: NOQUEUE: reject: RCPT from home.baldric.net[12.34.56.78]: 504 5.5.2 &#60;localhost&#62;: Helo command rejected: need fully-qualified hostname; from=&#60;null@baldric.net&#62; to=&#60;noone@baldric.net&#62; proto=ESMTP helo=&#60;localhost&#62;
</p></blockquote>
<p>Aha! My postfix configuration is set up to reject hosts which do not have valid hostnames or do not announce themselves with fully qualified domain names (i.e. names of the form &#8220;host.domain&#8221;). Now since I use SASL authentication in my postfix configuration the fix is relatively easy; just ensure that the stanza &#8220;permit_sasl_authenticated&#8221; appears in both &#8220;smtpd_sender_restrictions&#8221; and &#8220;smtpd_helo_restrictions&#8221; <strong>before</strong> &#8220;reject_non_fqdn_hostname&#8221; &#8211; thusly:</p>
<blockquote><p>smtpd_helo_required = yes<br />
smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_hostname, reject_invalid_hostname<br />
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain</p></blockquote>
<p>(In fact, this episode highlighted an error in my postfx configuration because my helo restriction was inadequate. By now checking the authentication before the helo restriction kicks in I am still well protected, but mail from valid authenticated users is permitted.)</p>
<p>I am in that (very) small minority of people who run their own mail servers and are able to change server side configurations. But, and this is a big but. I should <strong>not have to change the server side configuration to accommodate a broken client</strong> and the vast majority of people will not be able to do so anyway. Almost all well set up mail servers will reject mail where the client connection announces itself in the helo exchange as &#8220;localhost&#8221;. That is normally an indication of a spammer, indeed spamassassin will allocate a high score to any mail which is so flagged. This means that there will be a huge, and growing, number of people who cannot send mail from their android &#8216;phones.</p>
<p>If this is the default android mail behaviour, then google need to fix it now. Meanwhile, K-9 is looking attractive again.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/03/24/android-mail-client-is-broken/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>unplugged</title>
		<link>http://baldric.net/2012/03/14/unplugged-2/</link>
		<comments>http://baldric.net/2012/03/14/unplugged-2/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 21:01:02 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1468</guid>
		<description><![CDATA[A few days ago my sheevaplug died. Beyond the obvious lack of response either over the network or through the USB serial connection, the symptoms (single green LED rather than blue and green LED lit, ethernet LED light steady rather than flashing) were all consistent with a blown PSU. This problem is well known and &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/03/14/unplugged-2/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>A few days ago my <a href="http://baldric.net/2010/02/28/from-slug-to-plug/">sheevaplug</a> died. Beyond the obvious lack of response either over the network or through the USB serial connection, the symptoms (single green LED rather than blue and green LED lit, ethernet LED light steady rather than flashing) were all consistent with a blown PSU.</p>
<p>This problem is well known and well documented on the <a href="https://newit.co.uk/forum/index.php?PHPSESSID=u69180ilqqtm07ibr4t33ikuq2&amp;topic=353.0">Newit forum</a> and the <a href="http://plugcomputer.org/plugforum/index.php?topic=1347.0">plugcomputer forum</a> as well as plenty of other sites, so I was pretty confident in my diagnosis. The general consensus seems to be that the low quality components used by Globalscale in what is, after all, supposed to be a piece of development kit, coupled with its low power output, means that it can&#8217;t really cope with the demands placed upon it &#8211; particularly if you attach unpowered USB peripheral devices. Even so, I was pretty pissed off that it failed after only two years.</p>
<p>I use my plug as my NTP time source, network &#8220;apt-get&#8221; cache and local end point for my <a href="http://baldric.net/2010/08/01/autossh-or-how-to-use-tor-through-a-central-ssh-proxy/">ssh proxy tunnel</a> to tor. So it was quite important to me that I get it working again. Fortunately Newit now stock replacement PSUs. Mine arrived within a couple of days of order.</p>
<p>Newit have kindly placed a <a href="http://www.newit.co.uk/assets/files/SheevaPlug-How%20to%20replace%20PSU.pdf">&#8220;howto fix your fscked plug&#8221;</a> guide online. I found the process relatively easy, with the exception of replacing the new AC inlet plug back in the chassis. In the end I pushed hard and held my breath in case something snapped, but I got it in.</p>
<p>I have seen many pictures of the PSU on-line, but I confess I was pretty shocked at the completely amateurish look of the thing when I pulled mine out.</p>
<p><a href="http://baldric.net/wp-content/uploads/2012/03/old-psu-case.jpeg"><img src="http://baldric.net/wp-content/uploads/2012/03/old-psu-case-640x426.jpg" alt="" title="old-psu-case" width="500" height="332" class="aligncenter size-large wp-image-1470" /></a></p>
<p></br></p>
<p>The picture above shows the PSU in its case as I pulled it out of the plug. </p>
<p></br></p>
<p><a href="http://baldric.net/wp-content/uploads/2012/03/old-psu-open.jpeg"><img src="http://baldric.net/wp-content/uploads/2012/03/old-psu-open-640x426.jpg" alt="" title="old-psu-open" width="500" height="332" class="aligncenter size-large wp-image-1471" /></a></p>
<p></br></p>
<p>and this one shows the contents of the PSU when the case lid is removed. It looks like the sort of breadboard setup I last saw in a 1960s transistor radio built by my uncle. Certainly not of the quality I would expect from a major electronics company. Mind you, the new replacement unit (see below) is not /that/ much better.</p>
<p></br></p>
<p><a href="http://baldric.net/wp-content/uploads/2012/03/new-psu-1.jpeg"><img src="http://baldric.net/wp-content/uploads/2012/03/new-psu-1-640x426.jpg" alt="" title="new-psu-1" width="500" height="332" class="aligncenter size-large wp-image-1473" /></a></p>
<p></br></p>
<p>This final picture shows the new PSU installed in what is actually the top half of the plug.</p>
<p><a href="http://baldric.net/wp-content/uploads/2012/03/new-psu-2.jpeg"><img src="http://baldric.net/wp-content/uploads/2012/03/new-psu-2-640x426.jpg" alt="" title="new-psu-2" width="500" height="332" class="aligncenter size-large wp-image-1474" /></a> </p>
<p></br></p>
<p>The plug is now back together, and to my relief it booted fine first time. But I&#8217;m now not at all confident that it will last. And since one of my earliest slugs is now becoming a little unstable, I&#8217;m looking for a replacement for both. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/03/14/unplugged-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>and darkness shall be upon the face of the net</title>
		<link>http://baldric.net/2012/01/18/and-darkness-shall-be-upon-the-face-of-the-net/</link>
		<comments>http://baldric.net/2012/01/18/and-darkness-shall-be-upon-the-face-of-the-net/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 15:05:46 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[anonymity]]></category>
		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1271</guid>
		<description><![CDATA[Today, 18 January 2012, parts of the &#8216;net went deliberately dark in combined opposition to the SOPA (A Bill to:&#8220;promote prosperity, creativity, entrepreneurship, and innovation by combating the theft of U.S. property, and for other purposes.&#8221; I love the &#8220;other purposes&#8221; bit.) and PIPA bills currently being considered by the US legislative machinery. These two &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/01/18/and-darkness-shall-be-upon-the-face-of-the-net/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Today, 18 January 2012, parts of the &#8216;net went deliberately dark in combined opposition to the <a href="www.gpo.gov/fdsys/pkg/BILLS-112hr3261ih/pdf/BILLS-112hr3261ih.pdf">SOPA</a> (A Bill to:<em>&#8220;promote prosperity, creativity, entrepreneurship, and innovation by combating the theft of U.S. property, and for other purposes.&#8221;</em> I love the &#8220;other purposes&#8221; bit.) and <a href="leahy.senate.gov/imo/media/doc/BillText-PROTECTIPAct.pdf">PIPA</a> bills currently being considered by the US legislative machinery. These two bills are classic examples of badly thought through legislation developed in response to lobby group pressure to protect an existing business model which is failing. I don&#8217;t normally make political comment, but I find myself entirely in agreement with the sentiments expressed on the <a href="https://www.torproject.org/sopa-pipa">torproject site</a> this morning. </p>
<p>When first attempting to view the tor site, readers are faced with this:</p>
<p><a href="http://baldric.net/wp-content/uploads/2012/01/tor-goes-dark.png"><img src="http://baldric.net/wp-content/uploads/2012/01/tor-goes-dark-300x166.png" alt="image of blacked out tor website" title="tor-goes-dark" width="300" height="166" class="aligncenter size-medium wp-image-1272" /></a></p>
<p>Clicking on the blacked out section you are taken to a copy of the 18 January <a href="https://blog.torproject.org/blog/blackout-against-copyright-overreach-stop-sopa-and-pipa">blog posting</a> which says:</p>
<blockquote><p>&#8220;The Tor Project doesn&#8217;t usually get involved with U.S. copyright debates. But SOPA and PIPA (the House&#8217;s &#8220;Stop Online Piracy Act&#8221; and the Senate&#8217;s &#8220;Protect-IP Act&#8221;) go beyond enforcement of copyright. These copyright bills would strain the infrastructure of the Internet, on which many free communications &#8212; anonymous or identified &#8212; depend. Originally, the bills proposed that so-called &#8220;rogue sites&#8221; should be blocked through the Internet&#8217;s Domain Name System (DNS). That would have broken DNSSEC security and shared U.S. censorship tactics with those of China&#8217;s &#8220;great firewall.&#8221; </p>
<p>Now, while we hear that DNS-blocking is off the table, the bills remain threatening to the network of intermediaries who carry online speech. Most critically to Tor, SOPA contained a provision forbidding &#8220;circumvention&#8221; of court-ordered blocking that was written broadly enough that it could apply to Tor &#8212; which helps its users to &#8220;circumvent&#8221; local-network censorship. Further, both bills broaden the reach of intermediary liability, to hold conduits and search engines liable for user-supplied infringement. The private rights of action and &#8220;safe harbors&#8221; could force or encourage providers to censor well beyond the current DMCA&#8217;s &#8220;notice and takedown&#8221; provision (of which Chilling Effects documents numerous burdens and abuses).&#8221;
</p></blockquote>
<p>Jimmy Wales, the founder of wikipedia has been a particularly <a href="http://en.wikipedia.org/wiki/Wikipedia:SOPA_initiative/Learn_more">vocal critic</a> of the impending legislation. Today, english speaking users of wikipedia were greeted with the following page:</p>
<p><a href="http://baldric.net/wp-content/uploads/2012/01/wikipedia-blackout.png"><img src="http://baldric.net/wp-content/uploads/2012/01/wikipedia-blackout-300x166.png" alt="image of the wikipedia blackout page" title="wikipedia-blackout" width="300" height="166" class="aligncenter size-medium wp-image-1278" /></a> </p>
<p>There is plenty of discussion about the effects of SOPA and PIPA on-line in the usual technical fora (see <a href="http://www.wired.com/threatlevel/2012/01/why-weve-censored-wired-com/">wired</a>, for example) but as <a href="http://www.theregister.co.uk/2012/01/07/mainstream_media_silent_on_sopa/">El Reg</a> said about a week ago, the mainstream media in the US have been largely quiet about the implications of the Bills should they ever become law. </p>
<p>I wonder why.   </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/18/and-darkness-shall-be-upon-the-face-of-the-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>t-mobile resets its policy?</title>
		<link>http://baldric.net/2012/01/12/t-mobile-resets-its-policy/</link>
		<comments>http://baldric.net/2012/01/12/t-mobile-resets-its-policy/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 22:07:10 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[securit]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1256</guid>
		<description><![CDATA[As I have mentioned in other posts here, I run my own mail server on one of my VMs. I do this for a variety of reasons, but the main one is that I like to control my own network destiny. Back in October last year I noticed an interesting change in my mail experience &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/01/12/t-mobile-resets-its-policy/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>As I have mentioned in other posts here, I run my own mail server on one of my VMs. I do this for a variety of reasons, but the main one is that I like to control my own network destiny. Back in October last year I noticed an interesting change in my mail experience with my HTC mobile (actually my wife first noticed it and blamed me, assuming that I had &#8220;twiddled with something&#8221; as she put it). Heaven forfend.</p>
<p>My mail setup is postfix/dovecot with SASL authentication and TLS protecting the mail authentication exchange. My X509 certs are self generated (and so not signed by any CA). I pick up mail over IMAPS (when mobile) and POP3S (at home &#8211; for perverse reasons of history I like to actually download mail to my main desktop over POP3 and archive it to two separate NAS backups). I send via the standard SMTP port 25 but require authentication and protect the exchange with TLS.  </p>
<p>My mail had been working fine ever since I set it up some years ago, but as I said, back in October my wife complained that she could no longer send email from her HTC mobile (we both use t-mobile as the network provider). She was at work at the time so away from my home network. Both our phones are setup to use use wifi for connectivity where it is available (as it is at home of course). When my wife complained I checked my phone and it could send and receive without problem. But when I switched wifi off, thus forcing the data connection though the mobile network, I got the same problem as my wife reported. On checking my mail server logs I read this:</p>
<blockquote><p>postfix/smtpd[28089]: connect from unknown[149.254.186.120]<br />
postfix/smtpd[28089]: warning: network_biopair_interop: error reading 11 bytes from the network: Connection reset by peer<br />
postfix/smtpd[28089]: SSL_accept error from unknown[149.254.186.120]:-1<br />
postfix/smtpd[28089]: lost connection after STARTTLS from unknown[149.254.186.120]<br />
postfix/smtpd[28089]: disconnect from unknown[149.254.186.120]</p></blockquote>
<p>(the ip address is one of t-mobile&#8217;s servers on their &#8220;TMUK-WBR-N2&#8243; network)</p>
<p>Everything I could find about that sort of message suggested that the client was tearing down the connection because there was something wrong with the TLS handshake and it was not trusted. Checking earlier logs, I found that t-mobile&#8217;s address had apparently changed (to the address above) recently. So I assumed that some recent network change following the Orange/T-mobile merger had been badly managed and all would be well again as soon as the problem was spotted. Wrong. It persisted. So I had to investigate further. As part of my investigation of the error, I tried moving mail from port 25 to 587 (submission) because that sometimes gets around the problem of ISPs blocking, or otherwise interfering, with outbound connections from their networks to port 25, No deal. In fact it looked as if t-mobile were blocking all connections to port 587 (I assumed a whitelisting policy block, or again, a cockup).</p>
<p>So, the scenario was: mail works when connecting over wifi and using my domestic ISP&#8217;s network, but doesn&#8217;t when using t-mobile&#8217;s 3G network. Symptoms point to a lack of trust in the TLS handshake. Tentative conclusion? There is an SSL/TLS proxy somewhere in the mobile operator&#8217;s chain. That proxy sucessfully negotiates with our phones, but when it gets my self certified X509 cert from the server. it can&#8217;t authenticate it and decides that the connection is untrusted so tears it down. My server sees this as the client (my phone) tearing down the connection. [As it turns out, this conclusion was completely wrong, but hey].</p>
<p>I said in an email at the time to a friend whose advice I was seeking, &#8220;I suspect cockup rather than outright conspiracy, but if my telco is dumb enough to stick a MITM ssl proxy in my mail chain, they really ought to have thought about handling self signed certs a little better. Otherwise it sort of gives the game away.&#8221;</p>
<p>In response, he very sensibly suggested that I should run a sniffer on the server and check what was going on. At that time, I was busy doing something else so I didn&#8217;t. And because the problem was intermittent (and my wife stopped complaining) I never got around to properly investigating further. (I should explain that I rarely send mail from my mobile nowadays. I just read mail there and wait until I get home to a decent keyboard and can reply to whatever needs handling from there. My wife just gave up bothering to try).     </p>
<p>I should have persisted because of course I wasn&#8217;t the only one to experience this problem.  </p>
<p>Back in November, a member of the t-mobile discussion forum called &#8220;dpg&#8221; <a href="http://support.t-mobile.co.uk/discussions/index?page=forums&#038;topic=80101915a8144e01337e648aca002435&#038;messageit.offset=0">posted</a> a message complaining that he could not connect to port 587 over t-mobile&#8217;s 3G network. In response, a member of the t-mobile forum team suggested that dpg might reconfigure his email so that it was relayed via t-mobile&#8217;s own SMTP server. Not unreasonably, dpg didn&#8217;t think this was an acceptable response &#8211; not least because he would then have to send his email in clear. He then posted again saying that &#8220;the TLS handshake fails when the mail client receives a TCP packet with the reset (RST) flag set.&#8221; (This is a <strong>bad thing (TM).</strong> Further, he posted again saying that he had set up his own mail server and repeated earlier tests so that he could see both ends of the connection. At the client side he posted mail from his laptop tethered to his phone which was connected to the t-mobile 3G network. By running sniffers at both ends of the connection he was able to prove to his own satisfaction that something in the t-mobile network was sending a RST and tearing down any connection when a STARTTLS was seen. Again, in a later post in response to one from another poster who apparently manages several mail servers and had been looking at the same issue for a client, dpg says:</p>
<blockquote><p>&#8220;I must say I&#8217;m not too pleased to discover that T-Mobile may be snooping all traffic to check for SMTP messages. I have demonstrated that they may be doing this by running a SMTP server on a non-standard port and finding that they still sent TCP reset packets during TLS negotiation &#8211; so they must be examining all packets and not just those destined for TCP ports 25 and 587.</p>
<p>I&#8217;m also not that keen on T-Mobile spoofing/forging TCP resets. This is the sort of tactic resorted to by the Great Firewall of China (http://www.lightbluetouchpaper.org/2006/06/27/ignoring-the-great-firewall-of-china/) and also by Comcast back in 2007 (https://www.eff.org/wp/packet-forgery-isps-report-comcast-affair) until the US FCC told them to stop (http://hraunfoss.fcc.gov/edocs_public/attachmatch/FCC-08-183A1.pdf).&#8221;
</p></blockquote>
<p>Then 9 days ago, dpg posted this message:</p>
<blockquote><p>&#8220;I finally got to the bottom of this. I was contacted by T-Mobile technical support today and was told that they are now actively looking for and blocking any TLS-secured SMTP sessions. So, it is a deliberate policy after all, despite what the support staff have been saying on here, twitter and on 150. They told me it is something they have been rolling out over the last three months &#8211; which explains why it was intermittent and dependent on IP address and APN to begin with.</p>
<p>So, the only options for sending email over T-Mobile&#8217;s network are:<br />
- unencrypted but authenticated SMTP (usually on port 25)<br />
- SSL-encrypted SMTP (usually on port 465)<br />
- unauthenticated and unencrypted email to smtp.t-email.co.uk</p>
<p>TLS-encrypted SMTP sessions are always blocked whether or not they are on the default port of 587.&#8221;
</p></blockquote>
<p>(As an aside, there is, of course, another alternative. You can ditch t-mobile as your provider and pick one which doesn&#8217;t use DPI to screw your connections. You pays your money&#8230;.)</p>
<p>Following this, a new poster called &#8220;mickeyc&#8221; said this:</p>
<blockquote><p>&#8220;I&#8217;ve been experiencing this exact same problem. I run my own mail server which has SSL on port 465 and also uses TLS on port 587. I used wireshark to confirm that the RST packets are being spoofed. This is the exact same technology used by &#8220;The Great Firewall of China&#8221;. I have two t-mobile sims. One is about a year old and doesn&#8217;t experience this problem (yet), one is a few weeks old and does.&#8221;
</p></blockquote>
<p>He went to say that he had also experienced problems with his OpenVPN connections and would be blogging about the problem (damned bloggers get everywhere) and sure enough, Mike Cardwell did so at <a href="https://grepular.com/Punching_through_The_Great_Firewall_of_TMobile">grepular.com</a>. That blog post is worth reading because it has an interesting set of comments and responses from Mike appended.</p>
<p>Mike&#8217;s post seems to have been picked up by a few others (El Reg <a href="http://www.theregister.co.uk/2012/01/11/t_mobile_security/">has one</a>, and as Mike himself has pointed out, boingboing.net has a particularly <a href="http://boingboing.net/2012/01/10/t-mobile-uk-is-secretly-disrup.html">OTT post</a> which seems to say that he is accusing t-mobile of something he clearly isn&#8217;t. </p>
<p>Finally, two days ago, dpg posted this:</p>
<blockquote><p>
&#8220;I&#8217;m pleased to report that T-Mobile is no longer blocking TLS-secured email on port 587. As a follow-up to an email exchange over the Christmas period I was contacted today to say that, contrary to what I had been told previously, it was never a deliberate policy to block TLS-secured outgoing email. There was a problem with some equipment after all, which was resolved yesterday.&#8221;
</p></blockquote>
<p>I tried again myself today. Initially, I got the same old symptoms (&#8220;lost connection after STARTTLS&#8221;) then I rebooted my &#8216;phone and lo and behold I could send email.</p>
<p>Like Mike, I tend to the cockup over conspiracy theory, it&#8217;s more likely for one thing. IANAL, but it seems to me that it would be in breach of RIPA part I, Unlawful Interception, for the telco to intercept my SMTP traffic in the way it seems to have been doing. That is not likely to be a deliberate act by a major UK mobile network provider.</p>
<p>But I&#8217;ll still keep an eye on things. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/12/t-mobile-resets-its-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tails in a spin</title>
		<link>http://baldric.net/2012/01/12/tails-in-a-spin/</link>
		<comments>http://baldric.net/2012/01/12/tails-in-a-spin/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 19:15:52 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[coding and admin]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[net tools]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[tips, tricks and howtos]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[anonymity]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1258</guid>
		<description><![CDATA[When I first tested running a tails mirror on one of my VMs, the traffic level reported by vnstat ran at around 20-30 GiB per day. I figured I could live with that because it meant that my total monthly traffic would be unlikely to exceed my monthly 1TB allowance. However, when I checked the &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/01/12/tails-in-a-spin/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>When I first tested running a <a href="http://baldric.net/2011/12/20/the-amnesic-incognito-live-system/">tails</a> mirror on one of my VMs, the traffic level reported by vnstat ran at around 20-30 GiB per day. I figured I could live with that because it meant that my total monthly traffic would be unlikely to exceed my monthly 1TB allowance. However, when I checked the stats on that server last week (around the 9th of Jan) I found that I was shipping out around 150 GiB per day and vnstat was predicting a monthly total of close to 3 TB. As the tails admins said when I told them that I would have to shut off the mirror on that VM while I sorted something, &#8220;Ooops&#8221;. Ooops indeed. I couldn&#8217;t chance a massive bill for exceeding my bandwidth allowance by quite that much. The actual stats for 4, 5, 6, 7, 8 and 9 January before I pulled the plug were: 34.23 GiB, 69.14 GiB, 178.31 GiB, 131.68 GiB, 99.05 GiB and 133.27 Gib. It turns out that tails 0.10 was released on 4 January and I hadn&#8217;t been prepared. A lesson learned.</p>
<p>Having shut down and had the DNS round robin amended, I attended to finding some way of throttling my traffic so that I could live within my allowance whilst still providing a useful mirror. I scratched my head for a while before stumbling on the obvious, I should be throttling at application level. (Sometimes I find that I miss simple answers because I am looking for complicated ones). </p>
<p>I started out by assuming that I should be using <a href="http://lartc.org/">tc</a> and <a href="http://www.netfilter.org/">iptables</a> mangling, or something like the userspace tool <a href="http://monkey.org/~marius/pages/?page=trickle">trickle</a>, all of which looked horribly more complicated than the approach taken by tor (which allows you to simply set the acceptable bandwidth rate to some limit, plus set an accounting period maximum of some total transfer limit per day/week whatever). And of course it turns out that my webserver (lighttpd) allows something similar. Just set the server limit to some chosen max transfer rate and, if necessary, also impose a per IP max rate. The magic configuration file options are:</p>
<blockquote><p># limit server throughput to 3000 kbytes/sec (~30000 kbits/sec)<br />
server.kbytes-per-second = 3000<br />
#<br />
# and limit individual connections to 50 kbytes (~500 kbits/sec) &#8211; NB. I don&#8217;t actually use this<br />
# connection.kbytes-per-second = 50
</p></blockquote>
<p>I tested this by pulling a copy of the tails iso from one of my other VMs which has a high bandwidth connection and got acceptable (and expected) results. So now I can go back on-line later this month safe in the knowledge that I&#8217;m not going to blow all my bandwidth in one week. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/12/tails-in-a-spin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tunnelling X over ssh</title>
		<link>http://baldric.net/2011/12/19/tunnelling-x-over-ssh/</link>
		<comments>http://baldric.net/2011/12/19/tunnelling-x-over-ssh/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 20:18:14 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[coding and admin]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[linux and unix]]></category>
		<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips, tricks and howtos]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks and howtos]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1233</guid>
		<description><![CDATA[OK, yes, I know there are probably already a gazillion web pages on the &#8216;net explaining exactly how to do this, but I got caught out by a silly gotcha when I tried to do this a couple of days ago, so I thought I&#8217;d post a note. Firstly, X is not exactly a secure &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2011/12/19/tunnelling-x-over-ssh/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>OK, yes, I know there are probably already a gazillion web pages on the &#8216;net explaining exactly how to do this, but I got caught out by a silly gotcha when I tried to do this a couple of days ago, so I thought I&#8217;d post a note.</p>
<p>Firstly, X is not exactly a secure protocol, nor is it easy to filter at NAT firewalls, so the ability to tunnel it over ssh is hugely welcome. In fact, ssh can be used to tunnel practically any other protocol you care to name, so it should be your first port of call should you wish to connect to a remote system using an insecure protocol. (I use it to wrap rsync for example). </p>
<p>I don&#8217;t run X on my VMs (there is no need, they don&#8217;t run desktop software) and I had not previously seen the need to run X based graphical programs on those servers. However, a couple of days ago I thought it would be really useful to run etherape on one particular remote server so that I could watch the traffic patterns. Normally I use iptraf (which is ncurses based) when I want to monitor network traffic in real time, but etherape is pretty cool and gives a nice graphical view of your network connections. But it runs on an X based gui.</p>
<p>So. I changed the remote server&#8217;s sshd_config to enable X forwarding (<strong>&#8220;X11Forwarding no&#8221;</strong> becomes <strong>&#8220;X11Forwarding yes&#8221;</strong>) and restarted sshd. On my desktop I similarly changed my local ssh_config file to allow X forwarding (<strong>&#8220;ForwardX11 no&#8221;</strong> becomes <strong>&#8220;ForwardX11 yes&#8221;</strong>) to obviate the need to use the -X switch on the command line. I then installed etherape on the remote server and fired it up only to get the message <strong>&#8220;Error: no display specified&#8221;</strong>. Sure enough <strong>&#8220;echo $DISPLAY&#8221;</strong> showed nothing. But I had thought (and everything I had read confirmed) that ssh should take care of setting the appropriate display when X11 forwarding was set. </p>
<p>So I then tried setting a display manually (<strong>export DISPLAY=localhost:10.0</strong> on the remote server) and then got the response <strong>&#8220;Error: cannot open display: localhost:10.0&#8243;</strong>. So, still no deal.  I spent some time scratching my head (and reading man pages) and sent off a query to my local Linux User group in parallel asking for advice. They were gentle with me.</p>
<p>The first, and rapid, response, said: </p>
<blockquote><p>On the server:</p>
<p>    sudo apt-get install xauth</p>
<p>Then disconnect and reconnect the client.</p>
<p>Jobs a good un.</p></blockquote>
<p>Thank you Brett.</p>
<p>So the moral is, make sure that you have X authorisation working properly on the remote system (check for the existence of $HOME/.Xauthority) if you experience the same symptoms I did. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/12/19/tunnelling-x-over-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tp-link respond</title>
		<link>http://baldric.net/2011/11/30/tp-link-respond/</link>
		<comments>http://baldric.net/2011/11/30/tp-link-respond/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 18:02:34 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[ip camera]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[surveillance]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1231</guid>
		<description><![CDATA[A couple of weeks ago, I wrote about the problems I had with a TP-Link IP camera. Today I received a comment on that post from a guy called Luke in the TP-Link support team. In that response he apologises for the difficulties I had and promises to investigate further. His response deserves as wide &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2011/11/30/tp-link-respond/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago, I wrote about the <a href="http://baldric.net/2011/11/16/do-not-buy-one-of-these/">problems I had with a TP-Link IP camera</a>. Today I received a comment on that post from a guy called Luke in the TP-Link support team. In that response he apologises for the difficulties I had and promises to investigate further. </p>
<p>His response deserves as wide an audience as my original post, so I am drawing attention to it here.</p>
<p>Thank you Luke for taking the time to comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/11/30/tp-link-respond/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>do not buy one of these</title>
		<link>http://baldric.net/2011/11/16/do-not-buy-one-of-these/</link>
		<comments>http://baldric.net/2011/11/16/do-not-buy-one-of-these/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 19:44:43 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[ip camera]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[surveillance]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1018</guid>
		<description><![CDATA[&#160; Standalone IP cameras have come down in price quite remarkably over the past few years. It is now perfectly possible to get a camera for between £50.00 and £75.00, and this makes them attractive for anyone wanting to set up simple &#8220;home surveillance&#8221; systems. I bought one recently just to see what I could &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2011/11/16/do-not-buy-one-of-these/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Standalone IP cameras have come down in price quite remarkably over the past few years. It is now perfectly possible to get a camera for between £50.00 and £75.00, and this makes them attractive for anyone wanting to set up simple &#8220;home surveillance&#8221; systems. I bought one recently just to see what I could realistically do with such a beast. I chose the <a href="http://www.tp-link.com/en/products/details/?model=TL-SC3130G">TP-Link TL-SC3130G</a>,</p>
<p><a href="http://baldric.net/wp-content/uploads/2011/11/TL-SC3130G-01.jpg"><img class="aligncenter size-medium wp-image-1019" title="" src="http://baldric.net/wp-content/uploads/2011/11/TL-SC3130G-01-189x300.jpg" alt="image of TP-Link IP camera" width="189" height="300" /></a></p>
<p>which goes for around £60.00. I bought mine from amazon. I chose this particular camera because, on paper, it looked to have a good specification at a keen price point. According to the TP Link <a href="http://www.tp-link.com/en/products/details/?model=TL-SC3130G#spec">website</a>, the camera&#8217;s highlights include:</p>
<ul>
<li>54Mbps wireless connectivity brings flexible placement</li>
<li>Bi-directional audio allows users to listen and talk remotely</li>
<li>Excellent low light sensitivity ensures good video quality even in the dawn</li>
<li>MPEG-4/MJPEG dual streams for simultaneous remote recording and local surveillance</li>
</ul>
<p>plus an impressive list of protocol capabilities all in a reasonably compact and attractive hardware package.</p>
<p>When the camera arrived I was pleased to find that the hardware was indeed quite solid and attractive. Such a shame I can&#8217;t say anything good about the software though.</p>
<p>As you would expect, I had to first configure the camera over a wired link. By default the camera comes up on 192.168.1.10. The login credentials are the usual &#8220;admin/admin&#8221; &#8211; which is the first thing you should change, but sadly I&#8217;ll bet that few people bother. The web interface presents the user with a set of configuration menus on the left of the screen and an image taken from the camera towards the centre of the screen. The software assumes that the user has IE and ActiveX running so for those of us with more sensible setups, some of the configuration and control options on the camera (such as snapshot, zoom and audio volume control) are unavailable. No matter, the important thing from my point of view, and the reason I bought this camera rather than its slightly cheaper brother, the SC3130, is the supposed wireless capability. At first sight, the camera and network configuration options look surprisingly comprehensive. In fact, I&#8217;d go so far as to say that the list of options available might confuse a user who had little networking experience. For example, besides the obvious options to set new static IP addressing or change to DHCP, you can change HTTP, RTP and RTSP ports, set up multicast streaming, change the multicast address, change the ports used for video and audio streaming, set viewer authentication, set the camera to use PPPoE and dynamic DNS and even send users an alert via email containing the new network settings (such as IP address) should these change. Of course, in order to do so the user must first configure email on the camera. Altogether an impressive looking range of capabilities. Again, such a shame they don&#8217;t all work.</p>
<p>Annoyingly, the web interface sometimes simply refused to accept changes or the system reset the changes after reboot, I first noticed this when changing the camera&#8217;s clock setting to sync with the time on my PC. It simply refused. NTP worked eventually, but it tended to stop working for no apparent reason. But by far the worst fault was in the WiFi stack. WiFi configuration options were all accepted and it was soon possible to connect wirelessly both to configure the camera and to view either a video stream or a still image. However, as soon as the wired connection was removed, both interfaces went down. Nor was it possible to connect wirelessly if the camera was booted without a cable inserted. Now it is pretty pointless to have a WiFi camera that insists on having a wired connection present as well and I couldn&#8217;t believe that no-one had tested this so I assumed that there was some way to get the thing working. Besides I hate being beaten. So I spent what was, on reflection, a disproportionately silly amount of time playing with various configuration options (DHCP vs static addressing, various combinations of UPnP and no UPnP (which involved me changing my router configs as well), changing various network port numbers, all to no avail. I searched the manufacturer&#8217;s website in case there was a new firmware image I could try, but that was a waste of time because the image on the website (1.6.17 dated 29 October 2010) was older than the firmware on the camera (1.6.18 dated 17 March 2011). </p>
<p>After trying umpteen variations of settings, at one point the camera froze completely and refused to boot. I had to resort to a hardware reset to get the thing back up again. Here it got weirder still.  The camera came back up on 192.168.1.97 and not the default 192.168.1.10 (I found it with a sniffer). God help the average punter trying to get this thing to work.</p>
<p>I sent it back, and amazon refunded my money. Do yourself a favour. Don&#8217;t even think about buying one. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/11/16/do-not-buy-one-of-these/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>no police here</title>
		<link>http://baldric.net/2011/02/01/no-police-here/</link>
		<comments>http://baldric.net/2011/02/01/no-police-here/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 14:02:37 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[coding and admin]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[networks]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=745</guid>
		<description><![CDATA[The UK Home Office launched a new crime statistics website today at www.police.uk. The site is supposed to show &#8220;Local crime and policing information for England and Wales&#8221;. I&#8217;m not entirely convinced of the merit of the site in the first place (and can see all sorts of potential objections arising in some of the &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2011/02/01/no-police-here/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>The UK Home Office launched a new crime statistics website today at <a href="http://www.police.uk/">www.police.uk</a>. The site is supposed to show &#8220;Local crime and policing information for England and Wales&#8221;. </p>
<p>I&#8217;m not entirely convinced of the merit of the site in the first place (and can see all sorts of potential objections arising in some of the more rabid tabloid newspapers), but I thought I would try it out before making any form of judgement of my own. Unfortunately I&#8217;m not impressed.</p>
<p>The opening page of the new service invites the user to &#8220;Enter your postcode, town, village or street into the search box below, and get instant access to street-level crime maps and data, as well as details of your local policing team and beat meetings.&#8221; </p>
<p>I have tried various combinations of the suggestions, scaling outwards and upwards from my precise postcode to the whole of that part of the County in which I live. I was not reassured to get the following message:</p>
<p><a href="http://baldric.net/wp-content/uploads/2011/02/Screenshot-Police.uk-norfolk.png"><img src="http://baldric.net/wp-content/uploads/2011/02/Screenshot-Police.uk-norfolk-300x153.png" alt="screenshot of www.police.uk website" title="Screenshot-Police.uk-norfolk" width="300" height="153" class="aligncenter size-medium wp-image-746" /></a></p>
<p>Discussion elsewhere on the &#8216;net suggests that this result is not unusual. It appears to be a badly worded (or badly coded) response to an error condition resulting from system overload following the launch.  At least I sincerely hope that is the case and we are not <strong>really</strong> completely devoid of policing services in the whole of South Norfolk.</p>
<p>Examination of the HTML source for the webpage generated suggests that the service is running on Amazon&#8217;s Web Services. Certainly some of pages are retrieved from S3 servers, and the IP address of the site appears to be on Amazon&#8217;s AWS (see dig and whois results below *). If the site is, as it appears to be, cloud based, then either the supplier (<a href="http://www.rkh.co.uk/news/updated-crimemapper-website-is-launched">Rock Kitchen Harris, Leicester</a>) or the Home Office has seriously undersized the requirement. Regardless of who is at fault here, there is an evident need to pull in some more resource pretty quickly. This should be a good test of the much vaunted flexibility of cloud based services such as Amazon&#8217;s EC2. I expect the service to be running quickly and cleanly by this time tomorrow. </p>
<p>* dig www.police.uk returns:</p>
<blockquote><p>; <<>> DiG 9.6-ESV-R3 <<>> www.police.uk<br />
;; global options: +cmd<br />
;; Got answer:<br />
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10557<br />
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0</p>
<p>;; QUESTION SECTION:<br />
;www.police.uk.			IN	A</p>
<p>;; ANSWER SECTION:<br />
www.police.uk.		1251	IN	CNAME	policeuk-167782603.eu-west-1.elb.amazonaws.com.<br />
policeuk-167782603.eu-west-1.elb.amazonaws.com.	60 IN A	46.137.113.146</p>
<p>;; Query time: 268 msec<br />
;; SERVER: 80.68.80.24#53(80.68.80.24)<br />
;; WHEN: Tue Feb  1 14:16:23 2011<br />
;; MSG SIZE  rcvd: 107
</p></blockquote>
<p>and a whois lookup of 46.137.113.146 returns:</p>
<blockquote><p>% Information related to &#8217;46.137.0.0 &#8211; 46.137.127.255&#8242;</p>
<p>inetnum:        46.137.0.0 &#8211; 46.137.127.255<br />
netname:        AMAZON-EU-AWS<br />
descr:          Amazon Web Services, Elastic Compute Cloud, EC2, EU
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/02/01/no-police-here/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

