Re: [kitten] Adoption of draft-mccallum-kitten-krb-service-discovery?

Nico Williams <nico@cryptonector.com> Fri, 20 May 2016 15:14 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 565A412D9CB for <kitten@ietfa.amsl.com>; Fri, 20 May 2016 08:14:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 7LYq2aFqb-5O for <kitten@ietfa.amsl.com>; Fri, 20 May 2016 08:14:10 -0700 (PDT)
Received: from homiemail-a72.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3CF1A12D9C9 for <kitten@ietf.org>; Fri, 20 May 2016 08:14:10 -0700 (PDT)
Received: from homiemail-a72.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a72.g.dreamhost.com (Postfix) with ESMTP id C55766B0083; Fri, 20 May 2016 08:14:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=tO7uNy0h2pUVqT BUpuccm+veypI=; b=UrTxZkUL9Wstc6jhXf0wh/yKTcTRALOoY7rssuBCQ6V7i6 Mf1t5JJ0LOb1yugtwixRe/7WvQ2VoX656zAWWQX4WD7x506hJVpyIY7qboufNs3B D8tqgyrr4lkiAumytHGdcqmFVwvb8dWrGOEfJm5JVzzPyG4kzpPJ1LQjBHx0Q=
Received: from localhost (108-207-244-100.lightspeed.austtx.sbcglobal.net [108.207.244.100]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a72.g.dreamhost.com (Postfix) with ESMTPSA id 67E216B0070; Fri, 20 May 2016 08:14:04 -0700 (PDT)
Date: Fri, 20 May 2016 10:14:02 -0500
From: Nico Williams <nico@cryptonector.com>
To: Petr Spacek <pspacek@redhat.com>
Message-ID: <20160520151402.GI19530@localhost>
References: <1463500163.2432.9.camel@redhat.com> <54c900f2-399c-0ff0-c292-91baba495a21@secure-endpoints.com> <1463517801.2432.24.camel@redhat.com> <75ef03a4-fe85-2397-ae32-73487f913a14@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <75ef03a4-fe85-2397-ae32-73487f913a14@redhat.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/rFfQLjEv35BY1aIRZJyBWTDXfPA>
Cc: kitten@ietf.org
Subject: Re: [kitten] Adoption of draft-mccallum-kitten-krb-service-discovery?
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 May 2016 15:14:11 -0000

On Fri, May 20, 2016 at 09:37:36AM +0200, Petr Spacek wrote:
> On 17.5.2016 22:43, Nathaniel McCallum wrote:
> > On Tue, 2016-05-17 at 12:25 -0400, Jeffrey Altman wrote:
> >> On 5/17/2016 11:49 AM, Nathaniel McCallum wrote:
> >> Having read the draft I am totally unclear how it is implemented.
> >>
> >>   _kerberos.REALM
> >>
> >> is not a valid DNS URI record name.  To translate the URI
> >>
> >>   https://host[:port][path]
> >>
> >> to an URI record requires
> >>
> >>  _kerberos._https.host
> > 
> > It doesn't actually require this. It just gives examples.

It doesn't have any normative language about it, so I agree.  But
worryingly, section 4.1 says that "[t]he URI owner name is subject to
special conventions."  I wouldn't want to be told late in the game that
this made this section normative!  (It can't, since normative language
is used elsewhere, its non-use here seems clearly definitive to me.)

> More importantly, SRV records did not have any way to specify protocol so
> _proto label was only way to convey the information.
> 
> In contrary, URI can convey information about protocol/scheme and thus
> artificial requirement for _proto label does not make sense.

Yes, this should seem obvious to all.  So why did section 4 even mention
protocols??

> Also, RFC 2782's Applicability Statement clearly states that SRV
> records should be used only for applications which have own RFC
> describing its semantics.
> 
> Considering URI vs. SRV properties mentioned above and the requirement
> for separate RFC, I think that Nathaniel's usage of URI records is
> justified and legal.

Thanks.

I'm in favor of adopting this document and the use of the URI RR type,
with one URI RRset per-realm, not one per-{realm, protocol}, and with a
URI scheme or two by which to express all those things that we need to.

Nico
--