Re: [sidr] WGLC: draft-ietf-sidr-rpsl-sig - End Jul 02 2015

Geoff Huston <gih@apnic.net> Thu, 25 June 2015 23:57 UTC

Return-Path: <gih@apnic.net>
X-Original-To: sidr@ietfa.amsl.com
Delivered-To: sidr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA7A61B2D4E for <sidr@ietfa.amsl.com>; Thu, 25 Jun 2015 16:57:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.401
X-Spam-Level:
X-Spam-Status: No, score=-100.401 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, SPF_PASS=-0.001, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=no
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 QT-WH0Mos2Zp for <sidr@ietfa.amsl.com>; Thu, 25 Jun 2015 16:57:30 -0700 (PDT)
Received: from ao-mailgw.apnic.net (ao-mailgw.apnic.net [IPv6:2001:dd8:8:701::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 70DE21B2D50 for <sidr@ietf.org>; Thu, 25 Jun 2015 16:57:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apnic.net; s=c3po; h=received:received:content-type:mime-version:subject:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to:x-mailer:return-path: x-originating-ip; bh=DSuLdFoY/4jJiUldJr3dGC7pw9UDYrDn1UDQ9QRKLXI=; b=6swCobq5bmRyfub//AwRZ9qHXx4smzYoP3FAatymK8rPHOY2udiu0ImPotzAWGcHL2DsnBcNUL/OD i3jnMN78ileZG7jBxNpW/0ipZVPHmlqbpdDTqRRgNoFOKe1+DsqBYgFwnYsY5zziR7UrEOrHJXGXrX K9Z+1JHxY7/H7Kgw=
Received: from NXMDA2.org.apnic.net (unknown [IPv6:2001:dd8:9:2::101:249]) by ao-mailgw.apnic.net (Halon Mail Gateway) with ESMTPS; Fri, 26 Jun 2015 09:57:29 +1000 (AEST)
Received: from chris-xp.canberra.aarnet.edu.au (203.119.101.249) by NXMDA2.org.apnic.net (203.119.107.21) with Microsoft SMTP Server (TLS) id 14.1.218.12; Fri, 26 Jun 2015 09:59:24 +1000
Content-Type: text/plain; charset="windows-1252"
MIME-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Geoff Huston <gih@apnic.net>
In-Reply-To: <558AC489.1030900@innovationslab.net>
Date: Fri, 26 Jun 2015 09:57:23 +1000
Content-Transfer-Encoding: quoted-printable
Message-ID: <E3CE8773-943C-4033-BF64-C3A43344F027@apnic.net>
References: <55828BEC.9010605@ops-netman.net> <BDDD7570-1F1C-4A25-8755-6E2A2E361659@gmail.com> <558AC489.1030900@innovationslab.net>
To: Brian Haberman <brian@innovationslab.net>
X-Mailer: Apple Mail (2.2098)
X-Originating-IP: [203.119.101.249]
Archived-At: <http://mailarchive.ietf.org/arch/msg/sidr/Xz7SjnpKYClGqpmmdrwfKdzIs2k>
Cc: sidr@ietf.org
Subject: Re: [sidr] WGLC: draft-ietf-sidr-rpsl-sig - End Jul 02 2015
X-BeenThere: sidr@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Secure Interdomain Routing <sidr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidr>, <mailto:sidr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidr/>
List-Post: <mailto:sidr@ietf.org>
List-Help: <mailto:sidr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidr>, <mailto:sidr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Jun 2015 23:57:32 -0000

Thanks for the responses Brian. Some followup responses interleaved with your text follow.



>     Thanks for the review.  Some responses in-line...
> 
> 
> On 6/23/15 10:26 PM, Geoff Huston wrote:
>> 
>> Bullet 4 of this list looks confused
>> 
>> * Date and time fields MUST be converted to 64-bit NTP Timestamp Format [RFC5905].
>> 
>>     thats a binary value, 32 bits of seconds since epoch and 32 bitss of fractions - right?
> 
> In the code I wrote a few years ago, I convert the timestamp to an ascii
> string representation. Some of the conversion logic is in 5905 and the
> rest is based on the C libraries for managing time.


So the document needs to define the epoch and the exact method of encoding to ascii I would’ve thought.


> 
>>     Does this also mean that the Era is 1 January 1900?
> 
> Yes, it does... and that may be a problem in 21 years. Changing this to
> the 128-bit Date Format from 5905 doesn't appear to be an issue.  When I
> get some time in the next few days, I will update my prototype code and
> test it out.

code is good. A clear unambiguous spec is also good!


> 
>> 
>> *  AS numbers MUST be converted to ASPLAIN syntax [RFC5396].
>> 
>>     hang on - thats ascii - why is the time field binary and this field ascii?
> 
> As noted above, the time is converted to ASCII.


Better if the document makes this clear.


> 
>> 
>> *  IPv6 addresses must be canonicalized as defined in [RFC5952].
>> 
>>     this is also ascii 
> 
> Yes.
> 
>> 
>> *  IPv4 addresses MUST be converted to a 32-bit representation
>>          (e.g., Unix's inet_aton()).
>> 
>>     inet_aton returns a binary struct - which is NOT ascii. 
>> 
> 
> But can be converted to the ASCII representation of the 32-bit number.
> I will update the draft to be explicit about that.


explicit is good - but why not use dotted quad notation?


> 
>> 
>> *  All IP prefixes (IPv4 and IPv6) MUST be represented in CIDR
>>          notaion [RFC4632].
>> 
> 
> Yes, as described in RPSL (RFCs 2280 and 2622).
> 
>> 
>>     I assume that this means that at times this will be a list of addresses
>>     (i.e. the range of addresses 10.0.0.1 - 10.0.0.2 is 10.0.0.1/32 and 10.0.0.2/32)
>> 
>>     Are you wanting a cononical CIDR form? (i.e. should the pair of prefixes 10.0.0.0/24 and 10.0.1.0/24
>>     be represented as 10.0.0.0/23?)
>> 
>> 
>>     Other RPKI specs (e.g. RFC6487) referenced the canonical representation of a
>>     set of addresses as defined in RFC3779. I assume you had a good reason not to
>>     use the same approach
>> 
> 
> The 3779 approach moves away from the RPSL representation of prefixes.
> Introducing ASN.1-based representations to RPSL seems... odd.
> 


so I think we are talking past each other.  Lewt me try to explain myself with a simply question

How should I represent the following ranges of number resources in a canonical format according to this draft?

a) the IPv4 address range 10.0.0.0 through to 10.0.2.255 ?

b) the ASN range 131072 through to 131075

c) the IPv6 range 2001:0:0:0:0:2:0:0:0 through to 2001:0:0:0:0:5:ffff:ffff:ffff


Geoff




> Regards,
> Brian
> 
> _______________________________________________
> sidr mailing list
> sidr@ietf.org
> https://www.ietf.org/mailman/listinfo/sidr