Re: [Hipsec] WGLC: draft-ietf-hip-rfc5205-bis

Julien Laganier <> Thu, 11 June 2015 01:44 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id 1F94E1A873B for <>; Wed, 10 Jun 2015 18:44:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id QwJL5Q7yMBkE for <>; Wed, 10 Jun 2015 18:44:29 -0700 (PDT)
Received: from ( [IPv6:2607:f8b0:4002:c01::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 19F2C1A000B for <>; Wed, 10 Jun 2015 18:44:29 -0700 (PDT)
Received: by yhak3 with SMTP id k3so27476256yha.2 for <>; Wed, 10 Jun 2015 18:44:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Usl1cX3fv8/hk+E78LYT0PV8K4JrYO5pskniYuItkr8=; b=NlSyHftX3D/W6x3zwTW34QLh0TXdAYBJwFjpTj0JRdqIf+uFqv3HiitzP6ZMxtif/v lAU4pN2zJ2MTYAPGFWsRTsduJJTF85LnFFc8QfB6tTWjJEK5YXNyBJg3rveOXyODmQIT 7LYYvZ3+ZkksLAS1wyMpOOMRwcaRwIPEVSYETTwV1fBY40khdcCeVhokY2IirOLck1lU mlvgnwTDXg87dq5BqPvXS9x+JFI9BLcUhO2j+xNYycwZTczH+9SAvbCUV6j7CCe7NtJy 4gG/ZDmFy7BlzAAYwURIBrtwZLOOGA3wCxQGNSgBO0CKP5umCfSJTXz3Mw/xKnNxPB+7 NuJw==
MIME-Version: 1.0
X-Received: by with SMTP id z123mr7870262ywf.145.1433987068452; Wed, 10 Jun 2015 18:44:28 -0700 (PDT)
Received: by with HTTP; Wed, 10 Jun 2015 18:44:28 -0700 (PDT)
In-Reply-To: <>
References: <> <> <>
Date: Wed, 10 Jun 2015 18:44:28 -0700
Message-ID: <>
From: Julien Laganier <>
To: Gonzalo Camarillo <>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <>
Cc: HIP <>
Subject: Re: [Hipsec] WGLC: draft-ietf-hip-rfc5205-bis
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 11 Jun 2015 01:44:35 -0000

Hi Tom,

Thank you for you review. Please see inline below the proposed
resolution of your WGLC comments.


> On 04/05/2015 5:23 PM, Tom Henderson wrote:
>> On 04/17/2015 03:47 AM, Gonzalo Camarillo wrote:
>>> Hi,
>>> I would like to start a WGLC on the following draft. This WGLC will end
>>> on May 4th:
>>> Please, send your comments to this list.
>>> Thanks,
>>> Gonzalo
>> I had a fresh read of this specification and have the following comments.
>> (possibly) technical
>> --------------------
>> RFC 7401 specifies ECDSA and ECDSA_LOW as separate algorithm types, but
>> this document only mentions ECDSA.  For alignment with RFC 7401, I
>> suggest to replace references to "ECDSA" with "ECDSA and ECDSA_LOW" as
>> appropriate (it seems to me that they can reuse the same code point).

The HIP DNS support re-uses the existing DNS KEY RR encoding for
ECDSA, however AFAIK there is no DNS KEY RR encoding for ECDSA_LOW.
Also, since presumably ECDSA_LOW support is present in RFC 7401 for
tightly constrained device,  and given that it isn't immediately clear
whether such tightly constrained device would use the DNS at all to
resolve HIP information of their peer, at this time I'd rather keep
ECDSA_LOW out-of-scope for this specification.

>> I could not find discussion about TTL considerations; are there any?  If
>> there are no special considerations about TTL, caching, and how records
>> may be updated, perhaps it would be helpful to state this (and possibly
>> reference the specification that describes how to expire resource records).

I've clarified the TTL handling of the HIP resource records by adding
the following paragraph to sec 4.2:

   The HIP resource records have a Time To Live (TTL) associated with
   them.  When the number of seconds that passed since the record was
   retrieved exceeds the record's TTL, the record MUST be considered to
   be no longer valid and deleted by the entiry that retrieved it.  If
   access to the record is necessary to initiate communication with the
   entity to which the record corresponds, a new query MUST be be made
   to retrieve a fresh copy of the record.

>> The document doesn't seem to have any discussion of what to do when a
>> host wants to register more than one host identity.  I suggest something
>> along the lines of "there may be multiple HIP RRs associated with a
>> single name.  It is outside the scope of this specification as to how a
>> host chooses from between multiple RRs when more than one is returned.
>> The RVS information may be copied and aligned across multiple RRs, or
>> may be different for each one; a host SHOULD check that the RVS used is
>> associated with the HI being used, when multiple choices are present."

Thanks, I've added the text you proposed to sec. 4.2 but I've used
MUST instead of SHOULD.

>> editorial
>> ---------
>> IANA considerations could be made more explicit about exactly what we
>> are requesting IANA to do; e.g., "the reference to the RR type code
>> should be updated from RFC 5205 to this specification."  and "this
>> document requests that IANA allocate a new codepoint for 'ECDSA and
>> ECDSA_LOW' in the existing registry for IPSECKEY RR."

Done. The IANA considerations has been update and now reads:

9.  IANA Considerations

   IANA is requested to replace references to [RFC5205] by references to
   this document in the the DNS RR type code registry.

   IANA is requested to allocate the following algorithm type in the
   IPSECKEY RR [RFC4025] registry:

      [IANA-TBD] is ECDSA

>> Suggest to replace "Singly" with "Single" and "degenerated" with
>> "degenerate".