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

Neil Cook <neil.cook@noware.co.uk> Tue, 12 April 2016 09:40 UTC

Return-Path: <neil.cook@noware.co.uk>
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 DB9E212E8BC for <uta@ietfa.amsl.com>; Tue, 12 Apr 2016 02:40:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.895
X-Spam-Level:
X-Spam-Status: No, score=-2.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.996] 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 0n-bs-0NbtvR for <uta@ietfa.amsl.com>; Tue, 12 Apr 2016 02:40:02 -0700 (PDT)
Received: from mail.noware.co.uk (mail.noware.co.uk [192.241.243.54]) by ietfa.amsl.com (Postfix) with ESMTP id 7823F12EBCC for <uta@ietf.org>; Tue, 12 Apr 2016 02:39:54 -0700 (PDT)
Received: from neil-cook-mbp.home (unknown [86.153.224.89]) by mail.noware.co.uk (Postfix) with ESMTPSA id 8FC601C0533; Tue, 12 Apr 2016 09:39:52 +0000 (UTC)
Content-Type: multipart/alternative; boundary="Apple-Mail=_980F4545-296D-4360-8BE6-B51C3306D0E7"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Neil Cook <neil.cook@noware.co.uk>
In-Reply-To: <CAB0W=GSR1zRtxwb2nk6e5qAtF92_iD6o=efbMkTA2T7DFMAWuQ@mail.gmail.com>
Date: Tue, 12 Apr 2016 10:39:52 +0100
Message-Id: <7315357D-ADEF-4DF8-AAB4-21BC7275E9A8@noware.co.uk>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CAB0W=GSR1zRtxwb2nk6e5qAtF92_iD6o=efbMkTA2T7DFMAWuQ@mail.gmail.com>
To: Mark Risher <risher@google.com>
X-Mailer: Apple Mail (2.3112)
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=TdMYtHgh c=1 sm=1 tr=0 a=xfdXm1iLTETJF5zWIHVl8g==:117 a=xfdXm1iLTETJF5zWIHVl8g==:17 a=L9H7d07YOLsA:10:nop_no_from_header a=9cW_t1CCXrUA:10:nop_no_to_header a=s5jvgZ67dGcA:10:nop_no_subject_header a=1XWaLZrsAAAA:8 a=lyf1682xAAAA:8 a=48vgC7mUAAAA:8 a=kE2DoC51fQbma-6G4BoA:9 a=aQZlhHJkN_oCxetH:21 a=b62wtnBd8FbJ2BWz:21 a=QEXdDO2ut3YA:10:nop_charset_2 a=r0Y_wE0v1vYA:10:phone_number_3 a=ZjYcokJ3XB4dRx5KgWEA:9 a=G3oS-f4tahuwsfGS:21 a=XvvR81xhkfoXeE6k:21 a=cTYt_0mENbqzfE3X:21 a=_W_S_7VecoQA:10:nop_html
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/SMepmO0a9_Rph4RtCIcH2W5oNss>
Cc: uta@ietf.org
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: Tue, 12 Apr 2016 09:40:10 -0000

> On 11 Apr 2016, at 22:38, Mark Risher <risher@google.com> wrote:
> 
> 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?
> 

I’d rather see it specified in the STS specification (as a MUST), because there’s otherwise there’s a chance some implementors won’t read a separate meta BCP.

Neil

>  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 <mailto:risher@google.com> |	 650-253-3123 <>
> On Mon, Apr 11, 2016 at 6:21 PM, Viktor Dukhovni <ietf-dane@dukhovni.org <mailto: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 <mailto:Uta@ietf.org>
> https://www.ietf.org/mailman/listinfo/uta <https://www.ietf.org/mailman/listinfo/uta>
> 
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta