<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: DNS Cache Poisoning against djbdns</title>
	<atom:link href="http://blog.c22.cc/2009/02/28/dns-cache-poisoning-against-djbdns/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.c22.cc/2009/02/28/dns-cache-poisoning-against-djbdns/</link>
	<description>Because we&#039;re damned if we do, and we&#039;re damned if we don&#039;t!</description>
	<lastBuildDate>Mon, 13 Feb 2012 14:56:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Dan Kaminsky</title>
		<link>http://blog.c22.cc/2009/02/28/dns-cache-poisoning-against-djbdns/comment-page-1/#comment-187</link>
		<dc:creator><![CDATA[Dan Kaminsky]]></dc:creator>
		<pubDate>Sat, 07 Mar 2009 04:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://c22blog.wordpress.com/?p=420#comment-187</guid>
		<description><![CDATA[There&#039;s lots and lots of partial fixes.  The bar I set is that if you don&#039;t protect all names equally, you&#039;re not doing enough.  Kevin&#039;s SOA trick works OK but you can just mix his birthday paradox stuff with sibling names from my talk and the attack works essentially just as well.]]></description>
		<content:encoded><![CDATA[<p>There&#8217;s lots and lots of partial fixes.  The bar I set is that if you don&#8217;t protect all names equally, you&#8217;re not doing enough.  Kevin&#8217;s SOA trick works OK but you can just mix his birthday paradox stuff with sibling names from my talk and the attack works essentially just as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisJohnRiley</title>
		<link>http://blog.c22.cc/2009/02/28/dns-cache-poisoning-against-djbdns/comment-page-1/#comment-185</link>
		<dc:creator><![CDATA[ChrisJohnRiley]]></dc:creator>
		<pubDate>Sat, 28 Feb 2009 16:44:40 +0000</pubDate>
		<guid isPermaLink="false">http://c22blog.wordpress.com/?p=420#comment-185</guid>
		<description><![CDATA[Well there are a number of bugs here. Lack of birthday protection seems to be a common flaw in the architecture of DNS. After all it was never meant to be a secure transaction. DNSSEC to the rescue ??? maybe in 2012 or beyond. 

The flaws that make djbdns&#039;s cache vulnerable appear to be the lack of SOA caching, ability to queue multiple &lt;em&gt;(read 200+)&lt;/em&gt; identical requests, and the dropping of older queries when the buffer is full and a new request is received. If any one of these flaws was fixed then djbdns would be no more vulnerable than the other offerings (i.e. 1 in 4 billion chance of cache poisoning).

Some fixes would be more effective than others obviously. Refusing to drop old requests when the maximum number was reached could cause various Denial of Service issues (users can no longer request resolution, or the server could be overloaded with thousands of requests). Caching the SOA seems to make sense, but as you said this is only an accelerant. With the other flaws left unpatched the server would never receive a valid response (the older queries would drop off the queue and the response from the nameserver would be ignored). SOA caching coupled with prevention of multiple identical requests seems to make sense from my standpoint (not a DNS expert by any means). Although what process is used to match the new request could be another issue altogether. I&#039;d like to see what overhead Kevin&#039;s unofficial patch for this puts on the server under load.

I&#039;d appreciate your opinions if I&#039;m seeing something wrong here. As I said, I&#039;m no DNS expert ;), I just hack stuff.]]></description>
		<content:encoded><![CDATA[<p>Well there are a number of bugs here. Lack of birthday protection seems to be a common flaw in the architecture of DNS. After all it was never meant to be a secure transaction. DNSSEC to the rescue ??? maybe in 2012 or beyond. </p>
<p>The flaws that make djbdns&#8217;s cache vulnerable appear to be the lack of SOA caching, ability to queue multiple <em>(read 200+)</em> identical requests, and the dropping of older queries when the buffer is full and a new request is received. If any one of these flaws was fixed then djbdns would be no more vulnerable than the other offerings (i.e. 1 in 4 billion chance of cache poisoning).</p>
<p>Some fixes would be more effective than others obviously. Refusing to drop old requests when the maximum number was reached could cause various Denial of Service issues (users can no longer request resolution, or the server could be overloaded with thousands of requests). Caching the SOA seems to make sense, but as you said this is only an accelerant. With the other flaws left unpatched the server would never receive a valid response (the older queries would drop off the queue and the response from the nameserver would be ignored). SOA caching coupled with prevention of multiple identical requests seems to make sense from my standpoint (not a DNS expert by any means). Although what process is used to match the new request could be another issue altogether. I&#8217;d like to see what overhead Kevin&#8217;s unofficial patch for this puts on the server under load.</p>
<p>I&#8217;d appreciate your opinions if I&#8217;m seeing something wrong here. As I said, I&#8217;m no DNS expert <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , I just hack stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Kaminsky</title>
		<link>http://blog.c22.cc/2009/02/28/dns-cache-poisoning-against-djbdns/comment-page-1/#comment-184</link>
		<dc:creator><![CDATA[Dan Kaminsky]]></dc:creator>
		<pubDate>Sat, 28 Feb 2009 16:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://c22blog.wordpress.com/?p=420#comment-184</guid>
		<description><![CDATA[Just to be clear, the SOA is an accelerant, that allows cached records to be poisoned. But the actual bug is the lack of birthday protection.]]></description>
		<content:encoded><![CDATA[<p>Just to be clear, the SOA is an accelerant, that allows cached records to be poisoned. But the actual bug is the lack of birthday protection.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

