Re: [Gen-art] Gen-ART last call review of draft-ietf-mile-rfc6046-bis-05

Alexey Melnikov <alexey.melnikov@isode.com> Wed, 18 January 2012 17:44 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 572B921F8585; Wed, 18 Jan 2012 09:44:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.203
X-Spam-Level:
X-Spam-Status: No, score=-101.203 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0CNU67lbUgGx; Wed, 18 Jan 2012 09:44:11 -0800 (PST)
Received: from rufus.isode.com (cl-125.lon-03.gb.sixxs.net [IPv6:2a00:14f0:e000:7c::2]) by ietfa.amsl.com (Postfix) with ESMTP id 1433621F857D; Wed, 18 Jan 2012 09:44:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1326908650; d=isode.com; s=selector; i=@isode.com; bh=ZaOBSQDPktvlY4YKABq+6lJ+3baJbcE57x+090mOIOA=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=nyk7aJFC9sGn/hTl9ifNMw7Zw9DT16Ox6av32a5nA1mdarLHGMkAB3D1g2JjhyrT50/N2+ LlGhP1S0S7xOJlxuhCP5P7+NRqS3QyrmTwxFCyMOONYKk/RgreQ4D5HAZQ1WRP63Gnfj0C xq17V0PQdcl1jWtWDyAYcHY5D5JnYAI=;
Received: from [188.28.171.157] (188.28.171.157.threembb.co.uk [188.28.171.157]) by rufus.isode.com (submission channel) via TCP with ESMTPSA id <TxcE5QAV5yIh@rufus.isode.com>; Wed, 18 Jan 2012 17:44:09 +0000
Message-ID: <4F1704DE.1090208@isode.com>
Date: Wed, 18 Jan 2012 17:43:58 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
To: Brian Trammell <trammell@tik.ee.ethz.ch>
References: <4F11E975.9070307@isode.com> <10722E0B-059E-4800-84C0-B330F397B63A@tik.ee.ethz.ch> <4F16D95A.3000006@isode.com> <89E47BB4-C228-4700-94C4-3F4ED03F99A2@tik.ee.ethz.ch>
In-Reply-To: <89E47BB4-C228-4700-94C4-3F4ED03F99A2@tik.ee.ethz.ch>
MIME-Version: 1.0
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-transfer-encoding: quoted-printable
Cc: Kathleen Moriarty <kathleen.moriarty@emc.com>, gen-art@ietf.org, The IESG <iesg@ietf.org>
Subject: Re: [Gen-art] Gen-ART last call review of draft-ietf-mile-rfc6046-bis-05
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/gen-art>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jan 2012 17:44:12 -0000

Hi Brian,

