Re: Review of draft-saintandre-tls-server-id-check

Shumon Huque <shuque@isc.upenn.edu> Wed, 08 September 2010 19:53 UTC

Return-Path: <shuque@isc.upenn.edu>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5E8743A67F9 for <ietf@core3.amsl.com>; Wed, 8 Sep 2010 12:53:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.945
X-Spam-Level:
X-Spam-Status: No, score=-3.945 tagged_above=-999 required=5 tests=[AWL=-1.346, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CcIzuhq1LjpJ for <ietf@core3.amsl.com>; Wed, 8 Sep 2010 12:53:22 -0700 (PDT)
Received: from talkeetna.isc-net.upenn.edu (TALKEETNA.isc-net.upenn.edu [128.91.197.188]) by core3.amsl.com (Postfix) with ESMTP id 541183A67B3 for <ietf@ietf.org>; Wed, 8 Sep 2010 12:53:22 -0700 (PDT)
Received: by talkeetna.isc-net.upenn.edu (Postfix, from userid 4127) id C1DED26E7; Wed, 8 Sep 2010 15:53:49 -0400 (EDT)
Date: Wed, 08 Sep 2010 15:53:49 -0400
From: Shumon Huque <shuque@isc.upenn.edu>
To: Bernard Aboba <bernard_aboba@hotmail.com>
Subject: Re: Review of draft-saintandre-tls-server-id-check
Message-ID: <20100908195349.GA4292@isc.upenn.edu>
References: <C8AD5ED8.EB30%stefan@aaa-sec.com> <C8AD687B.EB60%stefan@aaa-sec.com> <BLU137-DS69B0923178A60054D68C493720@phx.gbl>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <BLU137-DS69B0923178A60054D68C493720@phx.gbl>
User-Agent: Mutt/1.4.2.1i
Organization: University of Pennsylvania
Cc: ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 19:53:23 -0000

On Wed, Sep 08, 2010 at 08:44:56AM -0700, Bernard Aboba wrote:
> So the statement that "RFC 4985 appears to require matching of the source
> domain/service type to the SRV-ID in the certificate" is correct, right? 

I think so. It seems pretty obvious to me from Section 2 that's
what is meant:

	http://tools.ietf.org/html/rfc4985#section-2

ie. take the "Service" and "Name" components of the SRV record
owner name (and ignore the _Proto component), and construct 
"_Service.Name".

> If the "reference identifier" is  _Service.Name then the match is being done
> on the *input* to the SRV lookup process, not the output, and prohibition on
> DNS lookups would not apply (or even make any sense). 

Yes.

The output of the SRV record lookup contains a target hostname,
not a service name, so it's not applicable to the SRVName name
form. The target could be used in another name form (dNSName)
as the reference identifier, but then the client needs to convince
itself that the lookup was done securely (DNSSEC or some other
means) otherwise there's a security problem.

-- 
Shumon Huque
University of Pennsylvania.