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

Dave Lawrence <tale@dd.org> Mon, 11 June 2018 05:04 UTC

Return-Path: <tale@dd.org>
X-Original-To: doh@ietfa.amsl.com
Delivered-To: doh@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE9CA130DF5 for <doh@ietfa.amsl.com>; Sun, 10 Jun 2018 22:04:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z7V5WptPm8KT for <doh@ietfa.amsl.com>; Sun, 10 Jun 2018 22:04:21 -0700 (PDT)
Received: from gro.dd.org (gro.dd.org [207.136.192.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D632E130DED for <doh@ietf.org>; Sun, 10 Jun 2018 22:04:21 -0700 (PDT)
Received: by gro.dd.org (Postfix, from userid 102) id 31EB32AFDE; Mon, 11 Jun 2018 01:04:21 -0400 (EDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <23326.725.179933.690758@gro.dd.org>
Date: Mon, 11 Jun 2018 01:04:21 -0400
From: Dave Lawrence <tale@dd.org>
To: doh@ietf.org
In-Reply-To: <20180610231704.GB18326@mx4.yitter.info>
References: <CAOdDvNr=kLHPCtCHRx4=rpA1oDogQqdAJ0nR156BWABiFP_bzA@mail.gmail.com> <20180607215851.GA32738@server.ds9a.nl> <CAOdDvNqNpZ8fKPCO5sEqjROBHjg4wx-GGPMYSSynode10jeC0Q@mail.gmail.com> <9381B529-B2F4-459A-88EB-4410A4C4DB6F@mnot.net> <CAN6NTqxA4PcrtS_3umwGERLt9WPoX4p0a0u8pL-O2=CKKTBfyA@mail.gmail.com> <23322.62892.251560.128565@gro.dd.org> <20180608221700.GC8515@mx4.yitter.info> <23323.5488.915402.337488@gro.dd.org> <20180610161645.GF8515@mx4.yitter.info> <CAOdDvNrj20OVysaQHMczeMaiDhup4f5B=2n0xxQWmtTtm-OROA@mail.gmail.com> <20180610231704.GB18326@mx4.yitter.info>
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/PGQrFmTrC5y9YT8a4JVZsKTjCXI>
Subject: Re: [Doh] [Ext] DNS Camel thoughts: TC and message size
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: DNS Over HTTPS <doh.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/doh>, <mailto:doh-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/doh/>
List-Post: <mailto:doh@ietf.org>
List-Help: <mailto:doh-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/doh>, <mailto:doh-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Jun 2018 05:04:23 -0000

Andrew Sullivan writes:
> It's the part where the middle node _doesn't know_ it's a gateway for
> a "traditional client" that I've been worried about, because someone
> takes their existing code, plops an HTTPS transit on it, and thinks
> they're golden.  I know Tale thinks I'm worrying about something that
> Shouldn't Happen, but I think experience tells us this kind of thing
> happens _all the time_ in poorly-constructed DNS implementations. 

To be clear, I am not saying people don't write bugs.  People screw up
our modern specs all the time.

My point is that I don't see any practical way with unlimited-DoH that
legacy DNS software ends up having to deal with wire format over 64k
without someone taking an new, affirmative step to code that.  If they
take that step and are passing it into a function that's ill-equipped
to handle it, despite the standard that they're coding against warning
them of that very thing, that's a programmer error, not a
specification fault.

You just said it yourself.  Poorly-constructed.  Just how much
accommodation do we have to make for as-yet-unwritten bad software?