Re: [Ohai] New Version Notification for draft-pauly-ohai-svcb-config-01.txt

Ben Schwartz <bemasc@google.com> Thu, 26 May 2022 14:03 UTC

Return-Path: <bemasc@google.com>
X-Original-To: ohai@ietfa.amsl.com
Delivered-To: ohai@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 29A00C15E410 for <ohai@ietfa.amsl.com>; Thu, 26 May 2022 07:03:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RTwcrPAQ38h1 for <ohai@ietfa.amsl.com>; Thu, 26 May 2022 07:03:08 -0700 (PDT)
Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87D85C1850F8 for <ohai@ietf.org>; Thu, 26 May 2022 07:01:20 -0700 (PDT)
Received: by mail-wm1-x333.google.com with SMTP id c9-20020a7bc009000000b0039750ec5774so1133048wmb.5 for <ohai@ietf.org>; Thu, 26 May 2022 07:01:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/t9k2LoevluYXM81gI8/J1jQqDORXcnwNSVir31++GM=; b=ebo4IMJzlTe6Yj2q/BqBihLUqcilLHRbN477qS2yh/HTHuBDEqnhOi1WhLHbCfSW0E hFzRoeMNyDsrTwWeWs4qHRb7WmvMXS1g8bWPw14tpjJqwi1Pa22aBkECf0BKdBrDg98I kDe4EJh3arp6GQji8ffeee35mKhJa7x+g01t5i/WOk8I7ZuoZ3LupLIqI6p6CY+ESmZ8 uYbvDyHY8joJceiEEF4yHX5B67adC0Ur+FqG7m/0p22CNeGmIbf6cb/WvTZ3Yip6S6OQ /blYCbPspto+Jhtm1jsO9S9l/qjfTb1MRyoohAf3q7+hkYVFVIQK4BNfqgNyZxEQnJr8 IskQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/t9k2LoevluYXM81gI8/J1jQqDORXcnwNSVir31++GM=; b=0YRVAKyO2jgPDfwC7DXvHWZqSaz1fMmusrlSME0ldUWCXiOjP0iBUqzkSDfE2Rsi22 2/GOg9ijuti/8RCwGnu0IHz5/+eyDyIJFLM6Q/ccGI1n7tDQskWESL5PTtyON7PFf5FX BYkKaFe4GCS2IDtaCSbLFOYk5R52/q2q6MWDQsSMLacFatz7/S8/B8hWterNRUgmVSdO eFvv/4hq25JE9hYoFR2K994mgK0UIoZMw82W4vnH+swrW4r33S/12+6FmR+dcPy1NX7J Cp+UbP9sUGPHTsCs1sWmJ2zg/jJubSwrq00l036aCjAN0R/EJTm3cCjjnbtdCk4/EgKi NSEA==
X-Gm-Message-State: AOAM531M0Ij1dUvty+edkMdisdOGuWl19Z6WcbkP7zZMhwTi1M1fpQ/t 3S8Y+DM/ZtZR6SsAa7xHEe3XAaGJv9cYUGFJ3/Le7Gq8Hq/mBzkj
X-Google-Smtp-Source: ABdhPJwBxQIUytbIrqvj64DFtPHGIvuNqeE8UkbDyKT1SXdqdfWtS1NkcFpfk27z0+WOqKdVF+niQk5zcEFZ3fIvxxk=
X-Received: by 2002:a7b:c4d6:0:b0:397:79fc:99c2 with SMTP id g22-20020a7bc4d6000000b0039779fc99c2mr2442058wmk.127.1653573678076; Thu, 26 May 2022 07:01:18 -0700 (PDT)
MIME-Version: 1.0
References: <165349403183.64765.5845980931808550826@ietfa.amsl.com> <BB32163C-201B-46D6-B5D2-52761A692F82@apple.com>
In-Reply-To: <BB32163C-201B-46D6-B5D2-52761A692F82@apple.com>
From: Ben Schwartz <bemasc@google.com>
Date: Thu, 26 May 2022 10:01:06 -0400
Message-ID: <CAHbrMsAd0JK2nnixFa1oBJ4sXQXS7o-=as8GGZ01dSYkMfB=wg@mail.gmail.com>
To: Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org>
Cc: ohai@ietf.org
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="000000000000b8532b05dfea9f0c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ohai/-R7Z7b6-LFaT989YhgRkIdr0u4U>
Subject: Re: [Ohai] New Version Notification for draft-pauly-ohai-svcb-config-01.txt
X-BeenThere: ohai@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Oblivious HTTP Application Intermediation <ohai.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ohai>, <mailto:ohai-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ohai/>
List-Post: <mailto:ohai@ietf.org>
List-Help: <mailto:ohai-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ohai>, <mailto:ohai-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 May 2022 14:03:09 -0000

