Re: [Doh] [Ext] DNS Camel thoughts: TC and message size

Andrew Sullivan <> Thu, 07 June 2018 21:48 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id C3719130DD4 for <>; Thu, 7 Jun 2018 14:48:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key) header.b=Y1MJs++V; dkim=pass (1024-bit key) header.b=eWdY/F84
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id DhV89X4TeTFR for <>; Thu, 7 Jun 2018 14:48:12 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id F3DAD130DD1 for <>; Thu, 7 Jun 2018 14:48:11 -0700 (PDT)
Received: from localhost (localhost []) by (Postfix) with ESMTP id 17279BDEF9 for <>; Thu, 7 Jun 2018 21:47:41 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=default; t=1528408061; bh=HrICC6qIQYCqUv3fAZ3XVyEKqnMSbXkbwYyYPi643P8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Y1MJs++VWlvJHB2c0x3I/qCvtxmwPrzYWjdxBu6gDa67brCVjO8uIcdyHbcVHSFrw oBcAi0S2rZaP81bNYEGJGqTBvlnRRANGtA41ij6RJQeno9RjESb3jfCnnZbFuMsfNY XdEJs1JRRmbx4cBGxTwgftbibXjWgwSrpgvq9FbA=
X-Virus-Scanned: Debian amavisd-new at
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id y46rbYgOd8nq for <>; Thu, 7 Jun 2018 21:47:40 +0000 (UTC)
Date: Thu, 7 Jun 2018 17:47:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=default; t=1528408059; bh=HrICC6qIQYCqUv3fAZ3XVyEKqnMSbXkbwYyYPi643P8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=eWdY/F84U/zZp5DkoB1vxNrWPDT1yZJSBanNUYD6tur1ICY5Y1hIvWVN4brg3Zo4F T+U78azAufsy6ns+hTBOpSmcQCGZrDEdeLW2vVWngNqsSQ1qL4WrUM334pjCDIRdqr jJe4UpMoaLAQ85tQbh4Dzsw0Ld/fZIfC8Ey9p3AU=
From: Andrew Sullivan <>
Message-ID: <>
References: <> <> <> <> <> <> <>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <>
Archived-At: <>
Subject: Re: [Doh] [Ext] DNS Camel thoughts: TC and message size
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: DNS Over HTTPS <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 07 Jun 2018 21:48:17 -0000

On Thu, Jun 07, 2018 at 01:21:23PM -0400, Dave Lawrence wrote:
> "Sort of".  Wire format itself does not have the limitation.  Its use
> on certain transports does.  This distinction needs to keep being
> made.

That sounds like a foot-gun loaded for bear, to me.  Wire format on
every transport so far has this limitation.  Even if you break that
limitation (and I'm still not fully convinced you can), the mere fact
that this is called the "wire format" will lead people to expect that
they can pop in the very same parsing code they already use for the
"traditional" wire format, and it'll work fine.  So, if the document
is not going to set the limit in concrete, it had better have a Big
Giant Warning section that points out that a completely reasonable
assumption is not true and that the competent implementer will have to
do a bunch of additional work to be safe in a corner condition that is
incredibly rare right now.

What will actually happen, of course, is that some programmer will
say, "Aw, nobody's going to do that," fail to check the bounds
carefully, and create some festering large problem somewhere down the

Best regards,


Andrew Sullivan