Re: [Hipsec] comments on draft-ietf-hip-rfc5201-bis-04

Tobias Heer <heer@cs.rwth-aachen.de> Mon, 24 January 2011 13:49 UTC

Return-Path: <heer@informatik.rwth-aachen.de>
X-Original-To: hipsec@core3.amsl.com
Delivered-To: hipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7F7D93A6AC4 for <hipsec@core3.amsl.com>; Mon, 24 Jan 2011 05:49:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.801
X-Spam-Level:
X-Spam-Status: No, score=-4.801 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, RCVD_IN_DNSWL_MED=-4]
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 FMiNUrBerJag for <hipsec@core3.amsl.com>; Mon, 24 Jan 2011 05:49:06 -0800 (PST)
Received: from mta-2.ms.rz.rwth-aachen.de (mta-2.ms.rz.RWTH-Aachen.DE [134.130.7.73]) by core3.amsl.com (Postfix) with ESMTP id D66413A63D3 for <hipsec@ietf.org>; Mon, 24 Jan 2011 05:49:05 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: text/plain; charset="us-ascii"
Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.5.40]) by mta-2.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0LFJ00K7J56NL6F0@mta-2.ms.rz.RWTH-Aachen.de> for hipsec@ietf.org; Mon, 24 Jan 2011 14:51:59 +0100 (CET)
X-IronPort-AV: E=Sophos;i="4.60,370,1291590000"; d="scan'208";a="89935998"
Received: from relay-auth-1.ms.rz.rwth-aachen.de (HELO relay-auth-1) ([134.130.7.78]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Mon, 24 Jan 2011 14:51:59 +0100
Received: from umic-i4-137-226-45-197.nn.rwth-aachen.de ([unknown] [137.226.45.197]) by relay-auth-1.ms.rz.rwth-aachen.de (Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 9 2008)) with ESMTPA id <0LFJ00C5E56M2W30@relay-auth-1.ms.rz.rwth-aachen.de> for hipsec@ietf.org; Mon, 24 Jan 2011 14:51:59 +0100 (CET)
From: Tobias Heer <heer@cs.rwth-aachen.de>
In-reply-to: <FD98F9C3CBABA74E89B5D4B5DE0263B9379A848940@XCH-NW-12V.nw.nos.boeing.com>
Date: Mon, 24 Jan 2011 14:51:58 +0100
Message-id: <90014AE7-DB37-4227-AD71-ED36285A2D5B@cs.rwth-aachen.de>
References: <FD98F9C3CBABA74E89B5D4B5DE0263B9379A848940@XCH-NW-12V.nw.nos.boeing.com>
To: "Ahrenholz, Jeffrey M" <jeffrey.m.ahrenholz@boeing.com>
X-Mailer: Apple Mail (2.1082)
Cc: "hipsec@ietf.org" <hipsec@ietf.org>
Subject: Re: [Hipsec] comments on draft-ietf-hip-rfc5201-bis-04
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <hipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hipsec>
List-Post: <mailto:hipsec@ietf.org>
List-Help: <mailto:hipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Jan 2011 13:49:07 -0000

Hello Jeff,

thanks for your comments. Responses are in line.


Am 21.01.2011 um 23:25 schrieb Ahrenholz, Jeffrey M:

> Here are some comments on (the first part of) the 5201-bis draft. First are some high-level comments and then small editorial nits.
> 
> (1) The terms "Host Identity" and "Host Identifier" do not mean the same thing in 4423-bis and 5201-bis, when comparing the definitions/terminology sections. Section 3 also uses "Identifier Tag" and "Identity Tag" inconsistently. I'd prefer to always call the HIT the "Host Identity Tag".
I have taken care of the Identifier vs. Identity issue. It is now always Identity when a concrete representation of a Host's identity is meant. In general, the Host Identity is an identifier (not the identity of the host). I left identifier when the identifier-nature was important. Thanks for noticing it. 

