<?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>Mike&#039;s Blawg</title>
	<atom:link href="http://snowcrash.ca/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://snowcrash.ca</link>
	<description>These are your internetz, and they&#039;re ending one post at a time.</description>
	<lastBuildDate>Wed, 03 Oct 2012 16:48:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Double click for new terminal</title>
		<link>http://snowcrash.ca/?p=633</link>
		<comments>http://snowcrash.ca/?p=633#comments</comments>
		<pubDate>Wed, 03 Oct 2012 16:15:35 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[Computers and Technology]]></category>
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=633</guid>
		<description><![CDATA[I&#8217;m completely dumb at the Apple-way-of-scripting. I wanted something I could throw on my desktop that I could double click and it would open a terminal window and ssh somewhere. I&#8217;m not sure how useful this will actually *be* to me, but given it took me non-zero time with google to figure it out… thanks [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m completely dumb at the Apple-way-of-scripting. I wanted something I could throw on my desktop that I could double click and it would open a terminal window and ssh somewhere. I&#8217;m not sure how useful this will actually *be* to me, but given it took me non-zero time with google to figure it out… thanks to various stackoverflow posts.</p>
<p>Open Applescript Editor. Put in:</p>
<pre>tell application Terminal</pre>
<pre>do script "ssh hostname"</pre>
<pre>set bounds of front window to {63, 640, 1212, 1022}</pre>
<pre>end tell</pre>
<p>File | Export … and save it as an application. Put it on your desktop, giving it a reasonable name. Done. If you want to later edit the script (say, to set boundaries :) ), right click, Show Package Contents, then go into Contents\Resources\Scripts and edit the main.scpt file you&#8217;ll find. The &#8220;set bounds&#8221; statement places the window at the bottom-left-ish and makes it 160&#215;25 at my current resolution and font size. I can&#8217;t figure out how to tell Terminal to just set itself to 160&#215;25 without also moving it, and I expect that the actual characters displayed depends on font, size, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=633</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making Mail.app usable</title>
		<link>http://snowcrash.ca/?p=628</link>
		<comments>http://snowcrash.ca/?p=628#comments</comments>
		<pubDate>Tue, 11 Sep 2012 22:01:57 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[Computers and Technology]]></category>
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=628</guid>
		<description><![CDATA[Thunderbird finally drove me over the edge. Might have been that whole &#8220;no new features OH HEY YOU CAN IRC FROM YOUR MUA&#8221; &#8211; guys, if I wanted emacs, I&#8217;d use it. I used to care a lot about Enigmail. For various reasons, I care less about it now. There are, however, a few things [...]]]></description>
				<content:encoded><![CDATA[<p>Thunderbird finally drove me over the edge. Might have been that whole &#8220;no new features OH HEY YOU CAN IRC FROM YOUR MUA&#8221; &#8211; guys, if I wanted emacs, I&#8217;d use it.</p>
<p>I used to care a lot about Enigmail. For various reasons, I care less about it now. There are, however, a few things that I would miss about it. Oddly, the one that I kind of missed the most is the most whimsical &#8211; I like having my default signatures rotate. So I did a bit of digging, and came up with some applescript (courtesy <a href="http://brizzled.clapper.org/blog/2012/05/10/append-a-random-fortune-to-a-mail-dot-app-signature/">clapper.org</a>&#8216;s post on the subject) only slightly modified.</p>
<p>Also, being a complete Mac-centric scripting n00b, I wasn&#8217;t sure how to make things go. Save the Applescript into a file called… anything. Run <em>osacompile</em> against it. You can call the resulting compiled script from your .bashrc with <em>osascript</em>, something like</p>
<blockquote>
<pre>osascript /Users/foo/bin/sigrot.scpt</pre>
</blockquote>
<p>Another relatively minor irritation is the default behaviour of never marking mail as read, or marking it as read instantly. You can theoretically fix that with</p>
<blockquote>
<pre>defaults write com.apple.Mail MarkAsReadDelay 4</pre>
</blockquote>
<p>but that didn&#8217;t work for me (10.8.1). Instead, I used <a href="http://christianserving.org/project/truepreview">TruePreview</a>.</p>
<p>Now, if only I could convince it to show me messages most recent at the top, but when they&#8217;re threaded, show them most recent at the bottom.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=628</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Documentation and maturity</title>
		<link>http://snowcrash.ca/?p=625</link>
		<comments>http://snowcrash.ca/?p=625#comments</comments>
		<pubDate>Sun, 19 Aug 2012 16:02:00 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[Computers and Technology]]></category>
		<category><![CDATA[General Work Blather]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=625</guid>
		<description><![CDATA[There are three stages of maturity when it comes to getting things work and documenting how you did it. 1) I got it working, hurray! Run away before it breaks. 2) I got it working, hurray! And I took notes while I was getting it working, so I&#8217;m good. Run away before it breaks 3) [...]]]></description>
				<content:encoded><![CDATA[<p>There are three stages of maturity when it comes to getting things work and documenting how you did it.</p>
<p>1) I got it working, hurray! Run away before it breaks.</p>
<p>2) I got it working, hurray! And I took notes while I was getting it working, so I&#8217;m good. Run away before it breaks</p>
<p>3) I got it working, hurray! And I took notes while I was getting it working, so I&#8217;d better start from scratch and make sure my notes work.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=625</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>chkconfig, mysql</title>
		<link>http://snowcrash.ca/?p=620</link>
		<comments>http://snowcrash.ca/?p=620#comments</comments>
		<pubDate>Thu, 19 Jan 2012 15:50:22 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[Computers and Technology]]></category>
		<category><![CDATA[General Work Blather]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[myfirstdb]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=620</guid>
		<description><![CDATA[A crash today brought home a couple of things that I should have known before but didn&#8217;t, and now I do. I&#8217;m writing them here so I don&#8217;t forget, but also because google results were annoyingly useless without digging. #1: chkconfig. That funny line in the init script that says something like &#8220;# chkconfig: 23456 [...]]]></description>
				<content:encoded><![CDATA[<p>A crash today brought home a couple of things that I should have known before but didn&#8217;t, and now I do. I&#8217;m writing them here so I don&#8217;t forget, but also because google results were annoyingly useless without digging.</p>
<p>#1: chkconfig. That funny line in the init script that says something like &#8220;# chkconfig: 23456 88 22&#8243;. It&#8217;s easy to find out that the first batch of numbers is runlevels, but less easy to find out the meaning of the second set. They&#8217;re priorities; the higher the first number, the later in the boot process it starts. The higher the second number, the later in the shutdown process it&#8217;s killed. Also, if you change those numbers &#8211; this is obvious in retrospect, but I forgot &#8211; you need to re-run &#8220;chkconfig on servicename&#8221;.</p>
<p>This is apparently all defined in the LSB. Back in my day, there was no that thur LSB, never mind chkconfig. You just put scripts in /etc/rc.d and crossed your fingers.</p>
<p>#2: misamchk. This worked fairly well on my 72GB RAM server with a ~25GB database:</p>
<pre>myisamchk --fast --update-state --force --sort_buffer_size=1G \</pre>
<pre>--key_buffer_size=2G --read_buffer_size=512M --write_buffer_size=512M \</pre>
<pre>/path/to/db/*.MYI</pre>
<p>The myisamchk manpage talks about &#8220;a lot of memory&#8221; being 512M so obviously it could use a bit of modernizing. That, or it really is MyFirstDatabase.</p>
<p>And this kind of stuff reminds me that while I need to keep my hand in, I&#8217;m just as happy to no longer be a sysadmin for a primary job duty.</p>
<p>(Edited Aug 2012 &#8211; neither should typing be, chkconfig on, not chkconfig start.)</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=620</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Stow on a Mac</title>
		<link>http://snowcrash.ca/?p=610</link>
		<comments>http://snowcrash.ca/?p=610#comments</comments>
		<pubDate>Thu, 22 Dec 2011 15:07:22 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[Computers and Technology]]></category>
		<category><![CDATA[macos]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[stow]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=610</guid>
		<description><![CDATA[For various reasons, I build some utilities outside of things like MacPorts and Brew, mostly interpreters where I want to ensure that my environment is my environment. I need all of Python, Ruby, and Perl, and sometimes different versions of Ruby as well. Normally I build with &#8211;prefix=$HOME/app/name-maj.min then link app to whatever version I [...]]]></description>
				<content:encoded><![CDATA[<p>For various reasons, I build some utilities outside of things like MacPorts and Brew, mostly interpreters where I want to ensure that my environment is my environment. I need all of Python, Ruby, and Perl, and sometimes different versions of Ruby as well.</p>
<p>Normally I build with &#8211;prefix=$HOME/app/name-maj.min then link app to whatever version I want to be the default. In $HOME/bin I make links to $HOME/pkg/app/bin and mostly everything just works. Except then I started running into problems with man pages, and setting this environment up can be a pain in my login shells. So I went looking for something that automated this. There&#8217;s just no other sensible way to do this on a Unix system.</p>
<p>By the way, at (the University of) Waterloo we have a(n) (in)famously obtuse packaging / configuration management system called xhier. Any time I think about this, I wish I had the GOOD parts of said system available. It has lots of nifty toys to automate building, configuration, and managing links, as well as a utility called showpath that helps you to manage both your PATH and MANPATH variables. And I&#8217;ve often declared that anybody who thinks about automating, including things like Stow, is at risk of re-inventing xhier.</p>
<p>Stow is a bit of an annoyance in that it, itself, requires Perl. The entire reason I like having my own separate Perl instance, in particular, is because of a long history of CPAN screwing me over. So I put my own version aside, run CPAN, and no operating system update blows my stuff away, and no CPAN will touch my OS stuff. I tried the MacPorts version of Stow and just couldn&#8217;t make it cooperate in integrating into my above flow &#8211; it would make links just fine in $HOME/stow, but it wouldn&#8217;t remove apps.</p>
<p>What finally worked was using my own $HOME/pkg/perl CPAN utility to install Stow. Then I was able to:</p>
<pre>cd ~/pkg</pre>
<pre>stow -t ~/stow ruby-1.9.3</pre>
<pre>stow -D -t ~/stow ruby-1.9.3</pre>
<p>and everything seems to work as expected. The above did not, with the MacPorts version, but it&#8217;s still at 1.3 and perhaps there&#8217;s issues with the older version, I don&#8217;t know. I don&#8217;t really like Perl very much any more, so I&#8217;m not inclined to delve into the whats wherefores and whys. I thought about looking at how the MacPorts version differed (in configuration) from mine, but then I cracked another beer, drank it and a few more, then laid down for a while and the feeling passed.</p>
<p>(Edited to account for Giles&#8217; grammar correction and general persnickitiness. Thanks, Giles!)</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=610</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dealing with MacOS extended file attributes</title>
		<link>http://snowcrash.ca/?p=583</link>
		<comments>http://snowcrash.ca/?p=583#comments</comments>
		<pubDate>Mon, 19 Sep 2011 22:19:48 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[Computers and Technology]]></category>
		<category><![CDATA[macos]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=583</guid>
		<description><![CDATA[A year or so ago, I ran into a mysterious issue whereby I couldn&#8217;t add new machines to my .ssh/known_hosts file. A few days ago, after restoring from Time Machine &#8220;the wrong way&#8221; (copying some directories directly out of the filesystem on the Time Machine backup) I ran into them again. Symptoms: I couldn&#8217;t add [...]]]></description>
				<content:encoded><![CDATA[<p>A year or so ago, I ran into a mysterious issue whereby I couldn&#8217;t add new machines to my .ssh/known_hosts file. A few days ago, after restoring from Time Machine &#8220;the wrong way&#8221; (copying some directories directly out of the filesystem on the Time Machine backup) I ran into them again.</p>
<p>Symptoms: I couldn&#8217;t add new host keys to my known hosts file, nor could I remove old ones.</p>
<p>Directory listing:</p>
<pre style="margin: 8px;">-rw-r--r--@ 1 me  staff  16588 10 Mar 20:59 .ssh/known_hosts</pre>
<p>The trailing @ means the file has extended attributes. After some work with a search engine, I found out I wanted to use the xattr command, or perhaps &#8220;ls -lO@&#8221;. Either way, the attributes preventing me from modifying the files were:</p>
<pre style="margin: 8px;">com.apple.metadata:_kTimeMachineNewestSnapshot</pre>
<pre style="margin: 8px;">com.apple.metadata:_kTimeMachineOldestSnapshot</pre>
<p>Running the appropriate incantation of xattr -d on the affected files (it wasn&#8217;t just my known_hosts file) worked a treat.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=583</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mein Name ist</title>
		<link>http://snowcrash.ca/?p=578</link>
		<comments>http://snowcrash.ca/?p=578#comments</comments>
		<pubDate>Thu, 04 Aug 2011 04:45:45 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[My Life]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Ranty]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[my name is me]]></category>
		<category><![CDATA[realname campaign]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=578</guid>
		<description><![CDATA[My name is Mike Patterson. That&#8217;s almost what it says on my birth certificate; it actually says Michael. It also says Michael on my university ID card. There&#8217;s some other very similar variants on pieces of government ID, some include my middle initial or full name. Few people use Michael and fewer still even have [...]]]></description>
				<content:encoded><![CDATA[<p>My name is Mike Patterson. That&#8217;s almost what it says on my birth certificate; it actually says Michael. It also says Michael on my university ID card. There&#8217;s some other very similar variants on pieces of government ID, some include my middle initial or full name. Few people use Michael and fewer still even have reason to know my middle name. I&#8217;ve no real reason to use any other name, save for convenience &#8211; both my own, and for other people. Mike, as you might know, is a pretty common name, particularly amongst North American males, and doubly so amongst those of my generation.</p>
<p>Depending on context, I have a lot of other names to which I might respond. Depending on the context, I might also not respond, as they tend to be, well, contextual.</p>
<p>At work I&#8217;m usually just Mike, but I might be mpatters. That used to be my email address and it will still work, but I now tend to publish mike.patterson. I also use that for email addresses elsewhere, sometimes; my alumni forwarding account, for instance. Since my name is published in our directory as Michael though, some people do call me that, and I don&#8217;t bother correcting them. I might not immediately respond though.</p>
<p>On Twitter, I&#8217;m snowcrashmike, but nobody uses that anywhere else. Some very old IRC hands might know me as kraig, and I used that on MUDs. I also go by kraig on LiveJournal and Dreamwidth, and some people who met me first through those communities tend to use it as my name, even in voice conversations. In some web communities and games (Forumwarz, for example) I&#8217;m generally kraig or kraigu, but sometimes kraigus.</p>
<p>In the very long ago, I used to use BlackSpy as a BBS handle, but that was too overloaded when I switched to IRC. Nowadays on IRC networks I tend to use kraigu. My Steam name varies, I usually set it to earless wondercat, but I often play with it: earless wunderkatze, earless dyingcat (I do a lot of dying in online games), fearless wondercat, feared blundercat, beerless wondercat… well, you get the idea. But usually people call me just earless or wondercat in in-game voice chat, it makes things easier.</p>
<p>Sometimes, in certain circles, I might be just [. I don&#8217;t even remember what my FIDONet handle was.</p>
<p>I&#8217;m old enough that things like IRC were fairly new when I was coming of age, and young enough that identity is really a fairly slippery thing. I&#8217;m old enough to still value some privacy and think that for some people it matters quite a lot, young enough to realise that not using your real name doesn&#8217;t mean you can&#8217;t be found. I&#8217;m experienced enough to know that a middle ground is very difficult to find, wordly enough to know that different cultures approach &#8220;true names&#8221; in vastly different ways, and finally, practical enough to not really care what name it is that people actually prefer &#8211; I try to find out what it is, and use that.</p>
<p>I think realnameonly policies are unnecessarily invasive, don&#8217;t do what proponents claim they do, and insensitive. In short, I think they&#8217;re misguided at best, generally no better than security theatre, and at worst, just flat-out stupid. Nobody else has the right to tell me who I am, nor do they have the right to tell anybody else who they should be.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=578</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>packetfu followup</title>
		<link>http://snowcrash.ca/?p=569</link>
		<comments>http://snowcrash.ca/?p=569#comments</comments>
		<pubDate>Mon, 21 Mar 2011 16:09:39 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[Computers and Technology]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[pcap]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=569</guid>
		<description><![CDATA[I went back to packetfu today (see here for my first talk about it) for a large collection of pcaps I have (about 30GB worth) hoping to use it to help me quickly get an overview of what I&#8217;ve seen. Fortunately, a lot of the hoops I had to jump through previously are now non-issues; [...]]]></description>
				<content:encoded><![CDATA[<p>I went back to <a href="http://code.google.com/p/packetfu/">packetfu</a> today (see <a href="http://snowcrash.ca/blawg/doing-pcap-stuff-with-ruby-on-a-mac/">here</a> for my first talk about it) for a large collection of pcaps I have (about 30GB worth) hoping to use it to help me quickly get an overview of what I&#8217;ve seen.</p>
<p>Fortunately, a lot of the hoops I had to jump through previously are now non-issues; using gem to install pcaprub and packetfu itself made it dead simple. Even more fortunately, I didn&#8217;t bother trying it on my Mac initially, guessing &#8211; correctly, as it turns out &#8211; that RAM usage would go through the roof. I ^C&#8217;ed my test ruby script, pasted from my first post on the subject, after it hit 7.5GB resident on my 8GB test machine. I have Ruby 1.9.1 on that box, so I don&#8217;t think there&#8217;s much more I can do to optimise. Sadly, I guess I&#8217;m stuck with tcpdump and looping shell scripts for the time being, and I&#8217;ll try to follow up with the author, although I don&#8217;t know what help I can provide.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=569</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is a driveby download?</title>
		<link>http://snowcrash.ca/?p=564</link>
		<comments>http://snowcrash.ca/?p=564#comments</comments>
		<pubDate>Fri, 25 Feb 2011 19:52:09 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[Computers and Technology]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[malware]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=564</guid>
		<description><![CDATA[If you fall victim to malware, you might hear that the vector for infection is a &#8220;driveby download.&#8221; What is a driveby download, and how does it happen? A driveby download is when you inadvertently or mistakenly download software. It may or may not actually execute, and it may or may not actually leave a [...]]]></description>
				<content:encoded><![CDATA[<p>If you fall victim to malware, you might hear that the vector for infection is a &#8220;driveby download.&#8221; What is a driveby download, and how does it happen?</p>
<p>A driveby download is when you inadvertently or mistakenly download software. It may or may not actually execute, and it may or may not actually leave a persistent installation behind post-execution. Whether it does either or both of these things can depend on your user&#8217;s permissions on your computer, and also on the presence of software vulnerabilities. Driveby downloads may take advantage of vulnerabilities in your operating system or installed applications in order to perform a privilege escalation attack, where they can gain greater control over your computer than your current user actually has permissions for.</p>
<p>The most common way to fall victim to a driveby download is to visit an otherwise-innocent website that has been somehow compromised by an attacker. Like privilege escalation, there are many ways an attacker may do this, but the common feature is generally some Javascript in the page that causes your browser to redirect to a new website, often without you being aware that it&#8217;s happened. Javascript is not the only attack method; some attackers may also or instead use Java applets or ActiveX controls to deliver software.</p>
<p>Even if a driveby does not actually permanently install software, it can still cause damage. It may execute in memory only, and be used to send spam, conduct network scanning, or any other activity that a normal user of the system might perform. Some malware might, for example, connect to all your network drives and enumerate files you can see while logged in, evaluating them for confidential or personal information of a certain sort, and deliver those files back to the attacker.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=564</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Credential theft, mitigations thereof</title>
		<link>http://snowcrash.ca/?p=557</link>
		<comments>http://snowcrash.ca/?p=557#comments</comments>
		<pubDate>Wed, 29 Dec 2010 17:09:26 +0000</pubDate>
		<dc:creator>MikeP</dc:creator>
				<category><![CDATA[Computers and Technology]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[firesheep]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://snowcrash.ca/?p=557</guid>
		<description><![CDATA[VPNs may offer no mitigation against some forms of credential-theft type attacks.]]></description>
				<content:encoded><![CDATA[<p>It was with some interest that I read <a href="https://www.infosecisland.com/blogview/10529-Protecting-Against-Firesheep-with-Strict-Transport-Security.html">an Infosec Island post</a> about forcing transport security whilst connecting to various websites, but I want to counter-recommend some advice given.</p>
<p>The information on STS is correct, so far as I know &#8211; I don&#8217;t use the plugin myself &#8211; but it was with a bit of horror that I noted the author recommended using a VPN as partial mitigation against this attack.  We considered and rejected this advice for <a href="http://ist.uwaterloo.ca/security/howto/firesheep.html">our own advisory</a> (my own nearly identical blog post on it is <a href="http://snowcrash.ca/blawg/firesheep-black-hats-for-the-masses/">here</a>) when discussing Firesheep.</p>
<p>A VPN may be configured with a split tunnel &#8211; that is, traffic destined for the organisation hosting the VPN goes through the secure tunnel, but other traffic does not.  In other words, a split tunnel VPN does nothing to protect you against credential theft of the sort being discussed.</p>
<p>Our own VPN will be configured in such a manner, which is counter to the practise at many large companies, but which we believe is the only workable way when scaling out to thousands of users with uncontrolled access points.  The last thing we want is for our VPN to be hammered by BitTorrent traffic the instant somebody forgets, or for people to complain to us that their home network stops working as soon as they fire up the VPN.</p>
<p>Before following Mr. Coates&#8217; advice, find out how your VPN works.  The illusion of security is worse than none at all.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowcrash.ca/?feed=rss2&#038;p=557</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
