Re: [Doh] [Ext] Re: [DNSOP] Alternate proposal for transport indication in draft-ietf-dnsop-dns-wireformat-http

Paul Hoffman <paul.hoffman@icann.org> Mon, 26 March 2018 10:16 UTC

Return-Path: <paul.hoffman@icann.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 3E0D41242F7; Mon, 26 Mar 2018 03:16:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 ttlFjf6hpWTH; Mon, 26 Mar 2018 03:16:40 -0700 (PDT)
Received: from out.west.pexch112.icann.org (pfe112-ca-1.pexch112.icann.org [64.78.40.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 53492127077; Mon, 26 Mar 2018 03:16:40 -0700 (PDT)
Received: from PMBX112-W1-CA-1.pexch112.icann.org (64.78.40.21) by PMBX112-W1-CA-1.pexch112.icann.org (64.78.40.21) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Mon, 26 Mar 2018 03:16:38 -0700
Received: from PMBX112-W1-CA-1.pexch112.icann.org ([64.78.40.21]) by PMBX112-W1-CA-1.PEXCH112.ICANN.ORG ([64.78.40.21]) with mapi id 15.00.1178.000; Mon, 26 Mar 2018 03:16:38 -0700
From: Paul Hoffman <paul.hoffman@icann.org>
To: Paul Vixie <paul@redbarn.org>
CC: dnsop <dnsop@ietf.org>, DoH WG <doh@ietf.org>
Thread-Topic: [Ext] Re: [Doh] [DNSOP] Alternate proposal for transport indication in draft-ietf-dnsop-dns-wireformat-http
Thread-Index: AQHTxMYJjiIeoO0puk2SlNzAM+KuJqPifYgAgABFTwA=
Date: Mon, 26 Mar 2018 10:16:38 +0000
Message-ID: <9DBF114F-C361-475B-867E-B49DF3B4DB5A@icann.org>
References: <152168039295.5550.9572034766968749020.idtracker@ietfa.amsl.com> <CAAObRXLm3c-p9rZkn6H6tcEoh3-UT5JW06NXQ_FMyyr2NFMmyw@mail.gmail.com> <23219.33838.166003.614689@gro.dd.org> <CAAObRX+xF5SwVd3x3iXSWd-A0Kpr_ubbOJzn0yTrSk8pc+tm6Q@mail.gmail.com> <23219.56569.2064.711002@gro.dd.org> <CA+nkc8ANQh2wAr6==eNuM82mbD+E2ELzHGizdqF_sGdY-kkOqg@mail.gmail.com> <5AB3E3B7.3080607@redbarn.org> <69AA6C5D-D348-4956-8A31-FE1EC3A2042E@icann.org> <5AB88E60.5010007@redbarn.org>
In-Reply-To: <5AB88E60.5010007@redbarn.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [192.0.47.234]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <3F7481E926EDFB4CB9049A333FD55DE4@pexch112.icann.org>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/-oBRZWMI2fAXp0LqtOTq5jBHaKE>
Subject: Re: [Doh] [Ext] Re: [DNSOP] Alternate proposal for transport indication in draft-ietf-dnsop-dns-wireformat-http
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: Mon, 26 Mar 2018 10:16:41 -0000

On Mar 26, 2018, at 7:08 AM, Paul Vixie <paul@redbarn.org> wrote:
> Paul Hoffman wrote:
>> Given the use case in draft-ietf-dnsop-dns-wireformat-http, defining
>> a new media type seems like overkill, particularly given that it will
>> be transporting *the exact same* data as an existing media type.
>> Instead, an optional parameter could be added to the
>> application/dns-udpwireformat registration in the DOH document.
>> 
>> Proposal:
>> 
>> =====
>> 
>> In the media type definition, change "Optional parameters" to:
>> 
>> Optional parameters: original_transport original_transport has two
>> defined values, "udp" and "tcp". This is only expected to be used by
>> servers.
> 
> s/servers/proxies/

Maybe? I can't tell from the current draft if a proxy client would need to send a transport type.


>> Also in the the DOH document, under Operational Considerations, we
>> would add:
>> 
>> This protocol does not define any use for the original_transport
>> optional parameter of the application/dns-udpwireformat media type.
>> 
>> =====
>> 
>> Then draft-ietf-dnsop-dns-wireformat-http could define the use of
>> that optional parameter as it sees fit.
> 
> so this would look like
> 
> content-type: application/dns-udpwireformat; tcp

Not quite.
   content-type: application/dns-udpwireformat; original_transport=tcp

--Paul Hoffman