> 
> (2) I think the draft-ietf-hip-rfc4843-bis-00 document needs to be updated to reflect the new HIT format of: 28-bit prefix + 4-bit OGA + 96-bit pubkey. Section 3 mentions 96 bits from the HI while 4843-bis still has 100 bits. The OGA (Section 3.1, Appendix E) is not mentioned in 4843-bis, just the Context ID.

Julien has agreed to do this update as soon as we are done with the requirements for the new ORCHID document.
I think the time has come to do that.

> 
> (3) Section 5.2 the 2nd table of parameter type ranges lists "handshake", and this is used elsewhere in the document, but not necessarily defined. We know the "HIP handshake" is synonymous with "HIP base exchange" but maybe that should be spelled out somewhere?
> 
I  added HIP Base Exchange to the "Definitions" section and explained that it is the HIP handshake.

> Below are the nits...
> 
> -Jeff
> 
> Section 1. Intro
> s/called HIP association/called a HIP association/
> s/That is it should be a part/That is, it should be a part/
> 
Done.

> Section 1.3
> s/define the detail packet formats/define the detailed packet formats/
> 



> Section 3.1
> The text that says "Firstly, the fixed length .... Secondly, it presents ...", I think this should use same text as Section 5.3 of 4423-bis; or revise it with something like:
> "First, the fixed length of the HIT keeps packet sizes manageable and eases
> protocol coding. Second, it presents a consistent format for the protocol,
> independent of the underlying identity technology in use."
I used your suggestion. Thanks.

> 
> Section 3.2 references FIPS.95-1.1993 and if you follow this reference, it is
> not about SHA-1 (it is much more dreary); it seems like the latest FIPS 180 reference is good enough for both SHA-1 and SHA-256 (I think the RFC 5201 [FIPS95] reference to PUB 180-1 1995 somehow became FIPS.95-1.1993)
Done. Removed the reference.

> 
> Section 3.2 second paragraph, the HTML version says "Section Section 5.2.8"
> (where "Section 5.2.8" is a link)
Resolved.

> 
> Section 3.2 mentions Section 4.2 and 6 of [I-D.mcgrew-fundamental-ecc]
> the HTML tool incorrectly links Section 4.2 (of current doc)
> 

This is odd. The HTML version tries to be smart but fails. There is no link pointing to that section in the xml document. I have no clue what to do because there is nothing I could remove.

> Section 4.1 says "In the first two packets, the hosts agree on a set of cryptographic identifiers and algorithms..."; wouldn't you say the first 3 packets, since the 3rd/I2 packet contains the chosen HIP_CIPHER?
I'd say that the agreement has already been reached when the second packet was processed. The third packet only contains the effect of the agreement.
Does that make sense?

> 
> Section 4.1.1 s/Second, hand, the design/Second, the design/
> (leftover text from RFC 5201)
> 
Done.

> Section 4.1.2 s/limits the usability of an old/limits the usability that an old/
> 
Done.

> Section 4.1.3 s/as well as it uses/as well as uses/
> 
Done.

> Section 4.1.7 s/if they are remain/if they remain/
> 
Done.


> Section 4.2 "rekey expiring user data security associations" - I'm not sure
> that the words "user data" are needed?
> 
I removed it.

> Section 4.3 s/sendin an I1/sending an I1/
> 
Done.

> Section 4.5.1 s/in the place of the/in place of the/
> 
Done.

> Section 5.3.1 says "The HIP packet, however, MUST NOT be fragmented." while
> Section 5.1.3 says "A HIP implementation must support IP fragmentation/reassembly." ...I think 5.3.1 is discussing HIP packets having an upper-layer payload, but this should be clarified.

You mean 5.3 and 5.3.1?

The case is a bit schizophrenic anyway. I think the requirement in 5.3 should be lowered to a SHOULD NOT be fragmented, emphasizing the potentially negative effects of fragmentation.
What do you think?


Thanks again for your comments.

Tobias