On 18/01/2012 16:16, Brian Trammell wrote:
> On Jan 18, 2012, at 3:38 PM, Alexey Melnikov wrote:
>> On 17/01/2012 10:16, Brian Trammell wrote:
>>> Hi, Alexey,
>>>
>>> Thanks for the review; questions and comments thereon inline...
>>>
>>> On Jan 14, 2012, at 9:45 PM, Alexey Melnikov wrote:
>>>
>>>> I am the assigned Gen-ART reviewer for this draft. For background on Gen-ART, please see the FAQ at<http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
>>>>
>>>> Please resolve these comments along with any other Last Call comments you may receive.
>>>>
>>>> Document: draft-ietf-mile-rfc6046-bis-05
>>>> Reviewer: Alexey Melnikov
>>>> Review Date: 2012–01–14
>>>> IETF LC End Date: 2012-01-17
>>>> IESG Telechat date: 2012-01-19
>>>>
>>>> Summary: This draft is almost ready for publication as a Proposed Standard RFC.
>>>>
>>>>
>>>> Major issues:
>>>>
>>>> In Section 3:
>>>>
>>>>    The RID callback MUST contain a zero-length entity body
>>>>    and a 'RID-Callback-Token' entity header
>>>>
>>>> [Minor issue] "header" -->   "header field" (header is the collection of all header fields).
>>>>
>>>>    , itself containing a unique
>>>>    token generated by the receiving RID system.
>>>>
>>>> I am missing ABNF for the new header field.
>>> Seems a little superfluous... it's an opaque string, but I suppose we should point out it doesn't contain \r or \n...
>> Saying it is an opaque string is Ok, but you don't even specify which characters are allowed in it.
>>>   Will add.
>> Thanks.
> Hm. Good point; also didn't mention a maximum length. Fixed in -07, defined as 1*255(VCHAR).
I think this issue is resolved.
>>>>    RID systems MUST use TLS version 1.1 [RFC4346] or higher with mutual
>>>>    authentication for transport confidentiality, identification, and
>>>>
>>>> Do you mean that a RID client must use X.509 certificates?
>>> Well, each RID system (HTTP client or server) is identified by an X.509 certificate (hence "mutual"); how can I make this clearer?
>>>
>>>>    authentication, as in [RFC2818].
>>>>
>>>> I find the whole sentence to be confusing. Note that the rules of RFC 6125 for certificate verification are stricter than in RFC 2818 and this sentence can be read as conflicting with the paragraph below which requires use of RFC 6125. What are you trying to say here?
>>> The intention here is "Use current best practices as would be supported by off-the-shelf HTTP/1.1 and TLS 1.1 implementations to provide mutual authentication." "Current best practices", however, seems to be something of a moving target.
>>>
>>> I cite 2818 as it is the current binding between HTTP/1.1 and TLS. I cite 6125 solely for certificate verification.
>> How about something like this:
>>
>> OLD:
>>   RID systems MUST use TLS version 1.1 [RFC4346] or higher with mutual
>>   authentication for transport confidentiality, identification, and
>>   authentication, as in [RFC2818].
>>
>> NEW:
>>   RID systems MUST use HTTP over TLS as specified in [RFC2818], with the exception
>>   of server TLS identity verification which is detailed below.
> Ah. Okay, now I understand the issue...
This is only one of them...
>>   RID systems MUST use TLS version 1.1 [RFC4346] or higher with mutual
>>   X.509 authentication. TLS provides for transport confidentiality,
>>   identification, and authentication.
> The language has changed in -07 to the following; would this be acceptable?
>
>     RID systems MUST use TLS version 1.1 [RFC4346] or higher with mutual
>     authentication for confidentiality, identification, and
>     authentication, as in [RFC2818],
Part of the issue with this text is that reads as if "mutual 
authentication" results in "confidentiality, identification and 
authentication". TLS does, that is why I split the sentence into 
multiple. Also RFC 2818 is a wrong reference because it doesn't even 
mention confidentiality.
I am hoping this is not nitpicking, but I think using simpler sentences 
clearer.
> when transporting RID messages over
>     HTTPS.
The rest looks good to me:
> RID systems MUST use mutual authentication; that is, both RID
>     systems acting as HTTPS clients and RID systems acting as HTTPS
>     servers MUST be identified by an X.509 certificate [RFC5280].  Mutual
>     authentication requires full path validation on each certificate, as
>     defined in [RFC5280].
>
>>>>    RID systems MUST provide for the verification of the identity of a
>>>>    RID system peer presenting a valid and trusted certificate, by
>>>>    verifying the fully-qualified domain name and service name from the
>>>>    DNS SRV record, if available, against that stored in the certificate,
>>>>
>>>> I am confused: this is the first time DNS SRV records are mentioned
>>>> (BTW, they need a Normative Reference). Earlier text seem to suggest that DNS SRV are not used to locate protocol endpoints. If RID is using DNS SRV, then information about how it is used is missing from the document.
>>> It doesn't. Was trying to point out here that SRV must be matched if (for deployment-specific reasons) it was present. This is simply a poor attempt at citing 6125.
>> SRV-ID are really only applicable to protocols which are using DNS SRV. So I would have prohibited them... But if you want to keep using them, you need to specify what is the service name you would expect in them.
> Indeed. We don't, so, removed. Thanks for the clarification.
>
> Actually, since the binding between RID and a PKI is better defined in rfc6045-bis, 6046-bis now refers to it, as follows:
>
>     Each RID system SHOULD authenticate its peers via a PKI as detailed
>     in Section 9.3 of [I-D.ietf-mile-rfc6045-bis].
>
> Would this address the concern?
Let me check.
> Many thanks, best regards,
>
> Brian
>
>>>>    as in Section 6 of [RFC6125].
>>>>
>>>> RFC 6125 allows for various options and this paragraph doesn't seem to cover all of them. I suggest you check Section 13.7.1.2.1 of RFC 6120 for an example of what should be specified (ignore XmppAddr identifier type, as it is very XMPP specific). For X.509 SANs which are disallowed, you should say so.
>>> Will do. (6125 is missing something here, a guide for using it in other specs...)
>>>
>>> Best regards,
>>>
>>> Brian