<?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>kmahan.com</title>
	<atom:link href="http://kmahan.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://kmahan.com/blog</link>
	<description>A blog about what I find interesting.</description>
	<lastBuildDate>Wed, 12 Sep 2012 15:02:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google+ Feed</title>
		<link>http://kmahan.com/blog/2011/09/21/google-feed/</link>
		<comments>http://kmahan.com/blog/2011/09/21/google-feed/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 17:38:57 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/?p=1128</guid>
		<description><![CDATA[I just added my google + feed on the right. I don&#8217;t post here that often but my twitter and google+ accounts have plenty of updates.
]]></description>
			<content:encoded><![CDATA[<p>I just added my google + feed on the right. I don&#8217;t post here that often but my twitter and google+ accounts have plenty of updates.</p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2011/09/21/google-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New town, new team, new field.</title>
		<link>http://kmahan.com/blog/2011/01/10/new-town-new-team-new-field/</link>
		<comments>http://kmahan.com/blog/2011/01/10/new-town-new-team-new-field/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 14:48:00 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/?p=1100</guid>
		<description><![CDATA[I played my first soccer game here in OKC last night. It was a little different from Wichita Falls, instead of a big open field with barely any grass in the freezing weather; I got to play in a nice warm indoor facility with brand new turf. It&#8217;s called Hat Trick . Indoor is a ]]></description>
			<content:encoded><![CDATA[<p>I played my first soccer game here in OKC last night. It was a little different from Wichita Falls, instead of a big open field with barely any grass in the freezing weather; I got to play in a nice warm indoor facility with brand new turf. It&#8217;s called <a href="http://www.hattrickokc.com/" target="_blank">Hat Trick</a> . Indoor is a much faster paced game and boy did I feel it this morning. We also had a great game. We came back from a deficit of 6-3 with just a few minutes left to play and won 7-6 with a goal in the last second. I&#8217;m looking forward to the next game.</p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2011/01/10/new-town-new-team-new-field/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ArEncrypt Update</title>
		<link>http://kmahan.com/blog/2010/11/06/arencrypt-update/</link>
		<comments>http://kmahan.com/blog/2010/11/06/arencrypt-update/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 04:07:25 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/?p=1097</guid>
		<description><![CDATA[ArEncrypt just got infinitely more useful, which isn&#8217;t saying a lot since it didn&#8217;t do much to begin with.
http://github.com/KellyMahan/ArEncrypt
The updates add some features for active record searches for encrypted data and comparisons to encrypted values. Before it did only one thing and thats encrpyt a value for the db. Comparisons and searches had to done ]]></description>
			<content:encoded><![CDATA[<p>ArEncrypt just got infinitely more useful, which isn&#8217;t saying a lot since it didn&#8217;t do much to begin with.</p>
<p><a href="http://github.com/KellyMahan/ArEncrypt" target="_blank">http://github.com/KellyMahan/ArEncrypt</a></p>
<p>The updates add some features for active record searches for encrypted data and comparisons to encrypted values. Before it did only one thing and thats encrpyt a value for the db. Comparisons and searches had to done manually. Now they are just as easy to use as regular active record queries.</p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2010/11/06/arencrypt-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firesheep and secure access control with cookies.</title>
		<link>http://kmahan.com/blog/2010/10/27/firesheep-and-secure-access-control-with-cookies/</link>
		<comments>http://kmahan.com/blog/2010/10/27/firesheep-and-secure-access-control-with-cookies/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 15:53:55 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/?p=1071</guid>
		<description><![CDATA[For those that haven&#8217;t heard, there is a new firefox extension that simplifies what was once a complicated bit of hacking, is now so easy anyone can do it. It&#8217;s called firesheep. Basically it&#8217;s a combination of a packet sniffer with a built in cookie hijacking mechanism. It&#8217;s something that&#8217;s been known about for quite ]]></description>
			<content:encoded><![CDATA[<p>For those that haven&#8217;t heard, there is a new firefox extension that simplifies what was once a complicated bit of hacking, is now so easy anyone can do it. It&#8217;s called <a href="http://techcrunch.com/2010/10/24/firesheep-in-wolves-clothing-app-lets-you-hack-into-twitter-facebook-accounts-easily/" target="_blank">firesheep</a>. Basically it&#8217;s a combination of a packet sniffer with a built in cookie hijacking mechanism. It&#8217;s something that&#8217;s been known about for quite some time, but no ones bothered to fix because of the knowledge required and the difficulty in retrieving and implementing the hijacked cookies.</p>
<p>A simple, but costly, solution is that all providers just switch to using ssl for every request. This however has it&#8217;s own problems. Each ssl site must reside on a unique ip and port combination. However, since 443 is the standard for ssl ports, it means each site really has to have it&#8217;s own unique ip. That just wont happen for most sites. A lot of hosting providers actually use just one ip to host thousands of domains, and only give a site a unique ip when they require ssl.</p>
<p>Another solution is to use ssh proxing. This is what I do when I&#8217;m on an untrusted network. Not everyone can do this though, it requires a bit of knowledge and a secure server open to the internet where you have ssh access. Just to make it really easy to switch back and forth I wrote a bash script for the mac to do this for me. First I had to set up a new network location called &#8220;Untrusted&#8221; and enable socks proxing on port 8887. Below is the bash script.</p>
<pre>#!/bin/bash
if [ "$1" = "-s" ]
then
  if [ -f ~/.proxy.pid ]
  then
    echo "SSH Proxy Tunnel appears to be running!"
  else
    echo "SSH Proxy Tunnel appears to be off!"
  fi
else
  if [ -f ~/.proxy.pid ]
  then
    PROXYPID=`cat ~/.proxy.pid`
    kill $PROXYPID
    echo "Killed SSH Proxy Tunnel!: $PROXYPID"
    echo `scselect "Automatic"`
    rm ~/.proxy.pid
  else
    ssh -NCD 8887 user@host &amp;
    PROXYPID=$!
    echo "$PROXYPID" &gt; ~/.proxy.pid
    echo `scselect "Untrusted"`
    echo "SSH Proxy Tunnel Started!: $PROXYPID"
  fi
fi
</pre>
<p>Just be sure to change your user and host in the file before saving.</p>
<p>I think that the only real solution would require a change to how browsers and servers work. For example:</p>
<p>Instead of encrypting the whole connection maybe just encrypt the information in the cookies. If the cookies don&#8217;t decrypt properly then clear the session. Yes people can still grab the encrypted cookie and send it along, so make it a time sensitive thing. When a user logs in they provide a username and password. Both the server and users browser could use this to create an encryption key. The browser and server would also exchange timestamps. Whenever a cookie is presented to the server it would also have to send an encrypted timestamp using the key that was created when logging in. The sever could then decrypt the timestamp and compare to it&#8217;s clock. If it differs by more than a set amount then the cookie is thrown out. This could cause some issues for people with really high latency connections, so maybe let the browser set the timeout at login. This way the user can choose how secure they want their connection allowing for those with high latency.</p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2010/10/27/firesheep-and-secure-access-control-with-cookies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Plugin for Rails: ArEncrypt</title>
		<link>http://kmahan.com/blog/2010/01/20/new-plugin-for-rails-arencrypt/</link>
		<comments>http://kmahan.com/blog/2010/01/20/new-plugin-for-rails-arencrypt/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 00:15:25 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/?p=966</guid>
		<description><![CDATA[I added a new plugin to my repository on github today.
http://github.com/KellyMahan/ArEncrypt
I just kept running into this same issue every time I needed password encryption. And I didn&#8217;t know of any other plugins that accomplished the same thing with such simplicity.
Just install the plugin and in your active record class
encrypt :encrypted_attribute_name
It&#8217;s just that simple. On every ]]></description>
			<content:encoded><![CDATA[<p>I added a new plugin to my repository on github today.</p>
<p><a href="http://github.com/KellyMahan/ArEncrypt" target="_blank">http://github.com/KellyMahan/ArEncrypt</a></p>
<p>I just kept running into this same issue every time I needed password encryption. And I didn&#8217;t know of any other plugins that accomplished the same thing with such simplicity.</p>
<p>Just install the plugin and in your active record class</p>
<p>encrypt :encrypted_attribute_name</p>
<p>It&#8217;s just that simple. On every before save the attribute you named will be encrypted. If the value isn&#8217;t changed before a save the the encryption is skipped.</p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2010/01/20/new-plugin-for-rails-arencrypt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ashley turns 2 years old today.</title>
		<link>http://kmahan.com/blog/2010/01/14/ashley-turns-2-years-old-today/</link>
		<comments>http://kmahan.com/blog/2010/01/14/ashley-turns-2-years-old-today/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 15:18:43 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Friends / Family]]></category>
		<category><![CDATA[Main]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/?p=886</guid>
		<description><![CDATA[Well it&#8217;s been a great 2 years. My little girl is growing up fast. We&#8217;ve started potty training in earnest and she is starting to get it a bit.  She is still quiet around people she doesn&#8217;t know well, but at home she will carry on full conversations with us, and we can understand parts ]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Ashley" src="http://farm3.static.flickr.com/2545/4097634962_18dcdf72d7_m.jpg" alt="" width="160" height="240" />Well it&#8217;s been a great 2 years. My little girl is growing up fast. We&#8217;ve started potty training in earnest and she is starting to get it a bit.  She is still quiet around people she doesn&#8217;t know well, but at home she will carry on full conversations with us, and we can understand parts here and there. She picks up on new words very fast now, and will repeat them back to us pretty clearly. She still loves music and dancing, especially the Disney musicians.</p>
<p>If you want to see more you can find pictures here <a href="http://flickr.com/photos/kmahan_com" target="_blank">flickr.com/photos/kmahan_com</a> and videos here <a href="http://www.youtube.com/user/kmahancom" target="_blank">www.youtube.com/user/kmahancom</a> or you can even visit Ashley&#8217;s own website <a href="http://AshleyMahan.com" target="_blank">AshleyMahan.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2010/01/14/ashley-turns-2-years-old-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nexus One</title>
		<link>http://kmahan.com/blog/2010/01/05/nexus-one/</link>
		<comments>http://kmahan.com/blog/2010/01/05/nexus-one/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 19:28:27 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/?p=882</guid>
		<description><![CDATA[If you haven&#8217;t heard yet, the google phone is now out. The Nexus One looks like a true iphone killer. It has a better screen, faster processor, more memory, and the most import of all, it runs on android.
I&#8217;ll be saving up for one, but in the mean time you can buy it now through ]]></description>
			<content:encoded><![CDATA[<div id="attachment_883" class="wp-caption alignleft" style="width: 175px"><img class="size-full wp-image-883 " title="Nexus One" src="http://kmahan.com/blog/wp-content/uploads/2010/01/nexusone.jpg" alt="Nexus One" width="165" height="315" /><p class="wp-caption-text">Nexus One</p></div>
<p>If you haven&#8217;t heard yet, the google phone is now out. The Nexus One looks like a true iphone killer. It has a better screen, faster processor, more memory, and the most import of all, it runs on android.</p>
<p>I&#8217;ll be saving up for one, but in the mean time you can buy it now through t-mobile or on googles new phone store.</p>
<p><a title="Googles Phone Store" href="http://google.com/phone" target="_blank">google.com/phone</a></p>
<p>Check it out and let me know if you buy one.</p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2010/01/05/nexus-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doing some Android development.</title>
		<link>http://kmahan.com/blog/2009/11/22/doing-some-android-development/</link>
		<comments>http://kmahan.com/blog/2009/11/22/doing-some-android-development/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 18:47:44 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/2009/11/22/doing-some-android-development/</guid>
		<description><![CDATA[I picked up the wrox book on android development from Amazon. Don&#8217;t really like Java, but I love the android phones. Give me some ideas on a good app to develope.
]]></description>
			<content:encoded><![CDATA[<p>I picked up the wrox book on android development from Amazon. Don&#8217;t really like Java, but I love the android phones. Give me some ideas on a good app to develope.</p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2009/11/22/doing-some-android-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Google Wave invites.</title>
		<link>http://kmahan.com/blog/2009/11/20/more-google-wave-invites/</link>
		<comments>http://kmahan.com/blog/2009/11/20/more-google-wave-invites/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 17:58:44 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Main]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/?p=844</guid>
		<description><![CDATA[I&#8217;ve got a lot more Google Wave invites. Same as before, post a comment about how you found my site and I&#8217;ll send you an invite. 15 will go to the first that post, and 15 will go to those that have me as a contact in any other social site (flickr, facebook, twitter, etc..).
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a lot more Google Wave invites. Same as before, post a comment about how you found my site and I&#8217;ll send you an invite. 15 will go to the first that post, and 15 will go to those that have me as a contact in any other social site (flickr, facebook, twitter, etc..).</p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2009/11/20/more-google-wave-invites/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New AshleyMahan.com Site</title>
		<link>http://kmahan.com/blog/2009/10/20/new-ashleymahan-com-site/</link>
		<comments>http://kmahan.com/blog/2009/10/20/new-ashleymahan-com-site/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 07:51:13 +0000</pubDate>
		<dc:creator>Kelly</dc:creator>
				<category><![CDATA[Main]]></category>

		<guid isPermaLink="false">http://kmahan.com/blog/?p=788</guid>
		<description><![CDATA[
I just updated my daughters website with a nice picture theme for wordpress. It will auto update with wp-o-matic from a specific set where I put flickr photos.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://ashleymahan.com"><img class="  alignleft" style="margin-left: 5px; margin-right: 5px;" src="http://farm3.static.flickr.com/2579/4009756635_9e7d7546ac.jpg" alt="Ashley" width="120" height="180" /></a></p>
<p>I just updated my daughters website with a nice picture theme for wordpress. It will auto update with wp-o-matic from a specific set where I put flickr photos.</p>
]]></content:encoded>
			<wfw:commentRss>http://kmahan.com/blog/2009/10/20/new-ashleymahan-com-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
