Re: [dns-privacy] [TLS] Martin Duke's No Objection on draft-ietf-dprive-xfr-over-tls-11: (with COMMENT)

Eric Rescorla <ekr@rtfm.com> Thu, 29 April 2021 19:04 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AF4323A427C for <dns-privacy@ietfa.amsl.com>; Thu, 29 Apr 2021 12:04:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 Qx7rSRO4JRNB for <dns-privacy@ietfa.amsl.com>; Thu, 29 Apr 2021 12:04:15 -0700 (PDT)
Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 C32933A1614 for <dns-privacy@ietf.org>; Thu, 29 Apr 2021 12:04:08 -0700 (PDT)
Received: by mail-il1-x12c.google.com with SMTP id e14so8582ils.12 for <dns-privacy@ietf.org>; Thu, 29 Apr 2021 12:04:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JYhrgWyQuVJiMK9/q84Ja/rNd+6cK+NGnMGj+gltvnI=; b=gfnYbUbyfJRAmd+R4nCQq+03gtQ5exOJbN+uECkPjqp3UWHbk2mHT/O/cRJrh2dnLw uAyhC9wgPBSjQCKJHg1xwEcFCHMMF6YBWO/vdTcSX3DVaOMNGlHYBxDZt31TsM1lgjp0 9/pKUdni2iODGWcEIHTSaWykAh09w3bb3jToQ9S39hG01+Z+vh5t+ckORnKoLAAYgHU7 YKyOdk+SAvTJwXfIMmWSU8CTXFFfFIMNfk9LEFk51aGK9YKDequKsNgO/c5/V9j9zWTC naUrk8t5oo7aW5NWU+N+kevuX27OiP1p5E+GPAWH6n2sS4uwOxI3o3p/Z7QZMYOup9/T GClg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JYhrgWyQuVJiMK9/q84Ja/rNd+6cK+NGnMGj+gltvnI=; b=sHvhzcfG6PcX4PrPCqaxs83g9vUbPV/iPVLRV7/WNEbbDQVMLm1LrcuC1hXZsQg8zK B3qPvqiKqAPch30RXaw0027pk6t6FQU3t70xG4JI+5Z9ic4oNBZHiwVFLxlg63WZOID5 FZAn039kHP6SPUQFoX+iMZepO0D53e19qHZn9ffY0D8AmobHojjk6PJG+qg8AxvNYeGO Q2OloMoL6X2oNti4C34Hot/uMEqEHnSCxVJFuAYHoa+Ip+HAmIRNcQKaNaCyjga0+OMX 4q2+TLRSqKN896R/FKi/W/QAXaCNqFGRejPpxARNUsbD0OtadMp+89j08QiYhLJM11vd dqug==
X-Gm-Message-State: AOAM533wo9Y6Rbfbg83J+lTUYsaTp6jUfFV3Y2H5nBZFKj7hFmZTHL9g Q0uhzLiutUTEndXykqGyK7apV2PH/jb5ImXN9nIzQkOutIMddQ==
X-Google-Smtp-Source: ABdhPJz9EbNw++DwWsaWnHUE2+M/AMbxEJ/eSS75SNdbadwz22gbybpILfteDF7KuLYSQRas2IAzQ1H9AxAQSC5QWdA=
X-Received: by 2002:a05:6e02:1a81:: with SMTP id k1mr980702ilv.18.1619723047459; Thu, 29 Apr 2021 12:04:07 -0700 (PDT)
MIME-Version: 1.0
References: <161921129877.20343.10624609154750488813@ietfa.amsl.com> <034F6C49-0195-4FAF-9EF2-1E39E809F902@sinodun.com> <7d8fa1d2-ef1a-4ed3-b660-955248a4ec63@www.fastmail.com> <753E5DAA-37C6-4F82-829D-29DA5458C1DB@akamai.com> <CABcZeBMyf3pTXa2DfB3fPeEET+5AkLUzTzDNy+itmnxesdFGWw@mail.gmail.com> <630E784C-8F57-414E-AA9D-63DBC9F4507A@akamai.com> <fc7d5d1f-1f32-80ad-78c9-5f4686f83c44@cs.tcd.ie>
In-Reply-To: <fc7d5d1f-1f32-80ad-78c9-5f4686f83c44@cs.tcd.ie>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 29 Apr 2021 12:03:31 -0700
Message-ID: <CABcZeBMWzS4UCibS7-C8-VHCu5yMnFJZbityX7OwaP4oywEukQ@mail.gmail.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Cc: "Salz, Rich" <rsalz=40akamai.com@dmarc.ietf.org>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>, "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e0f90205c1212882"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/ySilQZ0puKcRQrhQnLrP30BT_Ps>
Subject: Re: [dns-privacy] [TLS] Martin Duke's No Objection on draft-ietf-dprive-xfr-over-tls-11: (with COMMENT)
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dns-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy/>
List-Post: <mailto:dns-privacy@ietf.org>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Apr 2021 19:04:28 -0000

