<?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>Tech And Music Blog</title>
	<atom:link href="http://blog.petermcdonald.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.petermcdonald.co.uk</link>
	<description>The Tech And Music Blog</description>
	<lastBuildDate>Mon, 07 May 2012 22:13:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>My First iPhone App</title>
		<link>http://blog.petermcdonald.co.uk/2012/02/14/my-first-iphone-app/</link>
		<comments>http://blog.petermcdonald.co.uk/2012/02/14/my-first-iphone-app/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 21:04:46 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Smart Phones]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[developer program]]></category>
		<category><![CDATA[garbage collection]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[storyboard]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=168</guid>
		<description><![CDATA[Last May I finally succumbed and joined the Apple iOS Developer Program. During this time I have ben learning objective-c and trying to decide what app I should make. I have now decided and started on my first proper iPhone &#8230; <a href="http://blog.petermcdonald.co.uk/2012/02/14/my-first-iphone-app/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last May I finally succumbed and joined the <a title="Apple iOS Developer Program" href="https://developer.apple.com/programs/ios/" target="_blank">Apple iOS Developer Program</a>. During this time I have ben learning objective-c and trying to decide what app I should make.</p>
<p><span id="more-168"></span></p>
<p>I have now decided and started on my first proper iPhone application. So far it has been a fairly steep learning curve as I have not programmed overly in languages such a objective-c in the past. While learning there was also quite a big shift in how you go about things. For example with the release of iOS 5 you should now use the storyboard feature. A bigger change which to be honest that has helped me quite a bit is the introduction of reference counting and a proper garbage collector.</p>
<p>While the language that I use the most is moving more towards the programmer deciding when to clear memory (PHP) objective-c is moving in the opposite direction.</p>
<p>The app I have decided to create first is going to be an app to help administer a cpanel/whm server. At present I am about half way through the coding and have a friend looking into the images for me. Now the decision is should it be free or a nominal fee. Another possibility of course is to have a lite version and a fully featured version.</p>
<p>Hoping to have the a fully functional test app up and running within 2 weeks. Looking forward at seeing what the publishing process for apps is like. I already have plans for a 2nd app.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2012/02/14/my-first-iphone-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Logical Operators in PHP</title>
		<link>http://blog.petermcdonald.co.uk/2012/01/07/logical-operators-in-php/</link>
		<comments>http://blog.petermcdonald.co.uk/2012/01/07/logical-operators-in-php/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 22:45:17 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[erators]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=161</guid>
		<description><![CDATA[Just a very quick post. Most of us use the operators &#38;&#38; (AND) and &#124;&#124; (OR) but 1 that I always forget is XOR. I have knocked up a quick image showing the results when comparing the lofical operators in &#8230; <a href="http://blog.petermcdonald.co.uk/2012/01/07/logical-operators-in-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just a very quick post. Most of us use the operators &amp;&amp; (AND) and || (OR) but 1 that I always forget is XOR. I have knocked up a quick image showing the results when comparing the lofical operators in PHP.</p>
<div class="wp-caption aligncenter" style="width: 533px"><a href="http://php.net/manual/en/language.operators.logical.php"><img title="Logical Operators in PHP" src="http://www.petermcdonald.co.uk/images/operators.jpg" alt="Logical Operators in PHP" width="523" height="101" /></a><p class="wp-caption-text">Logical Operators in PHP</p></div>
<p>As you can see XOR returns true if only 1 of A or B is true. This is not as commonly used as &amp;&amp; or || but still usefull.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2012/01/07/logical-operators-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nirvana For Christmas Number 1</title>
		<link>http://blog.petermcdonald.co.uk/2011/12/18/nirvana-for-christmas-number-1/</link>
		<comments>http://blog.petermcdonald.co.uk/2011/12/18/nirvana-for-christmas-number-1/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 17:06:57 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[campaign]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[christmas]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[nirvana]]></category>
		<category><![CDATA[spells like teen spirit]]></category>
		<category><![CDATA[uk]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=156</guid>
		<description><![CDATA[Some of you may remember that last year there was a campaign on Facebook to get Rage Against The Machine as the Christmas number 1. That campaign became a great success and thwarted last year’s X-Factor hijacking the charts as &#8230; <a href="http://blog.petermcdonald.co.uk/2011/12/18/nirvana-for-christmas-number-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some of you may remember that last year there was a <a title="Facebook Campaign for Rage Against The Machine" href="http://www.facebook.com/group.php?gid=2228594104" target="_blank">campaign on Facebook to get Rage Against The Machine</a> as the Christmas number 1. That campaign became a great success and thwarted last year’s X-Factor hijacking the charts as they usually do.</p>
<p>Well this year there is another campaign. This year’s campaign is to try and get Nirvana&#8217;s Smells Like Teen Spirit to the number 1 spot. This year the Christmas charts are actually on Christmas day so any copies of this song bought from now until 23:59 on December the 24th will count towards the campaign</p>
<p>I have bought my copy already. Have you?</p>
<p>Click here for more information on the <a title="Nirvana facebook campaign" href="http://www.facebook.com/nirvanaforno1" target="_blank">Nirvana Facebook campaign</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2011/12/18/nirvana-for-christmas-number-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple Release iTunes Match In The UK</title>
		<link>http://blog.petermcdonald.co.uk/2011/12/18/apple-release-itunes-match-in-the-uk/</link>
		<comments>http://blog.petermcdonald.co.uk/2011/12/18/apple-release-itunes-match-in-the-uk/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 16:56:54 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[match]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[purchases]]></category>
		<category><![CDATA[rips]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=154</guid>
		<description><![CDATA[Several months ago Apple announced the iTunes Match service which allows users to have their non-iTunes purchases associated with their account and for them to have the ability to download high quality versions of the songs (256 kbps with no &#8230; <a href="http://blog.petermcdonald.co.uk/2011/12/18/apple-release-itunes-match-in-the-uk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Several months ago Apple announced the iTunes Match service which allows users to have their non-iTunes purchases associated with their account and for them to have the ability to download high quality versions of the songs (256 kbps with no DRM).</p>
<p>The service sounded great but 1 disappointment I had was that the service was not available in the UK.<span id="more-154"></span>Well now with unusually underwhelming fanfare from Apple they have now released the service within the UK. There appears to be no mention of this in any <a title="Apple Press Release" href="http://www.apple.com/uk/pr/" target="_blank">press release</a>. Luckily I was just wondering if there was any word of a release date and came across articles by numerous respected news corporations. It apparently got released a couple of days ago.</p>
<p>Now when you log into the iTunes store you will see iTunes Match in the Quick Links box (alternatively click here for <a title="iTunes Match" href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewGrouping?id=25106&amp;s=143444" target="_blank">iTunes Match</a>, this will open in a new browser and automatically open iTunes).</p>
<p>The cost of the service is £21.99 a year. There is not much information on the page but it does give a couple of limitations. For example there is a limit of 10 devices that can sync up (not many will go over this). There is also a limit of 25,000 songs, this will not be an issue for most but I do envisage me going over this within a year or so.</p>
<p>I plan on giving this service a whirl once I get paid to see how good the service is.</p>
<p>&#8212;UPDATED 07/05/2012&#8212;</p>
<p>I finally got around to purchasing iTunes Match. Out of the roughly 11500 songs I have in my library I had to upload around 3500. Took some time but it has finally finished.</p>
<p>Once I have used the service for a while I will be carrying out a review of the service.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2011/12/18/apple-release-itunes-match-in-the-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PacktLib Hit or Miss</title>
		<link>http://blog.petermcdonald.co.uk/2011/12/04/packtlib-hit-or-miss/</link>
		<comments>http://blog.petermcdonald.co.uk/2011/12/04/packtlib-hit-or-miss/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 16:07:50 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[ebooks]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[packt]]></category>
		<category><![CDATA[packtlib]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[subscription]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=148</guid>
		<description><![CDATA[Anyone who is familiar with programming books have probably come across Packt Publishing even if they have not bought any of their books. As well as allowing people to buy books and e-books from their website they also provide another &#8230; <a href="http://blog.petermcdonald.co.uk/2011/12/04/packtlib-hit-or-miss/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Anyone who is familiar with programming books have probably come across <a title="Packt Publishing" href="https://www.packtpub.com/" target="_blank">Packt Publishing</a> even if they have not bought any of their books.</p>
<p>As well as allowing people to buy books and e-books from their website they also provide another intriguing service. This service is called PacktLib. PacktLib enables you to purchase a monthly subscription to their complete library</p>
<p>The subscription (which is currently £15 a month) allows you to read any book that Packt have ever published (new or old). This month I decided that I would take the plunge and purchase a subscription to the service to see how it is.<span id="more-148"></span></p>
<p>On mentioning this to a work colleague he sounded far from impressed with the offering but here are my thought on the service so far.</p>
<p>Instead of allowing you to check out and download an e-book Packt allow you to read the book in a web interface. This has some positive and negative side effects. On the plus side the books are easily searchable and are laid out well. Sometimes the images in the books can have a tendency to be a bit small (you can click on them to have them display in an overlaid pop-up but they can still be too small). The downside however is that to read the book you have to be connected up to the internet so that you can continue reading past the current page you are on (I have not located any offline reading mode). 1 way that could ease this apart from an offline mode would maybe for them to create an app for the android and iPhone (as well as other platforms of course).</p>
<p>The library also has some other great features such as the ability to search the content of all of their books and to jump directly to where in the books the result is for. This also works well when using the similar content tab.</p>
<p>You can also download any associated code that the book has directly from the library without the usual hassle of trying to locate the correct page on their website, entering your email address etc.</p>
<p>1 other great feature that the site has is that you can bookmark a page from within a book. Although this is a great feature this appears to store the bookmark on your PC rather than on their servers. This is fine if you use the same device for accessing the library from anywhere but if you use more than 1 it can be a pain to locate where you previously left off.</p>
<p>An added bonus of the subscription is that every month you receive a credit for a free downloadable e-book that is added to your Packt account just like any other purchased e-book. There appears to be no limitation on what book you can get from this. The token is immediately available as soon as you sign up. The e-book that I chose was actually of higher value than the monthly subscription.</p>
<p>On the whole this is a great service but does have room for improvement. My personal improvement wish list would include:</p>
<ul>
<li>Enable an offline reading mode.</li>
<li>Enable cross device bookmarks.</li>
<li>Release a smart phone app. This will work better than trying to use a browser.</li>
<li>Add a feature to mark a book as read.</li>
<li>Link books by authors.</li>
</ul>
<p>Overall I am very happy with the subscription that I have taken out but the above enhancements would make the site so much better.</p>
<p>For those of you that are tempted to try out the service you can sign up and try it out on the free e-books that they do offer. This will give you a good understanding on how the system works.</p>
<p><a title="PacktLib" href="https://www.packtpub.com/login" target="_blank">Sign up for PacktLib here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2011/12/04/packtlib-hit-or-miss/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Finally Some Good Domaining News</title>
		<link>http://blog.petermcdonald.co.uk/2011/11/21/finally-some-good-domaining-news/</link>
		<comments>http://blog.petermcdonald.co.uk/2011/11/21/finally-some-good-domaining-news/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 23:49:59 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Domains]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[dnforum]]></category>
		<category><![CDATA[enom]]></category>
		<category><![CDATA[ggot]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[namepro]]></category>
		<category><![CDATA[rpg.org]]></category>
		<category><![CDATA[stolen domain]]></category>
		<category><![CDATA[theft]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=137</guid>
		<description><![CDATA[A couple of years ago I used to be a mod and staff member on 1 of the bigger domaining forums. Namely Namepros. Being a member of staff over there I got to know about things as they happened. Back &#8230; <a href="http://blog.petermcdonald.co.uk/2011/11/21/finally-some-good-domaining-news/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A couple of years ago I used to be a mod and staff member on 1 of the bigger domaining forums. Namely <a title="Namepros" href="http://www.namepros.com">Namepros</a>. Being a member of staff over there I got to know about things as they happened.</p>
<p>Back on the 28th of February in 2009 I started to become aware of the theft and attempted sale of some domain names. 1 of these domain names was very good indeed. That domain was rpg.org. By the time the theft came to light it was too late for the rightful owner to do anything about it as the domain had been transferred from GoDaddy to eNom.<span id="more-137"></span>Over a few weeks I had some communication with the rightful owner and he was quite down hearted as he believed he had lost the domain for good. The registrars involved showed a complete unwillingness to do anything about the theft. Luckily there were some swift actions between the staff at <a title="Namepros" href="http://www.namepros.com/" target="_blank">Namepros</a> and <a title="DN Forum" href="http://www.dnforum.com/" target="_blank">DNForum</a> (thanks <a title="Johnn on DNForum" href="http://www.dnforum.com/member-johnn.html" target="_blank">Johnn</a>) that helped thwart the sale of the domain name. The seller was trying to sell the domain from anything ranging between $100 through too $3,500.</p>
<p>I personally posted reports of the stolen domain on both forums (<a title="Stolen Domain Alert On Namepros" href="http://www.namepros.com/warnings-and-alerts/563175-rpg-org-stolen-domain-alert.html" target="_blank">Namepros</a>, <a title="Stolen Domain Alert On DNForum" href="http://www.dnforum.com/f26/rpg-org-mmorpg-x-com-stole-thread-353277.html" target="_blank">DNForum</a>).</p>
<p>Well now to the good news. Today the original owner of the domain name (<a title="ggot on Namepros" href="http://www.namepros.com/members/115099.html" target="_blank">ggot</a>) has reported that after a long struggle the domain has finally been returned. Full details of this are not currently at hand but I hope to find out how this was managed.</p>
<p>I am sure you will agree however this is extremely good news.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2011/11/21/finally-some-good-domaining-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Domains For Sale</title>
		<link>http://blog.petermcdonald.co.uk/2011/11/10/domains-for-sale/</link>
		<comments>http://blog.petermcdonald.co.uk/2011/11/10/domains-for-sale/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 21:49:51 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Domains]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[DiverseBlog.com]]></category>
		<category><![CDATA[DomainingArticles.com]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[LinuxDaemon.com]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[ObscureRecords.com]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHPSecured.com]]></category>
		<category><![CDATA[records]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=127</guid>
		<description><![CDATA[I am currently looking to raise some cash and have just posted some quality domain names. I am open to offers. Feel free to comment or to post on Namepros or DNForum. The domains for sale are: Domain: DiverseBlog.com Creation: &#8230; <a href="http://blog.petermcdonald.co.uk/2011/11/10/domains-for-sale/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am currently looking to raise some cash and have just posted some quality domain names. I am open to offers. Feel free to comment or to post on <a title="Namepros Sales Page" href="http://www.namepros.com/domains-for-sale-make-offer/737052-domainingarticles-com-obscurerecords-com-plus-3-a.html#post4213990" target="_blank">Namepros</a> or <a title="DNForum Domain Sales Page" href="http://www.dnforum.com/f283/domainingarticles-com-obscurerecords-com-plus-3-more-thread-469730.html#post2052147" target="_blank">DNForum</a>.</p>
<p>The domains for sale are:</p>
<p>Domain: DiverseBlog.com<br />
Creation: 14 Dec 2006<br />
Expiry: 14 dec 2011<br />
Registrar: GoDaddy</p>
<p>Name and potential uses speak for themselves. A great little domain for a blog.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Domain: DomainingArticles.com<br />
Creation: 11 July 2009<br />
Expiry: 11 July 2012<br />
Registrar: GoDaddy</p>
<p>Another name thatspeaks for itself. I had partially created a script for this but thus far had not completed this.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Domain: LinuxDaemon.com<br />
Creation: 10 May 2008<br />
Expiry: 10 May 2012<br />
Registrar: eNom</p>
<p>I thought of creating a site with information on the common linux daemons. There are some sites that do this already but not have such an apt domain. You could also of course have tutorials detailing how to create a linux daemon.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Domain: ObscureRecords.com<br />
Creation: 25 Jan 2008<br />
Expiry: 25 Jan 2013<br />
Registrar: eNom</p>
<p>This domain has many possibilities. Obscure or rare LP&#8217;s, or maybe showing some of the oddest world records that have been achieved.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Domain: PHPSecured.com<br />
Creation: 18 June 2008<br />
Expiry: 18 June 2012<br />
Registrar: eNom</p>
<p>A perfect domain for articles or tutorials for showing how to secure PHP or possibly to code with security in mind (something that is often forgotten).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2011/11/10/domains-for-sale/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Potential Security Issue With iPhone App</title>
		<link>http://blog.petermcdonald.co.uk/2011/10/30/potential-security-issue-with-itunes-app/</link>
		<comments>http://blog.petermcdonald.co.uk/2011/10/30/potential-security-issue-with-itunes-app/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 14:58:16 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Smart Phones]]></category>
		<category><![CDATA[iexplorer]]></category>
		<category><![CDATA[insecure]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[sqlitemanader]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh term pro]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=122</guid>
		<description><![CDATA[I recently decided to purchase an app from the iPhone app store. I do not do this often but I believe that this app would be extremely useful. The app I decided to download was SSH Term Pro. As the &#8230; <a href="http://blog.petermcdonald.co.uk/2011/10/30/potential-security-issue-with-itunes-app/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently decided to purchase an app from the iPhone app store. I do not do this often but I believe that this app would be extremely useful.</p>
<p>The app I decided to download was <a title="SSH Term Pro" href="http://itunes.apple.com/gb/app/ssh-term-pro/id389930222?mt=8" target="_blank">SSH Term Pro</a>. As the name suggests this is a SSH terminal app for the iPhone and iPad. Of course this makes it extremely easy to manage your server on the move. The application allows you to add unlimited amount of servers details so you can quickly and easily connect up to a server that you manage. The application also allows you to lock it down so that you can only access the application fully once you have entered a password that you had set up.</p>
<p>Unfortunately on investigation everything is not as good as I had hoped:<span id="more-122"></span>While browsing through the files on my iPhone I decided to have a look where this apps files were stored. I noticed that there was a file called SSLDB.sqlite. This is of course not unusual as most apps that store data store it within an SQLite database. What is disturbing however is what I found when I opened this file.</p>
<p>The database contains a table called SSLSITE. This table is used to store information such as site host, username, password and port. All of this data is NOT ENCRYPTED. You did read this correctly, the data is not encrypted meaning that it is plain text and can be read by anyone who manages to gain access to your iPhone. Now what I was expecting was that the handy little password that we used earlier was actually an encryption key but unfortunately this is not the case. Regardless of whether you used a password to lock the app or not the SSH password remains unencrypted.</p>
<p>This may be of little concern while the iPhone is under your control however if someone manages to steal your iPhone or if they manage to hook this up to a PC or Mac without your knowledge it would be a trivial task to copy those files.</p>
<p>If you use this app I strongly suggest you keep an eye on the iPhone. If you lose it ensure you change that SSH password immediately. I seriously hope that this issue is fixed in the next version.</p>
<p>On a side note while doing this I used some nifty tools. The first of these was <a title="IExplorer" href="SQLiteManager" target="_blank">IExplorer</a>. IExplorer allows you to browse the files located within your iPhone with ease (the database file for example was in iPhone/apps/ssh term pro/library/SSLDB.sqlite).</p>
<p>The second tool I used was <a title="SQLiteManager" href="http://www.sqlabs.net/sqlitemanager.php" target="_blank">SQLiteManager</a> which allows you to load an SQLite database into it and to read, modify or create SQLite databases. The tool is not free however you can use it to view the first 20 records in a table using the demo version.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2011/10/30/potential-security-issue-with-itunes-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security Implications With iPhone&#8217;s Siri Feature</title>
		<link>http://blog.petermcdonald.co.uk/2011/10/21/security-implications-with-iphones-siri-feature/</link>
		<comments>http://blog.petermcdonald.co.uk/2011/10/21/security-implications-with-iphones-siri-feature/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 21:47:12 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[contacts]]></category>
		<category><![CDATA[ios5]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[locked]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[siri]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=118</guid>
		<description><![CDATA[Recently Apple released the iPhone 4s with IOS5. One of the more exciting features that came from this is the Siri feature. Siri enables you to give your phone voice commands to carry out certain tasks and is very intelligent &#8230; <a href="http://blog.petermcdonald.co.uk/2011/10/21/security-implications-with-iphones-siri-feature/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently Apple released the iPhone 4s with IOS5. One of the more exciting features that came from this is the Siri feature. Siri enables you to give your phone voice commands to carry out certain tasks and is very intelligent in that it understand context etc.</p>
<p>Unfortunately however it appears that Apple have opened up some security implications with this feature.<span id="more-118"></span></p>
<p>Usually prior to being able to get any information from a phone you would need to unlock it. 1 of the locking methods that you have with the iPhone is to input a 4 digit code into the phone prior to gaining access. The implementation of Siri allows us to bypass this security.</p>
<p>By simply holding down the home button regardless of whether the iPhone is unlocked or not Siri will be ready for commands. This enables you to dictate many commands most of which are harmless however as the below video demonstrates you can for example obtain phone numbers. he security implications are not limited to actually gaining numbers, you can also make phone calls in a similar fashion.</p>
<span style="text-align:center; display: block;"><a href="http://blog.petermcdonald.co.uk/2011/10/21/security-implications-with-iphones-siri-feature/"><img src="http://img.youtube.com/vi/uDp3lboHH4o/2.jpg" alt="" /></a></span>
<p>Luckily enough there is a workaround to resolve this issue. Siri can be disabled if the phone is locked (shame this is not set by default).</p>
<p>As the video demonstrates to disable Siri while the phone is locked you need to go into the settings menu. Once in settings go into general then passcode lock. Once in passcode lock and you have entered your password simply switch Siri off. Once this has been done Siri will no longer work when the iPhone is locked however will work if the iPhone is unlocked.</p>
<p>I hope this is issue will be resolved quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2011/10/21/security-implications-with-iphones-siri-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How A Path Ping Works.</title>
		<link>http://blog.petermcdonald.co.uk/2011/10/09/how-a-path-ping-works/</link>
		<comments>http://blog.petermcdonald.co.uk/2011/10/09/how-a-path-ping-works/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 14:38:36 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Domains]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[hop]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[pathping]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[trace route]]></category>
		<category><![CDATA[tracert]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.petermcdonald.co.uk/?p=114</guid>
		<description><![CDATA[Introduction Every now and then you may find that you have a problem with your connection. If you are a webmaster you may on occasion have issues with your website not being accessible or being slow. On all of these &#8230; <a href="http://blog.petermcdonald.co.uk/2011/10/09/how-a-path-ping-works/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Every now and then you may find that you have a problem with your connection. If you are a webmaster you may on occasion have issues with your website not being accessible or being slow.</p>
<p>On all of these scenario&#8217;s there is a very good windows utility that you can use to help track down where the problem lies.</p>
<p>The tool in question is a pathping.<span id="more-114"></span></p>
<h2>What Is A Pathping</h2>
<p>When using a pathping as standard the pathping carries out 2 functions. The first function (which is where path comes into it) is to check the path that you are currently taking through the internet to the desired site. This will be familiar to most as this is what a trace route does.</p>
<p>The seconds more useful function is where ping comes from in the name. Each hop from the path is pinged using ICMP packets 100 times. Now you may wonder why this is so useful. Well usually when you ping a destination you will find out how many of the pings (packets) were dropped however you have no idea where this is occurring. The ping that is carried out as part of a pathping is a more intrusive ping.</p>
<p>Each hop within the route is pinged with 100% packets. This helps you identify where an issue may be originating from.</p>
<h2>How You Read The Results From A Pathping</h2>
<p>Now running a pathping is a very simple task. On windows, click run within the start menu. Run is only within the start menu by default on versions of windows prior to Windows Vista. If you do not see run simply hold down the windows key on the keyboard (usually to the right of the ctrl button on the left of the keyboard) and press the letter.</p>
<p>Once you have located the run box by either of these methods type cmd into the box. This will present you with the old dos prompt (yes it is still there in windows Vista and Windows 7).</p>
<p><img src="http://petermcdonald.co.uk/images/dos.jpg" alt="Dos Prompt" /></p>
<p>Now that we have the dos prompt we type the following command to carry out the pathping:</p>
<blockquote><p>pathping mywebsite.com</p></blockquote>
<p>Of course you need to replace mywebsite.com with a site that you wish to carry out a pathping on. If you are having issues with your site then this would be the address for the site in question. If you are having issues with the internet in general replace it with a site that you know is reliable (google.com for example).</p>
<p>After pressing enter you will start to see a basic trace route being competed. As mentioned this is the route the information is taking when you are attempting to visit the site in question. Once the trace route completes you will see a message that states:</p>
<blockquote><p>Computing statistics for 400 seconds&#8230;</p></blockquote>
<p>The number of seconds will vary and is actually a rough estimate of the time it will take for the ping section to complete.</p>
<p><img src="http://petermcdonald.co.uk/images/trace.jpg" alt="Trace Route" /></p>
<p>Now you will notice that 2 lines have had the IP blanked out. I have done this to stop my IP being public.</p>
<p>After a patient wait we will slowly be presented with the ping section which will look like the following:</p>
<p><img src="http://petermcdonald.co.uk/images/ping.jpg" alt="Ping Flood" /></p>
<p>Now the output we have may be overwhelming when first looking at this but it is easy to fathom.</p>
<p>As you can see along the top there are column headers which have the following meanings:</p>
<ul>
<li><em>Hop</em> &#8211; The number of the hop. This corresponds with the hop number in the trace route section.</li>
<li><em>RTT</em> &#8211; Round trip time. This is the average time taken for a packet to be sent and in turn a response received (so the time taken for them to receive the information is actually half the displayed figure). This is measured in milliseconds.</li>
<li><em>Source to Here Lost</em> &#8211; The number of packets that a response was never received for.</li>
<li><em>Source to Here Sent</em> &#8211; The total number of packets sent to this particular destination. This will usually be 100.</li>
<li><em>Source to Here Pct</em> &#8211; The percentage of packets that were lost.</li>
<li><em>Address</em> &#8211; If 1 is available this will show the hostname for the device followed by its IP in square brackets. If no hostname is available this will simply be the IP.</li>
</ul>
<p>Now you may notice that I have missed out the This Node section. Do not worry about this section as it is not necessary for our needs.</p>
<p>On hop 5 you will notice that hop 5 displays &#8220;100/ 100 = 100%&#8221;. This indicates that none of the packets that we sent this device gave us a response. Now you might be concerned about this and believe that this is a cause for issue. This is not the case. Any row that displays 0% or 100% should not be a problem. The only time 100% would be a problem is if no further hops occurred (and this hop was not that of the website, if you are not sure ping the website address and this will tell you the IP. Compare this IP with that of the hop in question).</p>
<p>Now on my sample pathping you will see that on hop 13 we see &#8220;2/ 100 = 2%&#8221;. This is telling us that out of a total of 100 packets that were sent for 2 of those we never received a response. You will also notice that hop 14 and 15 also display loss. Any issues like this are called packet loss.</p>
<p>So now you may be wondering how we would identify the issue at hand. The hop in this case that is potentially causing an issue is hop 13. Any later hop that displays packet loss will be caused by an earlier hop that has packet loss (all traffic to the later hop is passing through the earlier hop. If the earlier hop has loss then 1 of the packets of the later hop could also be affected).</p>
<p>Now who would you contact to rectify this issue? This is where you need to carry out some investigatory work. If the packet loss starts to occur on your network unfortunately this is your issue.</p>
<p>If the packet loss starts at the 1st hop past your router again this could be your problem (carry out usual diagnostics, replace cables, router, filters etc).</p>
<p>If the packet loss occurs on an IP within your ISP area (usually identifiable by the host name, you will see hop 7, 8 and 9 show bt.net. My ISP is BT so I know these are my ISP. This also tells me that 2,3,4,5 and 6 must also be my ISP) then you should contact your ISP to report the problem. Depending on your ISP the people at the call centre may not be aware of what packet loss is so you may need to describe the issue in more relative detail (for example if it is causing slow speeds tell them you have a slow speed issue).</p>
<p>If you are experiencing issues with your own website and there is no packet loss until it leaves your ISP then unfortunately they may not be able to do anything about it. This is where it gets a bit trickier. You need to work out if the IP belongs to your host. If it does then great, contact your host and provide proof of the issue.</p>
<p>If the issue is outside both of these realms then unfortunately you have an issue on your hands. Nobody that you have contact with (or that will really rake any notice of you) will be able to help much. Depending on your host or ISP they may be able to chase this up and liaise with that party but they would need to have good reason to do so (a lot of customers affected for example).</p>
<p>If you would like to learn more about the more advanced features of pathping take a look at this <a title="pathping guide" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/pathping.mspx?mfr=true" target="_blank">Microsoft Pathping guide</a>.</p>
<p>I hope you enjoyed this article. If you have any questions feel free to ask. I will no doubt tidy this article up over time and make amendments.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petermcdonald.co.uk/2011/10/09/how-a-path-ping-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: blog.petermcdonald.co.uk @ 2012-05-20 09:20:18 -->
