Re: [dane] DANE-SRV, SNI functional equivalent and XMPP

Viktor Dukhovni <ietf-dane@dukhovni.org> Wed, 20 May 2015 08:04 UTC

Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: dane@ietfa.amsl.com
Delivered-To: dane@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 28B211A8915 for <dane@ietfa.amsl.com>; Wed, 20 May 2015 01:04:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
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 7FCF_hXrtVBA for <dane@ietfa.amsl.com>; Wed, 20 May 2015 01:04:12 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D73241A888E for <dane@ietf.org>; Wed, 20 May 2015 01:04:06 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 84873282F50; Wed, 20 May 2015 08:04:04 +0000 (UTC)
Date: Wed, 20 May 2015 08:04:04 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: dane@ietf.org
Message-ID: <20150520080404.GU17272@mournblade.imrryr.org>
References: <5558C801.7030304@zash.se> <555A61CA.2020108@andyet.net> <555B224D.20709@zash.se> <555B4CB3.3020203@andyet.net> <555B51AB.9070303@andyet.net> <20150519232414.GQ17272@mournblade.imrryr.org> <555BF56F.8020103@andyet.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <555BF56F.8020103@andyet.net>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/dane/ELY9nk37_YWdkfRqmmrmRoLD5Tc>
Subject: Re: [dane] DANE-SRV, SNI functional equivalent and XMPP
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: dane@ietf.org
List-Id: DNS-based Authentication of Named Entities <dane.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dane>, <mailto:dane-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dane/>
List-Post: <mailto:dane@ietf.org>
List-Help: <mailto:dane-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dane>, <mailto:dane-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 May 2015 08:04:14 -0000

On Tue, May 19, 2015 at 07:46:07PM -0700, Peter Saint-Andre - &yet wrote:

[ Sorry, I'm on the road, and cycles are limited.  ]

> >>NEW
> >>    SRV is secure:  The reference identifiers SHALL include both the
> >>       service domain and the SRV target server host name (e.g., include
> >>       both "im.example.com" and "xmpp23.hosting.example.net").  The
> >>       service domain is still the preferred name for TLS SNI or its
> >>       equivalent (this reduces code complexity and the possibility of
> >>       interoperability problems).
> >
> >I object.  The fix is to delay the decision until the presence of
> >TLSA records has been checked.
> 
> Viktor, the text in question is from ?4.1, which begins as follows:
> 
>    4.1.  SRV Records Only
> 
>    If the client received zero usable TLSA certificate associations...

In that case, this is a pure legacy use-case, and no incompatible
behaviour should be introduced.

> The whole point of 4.1 is to address the case where we have SRV records and
> no usable TLSA records. Naturally, the client can't know that it has no
> usable TLSA records "until the presence of TLSA records has been checked" as
> you say. I'd agree with you if we were proposing to change text in 4.2, but
> we're not, so I don't see the force of your objection.

I did not get a chance to read the text in context.  Adding the target name
as a secondary indentifier is fine, but indeed the SNI name should not
change absent signalling via TLSA RRs.

-- 
	Viktor.