<?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/"
	>
<channel>
	<title>Comments on: DNS kiting</title>
	<atom:link href="http://jfxpt.com/2023/dns-kiting/feed/" rel="self" type="application/rss+xml" />
	<link>http://jfxpt.com/2023/dns-kiting/</link>
	<description>The search for invariants</description>
	<pubDate>Thu, 09 Apr 2026 22:32:57 +0000</pubDate>
	<generator>http://polimedia.us</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jacob Welsh</title>
		<link>http://jfxpt.com/2023/dns-kiting/#comment-2494</link>
		<dc:creator>Jacob Welsh</dc:creator>
		<pubDate>Mon, 30 Oct 2023 01:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://jfxpt.com/?p=241#comment-2494</guid>
		<description>By and by we find some rationale from a different program in the suite,

&lt;blockquote&gt;&lt;a href="http://cr.yp.to/djbdns/tinydns.html" rel="nofollow"&gt;tinydns&lt;/a&gt;, like BIND, includes NS records with answers to most queries. This increases DNS packet sizes, but it draws queries away from parent servers, and reduces the frequency of long DNS delays. With the default tinydns-data cache times, a client that uses a normal record at least once every day will always have the corresponding NS records cached and will never have to talk to parent servers.&lt;/blockquote&gt;

In other words, ye olde "we made it go faster by not doing the work."

&lt;blockquote&gt; I'm taking a look myself into the compiler warnings for potentially undiscovered portability issues.&lt;/blockquote&gt;

Indeed this led me to rediscover a &lt;a href="https://marc.info/?l=djbdns&#038;m=110845281123105&#038;w=2" rel="nofollow"&gt;bug&lt;/a&gt; affecting 64-bit big-endian systems. Otherwise there was gcc's builtin "puts" to defuse and some signed vs. unsigned int sloppiness that could conceivably be a problem at the 2G boundary, which seems unlikely to be remotely approached given the context but who knows.

These and all other interesting fixes I found are now in the port.</description>
		<content:encoded><![CDATA[<p>By and by we find some rationale from a different program in the suite,</p>
<blockquote><p><a href="http://cr.yp.to/djbdns/tinydns.html" rel="nofollow">tinydns</a>, like BIND, includes NS records with answers to most queries. This increases DNS packet sizes, but it draws queries away from parent servers, and reduces the frequency of long DNS delays. With the default tinydns-data cache times, a client that uses a normal record at least once every day will always have the corresponding NS records cached and will never have to talk to parent servers.</p></blockquote>
<p>In other words, ye olde "we made it go faster by not doing the work."</p>
<blockquote><p> I'm taking a look myself into the compiler warnings for potentially undiscovered portability issues.</p></blockquote>
<p>Indeed this led me to rediscover a <a href="https://marc.info/?l=djbdns&#038;m=110845281123105&#038;w=2" rel="nofollow">bug</a> affecting 64-bit big-endian systems. Otherwise there was gcc's builtin "puts" to defuse and some signed vs. unsigned int sloppiness that could conceivably be a problem at the 2G boundary, which seems unlikely to be remotely approached given the context but who knows.</p>
<p>These and all other interesting fixes I found are now in the port.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Welsh</title>
		<link>http://jfxpt.com/2023/dns-kiting/#comment-2478</link>
		<dc:creator>Jacob Welsh</dc:creator>
		<pubDate>Sun, 01 Oct 2023 01:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://jfxpt.com/?p=241#comment-2478</guid>
		<description>While cooking up a gport for djbdns and looking into the available patches in general, I find I'm not in fact the first to discover this (or something quite like it) and there's &lt;a href="https://marc.info/?l=djbdns&#038;m=134269902121506&#038;w=2" rel="nofollow"&gt;a fix&lt;/a&gt;. Looks like it was a more general blunder affecting multiple DNS implementations, coming up only in 2012, quite late in that game.

Otherwise...

There's also an &lt;a href="https://marc.info/?l=djbdns&#038;m=123613000920446&#038;w=2" rel="nofollow"&gt;acknowledged security bug&lt;/a&gt;, albeit for uncommon scenarios, which Bernstein himself patched as late as 2009 and awarded his bounty to the reporter Matthew Dempsky.

Jonathan de Boyne Pollard has published &lt;a href="http://jdebp.info/Softwares/djbwares/djbdns-patches.html" rel="nofollow"&gt;a number of patches&lt;/a&gt;; I wasn't too impressed with his &lt;a href="http://jdebp.info/FGA/djbdns-problems.html" rel="nofollow"&gt;descriptions of the supposed problems&lt;/a&gt; but it might be good to have on hand at least.

This "PJP" guy who tried very hard to make it look less like a djb program and shoehorn it into fedora/github world has &lt;a href="http://pjp.dgplug.org/ndjbdns/patches.html" rel="nofollow"&gt;collected some patch refs&lt;/a&gt;.

Then there's this &lt;a href="https://github.com/richtma/djbdns-patches" rel="nofollow"&gt;nameless patch collection&lt;/a&gt;.

I expect the first two patches mentioned will go in, and I'm taking a look myself into the compiler warnings for potentially undiscovered portability issues.

Relatedly, the qmail gport has also received some needed attention; it was in Gales from the start but never used/tested there.</description>
		<content:encoded><![CDATA[<p>While cooking up a gport for djbdns and looking into the available patches in general, I find I'm not in fact the first to discover this (or something quite like it) and there's <a href="https://marc.info/?l=djbdns&#038;m=134269902121506&#038;w=2" rel="nofollow">a fix</a>. Looks like it was a more general blunder affecting multiple DNS implementations, coming up only in 2012, quite late in that game.</p>
<p>Otherwise...</p>
<p>There's also an <a href="https://marc.info/?l=djbdns&#038;m=123613000920446&#038;w=2" rel="nofollow">acknowledged security bug</a>, albeit for uncommon scenarios, which Bernstein himself patched as late as 2009 and awarded his bounty to the reporter Matthew Dempsky.</p>
<p>Jonathan de Boyne Pollard has published <a href="http://jdebp.info/Softwares/djbwares/djbdns-patches.html" rel="nofollow">a number of patches</a>; I wasn't too impressed with his <a href="http://jdebp.info/FGA/djbdns-problems.html" rel="nofollow">descriptions of the supposed problems</a> but it might be good to have on hand at least.</p>
<p>This "PJP" guy who tried very hard to make it look less like a djb program and shoehorn it into fedora/github world has <a href="http://pjp.dgplug.org/ndjbdns/patches.html" rel="nofollow">collected some patch refs</a>.</p>
<p>Then there's this <a href="https://github.com/richtma/djbdns-patches" rel="nofollow">nameless patch collection</a>.</p>
<p>I expect the first two patches mentioned will go in, and I'm taking a look myself into the compiler warnings for potentially undiscovered portability issues.</p>
<p>Relatedly, the qmail gport has also received some needed attention; it was in Gales from the start but never used/tested there.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
