<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://www.ladadadada.net/styles/main.css" type="text/css"?>
<rss version="2.0">
  <channel>
    <title>Dave's Mess &gt; Blog</title>
    <link>http://www.ladadadada.net</link>
    <description>Dave's mess - All of Dave's stuff, thrown in a big pile.</description>
    <language>en-gb</language>
    <copyright>Copyright 1999-2008 David Keech</copyright>
    <lastBuildDate>Sat, 19 Jul 2008 01:04:02 +1000</lastBuildDate>
    <generator>Dave's Messy RSS script v0.2</generator>
    <category></category>
    <managingEditor>ladadadada@hotmail.com</managingEditor>
    <webMaster>ladadadada@hotmail.com</webMaster>
    <ttl>144</ttl>
    <item>
      <description><![CDATA[<p><img class = "lead" src = "/images/aircar_thumb.png" alt = "The rather small Air Car." width = "160" height = "122" />There's an <a href = "http://www.nextenergynews.com/news1/next-energy-news1.7c.html"> air powered car</a> that has been causing some hype recently (which, I suppose, is considered "fuel" for this new car.  Heh.) and, while it's not all that new, some people are cautiously (and not so cautiously) predicting that "2008 is the year of the air powered car".  As a born skeptic, I felt the urge to play devil's advocate.</p>
<p>My first thought was that the compressed air has to come from <em>somewhere</em> and that the process of compressing the air would require energy from more traditional sources.  This technology isn't a new way of generating or extracting energy.  Much like the talk of Hydrogen-powered cars, this is a new method of <em>storing</em> energy in cars that has been generated somewhere else.  Most of these sorts of schemes don't help reduce pollution, they just offset it somewhere else.  While this is good for people who live in cities, it's not any better for the planet as a whole.</p>
<p><img class = "odd" src = "/images/aircar-side_small.jpg" alt = "The stylish air car." width = "240" height = "166" />But there may be more to this plan than just offsetting the pollution.  A compressed-air powered car has a few advantages over a Hydrogen powered car:  Hydrogen has to be converted from it's pure state into a form with a lower energy content or higher entropy.  This is usually achieved by combining it with Oxygen, which is readily found in the atmosphere.  The process of combustion usually takes place inside a modified conventional engine or in a Hydrogen based fuel cell, however, both of these methods generate lots of wasted energy.  The power extracted from the Hydrogen comes from the expansion of the gases as they combine.  The sound and heat energy that is produced at the same time is dissipated into the environment and is wasted.</p>
<p>A compressed-air powered car, on the other hand, can extract the same gaseous expansion based energy as combustion based cars without the loss of the heat and sound-based energy.  There has been some discussion (although the results I found were inconclusive) about whether the process of compressing the air was inefficient enough to offset the gains made with the more efficient power stations and in-car decompression process.  The end result of reducing waste energy is that not only would the car cause less noise pollution, but the energy used to actually drive the car could be a greater percentage of the total energy available.  Less waste is a good thing.</p>
<p><img class = "even" src = "/images/aircar-taxi_small.jpg" alt = "Taxis are alrady full of hot air but not powered by it." width = "240" hieght = "180" />There are, however, a few elements of the article that caused me some concern.  The talk of the compressed air driving the pistons which in turn compress the air makes little sense.  This is akin to using an electric motor to drive a generator which powers the electric motor.  If it worked, it would violate the law of conservation of energy.  I suspect (hope) that an over-enthusiastic reporter snuck this into the article rather than quoting directly from a scientist.</p>
<p>The article also makes no mention of the range of the car apart from stating that there is a long-range version that would be fitted with a conventional engine.  This suggests to me that this new car would suffer from the same drawbacks that electric cars suffer from: a range so small that the car is limited to the inner-city commute from home to work.  After a quick <a href = "http://www.google.com/search?q=compressed+air+car&btnG=Search">Google</a> and a visit to <a href = "http://en.wikipedia.org/wiki/Air_car">WikiPedia</a>, it appears that other sites claim the range would be somewhere between 100Km - 200Km.  That's great for those who only need that but I won't be swapping the long-range fuel tank in my Pajero for one of these until it comes closer to the same range.  Earlier articles regarding the same technology suggest even lower ranges so with the technology getting better and better, hopefully the air car will achieve that goal eventually.</p>
<p><img class= "odd" src = "/images/aircar-engine_small.jpg" alt = "The air car and its engine." width = "240" height = "135" />Filling me with confidence again, the rest of the article shows that Negre (The motivation behind the idea) truly understands the problem of wasted energy.  Firstly, the direct quote: "The lighter the vehicle, the less it consumes and the less its pollutes and the cheaper it is; it's simple," is very similar to one of the major principles behind low-energy building design.  So often, when you design something inefficiently, you find that you need to waste more energy to fix problems with the design.  Cars have added weight to deal with the wasted sound and heat energy which, in turn, requires more energy to carry around.  Fridges emit all their heat at the back, which often gets trapped and heats the inside of the fridge back up.  Fridges have to use extra energy just to remain below room temperature because the air around the fridge is above room temperature.  The less wasted energy a car has, the less weight it needs to carry around to deal with the side-effects of the wasted energy.  The less weight it has to carry around, the more you can do with the energy you have.  In fact, the expansion of a compressed gas will actually draw in heat - the same way a fridge works - meaning the air can then be used for cooling the interior of the car.  An air-conditioner and a radiator are two fewer pieces of machinery this car has to carry around thanks to it's more efficient design.</p>
<p>Negre also has plans to use small factories in the same regions where the car is to be sold.  This will probably cost slightly more - large scale factories have the advantage of being cheap on a per-car basis - but it will cost the environment less.  He stated that the parts would not be shipped to the factory to be assembled but would rather be sourced locally - saving again on the environmental costs of shipping.</p>
<p>It's possible, with the advances in technology we have made, that the whole process may just even turn out cheaper in dollars than shipping the cars half-way around the world.  Wasted energy and wasted effort are wasted dollars.  If Negre understands this, and I think he does, then this venture should turn a profit for both his bank balance and the environment.</p>]]></description>
      <pubDate>Tue, 15 Jan 2008 09:13:59 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2008/01/15/the_air_powered_car</guid>
    </item>
    <item>
      <description><![CDATA[<p><img class = "lead" src = "/images/martinLogo.jpg" alt = "Martin Lewis: The Money Saving Expert." width  = "100" height = "109" />Last weekend, <a href = "http://www.moneysavingexpert.com" title = "Martin Lewis, the Money Saving Expert">MoneySavingExpert</a> (my old employer) was the subject of what appears to be a fairly hefty DDoS attack.  It has been reported on several blogs and shortly afterwards on Digg.</p>
<p>There has been much speculation about why it's happening just now and who could be behind it but, as always, without any data to analyse there's no way of making any guess more accurate than a wild stab in the dark.  There has also been much wailing and gnashing of teeth about the powerlessness one feels when being attacked by half the internet.  Not that the tech team over at Money Saving Towers were wailing or gnashing their teeth, they just got in and fixed the problem.  By Sunday afternoon there was a static holding page up which I could actually request and receive in a browser and by Monday morning the site appeared to be back up and running as usual although I think the forums were still down at that time.</p>
<p>There <em>are</em> some things that can be done when you are the victim of a DoS attack.  If MoneySavingExpert can survive it, then so can you.</p>
<p>How you deal with a DoS depends greatly on how it's happening.  If you don't already know why your site is down, start trying to find the reason.  Log files and aggregated statistics are always the first two places I look.</p>
<p>At my current place of employment, we have a series of graphs generated using Orca and RRDTool for each of our servers.  These graphs show us everything from CPU load to disk space used to the number of open TCP connections to the machine's uptime.  If a particular server is causing the problem then I can load all of its graphs in a single window and scroll down the list looking for anything unusual.  If the problem is with a particular website then I can load up just the servers that website affects.  If I don't know which part of our system is the cause of the downtime, then I can load them all up.</p>
<p>Unusual patterns in log files can also be an indicator that something is wrong.  If I notice that one IP address has requested more web pages than the next ten combined then I start to suspect that something is wrong at that IP address.  If I notice that today's log file is twenty times the size of yesterday's log file, then I'm going to want to have a look inside both of them.  At this stage, all I'm doing is gathering information because I don't even know if it's a deliberate DoS or just some other sort of site outage.  Either way, the logfiles often hold the answer.</p>
<p>There are many different ways a DoS can be caused.  Simply flooding a webserver with ten times the normal number of requests it has to deal with is a crude but effective method.  This method will often cause your upstream bandwidth provider to start dropping packets because it can't keep up the pace.  Even if your webserver could serve all the requests, some of them won't make it all the way there.  Other types of DoS exist, however, and it's worth mentioning some of them here.</p>
<p>There are plenty of vulnerabilities in the off-by-one-buffer-overflow category that will cause a program to crash.  These are inevitably classed as denial of service vulnerabilities because that's usually all that can be exploited with them.  The important thing to note is that you don't need a large botnet or even a small one to cause a DoS to someone using this method.  All an attacker needs is a single computer with the ability to anonymise it's payload through something like ToR or a list of proxy servers.  Every crash (i.e every request) is going to cause several minutes of downtime.</p>
<p>Another class of DoS attack is caused by requesting a page that causes a lot of resource usage, such as requesting '%' from a badly written search function.  If the page is vulnerable, this example will cause the result set of the search to include every row in the database.  This will chew up large amounts of CPU and RAM even if it only actually displays the top ten results.</p>
<p>A DoS attacker could also request pages that cause lots of logging to occur, hence filling up the victim's file system.  I have actually caused this to happen completely by accident on one guy's website.  Apparently, in the space of about half an hour I caused 60GB of log files to be generated on their webserver.  Luckily, they knew what I was doing and had my phone number so they could ask me to stop.</p>
<p>These sorts of attacks - the ones that cause resource starvation on your webserver - can be caught with an IDS such as Snort, any decent firewall or a dedicated appliance.  Once you can identify the packets that are part of the DoS it is simply a matter of knowing how your firewall/IDS is configured and configuring it to drop those packets.</p>
<p>The other sort of DoS attack - the sort that attacks the services that support your site rather than the site itself - cannot be stopped by you.  They will require the people who run the service that failed to do whatever they need to do to survive the attack.  In the case of MoneySavingExpert, it appears that they have requested the services of ProLexic, a company that specialises in mitigating the effects of bandwidth-based DDoS attacks.  Essentially, ProLexic point all of the victim's traffic at their own servers, filter out the bad requests and pass the remaining requests on to the real webservers.  It's a simple but effective tactic that works against the crude but effective attack.</p>]]></description>
      <pubDate>Tue, 30 Oct 2007 23:53:50 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2007/10/30/moneysavingexpert_under_ddos_attack</guid>
    </item>
    <item>
      <description><![CDATA[<p><img src = "/images/little_bobby_tables_thumb.png" style = "margin-bottom: 1em;" class = "lead" alt = "Little Bobby Tables" width = "160" height = "120" />Ahhh <a href = "http://xkcd.com/327/" title = "A webcomic of romance,
sarcasm, math, and language.">xkcd</a>, you've done it again.<br />
<br />
There's not enough security humour in this world.<br />
<br />
<a href = "http://xkcd.com/327/" title = "A webcomic of romance,
sarcasm, math, and language."><img src = "http://imgs.xkcd.com/comics/exploits_of_a_mom.png" title = "Her daughter is named Help I'm trapped in a driver's license factory." alt = "A webcomic about a boy named Robert'); DROP TABLE Students;--" width = "666" height = "205" /></a><br />
<br />
I want to name my cat Tiddles"&gt;&lt;script&gt;alert('Foo!');&lt;/script&gt; now, just so that I can put that in as the answer to my secret question on Facebook.<br />
<br />
I just remembered that xkcd always put a title tag on every image that contains another little joke.  I've replicated the title-tag joke for this comic here as well.  If you're using Firefox, you can hover over the image to read it.<!--  After having read xkcd for so long and only now realising that I've been missing half the humour all along, it's like discovering a box of old letters from a friend you haven't spoken to in 15 years. -->
</p>]]></description>
      <pubDate>Sun, 14 Oct 2007 18:31:38 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2007/10/14/little_bobby_tables</guid>
    </item>
    <item>
      <description><![CDATA[<p>Yesterday, while trying to track down a problem with one of our forums, I was looking through the validation log and spotted something rather unusual.</p>
<p>The validation log stores all the parameters passed to the forums that failed validation so that we can verify that no legitimate users are being denied access.  Parameters include things like which post you are looking at, which thread it's in, which board the thread's in and which page of the thread you are on.  Normally, the post number, thread number and page number are all actually numbers but occasionally, somebody thinks it might be a good idea to put something else, like a URL, into the post number parameter.</p>
<p><span class = "bloginsertodd">The result was astounding.<br />  I sat there for minutes, watching the URLs of compromised servers fly past on my screen.</span>  In this case, it was a misguided hacking attempt aimed at a completely different piece of software than the one we are running.  We didn't have the vulnerability he was trying to exploit.  Had it been aimed at the correct software and succeeded, it would have would have changed the parameter so that instead of including a PHP file from the webserver, it would have included a file from someone else's webserver and run that file just as it does when the file is local.  The difference is that the code from the other webserver would have installed a rootkit, a command and control interface, a couple of new users and finally sent a message back to it's owner telling him where we were.</p>
<p>Unfortunately, people who try to seize control of other people's webservers are a paranoid lot.  They don't usually just start hacking from their home computer and head straight for the target.  They will use Tor or an anonymous proxy to mask their true identities.  They'll use webservers that they have already cracked to help crack new webservers.  In this case, tracing the hacking attempt back to where it came from only lead us to another compromised server with a web-based command and control page and the file required to hack other servers.</p>
<p>I didn't pursue it any further for several reasons: I'm not paid to hunt down crackers, it would have been illegal for me to use the compromised server to find out where it had been compromised from and it was an unsuccessful attempt to exploit a vulnerability we didn't even have.  Out of interest, I did quickly grep through the entire set of validation logs just to see how many of these attempts there were and from how many already-compromised webservers.  The result was astounding.  I sat there for minutes, watching the URLs of compromised servers fly past on my screen.</p>
<p>I wasn't all that surprised to see lots of hacking attempts.  Just put a machine on the internet running Snort for a day and you'll understand why.  What did surprise me was the sheer number of already compromised servers sitting out there.  Do people not have intrusion detection systems ?  Do they not check their log files ?  Has somebody like me not already noticed that their server has been hacked and emailed to let them know ?  (For the record, I did email the admin of the first server but once I found the hundreds or thousands in the log files I decided that it was a bit much effort for me...)</p>
<p>Does security not matter to these people ?</p>
<p>I suspect that's the answer.  Most people are on the net to create something.  They aren't interested in learning all about computer security and how to secure their machines.  They just want to create their own little corner of the web where they can do as they please.</p>]]></description>
      <pubDate>Sat, 13 Oct 2007 12:21:49 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2007/10/13/so_many_servers_have_already_been_hacked</guid>
    </item>
    <item>
      <description><![CDATA[<p>After last week's <a href = "/blog/2007/09/17/how_to_recover_your_data_after_a_crash">data recovery antics</a>, I started looking at what is actually stored in Firefox's crash recovery file (sessionstore.js) and it appears to be ripe and juicy for a bit of password sniffing.  A quick search though the file and I found one of my passwords hiding in plain sight along with the associated username.  Although the file has restrictive permissions (600) anyone with admin/root privileges would be able to read it.  Anyone who can login with your privileges would be able to read it.  Anyone who has access to your computer, even for only a couple of minutes would be able to read that file.</p>
<p>Sure, "root can already do anything" you say, but this allows whoever is root to gain extra privileges.  Privileges on another system where he isn't already root.  This is your gmail password, your MySpace password, your banking password.  Maybe, this is the same password you use for all of your accounts on all your social networking websites.</p>
<p>It doesn't seem to matter whether the password is in a "password" field or just a plain text field and it doesn't matter whether the page is encrypted or not.  Your password will be stored, with the username it accompanies, in plain text in your home directory.</p>
<p>This isn't just limited to passwords either.  What if you logged in under an anonymous name at some forums somewhere so you could blow the whistle on your corrupt boss without fear of sacking ?  What if you were emailing the blueprints to you next invention to the patent office ?  What if you were uploading photographs you had taken in secret from your hotel across the road from the US embassy to a Russian spy website ?  What if something even more unlikely and implausible were to happen that would be devestating to you if it were discovered you were the culprit ?</p>
<p>The lesson to learn is that if your data can be recovered by you after a crash, it can be recovered by pretty much anyone at any time.  If you're a developer, remember this and think about not storing passwords or at least storing them encrypted.</p>]]></description>
      <pubDate>Sun, 23 Sep 2007 17:11:14 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2007/09/23/security_implications_of_data_recovery</guid>
    </item>
    <item>
      <description><![CDATA[<p>Years ago, back in the days of 33MHz processors and Mac OS 7, my little brother was writing a letter to our Granny when the computer he was using crashed.  Crashes were good in those days; you got a little box on your screen with a picture of a bomb in it, a cryptic crash message and a restart button.  As I was the resident computer geek, I was immediately called for and asked if anything could be done.</p>
<p>Luckily, at the time I had a voracious appetite for anything that looked like it could teach me how to program and I had read everything remotely technical I could find on the internet.  I had, at the time, recently read about how to use Mac OS's built in debugger to save the contents of RAM to a file on the hard disk and I guessed that this could be used to recover my brother's letter.  It took me a couple of goes to remember how to do it as I couldn't have the tutorial open while I was in the debugger but I did eventually remember.  Shortly afterwards we had a 4MB file sitting on the hard drive that hopefully contained my brother's letter.  A quick search through the file and we had recovered nearly all of the letter and put it back in SimpleText where it belonged.</p>
<p>Fast forward to today and things have changed a bit.  Operating systems don't have built in debuggers that you can invoke with a keystroke (Well, some do, but not usually by default.) and 4MB of RAM is not considered enough to stir your coffee with, let alone boot a kernel into.</p>
<p>None the less, there are still things that can be done if you don't panic and are willing to think about your problem a bit.  In my case, I was busy writing up a new blog post.  Quite a rant if I remember correctly.  I had poured my anger into the keyboard and was just going through it once more to check for spelling errors before posting it when Firefox disappeared.  Gone.  No warning, no crash dialog, no error message.  Just gone.</p>
<p>Immediately I started Firefox back up again hoping I could recover my rant.  I didn't want to have to type it all out again.  I was hoping that when it restored my session with all it's tabs it would also restore the contents of the blog post field.  Alas, it was not to be.</p>
<p>Since that idea had failed to produce any results, I tried the same trick that worked for my brother all those years ago:  Save the contents of RAM to a file on the hard disk and look through it for what I had just been writing.  Not being sure of how to do this, I fell back on something I did know how to do: copy the contents of virtual memory.  I checked /etc/fstab to find out where my swap partition was and then typed <code>dd if=/dev/hdd5 of=/home/dave/swap_partition</code> on the command line.</p>
<p>This saved the contents of swap to a file.  Next, I ran the command <code>strings swap_partition &gt; swap_strings.txt</code> which grabbed anything that looked like an ASCII string out of that file.  Basically, any text in virtual memory would now be in the file <i>swap_strings.txt</i>.  With trepidation, I grepped through the file for a word I know I had typed several times in the blog post.  Nothing.  I tried another word, and another.  Although I was finding plenty of occurrences of the words, none of them were part of the blog post I had just written.</p>
<p>Since another idea had failed to recover my work, I needed to think again.  Where else could this data have been saved ?  Logically, the next most likely place was the .mozilla directory in my home directory.  This is where Firefox saves all of your user-specific profile settings.  Under Windows this would be in <code>C:\Documents and Settings\Username\Application Data</code> and on a Mac it would be in <code>/Users/username/Library/Application Support</code>.</p>
<p>Firefox saves all the tabs and all the windows you currently have open on a frequent basis so that if it crashes or shuts down untidily for any reason, at any time, it can start up again exactly where it was and recover any work you were doing.  In my case, Firefox had opened all my tabs and remembered what was in the text fields such as the <i>headline</i> and <i>date</i> fields and I had been hoping that it would remember the textarea which contained the majority of the post.  I was to be initially disappointed.</p>
<p>Although Firefox hadn't filled the large textarea in when I had returned to the page, I had a feeling that it may have been saving it's content somewhere on disk even though it hadn't been automatically recovered.  Sure enough, I ran the <i>strings</i> command over every file I found in the .mozilla directory and one of them - sessionstore.bak - had my blog post in it.  The data appeared to have been URL encoded and was mixed up with every other bit of data about the session that had just crashed but neither of these problems were difficult to work around.  A few quick search-and-replace commands later and I had recovered all of my writing.</p>
<p>Maybe this will work for you, maybe it won't.  The important thing to remember is that even though your data may look to be gone, there's still probably another copy of it floating around somewhere and if you know a couple of good tricks, you might just be able to recover it.</p>
<p><b>2007-10-16 - Update:</b> I did a bit more research and found out how to dump the contents of RAM and the contents of any single process.

<code class = "block">[dave@dave-desktop:~] # sudo cat /dev/mem | strings &gt; ~/mem<br />
<br />
[dave@dave-desktop:~] # sudo gcore -o ~/coredump pid</code>
The first command will save any ASCII string in RAM to the file <i>mem</i> in your home directory.  To save the entire contents of RAM, just remove the <code>| strings</code> part of the command.  This will save all the RAM, even if there isn't a running process using some part of it.<sup><a href = "#note1">[1]</a></sup><br />
<br />
The second command will save the memory of the process <i>pid</i> where <i>pid</i> is actually the process id of the process whose memory you want to dump.</p>
<p>I also found a great page on someone else's <a href = "http://www.applelinks.com/mooresviews/macsbug.shtml">experiences with MacsBug</a> almost exactly mirroring mine.</p>
<p><a name = "note1">[1]:</a> I tested this by starting vi and typing in "thisisanabsolutelyuniqueteststring", killing the vi process without saving the file and running the command above immediately with a small modification.  Instead of piping the output to a file, I piped it to <code class = "inline">grep thisisanabsolutelyuniquetest</code>.  The grep command found itself, as it always does, but it also found the original string, identified by the rest of the unique string that I didn't include in the grep command.<br />
You have to be careful when search through running memory.  I now remember having this problem with the Mac all those years ago.  Whenever I searched for parts of my brother's letter, I would just end up finding the part of memory that contained the search string.</p>]]></description>
      <pubDate>Mon, 17 Sep 2007 22:31:32 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2007/09/17/how_to_recover_your_data_after_a_crash</guid>
    </item>
    <item>
      <description><![CDATA[<p>Some random Cancer researcher <a href = "http://www.livescience.com/environment/070911_ap_salt_water.html
">discovers a way to make salty water "burn"</a> by firing radio waves at it.  He shows his mates from the Chemistry department and they all get quoted by a reporter as saying that "we want to know whether the energy released will be enough to power a car".  <a href = "http://green.yahoo.com/index.php?q=node/1570
">The article is copied around everywhere</a> (I have no idea which one was the original.)  The world goes crazy.</p>
<p>Think about it for a minute.  This is just another perpetual motion machine disguised as a chance discovery by scientists in an unrelated field.  People think they've found a way to violate the laws of thermodynamics all the time.  Some of them labour under the delusion for quite some time, others realise their mistake but see the potential for a scam and others quietly go back to their research and hope no one noticed their mistake.</p>
<p>If you thought you had just discovered a new, totally clean, excessively abundant energy source, why would you invite a chemist to see it ?  Why weren't any physicists invited to see this amazing burning water ?  Where are the venture capitalists ?  Where is the patent office ?</p>
<p>If any of those people were to become involved in this, they would ask the obvious question: where does the energy come from ?  Water has very little energy stored in a way that can be released.  It has quite a lot of entropy.  Firing radio waves at water causes the hydrogen-oxygen bonds to weaken but requires energy.  If you were to measure it, my money would be on the amount of energy being put in to the system in the form of radio waves being slightly greater than the amount of energy extracted from the system in the form of heat.  There would also be some unmeasured heat loss and other energy loss in the form of sound and light.</p>
<p>There are two further possibilities.  One is that these guys have discovered a new, lower energy, higher entropy form of water that up until now had never been discovered.  Maybe there's an extra neutron in there now and they've discovered a cheap way of making Deuterium (heavy water).  Maybe there's something weird going on with positrons.  Maybe they've successfully achieved cold fusion.  Although at 3000 degrees it wouldn't be considered <em>cold</em> any more.</p>
<p>Maybe there's a reason why physics should be left to the physicists.  The answers are not in yet but my money is most definitely on this being recorded as a fascinating curiosity, but not a new fuel source.</p>
<p>P.S.  To the guy who said that water is the most abundant resource on earth, if I remember my High School Physics correctly, the most abundant compound on Earth by weight is Silicon Tetra-Oxide.  This means that although around 29% of the Earth is Oxygen, a fairly large proportion of that is not water.  In fact, I just looked it up and apparently around 0.02% of the Earth by weight is water.<sup><a href = "http://seds.lpl.arizona.edu/nineplanets/nineplanets/earth.html">[1]</a></sup></p>]]></description>
      <pubDate>Sun, 16 Sep 2007 09:28:06 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2007/09/16/burning_water</guid>
    </item>
    <item>
      <description><![CDATA[<p>As reported on <a href = "http://arstechnica.com/news.ars/post/20070830-security-researcher-stumbles-across-embassy-e-mail-log-ins.html">Ars</a> <a href = "http://arstechnica.com/news.ars/post/20070910-security-expert-used-tor-to-collect-government-e-mail-passwords.html">Technica</a>, <a href = "http://www.theregister.co.uk/2007/09/10/misuse_of_tor_led_to_embassy_password_breach/">The Register</a>, <a href = "http://www.heise-security.co.uk/news/95778">Heise Security</a> and <a href = "http://it.slashdot.org/it/07/09/11/1730258.shtml">Slashdot</a>, the Swedish security researcher Dan Egerstad of <a href = "http://www.derangedsecurity.com/" title = "Dan Egerstad's DEranged Security">DEranged Security</a> has thrust into the limelight a security issue that has been plaguing concerned security technicians for years.  Unfortunately, many of the news stories either miss the point entirely or misrepresent Tor as being something it is not and the security vulnerability as being something it, too, is not.</p>
<p>Tor (<b>T</b>he <b>O</b>nion <b>R</b>outer) aids anonymity.  Anonymity is closely related to privacy.  Privacy and security often go hand in hand.  Therefore, Tor is a secure network.</p>
<p>Wrong !  Three of the above statements are correct but the conclusion drawn from those is not.  Tor is not a magic silver bullet for security and privacy.  You can't just hook up to the Tor network and expect that everything you do is now secure.</p>
<p>Now that I have that off my chest, let's look at the security research.  Research that, completely coincidentally, a friend of mine and I had been discussing last week in our own attempt to do a very similar thing: Find an appropriate point on a network, set up a packet sniffer and publish every username/password combination we find in an effort to push the <em>encrypted logins only</em> agenda.  We're in favour of SSH over Telnet or rlogin, scp over rcp, SFTP over FTP and HTTPS over HTTP.</p>
<p>It's always interesting looking at what people actually choose as passwords.  Some of them look to be a good mix of uppercase letters, lowercase letters and numbers, some are just lowercase and numbers, some are just lowercase and some are just numbers.  I saw one that was 13 random characters long and another that was literally '1234'.  I also saw 'temp' and 'Password' as passwords.  I did see a few passwords that had symbols but none with any special characters. (Considering that most of these embassies speak languages other than English, this seems strange...)  Even without the aid of packet sniffers, some of these passwords seem trivially easy to brute force.</p>
<p>Some people didn't quite understand what had happened.  I'm not mentioning any names but don't fret; Dan did.  Dan's site was taken down as requested.  There's a well known saying about horses and stable doors that seems to apply here.  Worse still, Dan's site had (and still has) instructions on what the actual vulnerability is and why it's a problem.  Something that most of the news stories about his research failed to pick up on.</p>
<p>Now, on to the debacle of Chinese whispers around any news site catering to pseudo security that ensued.  Each one quoting the last one until the message was completely lost.  I suspect that The Register were deliberately sensationalising their headline: "Tor at heart of embassy passwords leak" just to get a few extra readers.  Many of the news stories focussed on the fact that it was a Tor exit node that the sniffer was running on when in fact this was merely incidental to the real story.  Let me state this very clearly: This could have been ANY machine on the route between the client and the server.  Tor made it relatively easy for Dan to get on that route but it's certainly possible to achieve without Tor.  The vulnerability is that the usernames and passwords are sent in plain text across an untrusted network (and what network of any moderate size can be trusted ?)</p>
<p>There have been some moderate and intelligent responses to all of this.  If you filter your Slashdot discussion just the right way, some serious insight (rather than incite) can be gained into issues associated with the one raised.  One user points out that Tor should not be used for tasks that can identify you.  Another responds that sometimes you want to hide not <em>who</em> you are but <em>where</em> you are.  Yet another user suggests that employees would be fired from government positions for using Tor.</p>
<p>One thing missing, however, is a sense of concern about the implications of this.  Everybody seems to be treating it as a warning: Look what could happen if you don't encrypt your network traffic.  Bad people could get hold of your passwords !  But what if the people logging in to these email accounts are not the employees we think they are ?  Why would an employee need to log in to their own, personal email via Tor ?  Why would a terrorist need to log in to an embassy employee's email account using Tor ?  The second question appears to be somewhat easier to answer and somewhat harder to digest.</p>
<p>My thought is that Dan Egerstad has missed the real significance of the Tor network, possibly because he was already focussed on Tor in his research and hence didn't see it as an unusual element.  The real significance is that these accounts may have been compromised some time ago and the original attackers are regularly reading all of these email accounts, simply using Tor as a method to remain anonymous.  They probably have comparable hacking skills as the security researcher who exposed the problem and have enough concern about their own anonymity to take steps to ensure they retain it.  The best our officials can come up with is a request to remove Dan's website from the internet.  Now there's a worrying thought.</p>]]></description>
      <pubDate>Wed, 12 Sep 2007 23:14:24 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2007/09/12/swedish_security_researcher_exposes_plaintext_passwords_found_while_sniffing_tor</guid>
    </item>
    <item>
      <description><![CDATA[<p>Since the smoking ban came into effect on the first of July, I have inhaled more second-hand cigarette smoke than in the entire previous year.  The ban forces people who used smoke indoors to now smoke out on the street... where I am.</p>
<p>There's a daily gauntlet-run past the Royal Free hospital where patients, visitors and staff alike now all smoke on the street out the front of the hospital.  My eyes are watering by the time I get halfway past.  There's another one just before I reach my work where all the builders from the worksite next to the building I work in congregate along a pathway barely a metre wide and fill their lungs and my atmosphere with cancerous gunk.</p>
<p>Ironically, I used avoid pubs a little because the smell of smoke would permeate through my clothing and hair and get worse over time.  Now, pubs are a safe-house where anybody who would pollute my air must now leave and do it outside.  Of course, when I want to leave, I still have to walk through the crowd of people standing just outside the door, smoking as fast as they can so they can get back inside to sit with their mates again.</p>
<p>Still, it's a step forward.  Not because it reduces the amount of passive smoking I am forced to endure but because it enables the next step: a total ban on cigarette smoking in all public places.</p>]]></description>
      <pubDate>Mon, 27 Aug 2007 12:00:09 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2007/08/27/the_smoking_ban</guid>
    </item>
    <item>
      <description><![CDATA[<p>I found this waiting in for me Trillian when I got back from lunch the other day:</p>
<blockquote>[13:55] the magdaddy: <span style = "color: black;">hello little one! did you make lovely logins for jane doe and john doe? do they have to come up to receive their user/pw or can i take them down for them?</span><br />
[13:55] <span style = "color: #8B0000; font-weight: bold;">*** Auto-response sent to the magdaddy: I'm busy.  No, really.  I am.</span><br />
[13:55] the magdaddy: <span style = "color: black;">no, this is the one time in the day when you are not busy - you are eating and watering and generally relaxing.</span><br />
[13:55] the magdaddy: <span style = "color: black;">you cannot fool me.</span><br />
</blockquote>
<p>Yes indeed, you cannot fool the magdaddy.</p>]]></description>
      <pubDate>Tue, 31 Jul 2007 20:33:14 +1000</pubDate>
      <guid isPermaLink="true">http://www.ladadadada.net/blog/2007/07/31/eating_and_watering_and_generally_relaxing</guid>
    </item>
  </channel>
</rss>
