Re: [core] Review of draft-ietf-core-sid-04

Carsten Bormann <cabo@tzi.org> Mon, 09 July 2018 13:18 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C606B130FBF; Mon, 9 Jul 2018 06:18:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.3
X-Spam-Level:
X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=unavailable autolearn_force=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 6fzg0hGDF-2A; Mon, 9 Jul 2018 06:18:44 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (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 A96EA130FBD; Mon, 9 Jul 2018 06:18:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id w69DIckG009640; Mon, 9 Jul 2018 15:18:38 +0200 (CEST)
Received: from [192.168.217.102] (p5DC7F1FB.dip0.t-ipconnect.de [93.199.241.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 41PQrZ1Cc1zDXfy; Mon, 9 Jul 2018 15:18:38 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <d729bb7e-7e50-77c0-04bc-d2d44e875e68@cisco.com>
Date: Mon, 09 Jul 2018 15:18:37 +0200
Cc: core@ietf.org, draft-ietf-core-sid@ietf.org
X-Mao-Original-Outgoing-Id: 552835115.6746809-12701e0902b7bd425f72ba675c2a5d6c
Content-Transfer-Encoding: quoted-printable
Message-Id: <4A6789B6-B09E-4A2B-9D54-BF34CDB03AA4@tzi.org>
References: <d729bb7e-7e50-77c0-04bc-d2d44e875e68@cisco.com>
To: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/08MdorZ4-bx2U4Kboe5XCfilzJw>
Subject: Re: [core] Review of draft-ietf-core-sid-04
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2018 13:18:45 -0000

On Jul 9, 2018, at 12:48, Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org> wrote:
> 
> 1) Section 1. I think that it may be better if SIDs are only allocated from the range 0 to int64 max (i.e. 2^63 - 1).  This would still seem to make huge numbers of SIDs available, but makes it easier to generate 64 bit SID deltas without having to worry about sign overflow.

Good point.  (Not an issue for the CBOR representation, but poses a trap for overflow-naive host processing…)

Grüße, Carsten