Re: [Uta] "webby" STS and DANE/DNSSEC co-existence

Mark Risher <risher@google.com> Mon, 11 April 2016 21:38 UTC

Return-Path: <risher@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BDA012F472 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 14:38:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level:
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FG5tsck8tfv0 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 14:38:10 -0700 (PDT)
Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (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 7CEF112F45A for <uta@ietf.org>; Mon, 11 Apr 2016 14:38:10 -0700 (PDT)
Received: by mail-vk0-x229.google.com with SMTP id k1so232418018vkb.0 for <uta@ietf.org>; Mon, 11 Apr 2016 14:38:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=kDomKXSdP7mdZjpMAhfWlifH5MyUmBK2+W0uFr9VDkw=; b=UHOF+L3M+2QJxxfpbn//ydbS+9z+iYAnV7l6epos/JvBIlD8iWJrImxJRCR6mWAe65 yXv6z68jyVh8vFV4btI0DvUOPIoIkREFyen6q3f1FoQPjkOiazN0sslYjLuVs/C3k2Xt aJJ0jdSJsokG5e6dESQDWZKRtaf9L8iHmvYptdMLTZM6L5hX90EXy/ZHYamZInRAK5f5 Z2d37RGzWnf0G6LhoFXE0MFl99XQMZQTQMRRRSIiLoHMkXGcGBPeNX1y/G8d6HgLbT1Y ebdd3cKMY1k8rMwZWQTb20xFyAdcBPDbTZ3BWdi3fdDjrzoVB0LNO2SW9GD06DCMWqTf wNng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=kDomKXSdP7mdZjpMAhfWlifH5MyUmBK2+W0uFr9VDkw=; b=ZPhlOePplG+MgC8AAW0xFCkMRiT7edx2BrXDKE1Xq1gz//X6Wqx2ovfq3CjjP0z5RO GUjgmKORf/Ar8HCoP/s0GczeLdoCqRdiX1l/6NzWhxvU2YUvmRbUpij2ZoyozbLqjWwN g0J/WkXhnqHcNfGcNTZ747twnKZQrSYe+ihS7CYgpzGt3wOXnJyANYDvWXwCJF0R1lj9 F5rcp7nvXT+YIGexvjZ33i5v+KQUagIsKVxcvqFyMBz7/Q31MrH4RjGuy7zyAWzF5Q2c r7sy65rNjkzywykD9fc9dkUBW0mok74YyZZlD13pSPBn3QXq/5cfowZG9JRGgZKl4U0I L7bw==
X-Gm-Message-State: AD7BkJKTLZMQAHUi0xh6JeSixEV72nktq/QDEGmjd+H98oB6S67Sj02vEimwRvJICXzYCzOEc2TZcnqOPHlrALG7
MIME-Version: 1.0
X-Received: by 10.31.151.75 with SMTP id z72mr11971242vkd.104.1460410689308; Mon, 11 Apr 2016 14:38:09 -0700 (PDT)
Received: by 10.176.3.198 with HTTP; Mon, 11 Apr 2016 14:38:09 -0700 (PDT)
In-Reply-To: <20160411212128.GA26423@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org>
Date: Mon, 11 Apr 2016 18:38:09 -0300
Message-ID: <CAB0W=GSR1zRtxwb2nk6e5qAtF92_iD6o=efbMkTA2T7DFMAWuQ@mail.gmail.com>
From: Mark Risher <risher@google.com>
To: uta@ietf.org
Content-Type: multipart/alternative; boundary="001a1140f5825d3c5005303c5c94"
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/_va4IxHPsYrhu9u9NjslN5i75tQ>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2016 21:38:13 -0000

Hi, everyone:
Hope you all made it home safely.

I think we can do that by requiring that outbound MTAs
> that implement the "webby" approach MUST/SHOULD first test
> for, and process, TLSA records for the next MX in the path.
> In  other words the "webby" approach is tried 2nd.


I agree that's the right order of operations for sending MTAs that *can* do
both, and I agree we don't want one approach to preclude the other. So it
actually sounds like MUST to me, in that if a sender does not have the
plumbing in place (yet) to validate TLSA records, then the SHOULD still
won't have any effect (you'd basically be saying that you SHOULD implement
DANE/DNSSEC, which I think we all agree with). Would that clarification be
better in the STS specification (because it will be published later), or in
a meta BCP that explains operational guidelines for people who can support
both?

>
>  The risk is that the sender won't find the policy at all if the web
> address lookup fails. But can we agree that the long MTU approach
> described in the current draft isn't an effective mitigation to that
> problem? Several people pointed out in the meeting that caches don't
> typically hold things for very long times; the MTU specifies how long
> records MAY be cached, not how long they SHOULD be cached.


Yes, we have a known issue that, if you can never successfully retrieve a
policy, then you can never do better than status quo. The value of the long
MTU only kicks in once you've bootstrapped. The bootstrapping problem
against a persistent adversary could potentially be addressed with
preloading, e.g. the way that certain web browsers ship with pinned
certificates already in place.

Side update for the mailing list/working group: Based on feedback from the
in-person meeting, the authors are working on separating reporting and
clearing up the DNSSEC/policy issues as discussed, and hope to have a new
draft shortly. Thank you for all of your feedback and comments, both on
email and at the meeting.

Take care,
/m






--
Mark E. Risher |  Group Product Manager |  risher@google.com |  650-253-3123

On Mon, Apr 11, 2016 at 6:21 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> On Mon, Apr 11, 2016 at 09:45:06PM +0100, Stephen Farrell wrote:
>
> > With no hats, I'd like to argue that the WG should pursue
> > the "webby" STS proposal, but should also ensure that we
> > do not damage progress made by those who are deploying the
> > DANE/DNSSEC approach to securing MTA-MTA connections.
> >
> > I think we can do that by requiring that outbound MTAs
> > that implement the "webby" approach MUST/SHOULD first test
> > for, and process, TLSA records for the next MX in the path.
> > In  other words the "webby" approach is tried 2nd.
>
> [ By the way both DANE and STS are still opportunistic security as
>   defined in RFC 7435, the difference is that these are not just
>   unauthenticated encryption. DANE and STS are used on the fly
>   with peers that publish the relevant policy via some downgrade-
>   resistant mechanism. ]
>
> In Postfix, if and when we do implement client-side "webby" STS,
> I expect that STS wil be trumped by any DANE policy on MTAs that
> support both (when sending email to destinations that support both).
> One key reason is that DANE downgrade-resistance is stronger (works
> on first contact) and DANE is exposed to fewer trusted CAs.
>
> --
>         Viktor.
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>