Re: [Doh] re original_transport indicator

Davey Song <songlinjian@gmail.com> Sun, 08 April 2018 03:15 UTC

Return-Path: <songlinjian@gmail.com>
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 C05121242F7; Sat, 7 Apr 2018 20:15:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 fxn2U466NsOV; Sat, 7 Apr 2018 20:15:42 -0700 (PDT)
Received: from mail-ua0-x22e.google.com (mail-ua0-x22e.google.com [IPv6:2607:f8b0:400c:c08::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF26E1200A0; Sat, 7 Apr 2018 20:15:42 -0700 (PDT)
Received: by mail-ua0-x22e.google.com with SMTP id v4so3009208uaj.3; Sat, 07 Apr 2018 20:15:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9GSgF+livP09CKz+Ajr3+WEIXEcYh92ymjZ/YR6YbKQ=; b=dLSVUvbdgYIfFBzphy/M080ZWeS5fxIfgF6JYBb68F+MOI3qXG7G5jXfd0kp6lyZEC tR0duhOFh/DwTFX960dyidYRQz6GYZT48wgNekUo0LF7isHorXmtCnoyOgHKKR9m6tWP LNXAkUjUcpoFvH+uXSkJkqwICul4vbY/2ckRs2sxSPJt3dA/WF6fxV9OKQdP/r5yn3nk E86SecarBnjmUBIl/RYkCcMad5+ohfbnP7bJThj4fsdfDh6XWK0WZxZNPA40eQydOmJG QtomG6qCkR38uuBabnpBdAphtqjwRZcKW7xfFigAJsrUjV4Ow/4hHeKOKELiGDzKBYzy 1G8w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9GSgF+livP09CKz+Ajr3+WEIXEcYh92ymjZ/YR6YbKQ=; b=eetQl88fy6KwPCaTRT8aL2Rf2aq/heNPScYPwfs/CdY2pV4mJjx6FqjpkbtC/rXqvp NpqHYZh50h/vY7iD9itLrAuxrvDV69NOf+FFcBx3U7qWa6DTQ8VbVPj6HTtuTIZ8RTtI EDoVG77qRbnzdGU3AHZB2/z5tLfp7xFSIAWk1M06Zyzdoe1hAciLY+jrrMx+0nCo9EgX o5Unu61fsRQDREA+Di/VFzzvhJySqFyX7mhd99UbLlqvwF33tA1x/OaavGb2TGmoOZZm 2+KnvGm3tOmqv9ImPOUXPmeDQRNOjOlr4Nc4eBORrhfXm7sgaDz/a6H3DlecPXcZWjMX nfJQ==
X-Gm-Message-State: ALQs6tCUug86cQUw8Kv/Yqkii7y5YHH0iWIH6g58Cpx4p0s8GXEq22TV z1QJehR7zfIiUJZi1CpXnoqWC4eulLa1oN0ibEU=
X-Google-Smtp-Source: AIpwx4/0tB5dCmynP/Hp9nR1oUK/S5QzSZ+r8KqG14QGydNFo8Y9D/Sl8LWDZPan0NzQNkpzL0s2lHCXYVer3fY8I+o=
X-Received: by 10.176.69.182 with SMTP id u51mr20896389uau.93.1523157341466; Sat, 07 Apr 2018 20:15:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.90.104 with HTTP; Sat, 7 Apr 2018 20:15:40 -0700 (PDT)
In-Reply-To: <5AC802E0.2000200@redbarn.org>
References: <CAOdDvNrO0bbSdRn8dzWiFzMx4Wc33yAh0C6SWg+DR4b4XTEmHg@mail.gmail.com> <CABkgnnVvcUEkiw9j=6Aw=x3bXOdRyi2iCBn6CbUuiyh2i7=YpQ@mail.gmail.com> <5AC802E0.2000200@redbarn.org>
From: Davey Song <songlinjian@gmail.com>
Date: Sun, 8 Apr 2018 11:15:40 +0800
Message-ID: <CAAObRXLVn9QHVDTmWpQXh7YKvKgEunQVjzNzVfjbXgrXRZb+6w@mail.gmail.com>
To: Paul Vixie <paul@redbarn.org>
Cc: Martin Thomson <martin.thomson@gmail.com>, dnsop <dnsop@ietf.org>, DoH WG <doh@ietf.org>, Ted Lemon <mellon@fugue.com>, Patrick McManus <pmcmanus@mozilla.com>, Ray Bellis <ray@bellis.me.uk>
Content-Type: multipart/alternative; boundary="94eb2c11b82446791805694db414"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/xKTgB3wsooODrOiZ9X1mdjiH3ng>
Subject: Re: [Doh] re original_transport indicator
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: Sun, 08 Apr 2018 03:15:45 -0000

On 7 April 2018 at 07:29, Paul Vixie <paul@redbarn.org>; wrote:
>
>
> i am generally supportive of this approach; in fact i wish i'd thought of
> it. the specifics will be different, as in:
>
> /proxy_dns?proto=tcp
> /proxy_dns?proto=udp
>
> but i agree that encoding the original transport in the URI is better than
> either extending the content-type or adding another http header.
>

It sounds a better approch.  We can define the variables
"proto" in dnsop-dns-wireformat-http instead of adding a parameter of
content-type.

There is a sentence in DOH draft support new variables in URI.

   Future specifications for new media types MUST define the variables
   used for URI Template processing with this protocol.

I think it should edited a little bit : s/ new media/ new media types and
new use cases

i object, as before, to "dns-udpwireformat" as a name. these are dns
> messages, which when carried by udp are raw, and when carried in tcp are
> preceded by a two-octet length indicator for framing of multiple messages
> sharing the same stream. so, the string to be registered should be
> "dns-message".
>
>
+1

Davey

>
> _______________________________________________
> Doh mailing list
> Doh@ietf.org
> https://www.ietf.org/mailman/listinfo/doh
>