Re: [Doh] draft-ietf-doh-dns-over-https-04 feedback

Ray Bellis <ray@bellis.me.uk> Thu, 22 March 2018 10:48 UTC

Return-Path: <ray@bellis.me.uk>
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 0C05D1200C5 for <doh@ietfa.amsl.com>; Thu, 22 Mar 2018 03:48:00 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 YAU2zOAv7fCG for <doh@ietfa.amsl.com>; Thu, 22 Mar 2018 03:47:59 -0700 (PDT)
Received: from hydrogen.portfast.net (hydrogen.portfast.net [188.246.200.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D11F1200C1 for <doh@ietf.org>; Thu, 22 Mar 2018 03:47:59 -0700 (PDT)
Received: from dhcp-9ab5.meeting.ietf.org ([31.133.154.181]:54232) by hydrogen.portfast.net ([188.246.200.2]:465) with esmtpsa (fixed_plain:ray@bellis.me.uk) (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1eyxlF-0006d3-05 (Exim 4.72) for doh@ietf.org (return-path <ray@bellis.me.uk>); Thu, 22 Mar 2018 10:47:57 +0000
To: doh@ietf.org
References: <96afa3b5-2925-8276-9374-082b491f4216@bellis.me.uk> <23219.34384.67213.938078@gro.dd.org>
From: Ray Bellis <ray@bellis.me.uk>
Message-ID: <257cc9e5-d4f2-71df-5798-56445e189043@bellis.me.uk>
Date: Thu, 22 Mar 2018 10:47:57 +0000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <23219.34384.67213.938078@gro.dd.org>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/hra4FE7K22xJPqvp-dCTMc15CUk>
Subject: Re: [Doh] draft-ietf-doh-dns-over-https-04 feedback
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 22 Mar 2018 10:48:00 -0000

On 22/03/2018 10:32, Dave Lawrence wrote:

> Because it might have good reasons for replying with some other code,
> if multiple issues exist with the request?

OK, so you need to allow for HTTP protocol layer errors such as 401, etc
which happen earlier in the stream's processing.

But if it gets that far, is there any other possible response than 415?

I'm not sure how to phrase it, but I think it MUST be 415 *unless* some
other error was *already* detected (at which point I'd expect request
processing to have been aborted anyway).

Ray