Thanks Tommy!  Unsurprisingly, I like this direction.

I do think this version has a remaining "consistency" problem in the "dns"
scheme: the "dohpath" is not consistency-protected.  A hostile server could
issue distinct "dohpath" values to every user, defeating the linkability
protections provided by key consistency.  For this reason, I think the DoH
URI template and the KeyConfig need to be treated atomically, and protected
by a shared consistency mechanism.  (I posted drafts last month covering
such a combined configuration [1] and consistency mechanism [2].)

I'm slightly confused by Section 3.2.  Is this describing "standard DoH
over OHTTP", or is this related to the earlier "Oblivious DoH" draft?  If
the first (which I prefer), perhaps this could be adjusted to clarify that
there is nothing new being defined here, and the outer Content-Type is
still "message/ohttp-req".

Finally, I wonder how you think clients (e.g. browsers) should treat the
"oblivious" flag in general HTTP usage.  Should browsers respect it and
switch to OHTTP for those domains, if they are able?  Ignore it entirely?
Use it only when making requests that don't carry cookies?

Relatedly, are you sure that the origin is the proper scope for a flag like
this?  It seems to me that an HTTP origin might offer some resources or
services that are suitable for access over OHTTP, and some that are not.
Perhaps the origin scope is appropriate for origin-identified services, but
not for URL-identified services?  Or are we asking providers to partition
all OHTTP services onto a separate origin, which raises some privacy
concerns of its own?

--Ben

[1]
https://datatracker.ietf.org/doc/html/draft-schwartz-masque-access-descriptions-00
[2]
https://datatracker.ietf.org/doc/html/draft-schwartz-ohai-consistency-doublecheck-00


On Wed, May 25, 2022 at 12:14 PM Tommy Pauly <tpauly=
40apple.com@dmarc.ietf.org> wrote:

> Hello OHAI,
>
> This revision of the draft for discovering oblivious targets with SVCB
> records goes in the simplified direction discussed on list and at IETF 113.
>
> Specifically, this defines:
> - A boolean “oblivious” SVCB parameter to provide a hint that a server
> supports being an oblivious target
> - A well-known URI to host the oblivious target keys
>
> There may also need to be other attributes defined, such as paths on the
> target, but I’d like to hear if people prefer this direction.
>
> Thanks,
> Tommy
>
> > On May 25, 2022, at 8:53 AM, internet-drafts@ietf.org wrote:
> >
> >
> > A new version of I-D, draft-pauly-ohai-svcb-config-01.txt
> > has been successfully submitted by Tommy Pauly and posted to the
> > IETF repository.
> >
> > Name:         draft-pauly-ohai-svcb-config
> > Revision:     01
> > Title:                Discovery of Oblivious Services via Service
> Binding Records
> > Document date:        2022-05-25
> > Group:                Individual Submission
> > Pages:                9
> > URL:
> https://www.ietf.org/archive/id/draft-pauly-ohai-svcb-config-01.txt
> > Status:
> https://datatracker.ietf.org/doc/draft-pauly-ohai-svcb-config/
> > Html:
> https://www.ietf.org/archive/id/draft-pauly-ohai-svcb-config-01.html
> > Htmlized:
> https://datatracker.ietf.org/doc/html/draft-pauly-ohai-svcb-config
> > Diff:
> https://www.ietf.org/rfcdiff?url2=draft-pauly-ohai-svcb-config-01
> >
> > Abstract:
> >   This document defines a parameter that can be included in SVCB and
> >   HTTPS DNS resource records to denote that a service is accessible as
> >   an Oblivious HTTP target, as well as a mechanism to look up oblivious
> >   key configurations using a well-known URI.
> >
> >
> >
> >
> > The IETF Secretariat
> >
> >
>
> --
> Ohai mailing list
> Ohai@ietf.org
> https://www.ietf.org/mailman/listinfo/ohai
>