<?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/"
	>

<channel>
	<title>petru.blog</title>
	<atom:link href="http://petru.paler.net/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://petru.paler.net/blog</link>
	<description>Petru's blog</description>
	<pubDate>Thu, 06 Nov 2008 04:00:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Island hopping</title>
		<link>http://petru.paler.net/blog/2008/11/06/island-hopping</link>
		<comments>http://petru.paler.net/blog/2008/11/06/island-hopping#comments</comments>
		<pubDate>Thu, 06 Nov 2008 04:00:12 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[eve]]></category>

		<category><![CDATA[iceland]]></category>

		<category><![CDATA[Life]]></category>

		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/?p=65</guid>
		<description><![CDATA[Needing a break from what has become an all too mundane Ireland, I found an excuse to take a vacation and spent the better part of yesterday island hopping. How so? Well, I flew from Dublin to London to Reykjavik. It&#8217;s too late to make a proper post, so here&#8217;s several rough (it&#8217;s 4 AM) [...]]]></description>
			<content:encoded><![CDATA[<p>Needing a break from what has become an all too mundane Ireland, I found an <a href="http://www.eve-online.com/fanfest/2008/">excuse</a> to take a vacation and spent the better part of yesterday island hopping. How so? Well, I flew from Dublin to London to Reykjavik. It&#8217;s too late to make a proper post, so here&#8217;s several rough (it&#8217;s 4 AM) notes:</p>
<ul>
<li>Icelandair is one of the nicer airlines I flew with recently</li>
<li>they have really fancy inflight touchscreen entertainment systems</li>
<li>&#8230;which are slow</li>
<li>&#8230;and they try to charge you 10 quid for watching the feature films (the TV documentaries are free)</li>
<li>&#8230;if you open the plastic seal from the headphones, it costs you 3 quid (NOT COOL. Bring your own)</li>
<li>there&#8217;s an USB port next to the screen. Judging from the inflight magazine, it&#8217;s for some sort of game controller. I wonder what else you can do with it.</li>
<li>getting drunk on a plane is even better than getting drunk on the train</li>
<li>Iceland seems to have a law that requires all women to be exceedingly blonde and cute</li>
<li>somewhat related, hot eastern european women seem to have jobs here that require them to be in hotel lounges at 3 AM, accompanied by their large, humorless male friends (the kind that you mentally nickname as &#8220;Bruno&#8221;)</li>
<li>everybody in Iceland seems to speak English (it&#8217;s like having a Netherlands flashback)</li>
<li>even though I haven&#8217;t seen much (besides the bus trip from Keflavik to my hotel in downtown Reykjavik), I have an overwhelming feeling that I&#8217;ve been here before. It&#8217;s really weird. </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/11/06/island-hopping/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to make xterm scrolling work with screen</title>
		<link>http://petru.paler.net/blog/2008/10/21/how-to-make-xterm-scrolling-work-with-screen</link>
		<comments>http://petru.paler.net/blog/2008/10/21/how-to-make-xterm-scrolling-work-with-screen#comments</comments>
		<pubDate>Tue, 21 Oct 2008 23:24:58 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Tech]]></category>

		<category><![CDATA[text mode]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/?p=61</guid>
		<description><![CDATA[By default, xterm scrolling (with the mouse wheel) doesn&#8217;t work with screen. Since screen&#8217;s scrollback buffer is so useful (I set mine to 100000 - screen is routinely the largest process on my work machine), wouldn&#8217;t it be neat if the mouse wheel scrolled through it instead? It turns out it can, just add the [...]]]></description>
			<content:encoded><![CDATA[<p>By default, xterm scrolling (with the mouse wheel) doesn&#8217;t work with screen. Since screen&#8217;s scrollback buffer is so useful (I set mine to 100000 - screen is routinely the largest process on my work machine), wouldn&#8217;t it be neat if the mouse wheel scrolled through it instead? It turns out it can, just add the following to your <strong>.screenrc</strong>:</p>
<p><code>termcapinfo xterm* ti@:te@</code></p>
<p>This should work with any xterm compatible terminal, although I&#8217;ve only tested it with gnome-terminal and putty. It only deals with the scrollback as xterm saw it, so it won&#8217;t work as you expect it to after you&#8217;ve just switched screen views. Still, it&#8217;s better than nothing and extremely useful if you tend to have windows attached to the same screen view for a long time.</p>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/10/21/how-to-make-xterm-scrolling-work-with-screen/feed</wfw:commentRss>
		</item>
		<item>
		<title>Stop worrying</title>
		<link>http://petru.paler.net/blog/2008/10/21/stop-worrying</link>
		<comments>http://petru.paler.net/blog/2008/10/21/stop-worrying#comments</comments>
		<pubDate>Tue, 21 Oct 2008 21:42:32 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[cool]]></category>

		<category><![CDATA[Life]]></category>

		<category><![CDATA[religion]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/?p=58</guid>
		<description><![CDATA[A fundraising campaign aimed to put &#8220;There&#8217;s probably no God. Now stop worrying and enjoy your life&#8221; ads on London buses raised, up until I write this, £42 110 (it was 16 000 this morning, and their goal was 5 500). This is easily the coolest thing I&#8217;ve seen recently.
Before you jump and say that Dawkins [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://www.guardian.co.uk/commentisfree/2008/oct/21/religion-advertising">fundraising campaign</a> aimed to put &#8220;<em>There&#8217;s probably no God. Now stop worrying and enjoy your life</em>&#8221; ads on London buses raised, up until I write this, <a href="http://www.justgiving.com/atheistbus">£42 110</a> (it was 16 000 this morning, and their goal was 5 500). This is easily the coolest thing I&#8217;ve seen recently.</p>
<p>Before you jump and say that Dawkins is crazy and that this whole thing is over the board for a group of people that aren&#8217;t supposed to care, consider that it was done &#8220;<em>to counter the religious ads running on public transport, which featured a URL to a website telling non-Christians they would spend &#8216;all eternity in torment in hell&#8217;, burning in &#8216;a lake of fire&#8217;</em>&#8221; (or better yet, just <a href="http://www.guardian.co.uk/commentisfree/2008/oct/21/religion-advertising">read the article</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/10/21/stop-worrying/feed</wfw:commentRss>
		</item>
		<item>
		<title>The end of the internet</title>
		<link>http://petru.paler.net/blog/2008/07/21/the-end-of-the-internet</link>
		<comments>http://petru.paler.net/blog/2008/07/21/the-end-of-the-internet#comments</comments>
		<pubDate>Mon, 21 Jul 2008 22:46:08 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[security]]></category>

		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/?p=57</guid>
		<description><![CDATA[Well, not really. But if you&#8217;re in the tech industry you&#8217;ve surely heard about the recently discovered DNS vulnerability, and if you&#8217;re the curious type you tried to guess how it might work. Dan Kaminsky had wisely decided to postpone the full disclosure until the Black Hat conference, but it was just a matter of [...]]]></description>
			<content:encoded><![CDATA[<p>Well, not really. But if you&#8217;re in the tech industry you&#8217;ve surely heard about the recently discovered DNS vulnerability, and if you&#8217;re the curious type you tried to guess how it might work. <a href="http://www.doxpara.com/?page_id=1159">Dan Kaminsky</a> had wisely decided to postpone the full disclosure until the Black Hat conference, but it was just a matter of time before somebody figured it out. Halvar Flake <a href="http://addxorrol.blogspot.com/2008/07/on-dans-request-for-no-speculation.html">just did</a>. In short:</p>
<ol>
<li>Send loads of requests for nonexistent FQDNs to a resolver you want to poison. You can do this on non-public resolvers too - just get one of their clients to load a web page you control.</li>
<li>Start spoofing responses for those nonexistent FQDNs. Make sure you include glue records in them for, say, the .com zone.</li>
<li>Wait until one of your spoofed responses matches the QID that the resolver used.</li>
<li><a href="http://en.wikipedia.org/wiki/Underpants_Gnomes">???</a></li>
<li>Profit! The target resolver is now delegating all .com queries to you. You did set a long TTL, right?</li>
</ol>
<p>This sounds entirely unrealistic, until you start to do back-of-the-envelope math on just how many lookups and tries you must do - a couple minutes should be enough on any modern broadband link. I suspect Kaminsky&#8217;s presentation will come complete with number magic and tools to make this <strong>very</strong> quick and straightforward.</p>
<p>Amusing side note: <a href="http://www.matasano.com/log/">Matasano&#8217;s blog</a> just covered this story, linking to Flake&#8217;s blog. Not only they gave a simple technical introduction/explanation of how and why it works, but they also confirmed that &#8220;the cat is out of the bag&#8221;. That wasn&#8217;t just a guess about the validity of a guess - they know for sure because they&#8217;ve spoken with Kaminsky before and confirmed that the exploit is for real: &#8220;<a href="http://www.matasano.com/log/1089/dan-kaminsky-could-have-made-hundreds-of-thousands-of-dollars-with-this-dns-flaw/">Dan has the goods</a>&#8220;. The amusing part? They pulled the confirmation story about 2 hours after it was published. The cat is already out of the bag, guys ;-)</p>
<p>This attack is truly scary, for two reasons:</p>
<ol>
<li>It&#8217;s dead simple, yet extremely effective. Patching all affected resolvers will take quite a while, leaving a <strong>lot</strong> of people vulnerable in the mean time. There are certain circumstances (mainly NAT setups) in which a patched resolver can still be poisoned.</li>
<li>The patch (randomizing source ports for DNS queries - and proving that <a href="http://cr.yp.to/djbdns/forgery.html">DJB was wise</a>, not paranoid) will only work for so long. The roughly 30 bits of entropy (instead of the current 16) will last a while, but connection speeds keep increasing, not to mention the probability of somebody coming up with an even more clever attack.</li>
</ol>
<p><strong>Update</strong>: Kaminsky <a href="http://www.doxpara.com/?p=1185">confirms and provides details</a>. Vixie and Dagon came up with a <a href="http://tools.ietf.org/html/draft-vixie-dnsext-dns0x20-00">clever hack</a> to extend the amount of entropy in QIDs.</p>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/07/21/the-end-of-the-internet/feed</wfw:commentRss>
		</item>
		<item>
		<title>A blast from the past</title>
		<link>http://petru.paler.net/blog/2008/07/12/a-blast-from-the-past</link>
		<comments>http://petru.paler.net/blog/2008/07/12/a-blast-from-the-past#comments</comments>
		<pubDate>Sat, 12 Jul 2008 12:33:59 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Life]]></category>

		<category><![CDATA[north korea]]></category>

		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/?p=56</guid>
		<description><![CDATA[&#8230; except it&#8217;s in the present. An amazing video documentary about North Korea, well worth watching. I was young enough during the communist regime in Romania for this to not bring back too many memories, but I&#8217;m sure my older readers will find it terrifying.
]]></description>
			<content:encoded><![CDATA[<p>&#8230; except it&#8217;s in the present. An amazing <a href="http://www.vbs.tv/video.php?id=1438428757">video documentary</a> about North Korea, well worth watching. I was young enough during the communist regime in Romania for this to not bring back too many memories, but I&#8217;m sure my older readers will find it terrifying.</p>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/07/12/a-blast-from-the-past/feed</wfw:commentRss>
		</item>
		<item>
		<title>Underneath the Covers at Google</title>
		<link>http://petru.paler.net/blog/2008/06/16/underneath-the-covers-at-google</link>
		<comments>http://petru.paler.net/blog/2008/06/16/underneath-the-covers-at-google#comments</comments>
		<pubDate>Mon, 16 Jun 2008 18:10:59 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/?p=55</guid>
		<description><![CDATA[By far, the most frustrating thing about working at Google is not being able to talk much about the technology we use internally - especially the scale of some of the things we do. I&#8217;m really glad to see that Jeff Dean gave an interesting talk at the I/O conference and that, among other things, [...]]]></description>
			<content:encoded><![CDATA[<p>By far, the most frustrating thing about working at Google is not being able to talk much about the technology we use internally - especially the scale of some of the things we do. I&#8217;m really glad to see that Jeff Dean gave an interesting talk at the <a href="http://code.google.com/events/io/">I/O conference</a> and that, among other things, it has numbers! There&#8217;s a video and slides, so here you go: <a href="http://sites.google.com/site/io/underneath-the-covers-at-google-current-systems-and-future-directions">Underneath the Covers at Google: Current Systems and Future Directions</a>.</p>
<p>Who the heck is Jeff Dean?! I hear you ask. He&#8217;s a Google Fellow (I believe that&#8217;s the highest engineering distinction you can have here), and so famous that somebody built a Chuck Norris-style &#8220;Jeff Dean facts&#8221; site for last year&#8217;s April fools. Here&#8217;s 3 of my favorite facts:</p>
<ul>
<li>During his own Google interview, Jeff Dean was asked the implications if P=NP were true. He said &#8220;P = 0 or N = 1.&#8221; Then, before the interviewer had even finished laughing, Jeff examined Google&#8217;s public certificate and wrote the private key on the whiteboard.</li>
<li>Compilers don&#8217;t warn Jeff Dean.  Jeff Dean warns compilers.</li>
<li>The rate at which Jeff Dean produces code jumped by a factor of 40 in late 2000 when he upgraded his keyboard to USB2.0.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/06/16/underneath-the-covers-at-google/feed</wfw:commentRss>
		</item>
		<item>
		<title>MTV 94041</title>
		<link>http://petru.paler.net/blog/2008/06/04/mtv-94041</link>
		<comments>http://petru.paler.net/blog/2008/06/04/mtv-94041#comments</comments>
		<pubDate>Wed, 04 Jun 2008 04:51:19 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[California]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[Life]]></category>

		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/?p=54</guid>
		<description><![CDATA[I&#8217;ve been in California for the past week and a half; things are mostly the same as last time I&#8217;ve been here, but it&#8217;s nice to meet my american coworkers in person again. Haven&#8217;t done much yet besides work and a tour at Fry&#8217;s (mandatory for every Valley visit).
I spent most of my free time [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been in California for the past week and a half; things are mostly the same as last time I&#8217;ve been here, but it&#8217;s nice to meet my american coworkers in person again. Haven&#8217;t done much yet besides work and a tour at Fry&#8217;s (mandatory for every Valley visit).</p>
<p>I spent most of my free time last week going through old data and backups. I now have all my old email archives cleaned up and imported into Gmail. The oldest message I have is from March 1999, and reading some of them feels like taking a trip in the time machine.</p>
<p>If I manage to dig up old blog archives, I&#8217;ll try to import them into the current blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/06/04/mtv-94041/feed</wfw:commentRss>
		</item>
		<item>
		<title>Definitii noi din DEX 2008</title>
		<link>http://petru.paler.net/blog/2008/05/22/definitii-noi-din-dex-2008</link>
		<comments>http://petru.paler.net/blog/2008/05/22/definitii-noi-din-dex-2008#comments</comments>
		<pubDate>Thu, 22 May 2008 11:24:02 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[funny]]></category>

		<category><![CDATA[Romanian]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/2008/05/22/definitii-noi-din-dex-2008</guid>
		<description><![CDATA[
Infocare: transformare in foca
Ghinioane: varianta moldoveneasca pentru ardelenescul &#8220;Bine, Ioane&#8221;
Imprastiere: rezultatul procesului prin care betivii se fac prastie
Bizar: zar dublu
Macel: mac mic
Microscop: scop marunt
Inviorat: prevazut cu vioara
Lesina: pe unde merge &#8220;le tren&#8221;
Meritoriu: teritoriul ocupat de livada de meri
Rateu: pateu din carne de ratza
Scarabeu: cetatean ce locuieste la bloc, la scara a doua; din aceeasi familie [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Infocare: transformare in foca</li>
<li>Ghinioane: varianta moldoveneasca pentru ardelenescul &#8220;Bine, Ioane&#8221;</li>
<li>Imprastiere: rezultatul procesului prin care betivii se fac prastie</li>
<li>Bizar: zar dublu</li>
<li>Macel: mac mic</li>
<li>Microscop: scop marunt</li>
<li>Inviorat: prevazut cu vioara</li>
<li>Lesina: pe unde merge &#8220;le tren&#8221;</li>
<li>Meritoriu: teritoriul ocupat de livada de meri</li>
<li>Rateu: pateu din carne de ratza</li>
<li>Scarabeu: cetatean ce locuieste la bloc, la scara a doua; din aceeasi familie de cuvinte se cunosc scaraceu si scaradeu</li>
<li>Tractor: actor cu mult trac</li>
<li>Tutun: a-a-arma de-de-de a-a-artilerie</li>
<li>Tzurtzur: sunetul soneriei, iarna</li>
<li>Batalion: fratele mai mic al plutonierului Batal Gheorghe</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/05/22/definitii-noi-din-dex-2008/feed</wfw:commentRss>
		</item>
		<item>
		<title>Post-it Google search</title>
		<link>http://petru.paler.net/blog/2008/05/06/post-it-google-search</link>
		<comments>http://petru.paler.net/blog/2008/05/06/post-it-google-search#comments</comments>
		<pubDate>Tue, 06 May 2008 11:13:20 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[funny]]></category>

		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/2008/05/06/post-it-google-search</guid>
		<description><![CDATA[This is how Google search really works
Update: well, it looks like the video got taken down for some reason. It was funny while it lasted, though.
]]></description>
			<content:encoded><![CDATA[<p><strike>This is how Google search <strong>really</strong> works</strike></p>
<p><strong>Update</strong>: well, it looks like the video got taken down for some reason. It was funny while it lasted, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/05/06/post-it-google-search/feed</wfw:commentRss>
		</item>
		<item>
		<title>Summary</title>
		<link>http://petru.paler.net/blog/2008/03/30/summary</link>
		<comments>http://petru.paler.net/blog/2008/03/30/summary#comments</comments>
		<pubDate>Sun, 30 Mar 2008 01:33:06 +0000</pubDate>
		<dc:creator>Petru Paler</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://petru.paler.net/blog/2008/03/30/summary</guid>
		<description><![CDATA[
The good: hope
The bad: distance
The ugly: bitterness
The plan: carry on.

]]></description>
			<content:encoded><![CDATA[<ul>
<li>The <strong>good</strong>: hope</li>
<li>The <strong>bad</strong>: distance</li>
<li>The <strong>ugly</strong>: bitterness</li>
<li>The plan: <a href="http://www.youtube.com/watch?v=S5nw1-_5-Vk">carry on</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://petru.paler.net/blog/2008/03/30/summary/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
