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

Peter Saint-Andre - &yet <peter@andyet.net> Wed, 20 May 2015 14:15 UTC

Return-Path: <peter@andyet.net>
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 C1EEC1A86FC for <dane@ietfa.amsl.com>; Wed, 20 May 2015 07:15:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 u2coBpsBQkrg for <dane@ietfa.amsl.com>; Wed, 20 May 2015 07:15:47 -0700 (PDT)
Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) (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 9E6711A8035 for <dane@ietf.org>; Wed, 20 May 2015 07:15:36 -0700 (PDT)
Received: by pdea3 with SMTP id a3so70418706pde.2 for <dane@ietf.org>; Wed, 20 May 2015 07:15:36 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=wpirHnb6eIDb6O1uD8+NyfXRJEtVa9gcvVx+ffwzVYQ=; b=HREeGLJJJmAI48D74wH8NUMJwCs7Ro92LSkaWdNsMo7jcwRAtvEE2pFR5i0s1fXjt/ QFWxoiQkVhNAUDqtcIen1Is9hHy1y7ez1BY0vRZg1Dw+Ysre2usUG7Lt5By1eu/qzPi9 dBP5sLc+BlbXLyjqmAyAQv5jIuymg4AisGz6Rdvjkg3o37LOBHlfkSeJQagbGq8yz4+9 m65Rp27qz2FuLOitKUQ1aJMtGGgn0QhvySBZqQsL3Q19SOReDnHFBinuz3nhGb61mqUw jKhy68iG5BotwOlIQMfvQExwceojAGOW+nvOyx0F9AF6qed6k51Xyoy9731XVbxlQ2NG 9FlQ==
X-Gm-Message-State: ALoCoQmixGwcYSksUG4z9408WVB/c0PfpSMjmC6hFn5gTdQ+Q4d9zyO0IGRhOGNQ9OopuQtp0AgV
X-Received: by 10.70.35.108 with SMTP id g12mr63275075pdj.75.1432131336202; Wed, 20 May 2015 07:15:36 -0700 (PDT)
Received: from aither.local ([12.249.93.110]) by mx.google.com with ESMTPSA id k9sm16354583pdp.60.2015.05.20.07.15.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 May 2015 07:15:35 -0700 (PDT)
Message-ID: <555C9704.7020000@andyet.net>
Date: Wed, 20 May 2015 07:15:32 -0700
From: Peter Saint-Andre - &yet <peter@andyet.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: dane@ietf.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> <20150520080404.GU17272@mournblade.imrryr.org>
In-Reply-To: <20150520080404.GU17272@mournblade.imrryr.org>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/dane/M1kAq3G6LcTWhx7jPF9pHVMN4jU>
Subject: Re: [dane] DANE-SRV, SNI functional equivalent and XMPP
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
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 14:15:48 -0000

On 5/20/15 1:04 AM, Viktor Dukhovni wrote:
> 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.  ]

Same here. :-)

>>>> 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.

Yes, agreed. Thus I think it's safest to recommend sending the service 
domain in both SRV-only, non-TLSA cases, as in the adjusted text above.

>> 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.

OK, great, then I think we're in agreement.

Peter

-- 
Peter Saint-Andre
https://andyet.com/