<?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>jwiltshire.org.uk</title>
	<atom:link href="http://www.jwiltshire.org.uk/content/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jwiltshire.org.uk/content</link>
	<description>The public face of jwiltshire</description>
	<lastBuildDate>Sat, 03 Mar 2012 21:54:45 +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>Cambridge BSP</title>
		<link>http://www.jwiltshire.org.uk/content/2012/03/03/cambridge-bsp/</link>
		<comments>http://www.jwiltshire.org.uk/content/2012/03/03/cambridge-bsp/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 21:54:45 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=330</guid>
		<description><![CDATA[Cambridge BSP is a post from: jwiltshire.org.uk &#124; Flattr<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2012/03/03/cambridge-bsp/">Cambridge BSP</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="Cambridge BSP" src="http://i.qkme.me/36fdjc.jpg" alt="" width="320" height="240" /></p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=330#comments" title="Comments on &quot;Cambridge BSP&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?330" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2012/03/03/cambridge-bsp/">Cambridge BSP</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2012/03/03/cambridge-bsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reinstalling at arm&#8217;s length</title>
		<link>http://www.jwiltshire.org.uk/content/2011/12/19/reinstalling-at-arms-length/</link>
		<comments>http://www.jwiltshire.org.uk/content/2011/12/19/reinstalling-at-arms-length/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 20:51:07 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=321</guid>
		<description><![CDATA[Recently I had need to re-purpose a server and for convenience, I decided to do a complete wipe and reinstall since it had previously been used for all sorts of package testing, experiments, dak debugging, the list goes on. I took a careful backup and then cooked up some USB installation media, but it took so long to boot (USB1.1, yay) I ran out of time before the building was locked.

Since this box has two hard disks, and not being one to back down from a challenge, I eventually reinstalled it over the weekend with nothing - no install media, no reinstall robot or intelligent hands - just a reliable internet connection and a healthy dose of courage. Here's how.<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/12/19/reinstalling-at-arms-length/">Reinstalling at arm&#8217;s length</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Recently I had need to re-purpose a server and for convenience, I decided to do a complete wipe and reinstall since it had previously been used for all sorts of package testing, experiments, <code>dak</code> debugging, the list goes on. I took a careful backup and then cooked up some USB installation media, but it took so long to boot (USB1.1, yay) I ran out of time before the building was locked.</p>
<p>Since this box has two hard disks, and not being one to back down from a challenge, I eventually reinstalled it over the weekend with nothing &#8211; no install media, no reinstall robot or intelligent hands &#8211; just a reliable internet connection and a healthy dose of courage. Here&#8217;s how.</p>
<p>Target: reinstalled machine with the same network settings, ssh host keys, and other minor configuration ported. The disk layout is to be RAID-1 containing LVM, with separate /var volume and separate /boot partition, also RAID-1.</p>
<ol>
<li>One disk in the box contained old data, so I cleared that out and wiped it (including the MBR for good measure) and partitioned it.</li>
<li>I set up a degraded RAID-1 array for a small /boot partition, a large RAID-1 array for the LVM and a swap partition.</li>
<li>I mounted the new partitions in the correct layout in /mnt and used <code>debootstrap</code>(8) to get a very basic root set up. I also bind-mounted /sys, /proc, /dev and /dev/pts for now, they can be done properly when the root is a bit more mature.</li>
<li>Next, I copied into the new root <code>/etc/apt/sources.list</code> and <code>chroot</code>(8)ed into it. Now I could <code>apt-get update</code> and <code>tasksel install standard</code> to get an almost fully-functional base system. At this point it is also sensible to install <code>locales</code>, <code>tzdata</code> and <code>console-data</code> and <code>dpkg-reconfigure</code> them, followed by <code>mdadm</code> and <code>lvm2</code> if required and <code>openssh-server</code> so you can get back in after rebooting. Some or all of these may already be installed by <code>tasksel</code>.</li>
<li>Time to install a kernel before leaving the chroot: <code>apt-get install linux-image-2.6</code>, followed by <code>grub-pc</code> which should detect both installations and set up menu entries for them.</li>
<li>Back in the old system, I copied in the network, hosts, resolv and hostname configuration files, and set up <code>/etc/fstab</code> to my liking.</li>
<li>Install <code>grub</code> to both hard disks if it isn&#8217;t already so (<code>dpkg-reconfigure grub-pc</code>) and again check that it detects both installations and creates the right menu entries. At this stage, booting from either hard disk will allow the loading of either the new or old installations, which is exactly what we want. It&#8217;s now time to <code>umount</code> the new installation.</li>
<li>Now I followed the <a href="http://ariekanarie.nl/archives/211/remote-kernel-upgrade-with-debianubuntu-and-grub2">excellent guide for remote kernel upgrades</a> at <a href="http://ariekanarie.nl/">http://ariekanarie.nl</a>, except in this case we are using the same method to try booting the new system and fall back to the old one if it&#8217;s a disaster.</li>
<li>Reboot and hope!</li>
</ol>
<p>At this point I rebooted to find myself back in the old kernel, which was disappointing &#8211; this means the new kernel has panicked and rebooted, and grub has fallen back to the old system (exactly as planned). It turned out there was nothing in <code>/dev</code> at boot time, and <code>udev</code> doesn&#8217;t start early enough to populate it before panic. That&#8217;s easily solved by mounting the installation again and using <code>MAKEDEV</code> as a seed.</p>
<ol start="10">
<li>With a bit of luck, you&#8217;re now in the new installation and can <code>dpkg-reconfigure grub-pc</code> again to install <code>grub</code> to both hard disks again. This isn&#8217;t strictly necessary, but it records this choice in debconf so future upgrades will automatically upgrade the bootloader everywhere it&#8217;s needed.</li>
<li>Now I could do some tidying up, mount the old installation and copy over all the data I wanted, and after careful checking wipe the first disk clean ready to be added into the RAID arrays.</li>
<li>Finally, <a href="https://wiki.archlinux.org/index.php/Convert_a_single_drive_system_to_RAID#Add_disk_partition_to_array">add the old disk to the RAID arrays</a> so they are fully redundant.</li>
</ol>
<p>Sources:<br />
<a href="http://www.michael-hammer.at/server_config/debootstrap/">http://www.michael-hammer.at/server_config/debootstrap/</a><br />
<a href="http://d-i.alioth.debian.org/tmp/en.i386/apds03.html">http://d-i.alioth.debian.org/tmp/en.i386/apds03.html</a><br />
<a href="http://www.debian.org/releases/stable/amd64/apds03.html.en">http://www.debian.org/releases/stable/amd64/apds03.html.en</a><br />
<a href="https://wiki.archlinux.org/index.php/Convert_a_single_drive_system_to_RAID">https://wiki.archlinux.org/index.php/Convert_a_single_drive_system_to_RAID</a><br />
<a href="http://ariekanarie.nl/archives/211/remote-kernel-upgrade-with-debianubuntu-and-grub2">http://ariekanarie.nl/archives/211/remote-kernel-upgrade-with-debianubuntu-and-grub2</a></p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=321#comments" title="Comments on &quot;Reinstalling at arm&#8217;s length&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?321" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/12/19/reinstalling-at-arms-length/">Reinstalling at arm&#8217;s length</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2011/12/19/reinstalling-at-arms-length/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DebConf 11</title>
		<link>http://www.jwiltshire.org.uk/content/2011/06/19/debconf-11/</link>
		<comments>http://www.jwiltshire.org.uk/content/2011/06/19/debconf-11/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 20:23:18 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=316</guid>
		<description><![CDATA[So, I got enough of the requisite sponsorship and finally booked some flights&#8230; DebConf 11 is a post from: jwiltshire.org.uk &#124; Flattr<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/06/19/debconf-11/">DebConf 11</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p>So, I got enough of the requisite sponsorship and finally booked some flights&#8230;</p>
<p><a href="http://www.jwiltshire.org.uk/wordpress/wp-content/uploads/2011/06/DC11_web_120x240_01.png"><img class="alignnone size-full wp-image-317" title="I'm going to DebConf11" src="http://www.jwiltshire.org.uk/wordpress/wp-content/uploads/2011/06/DC11_web_120x240_01.png" alt="I'm going to DebConf11" width="120" height="212" /></a></p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=316#comments" title="Comments on &quot;DebConf 11&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?316" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/06/19/debconf-11/">DebConf 11</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2011/06/19/debconf-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StartSSL: finally, a trustworthy certifier*</title>
		<link>http://www.jwiltshire.org.uk/content/2011/06/13/startssl-finally-a-trustworthy-certifier/</link>
		<comments>http://www.jwiltshire.org.uk/content/2011/06/13/startssl-finally-a-trustworthy-certifier/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 22:28:58 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=312</guid>
		<description><![CDATA[Matt Brown writes about StartCom, the Israeli issuer providing basic SSL certificates for nothing. In fact I&#8217;ve been using StartSSL certificates for about three years now, but I get them issued to Level 2 verification which incurs a fee. (It&#8217;s more expensive now than when I was first validated, but still good value.) StartCom are [...]<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/06/13/startssl-finally-a-trustworthy-certifier/">StartSSL: finally, a trustworthy certifier*</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Matt Brown <a href="http://www.mattb.net.nz/blog/2011/06/13/using-startcom-free-ssl-certificates-with-cyrus-imapd/">writes about StartCom</a>, the Israeli issuer providing basic SSL certificates for nothing.</p>
<p>In fact I&#8217;ve been using StartSSL certificates for about three years now, but I get them issued to Level 2 verification which incurs a fee. (It&#8217;s more expensive now than when I was first validated, but still good value.)</p>
<p>StartCom are the only issuer I&#8217;ve ever dealt with who work like this. They validate the individual, using:</p>
<ul>
<li>two forms of government ID</li>
<li>third-party background checks</li>
<li>telephone verification at a number of their choosing, based on the checks</li>
</ul>
<p>This makes me trust them far more than other issuers, who don&#8217;t bother with any meaningful validation at all. Their approach is to establish identity, then allow you to:</p>
<ul>
<li>validate domains and issue as many certificates as you wish, valid for two years, including SAN and wildcard certificates</li>
<li>validate email addresses and issue X.509 certificates in your name</li>
<li>issue code signing and XMPP certificates</li>
<li>undertake stringent Organisation Validation, and then issue certificates in a company name as well as an individual</li>
<li>validate other individuals with a web-of-trust arrangement, like CACert</li>
<li>undergo Extended Validation and issue EV certificates</li>
<li>if you have an unspecified amount of money, become a private CA yourself</li>
</ul>
<p>Although this doesn&#8217;t make up for trust (the presence of an SSL certificate doesn&#8217;t guarantee the data you send is safe upon arrival) it does make me much happier to see a CA taking proper verification measures instead of just handing out certificates at random &#8211; and it&#8217;s much cheaper for me too, being verified once and then issuing as many certificates as I need. Highly recommended.</p>
<p>*that is, <em>more</em> trustworthy</p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=312#comments" title="Comments on &quot;StartSSL: finally, a trustworthy certifier*&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?312" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/06/13/startssl-finally-a-trustworthy-certifier/">StartSSL: finally, a trustworthy certifier*</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2011/06/13/startssl-finally-a-trustworthy-certifier/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>A little civil disobedience</title>
		<link>http://www.jwiltshire.org.uk/content/2011/03/27/a-little-civil-disobedience/</link>
		<comments>http://www.jwiltshire.org.uk/content/2011/03/27/a-little-civil-disobedience/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 21:00:00 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=308</guid>
		<description><![CDATA[For many months I&#8217;ve wondered what would happen if one completed half a census return online and half on paper. Tonight, finally, I get to find out. (for international readers: it&#8217;s the night of the U.K. census, which with a little imagination has the potential for all sorts of fun.) A little civil disobedience is [...]<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/03/27/a-little-civil-disobedience/">A little civil disobedience</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p>For many months I&#8217;ve wondered what would happen if one completed half a census return online and half on paper. Tonight, finally, I get to find out.</p>
<p>(for international readers: it&#8217;s the night of the <a href="http://www.nationalarchives.gov.uk/records/census-records.htm">U.K. census</a>, which with a little imagination has the potential for <a href="http://www.peacenewslog.info/2011/03/how-to-fill-in-your-census-form-without-lockheed-martin-profiting-long-version/">all sorts of fun</a>.)</p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=308#comments" title="Comments on &quot;A little civil disobedience&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?308" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/03/27/a-little-civil-disobedience/">A little civil disobedience</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2011/03/27/a-little-civil-disobedience/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Response from ALLOW Ltd.</title>
		<link>http://www.jwiltshire.org.uk/content/2011/03/07/response-from-allow-ltd/</link>
		<comments>http://www.jwiltshire.org.uk/content/2011/03/07/response-from-allow-ltd/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 09:03:12 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=304</guid>
		<description><![CDATA[I&#8217;ve had a very courteous email from one of the founders of ALLOW, following my analysis of their password reset procedure. &#8220;Thank you for your feedback regarding the security of our platform. We are constantly reviewing these processes and regard our members security as paramount, whilst ensuring our processes are navigable to the majority of [...]<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/03/07/response-from-allow-ltd/">Response from ALLOW Ltd.</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a very courteous email from one of the founders of ALLOW, following <a title="Privacy specialists should hire security specialists" href="http://www.jwiltshire.org.uk/content/2011/03/02/privacy-specialists-should-hire-security-specialists/">my analysis of their password reset procedure</a>.</p>
<blockquote><p>&#8220;Thank you for your feedback regarding the security of our platform. We are constantly reviewing these processes and regard our members security as paramount, whilst ensuring our processes are navigable to the majority of the UK.   We have had the platform professionally penetration tested but your email demonstrates an excellent understanding of the challenges and we would welcome your suggestions on our options of improving the password reset process.</p>
<p>&#8220;We will be extending our SSL certificate to the publicly accessible  website and please be assured that this is held on a different architecture to that of the Member application.&#8221;</p></blockquote>
<p>This is very promising!</p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=304#comments" title="Comments on &quot;Response from ALLOW Ltd.&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?304" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/03/07/response-from-allow-ltd/">Response from ALLOW Ltd.</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2011/03/07/response-from-allow-ltd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Privacy specialists should hire security specialists</title>
		<link>http://www.jwiltshire.org.uk/content/2011/03/02/privacy-specialists-should-hire-security-specialists/</link>
		<comments>http://www.jwiltshire.org.uk/content/2011/03/02/privacy-specialists-should-hire-security-specialists/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 22:11:41 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=289</guid>
		<description><![CDATA[I was interested to hear about a company here in the UK called ALLOW Ltd., offering marketing database management under a &#8220;we&#8217;ll get you off lists, then pay you to go back on at your pleasure&#8221; basis. That sounds a fair deal to me, so I decided to sign up for it. &#8220;Our technology is built [...]<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/03/02/privacy-specialists-should-hire-security-specialists/">Privacy specialists should hire security specialists</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I was interested to hear about a company here in the UK called <a href="http://www.i-allow.com/">ALLOW Ltd</a>., offering marketing database management under a &#8220;we&#8217;ll get you off lists, then pay you to go back on at your pleasure&#8221; basis. That sounds a fair deal to me, so I decided to sign up for it.</p>
<blockquote><p>&#8220;Our technology is built using some of the best and most secure tools in the industry. We have partnered with infrastructure providers who handle some of the most sensitive data in the UK (such as medical and financial records). Both the digital and physical security measures we have implemented are amongst the strongest available anywhere. This includes full encryption of all data at all times, full implementation of secure socket layers, security certificates and physical restriction of access to the data, our servers and our offices. Our systems have been fully penetration tested (that means we’ve asked people to try and break in).&#8221;</p></blockquote>
<p>(There are other suitable assertions in various places &#8211; they even have a set of &#8216;principles&#8217; about safeguarding data.)</p>
<p>Unfortunately, this promise is rather undermined in several ways &#8211; after noticing the first couple, I did a little digging to see what else was exploitable.</p>
<p>Here&#8217;s the final part of the joining process, where you choose a username and password combination:</p>
<p><img title="allowfail" src="http://www.jwiltshire.org.uk/wordpress/wp-content/uploads/2011/03/allowfail.png" alt="" width="558" height="364" /></p>
<p>The text I&#8217;ve cropped too eagerly says &#8220;Choosing a secure password is an essential part of protecting your personal information&#8221;, or thereabouts. I duly chose a complex password that fitted the requirements, and to my surprise it was rejected. I tried another, and it was rejected; then a third and a fourth. By trial and error I worked out what was going on:</p>
<p><strong>1. The password must contain <em>only</em> the listed special characters, not just include one of them.</strong></p>
<p>That&#8217;s a bit of a problem, because even assuming a basic ASCII set, 15 characters are unavailable to users; 80 are left, so that&#8217;s about a 15% fall in the available combinations*. Not a good start.</p>
<p>More concerning is the presence of a &#8220;security question&#8221; field. It&#8217;s used for resetting the password in the event losing it, but this technique for recovery has <a href="http://www.schneier.com/blog/archives/2005/02/the_curse_of_th.html">long been ridiculed</a> &#8211; the shared secret is often common knowledge amongst friends, and sometimes (as in this case) the available questions are fairly easy for an attacker to find the answer to in public records or solicit from the victim without arousing much suspicion:</p>
<p><strong>2. The security questions available include &#8220;First pet&#8217;s name&#8221; and worse, &#8220;First school name&#8221;.</strong></p>
<p>It&#8217;s pretty pointless enforcing stringent password requirements, and then bypassing them with something so susceptible to a dictionary attack.</p>
<p>I was pleased to find that failing to log in to an account more than a few times results in a temporary lockout, which should deter casual brute force attacks. But I wanted to know how that security question would be used, so I &#8216;forgot&#8217; my password and followed the links to reset it. Here&#8217;s the form:</p>
<p><img class="alignnone size-full wp-image-292" title="allowfail2" src="http://www.jwiltshire.org.uk/wordpress/wp-content/uploads/2011/03/allowfail2.png" alt="" width="402" height="426" /></p>
<p>Actually the first form, not shown here, initially just asks for a username, giving an error message if it isn&#8217;t registered, and here&#8217;s another problem:</p>
<p><strong>3. The password reset process confirms the existence, or non-existence, of a given username &#8211; half the credentials required to log in &#8211; to any visitor.</strong></p>
<p>I&#8217;d be prepared to take a bet that most users will choose &#8220;What was the name of your first school?&#8221; as a security question. The first pet you have is often at such a young age you can&#8217;t remember it clearly; the name of the street you grew up on might change a couple of times if you moved house. But first school I attended? I&#8217;ll never forget that, so it makes most sense to use as a &#8216;backup password&#8217;. It&#8217;s also the best one for an attacker to try and find out from public sources.</p>
<p>But that aside, as you can see the password is not generated at random and communicated to the real account holder out-of-band, in the manner of many other sites. Instead:</p>
<p><strong>4. A new password is immediately set to a value already known by the attacker.</strong></p>
<p>Once inside, an attacker can also change the security question or answer, or both, so you can&#8217;t even regain your account by telephoning the company &#8211; unless you can convince them you&#8217;re genuine, in which case the &#8220;security question&#8221; was a total waste of time anyway. I awarded some marks for notifying the user by email that the password has been changed, but immediately docked them again because &#8211; bingo! You&#8217;re now a victim of identity theft!</p>
<p>Let&#8217;s assume you&#8217;ve been locked out, the security question has been changed and you want your account back. ALLOW don&#8217;t let you telephone them; you either have to dig around and find an address to send an email, which we all know can be intercepted, or (and you&#8217;re encouraged to) contact them through a form on the site. You&#8217;ll probably include some personal details, because you want to convince them of your real identity; indeed, two of the options on the form are &#8220;I&#8217;ve got a question&#8221; and &#8220;Something doesn&#8217;t work&#8221;. I sent my findings through this very form, under the latter heading, and to my surprise:</p>
<p><strong>5. Despite promises of &#8220;﻿﻿full encryption of all data at all times, full implementation of secure socket layers&#8221;, the contact form is transmitted to ALLOW in the clear, with no protection whatsoever.</strong></p>
<p>So now anyone listening in your connection knows all about you too: your ISP, any of the peers along the route, the deep packet inspection advertisers if your ISP is less than reputable, and the neighbour who connects to your wireless and slips you a fiver every month for the privilege. Nice work, privacy specialists.</p>
<p>&nbsp;</p>
<p>(For the record:</p>
<ul>
<li>I have sent these findings to ALLOW and <del>await a response</del> <a title="Response from ALLOW Ltd." href="http://www.jwiltshire.org.uk/content/2011/03/07/response-from-allow-ltd/">have a response</a>.</li>
<li>Yes, this scenario is unlikely, but it doesn&#8217;t fill me with confidence about the rest of their business activities.)</li>
</ul>
<p>* please feel free to correct my maths. It was never my strongest subject.</p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=289#comments" title="Comments on &quot;Privacy specialists should hire security specialists&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?289" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/03/02/privacy-specialists-should-hire-security-specialists/">Privacy specialists should hire security specialists</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2011/03/02/privacy-specialists-should-hire-security-specialists/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Point Release Security Co-ordinator</title>
		<link>http://www.jwiltshire.org.uk/content/2011/02/09/point-release-security-co-ordinator/</link>
		<comments>http://www.jwiltshire.org.uk/content/2011/02/09/point-release-security-co-ordinator/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 22:42:49 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=276</guid>
		<description><![CDATA[In &#8216;Bits from the Security Team&#8216; a few weeks ago, Thijs Kinkhorst wrote: Since a couple of years we&#8217;ve been handing off security issues of minor or theoretical impact but for which a fix would be desirable at some point, like certain classes of denial-of-service attacks, off to stable point updates. We&#8217;re looking for a [...]<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/02/09/point-release-security-co-ordinator/">Point Release Security Co-ordinator</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p>In &#8216;<a href="http://lists.debian.org/201101232332.11736.thijs@debian.org">Bits from the Security Team</a>&#8216; a few weeks ago, Thijs Kinkhorst wrote:</p>
<blockquote><p>Since a couple of years we&#8217;ve been handing off security issues of minor or<br />
theoretical impact but for which a fix would be desirable at some point, like<br />
certain classes of denial-of-service attacks, off to stable point updates.<br />
We&#8217;re looking for a person that wants to coordinate this: monitor the Security<br />
Tracker for issues classified as such by the Security Team, converse with<br />
maintainers to get such updates done and coordinate with the stable release<br />
managers on this.</p></blockquote>
<p>I&#8217;m happy to confirm, now that it&#8217;s been <a href="http://lists.debian.org/20110206204202.GA2839@pisco.westfalen.local">announced</a>, that I am that person: point release security co-ordinator.</p>
<h2>Affected packages</h2>
<p>If your package fulfils these criteria:</p>
<ul>
<li>it had a security problem reported in the past (that is, it was allocated a CVE number);</li>
<li>it didn&#8217;t get a Debian Security Advisory, but it wasn&#8217;t marked &#8220;unimportant&#8221; in <a href="http://security-tracker.debian.org/">our tracker</a>;</li>
<li>it has been fixed in unstable, but the version in stable or oldstable is still vulnerable</li>
</ul>
<p>it is a candidate for updating in stable or oldstable, and you&#8217;ll probably receive a mail from me at some point asking you to do so.</p>
<p>You can pre-empt this mail of course, by backporting your fix to the affected versions and contacting the release team to get your fix into stable, without waiting for me. In such a case, please drop me a note with the details so I can tick your off on my hit^W candidate list.</p>
<h2>Making a stable/oldstable upload</h2>
<p>This is documented in the <a href="http://www.debian.org/doc/developers-reference/pkgs.html#upload-stable">Developer&#8217;s Reference</a>, but to summarise:</p>
<ol>
<li>Prepare your fix, targetting stable or oldstable, and build it in an up-to-date chroot for that release</li>
<li>Send a diff of the new package to the release team, asking for permission to upload</li>
<li>Upload as normal, and wait for it to be included in the next point release. Meanwhile, notify the security team of your upload, if it fixes a CVE.</li>
</ol>
<h2>Tracking candidate packages</h2>
<p>I&#8217;m going to start off tracking filed bugs for <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=prsc-target-squeeze;users=jmw@debian.org">SPU candidates</a> and <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=prsc-target-lenny;users=jmw@debian.org">OSPU candidates</a> with usertags in the BTS, under my own address. In time that might be merged into an address used by the security team, but for now I&#8217;m still finding a good workflow so it&#8217;s much easier this way.</p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=276#comments" title="Comments on &quot;Point Release Security Co-ordinator&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?276" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/02/09/point-release-security-co-ordinator/">Point Release Security Co-ordinator</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2011/02/09/point-release-security-co-ordinator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RCBW, week&#8230; fourish.</title>
		<link>http://www.jwiltshire.org.uk/content/2011/01/13/rcbw-week-fourish/</link>
		<comments>http://www.jwiltshire.org.uk/content/2011/01/13/rcbw-week-fourish/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 22:08:32 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=272</guid>
		<description><![CDATA[Just one this week: #609304 (pimd): backport the unstable fix for testing-proposed-updates (which nearly gave me heart failure when it FTBFS on mipsel, but it was an unrelated problem). RCBW, week&#8230; fourish. is a post from: jwiltshire.org.uk &#124; Flattr<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/01/13/rcbw-week-fourish/">RCBW, week&#8230; fourish.</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Just one this week: <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609304">#609304</a> (pimd): backport the unstable fix for testing-proposed-updates (which nearly gave me heart failure when it FTBFS on mipsel, but it was an unrelated problem).</p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=272#comments" title="Comments on &quot;RCBW, week&#8230; fourish.&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?272" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/01/13/rcbw-week-fourish/">RCBW, week&#8230; fourish.</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2011/01/13/rcbw-week-fourish/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RCBW, week three</title>
		<link>http://www.jwiltshire.org.uk/content/2011/01/02/rcbw-week-three/</link>
		<comments>http://www.jwiltshire.org.uk/content/2011/01/02/rcbw-week-three/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 00:16:31 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.jwiltshire.org.uk/content/?p=264</guid>
		<description><![CDATA[This week: #607958 (apt): replied and tagged &#8216;moreinfo&#8217;; jmm later downgraded it to normal #606951 (nsca): agreed with the submitter and reverted the change, uploaded straight to unstable #605784 (nagios-statd): thanks to the great debugging work of the submitter, uploaded a fix to DELAYED/2 (giving the maintainer time to make his own planned upload) #598588 [...]<p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/01/02/rcbw-week-three/">RCBW, week three</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></description>
			<content:encoded><![CDATA[<p>This week:</p>
<ul>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607958">#607958</a> (apt): replied and tagged &#8216;moreinfo&#8217;; jmm later downgraded it to normal</li>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606951">#606951</a> (nsca): agreed with the submitter and reverted the change, uploaded straight to unstable</li>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605784">#605784</a> (nagios-statd): thanks to the great debugging work of the submitter, uploaded a fix to DELAYED/2 (giving the maintainer time to make his own planned upload)</li>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598588">#598588</a> (json-glib): cannot reproduce; reduced severity and emailed the submitter</li>
</ul>
<p>The remaining bugs are either removal candidates or no longer low-hanging-fruit, so I don&#8217;t expect to keep squashing very many more before Squeeze is released.</p>
<br /><a href="http://www.jwiltshire.org.uk/content/?p=264#comments" title="Comments on &quot;RCBW, week three&quot;"><img src="http://www.jwiltshire.org.uk/content/wp-content/plugins/feed-comments-number/image.php?264" alt="Comments" /></a><p><hr />
<a href="http://www.jwiltshire.org.uk/content/2011/01/02/rcbw-week-three/">RCBW, week three</a> is a post from: <a href="http://www.jwiltshire.org.uk/content">jwiltshire.org.uk</a> | <a href="https://flattr.com/profile/jmw">Flattr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jwiltshire.org.uk/content/2011/01/02/rcbw-week-three/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