On Thu, Apr 29, 2021 at 11:38 AM Stephen Farrell <stephen.farrell@cs.tcd.ie>
wrote:

>
>
> On 29/04/2021 19:28, Salz, Rich wrote:
> > To make it obvious (I thought it was): I agree, and think we need to
> > make that fact more widely known.
>
> I think I agree but seems like ECH may add a subtlety - maybe
> what we need to promote is the idea that new protocols should
> define new ALPN strings, but also that intermediaries can't
> depend on those to route connections as the inner and outer
> ALPN values can be independent in the case of ECH (use of
> which might not that visible to the application if a library
> were to default to use of ECH where possible).
>

Correct. The purpose of ALPN in this context is to avoid cross-protocol
attacks on the endpoints. Reliance on them by intermediaries is difficult
absent some fairly strong assumptions about the endpoints.

-Ekr


> Cheers,
> S.
>
> >
> > From: Eric Rescorla <ekr@rtfm.com> Date: Thursday, April 29, 2021 at
> > 2:24 PM To: Rich Salz <rsalz@akamai.com> Cc: Martin Thomson
> > <mt@lowentropy.net>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>,
> > "tls@ietf.org" <tls@ietf.org> Subject: Re: [dns-privacy] [TLS] Martin
> > Duke's No Objection on draft-ietf-dprive-xfr-over-tls-11: (with
> > COMMENT)
> >
> > Probably not, but I agree with MT.
> >
> > The general idea here is that any given protocol trace should only be
> > interpretable in one way. So, either you need the interior protocol
> > to be self-describing or you need to separate the domains with ALPN.
> > I don't believe that either the IP ACL or mTLS addresses this issue,
> > and in fact arguably mTLS makes the problem worse because it provides
> > authenticated protocol traces which might be usable for
> > cross-protocol attacks.
> >
> > -Ekr
> >
> >
> > On Thu, Apr 29, 2021 at 7:26 AM Salz, Rich
> > <rsalz=40akamai.com@dmarc.ietf.org<mailto:40akamai.com@dmarc.ietf.org>>
> > wrote:
> >> No new protocol should use TLS without ALPN.  It only opens space
> >> for cross-protocol attacks.  Did the working group consider this
> >> possibility in their discussions?
> >
> > I don't believe that message has been made as public as it should
> > be.
> >
> > _______________________________________________ dns-privacy mailing
> > list dns-privacy@ietf.org<mailto:dns-privacy@ietf.org>
> > https://www.ietf.org/mailman/listinfo/dns-privacy<
> https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/dns-privacy__;!!GjvTz_vk!EtJaCTiH36U_bsA5vP82lZpBELKgq8908Dnb9MmdFc9M0FfjBeJMg3QwgwSs$
> >
> >
> >
> >
> > _______________________________________________ TLS mailing list
> > TLS@ietf.org https://www.ietf.org/mailman/listinfo/tls
> >
>