<?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>BruceTonge.Info &#187; Web</title>
	<atom:link href="http://www.brucetonge.info/category/computing/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brucetonge.info</link>
	<description>It&#039;s not difficult really...</description>
	<lastBuildDate>Thu, 25 Aug 2011 14:18:35 +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>PSN Email</title>
		<link>http://www.brucetonge.info/psn-email/</link>
		<comments>http://www.brucetonge.info/psn-email/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 23:06:33 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=127</guid>
		<description><![CDATA[I have just tonight received the email I have been waiting for from Sony in regard to there PSN &#8220;Outage&#8221;. As you are all probably aware the PSN has been down for a week now and looks like it will be down for at least another week. It would appear that Sony have managed to [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I have just tonight received the email I have been waiting for from Sony in regard to there PSN &#8220;Outage&#8221;. As you are all probably aware the PSN has been down for a week now and looks like it will be down for at least another week. It would appear that Sony have managed to loose there entire user database to an intruder. the only think they seem to have protected is the security code for credit cards though they are not finished investigating the breach so there is time yet&#8230;</p>
<p>The one thing that has struck me is that they have lost all the users passwords&#8230; Now this is quite alarming in a number of ways. Firstly let me note the two options I see there being for the loss of passwords as described by Sony (which is vague at best):</p>
<p>1. The passwords were stored in the clear (not protected by a hash) and were in the same databases that have been taken. Or.</p>
<p>2.The passwords were stored in a database that was compromised but they were hashed password.</p>
<p>Now if option 2 is the case I can only guess that there is some worry that the hashing method used is not very strong I.E. a known algorithm with no salt. This would be bad but excusable.</p>
<p>I fear however that Sony have kept the passwords in the clear. This is inexcusable. IF this turns out to be the case I dare say the protection of the credit card security codes will be as equally poor.</p>
<p>I will await the full disclosure of this incident before I decide weather to leave the PlayStation platform for good.</p>
<div class="shr-publisher-127"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/psn-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Single Line WordPress Upgrade</title>
		<link>http://www.brucetonge.info/my-single-line-wordpress-upgrade/</link>
		<comments>http://www.brucetonge.info/my-single-line-wordpress-upgrade/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 23:51:01 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=69</guid>
		<description><![CDATA[Here is my take on the single line word press upgrade I saw at hack a day. The bellow will download the latest version and unpack it. IT then removes the new plugins and themes as to not over wright your installed ones. IT then copies the new install over the old one and resets [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Here is my take on the single line word press upgrade I saw at hack a day.<br />
The bellow will download the latest version and unpack it. IT then removes the new plugins and themes as to not over wright your installed ones. IT then copies the new install over the old one and resets the permissions on the files.<br />
<code>wget http://wordpress.org/latest.zip &amp;&amp; unzip latest.zip &amp;&amp; rm -rf ./wordpress/wp-content/ &amp;&amp; cp -r ./wordpress/* ../</code></p>
<p>You may need to change the paths for your installation but this should work quite well.<br />
As allways take a backup before you run this just in case.</p>
<div class="shr-publisher-69"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/my-single-line-wordpress-upgrade/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MacRumours Hacked</title>
		<link>http://www.brucetonge.info/macrumours-hacked/</link>
		<comments>http://www.brucetonge.info/macrumours-hacked/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 17:51:41 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=62</guid>
		<description><![CDATA[The live feed for the MacWorld keynote from MacRumours was hacked today. This hack also took down there regular site. From the text that was in replacement to the keynote info (provided by thoes that had hacked the site) it seems that access to the server controle pannel was hacked allowing access to the hole [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>The live feed for the MacWorld keynote from MacRumours was hacked today. This hack also took down there regular site. From the text that was in replacement to the keynote info (provided by thoes that had hacked the site) it seems that access to the server controle pannel was hacked allowing access to the hole system. It also apeared that more than one hacker had had ago at the system as conversations emerged in the streem. At one point it seemed that other users of the site were also able to contribute as requests to stop were also included in the streem as well as info from other streem providers. Not a good day for MacRumours.</p>
<div class="shr-publisher-62"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/macrumours-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yubikey Issues</title>
		<link>http://www.brucetonge.info/yubikey-issues/</link>
		<comments>http://www.brucetonge.info/yubikey-issues/#comments</comments>
		<pubDate>Wed, 14 May 2008 23:10:19 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=41</guid>
		<description><![CDATA[I have ordered my key now will be with me in two weeks so I can have a proper play then. But I have been thinking. This device doesn&#8217;t work if you can just buy one anonymously and create an identity with it and use it for authentication. All it is really good for a [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I have ordered my key now will be with me in two weeks so I can have a proper play then. But I have been thinking. This device doesn&#8217;t work if you can just buy one anonymously and create an identity with it and use it for authentication. All it is really good for a single user is for adding to existing accounts on systems and using the key as a single authentication device through the central auth system (openID). Other than that the key needs to be issued by a party and tied to there system and issued in a way so that it is securely placed into the hands of the correct owner for multi factor authentication. in this method for each system you need authentication to you would need a separate key ie for access to a bank account with one firm and access to a credit card held by another firm. One key will not do all. What this system needs is a central authentication system that can be trusted to some level. A bit like <span class="a">Thawte did with ssl certs all those years ago.<br />
</span></p>
<div class="shr-publisher-41"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/yubikey-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Yubico has got me exited</title>
		<link>http://www.brucetonge.info/yubico-has-got-me-exited/</link>
		<comments>http://www.brucetonge.info/yubico-has-got-me-exited/#comments</comments>
		<pubDate>Sat, 10 May 2008 20:36:30 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=40</guid>
		<description><![CDATA[Ok I have just herd about the new authentication device from Yubico it is called the Yubikey and it is verry simple it is a usb keyboard in a pen drive that sends a single instance key for authentication anyway I am pressed for time at the mo and this Portugees keyboard is all wrong. [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Ok I have just herd about the new authentication device from <a href="http://www.yubico.com" title="http://www.yubico.com">Yubico</a> it is called the Yubikey and it is verry simple it is a usb keyboard in a pen drive that sends a single instance key for authentication anyway I am pressed for time at the mo and this Portugees keyboard is all wrong. But the top and the bottom is havea look it is all opensource they just sell the hardware I have bought mine to play with. you should too. I will postmore when I have had a play but read theresite is is verry cool in the way that it works.</p>
<div class="shr-publisher-40"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/yubico-has-got-me-exited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RIP Pandora hello Last.FM</title>
		<link>http://www.brucetonge.info/rip-pandora-hello-lastfm/</link>
		<comments>http://www.brucetonge.info/rip-pandora-hello-lastfm/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 16:44:24 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=36</guid>
		<description><![CDATA[Last FM is the well not new but now legal play what you want internet radio station. And it has its own client so you can play outside of the browser. This is a feature I have always wanted from Pandora. On top of that the client comes in several flavors Windows Apple and Linux [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.last.fm">Last FM</a> is the well not new but now legal play what you want internet radio station. And it has its own client so you can play outside of the browser. This is a feature I have always wanted from Pandora. On top of that the client comes in several flavors Windows Apple and Linux and if you use a Debian derivative distro you can install and maintain via apt. Very impressive.</p>
<div class="shr-publisher-36"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/rip-pandora-hello-lastfm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pandora&#8217;s box closes to the UK</title>
		<link>http://www.brucetonge.info/pandoras-box-closes-to-the-uk/</link>
		<comments>http://www.brucetonge.info/pandoras-box-closes-to-the-uk/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 23:38:52 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=35</guid>
		<description><![CDATA[Pandora the custom internet radio company, will be blocking the UK from accessing the station as of the 15th of Jan 08. This is due to licensing issues with the music companies not going well. The UK was the only country out side the US that was able to get the system and there was [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.pandora.com/">Pandora</a> the custom internet radio company, will be blocking the UK from accessing the station as of the 15th of Jan 08. This is due to licensing issues with the music companies not going well. The UK was the only country out side the US that was able to get the system and there was some thought that the UK would let the add based company stream there radio. But this is not to be the case. There is also concern that the station might be forced off the wires in the US as well in the future. If you haven&#8217;t used Pandora before I urge you to have a look before you are unable to again.</p>
<p>Yet another nail in the media revolution coffin. Lets hope Jobs will cheer every one up next week.</p>
<div class="shr-publisher-35"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/pandoras-box-closes-to-the-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lost</title>
		<link>http://www.brucetonge.info/lost/</link>
		<comments>http://www.brucetonge.info/lost/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 23:12:55 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=32</guid>
		<description><![CDATA[The lost casts guys are back on the wire just before series 4 starts to air in the US. Cant wait to hear more from them. Also I just wanted to link this guy not that he isn&#8217;t popular enough or that linking him here will help. Johnny has done some really cool projects over [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>The <a href="http://www.lostcasts.com">lost casts</a> guys are back on the wire just before series 4 starts to air in the US. Cant wait to hear more from them. Also I just wanted to link <a href="http://www.cs.cmu.edu/~johnny/">this guy</a> not that he isn&#8217;t popular enough or that linking him here will help. Johnny has done some really cool projects over the years more recently he has done alot with the Wii Mote that mos people will have seen all over the net. but I think that some of his other projects are of possibly greater note have a look.</p>
<p>I have also recently moved to another new server with more power and before it was really commissioned we purchased its replacement well this server will become a fail over node but that isn&#8217;t important. And we are now running ISPCP in anger. we have had to make several changes to the system to make it work the way we need and want it to but nothing to dramatic.Â  More info on ISPCP issues to follow.</p>
<div class="shr-publisher-32"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/lost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: ispCP Secondary DNS</title>
		<link>http://www.brucetonge.info/howto-ispcp-secondart-dns/</link>
		<comments>http://www.brucetonge.info/howto-ispcp-secondart-dns/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 14:18:41 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=31</guid>
		<description><![CDATA[Secondary DNS is a bit of an issue that is yet to be sorted fully in ispCP but if you want to do some hosting with it it is a requirement. So here is the documentation of the way we have implemented secondary DNS within ISPCP. Here is a little diagram of what we are [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Secondary DNS is a bit of an issue that is yet to be sorted fully in ispCP but if you want to do some hosting with it it is a requirement. So here is the documentation of the way we have implemented secondary DNS within ISPCP.<span id="more-31"></span></p>
<p>Here is a little diagram of what we are trying to achieve.</p>
<p>the servers go here.</p>
<p>The Master server is an ispCP box running several domains.</p>
<p>The Secondary server can also be an ispCP box with its own domains on or it could be just a bind server just for secondary DNS.</p>
<p>The  Tertiary server is the same as the secondary server.</p>
<p>The zones for the domains running on Master are created automatically on the Master server but need to be transferred to the other two servers. Here is steps that we took to achieve this.</p>
<p>First off we need to create a user on all of our servers that will be used to do the transfer.<br />
<code>useradd -g bind -m -p password dnstrans</code></p>
<p>This will add a user called dnstrans in the group bind.</p>
<p>Next we need a script that will make the config file for the secondary servers this needs to be edited differently from the master servers config file. We found a script that was written to do the job but we found it not to work quite right. Here is a copy of our script.</p>
<p><code>#!/bin/bash<br />
# Replace "x.y.z.w" with the IP address of your master DNS<br />
MASTER=x.y.z.w<br />
DB_PATH=/var/cache/bind/<br />
user=dnstrans<br />
group=bind<br />
file=/home/$user/`hostname`sec<br />
echo "#start" &gt; $file #empties transfer file<br />
pushd $DB_PATH  # changes to directory path and stores pwd<br />
#ls -1 *.db | awk -v m=$MASTER -v path=$DB_PATH '{ print gensub(/(.*)\.db/,"zone\"\\1\" { type slave; file \""path"/manual/\\1.db\"; masters { "m"; }; };", g,$9); }'<br />
ls -1 /var/cache/bind/ |gawk -v m=$MASTER '{print gensub(/(.*)\.db/,"zone \"\\1\" { type slave; masters { "m"; }; file \""path"\\1.db\"; };",1) }' &gt;&gt; $file<br />
chown  $user.$group $file<br />
popd # pops back to pwd</code></p>
<p>Place this script in /usr/local/sbin/trans. It will also need to be made executable with the following</p>
<p><code>chmod +x /usr/local/sbin/trans</code></p>
<p>This script will output a file the the dnstrans home called &#8220;xxxsec&#8221; were xxx is the host name of the master DNS server that has created this file. This will be the file that we need to transfer to the secondary servers.</p>
<p>Next we automate the creation of this file every hour using crontab.<br />
<code><br />
crontab -e<br />
02 * * * * /usr/local/sbin/trans</code></p>
<p>This will run at 2 minuites after the hour every hour.</p>
<p>That is it for the master server next we need to configure our secondary servers.</p>
<p>We have to pull the file that has been created to our secondary server with this script.</p>
<p><code>#/bin/bash<br />
cd /etc/bind/<br />
wget ftp://dnstrans:password@master.server.tld/betasec --passive-ftp #download the zone file<br />
rndc reload #reload the dns domains</code></p>
<p>We also need this file to be placed in /usr/local/sbin/getdns and it will need to be made executable.<br />
<code><br />
chmod +x /usr/local/sbin/getdns</code></p>
<p>This will pull the file to the secondary DNS servers /etc/bind/ folder. Next we need to edit the secondary DNS servers config to include the new file this is done with this command.<br />
<code><br />
echo 'include "/etc/bind/hostnamesec";' &gt;&gt; /etc/bind/named.conf.local</code></p>
<p>Last off we need to automate the pull of the file this is done with a cron job on the secondary server as bellow.</p>
<p><code>crontab -e<br />
09 * * * * /usr/local/sbin/getdns</code></p>
<p>This job will run at 9 minuites after the hour every hour.</p>
<p>John has also done a wright up of this project and as he did most of it his is probably better than mine so here is the<a href="http://www.johncooke.info/linux/ispcp.php" target="_blank"> link</a> to his.</p>
<div class="shr-publisher-31"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/howto-ispcp-secondart-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OMG these sites are a little scary</title>
		<link>http://www.brucetonge.info/omg-these-sites-are-a-little-scary/</link>
		<comments>http://www.brucetonge.info/omg-these-sites-are-a-little-scary/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 23:35:06 +0000</pubDate>
		<dc:creator>OKButton</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.brucetonge.info/?p=29</guid>
		<description><![CDATA[I just had to post these links as I found them tonight and they are quite scary in the way they put info together to get an interesting picture of people. First up is http://centralops.net/ This site can give you some detailed info on domains well worth a try but not just whois it can [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I just had to post these links as I found them tonight and they are quite scary in the way they put info together to get an interesting picture of people. First up is <a href="http://centralops.net/co/">http://centralops.net/</a> This site can give you some detailed info on domains well worth a try but not just whois it can also do a server scan. Then there is this <a href="http://serversniff.net/">http://serversniff.net/</a> way to much info from a server than is healthy. And finally there is this <a href="http://www.paterva.com/web/Maltego/">http://www.paterva.com/web/Maltego/</a> which puts it all together and joins up the dots and the gui when available is really sick.</p>
<div class="shr-publisher-29"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.brucetonge.info/omg-these-sites-are-a-little-scary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

