Re: [Gen-art] Genart last call review of draft-ietf-dtn-bpbis-17

Magnus Westerlund <magnus.westerlund@ericsson.com> Fri, 08 November 2019 10:22 UTC

Return-Path: <magnus.westerlund@ericsson.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 83EB512004E; Fri, 8 Nov 2019 02:22:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 zSDdBCk4o2Vc; Fri, 8 Nov 2019 02:22:22 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0605.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::605]) (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 2AFF61200B8; Fri, 8 Nov 2019 02:22:21 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ap7aw9B133CoEmPnpozOTxuHEv2lP5WQ0E5+hnXxZmYp3QGbw6CD7QkzzvdXW2SnHFPVfbW7yOEHMtBaGWR86XGNHfBOB880yl/+VrsqsnsM0qpWuYKPZsTIsk1r3yOGOCM9a3Uat+eG2THryJHikak2fI+YIqDL1mI5b/8aHdQNdlIPdxwL7p9NyXG+7XwfnyhnI+GzMCVpixP+Add5SgXgc2a8M9xJOKyMS8sfQEpef6cDX9C4bmzKCxP6DklqfQ3FSMApNVZE40t/hsHkvu4OFaScbbPJAlYcVEOBHx2ZfTqyFhqXy14lnMf2w5VjoI1lFVKa+wnwEm/ixfM+cQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2yNL5QjiXoHmIl/AMW8UDNbsBrNtvixSFD8B1UB1+Ls=; b=js5oyvSySTr3quXPRYzwCeWXb830UvsFeUVlLlLrpR5rDiZuP6oqdCfh8IPhvIPY+NpWdqBOzSl8NdADeN1uJ2ERTfTzoTfwESt5ZPr5EZNdXy6EdQ1K9wXc5m/s+Z8zw0vEZrVgmlTwiIDH6jYZbJj+aCm5J/UCseIoa097efUGzGBrMOkQZ2MBxuoocOBCt9djFf5WqoakA7l/JeTZIeIRiyOjeOWCfquj5htYH5d0OlCjjXdy6xR6SQZA7xsR3UHmisklJFzjCxc6GJKikPrBX0kV9N5W2uR6OZZck0WHuGbld7hj8UNNe9EpRLbinR9GPM4USngbeXs2v113Bg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2yNL5QjiXoHmIl/AMW8UDNbsBrNtvixSFD8B1UB1+Ls=; b=kf4bnszGTMVlkABydqMpEy4c0xxitD34c52sTotO25jfp4gI74+Yy1OmIakfbzEoHtQXTVNwVNuRmfmmDlx91YFPXPqnyOdb003CX4tw+1/51Nmr/t1TI7BjNxrwB521M9qDp14dIO0fvt75hvyjPTzNj2WL3afCVi5jwi8m0Zo=
Received: from HE1PR0701MB2697.eurprd07.prod.outlook.com (10.168.188.16) by HE1PR0701MB2649.eurprd07.prod.outlook.com (10.168.186.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.13; Fri, 8 Nov 2019 10:22:18 +0000
Received: from HE1PR0701MB2697.eurprd07.prod.outlook.com ([fe80::1d5c:4814:3c1e:b769]) by HE1PR0701MB2697.eurprd07.prod.outlook.com ([fe80::1d5c:4814:3c1e:b769%10]) with mapi id 15.20.2451.013; Fri, 8 Nov 2019 10:22:18 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "stewart.bryant@gmail.com" <stewart.bryant@gmail.com>, "gen-art@ietf.org" <gen-art@ietf.org>
CC: "last-call@ietf.org" <last-call@ietf.org>, "draft-ietf-dtn-bpbis.all@ietf.org" <draft-ietf-dtn-bpbis.all@ietf.org>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: Genart last call review of draft-ietf-dtn-bpbis-17
Thread-Index: AQHVlNeQk8tG2j0DU0CjlCLuym7cyaeBExoA
Date: Fri, 08 Nov 2019 10:22:17 +0000
Message-ID: <65cb92a64e5e6d5010392ad33d70be44c8abc962.camel@ericsson.com>
References: <157306815414.27362.18239257168598208900@ietfa.amsl.com>
In-Reply-To: <157306815414.27362.18239257168598208900@ietfa.amsl.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=magnus.westerlund@ericsson.com;
x-originating-ip: [158.174.130.211]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2d9919de-f40f-4abf-b6ed-08d764358866
x-ms-traffictypediagnostic: HE1PR0701MB2649:
x-microsoft-antispam-prvs: <HE1PR0701MB2649B0F5B305F5CD535CF10F957B0@HE1PR0701MB2649.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0215D7173F
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(396003)(136003)(346002)(366004)(376002)(52314003)(51444003)(189003)(199004)(14014004)(305945005)(11346002)(446003)(44832011)(966005)(486006)(64756008)(2616005)(476003)(25786009)(478600001)(66066001)(4326008)(2906002)(66616009)(66476007)(36756003)(26005)(76116006)(102836004)(186003)(99286004)(256004)(66556008)(76176011)(66446008)(6506007)(14444005)(71200400001)(71190400001)(14454004)(6306002)(54906003)(30864003)(2501003)(316002)(8676002)(99936001)(6246003)(6436002)(8936002)(66946007)(81166006)(81156014)(5660300002)(110136005)(229853002)(4001150100001)(3846002)(6486002)(118296001)(6116002)(7736002)(6512007)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0701MB2649; H:HE1PR0701MB2697.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: SbSXxpD3lqo+RWI1K0g7Tqd7aPAnMxuTb8D9P2EUmehpaQKgvSBU7sEAwKwl3EzA5ii0qukKFkZxszqgAYOSAtXqf7og3sT+ojArkkn6R1ddR04+QWfX0l4ewP+Wm1IuR3gccN8b12cPE/B/j6PGHKhbeoSoCrqLLgtKZR+me3siy55Hkk378U+fqeMxq/PSFneB+Y8X73p1X3jb+iBGSnZljOSrMil5dY0jBPZPetpjtrlVQsmaV41MISF9laPzRmi2j67i882fRV/Y+LWxdM+npAxWQm1Ee9+Wj83YIG+gpRJCbyws77GiDXPRpHWcLdClWnsd4NvQ3Qa2iiOIeJy6rCtVNOsT6qKSbghVuC/hWNFjbmofYSKUSHhzoph5fk0RMO8FnOSXrJveh6y31/a+PTWvsnR3FHNBvCmyUsc/FXdnNqlswreq7LNKJxAT
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-VkZenhbRTBM/g9L9FACl"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2d9919de-f40f-4abf-b6ed-08d764358866
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2019 10:22:17.9252 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: oqbidM9gq30OMNbhbD87sKpE6U17PS2YTIYw0sjYBBu3AywRLbrjw4fl8UAbLUg/cZ0TuyGkufLtkgM/5AuDKj7BnjJIY3PkR2TECvJRIqk=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2649
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/j7ASRxYcE9evPs7bql1R2JcQcyk>
Subject: Re: [Gen-art] Genart last call review of draft-ietf-dtn-bpbis-17
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 08 Nov 2019 10:22:26 -0000

Hi Stewart,

As responsible AD I like to add a bit here. Please see inline. The WG will still
need to discuss how to address these comments. 

Regarding the "pre-allocation" of certain bits and code-points, I would tend to
agree. I think one can put tham as reserved in this specification. And in cases
of where BPv7 and BPv6 (RFC5050) shares registry the actual code-point values
are already registered for those purposes. 


On Wed, 2019-11-06 at 11:22 -0800, Stewart Bryant via Datatracker wrote:
> Reviewer: Stewart Bryant
> Review result: Not Ready
> 
> I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed
> by the IESG for the IETF Chair.  Please treat these comments just
> like any other last call comments.
> 
> For more information, please see the FAQ at
> 
> <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
> 
> Document: draft-ietf-dtn-bpbis-17
> Reviewer: Stewart Bryant
> Review Date: 2019-11-06
> IETF LC End Date: 2019-11-12
> IESG Telechat date: Not scheduled for a telechat
> 
> Summary:
> 
> There are quite a number of issues that need to be attended to in this
> document.
> 
> None of that is fundamental to the protocol itself, but work is needed to make
> this ready for publication as a Proposed Standard.
> 
> ========
> 
> Major issues:
> 
> It is not clear what the status of this RFC will be relative to RFC5050.
> If it modifies the status of RFC5050 it needs to make this clear in the
> boilerplate, Abstract and Introduction.

As have been pointed out the WG consensus is to not attempt to obsolete RFC 5050
at this point, rather let IRTF obsolete when they think it is not any more
relevant. This, has also resulted in a discussion between the IESG and the IRTF
chair and IRSG on how do deal with cases where we actually want to obsolete an
IRTF stream document. So that is at least possible if the IRTF agrees to it. 

> 
> ========
> 
>      . 0 indicates "no CRC is present."
>      . 1 indicates "a standard X-25 CRC-16 is present." [CRC16]
>      . 2 indicates "a standard CRC32C (Castagnoli) CRC-32 is present."
>         [CRC32C]
> 
> SB> I am surprised that in these more modern times something stronger
> than a CRC is not used, for example a crypto hash. Particularly given the
> harsh environment that this is targeting.

As Lloyd commented this is for basic error checking. There is 
https://datatracker.ietf.org/doc/draft-ietf-dtn-bpsec/ that defines keyed crypto
integrity protection as well as encryption that can be applied to bundles. 

> 
> =========
>      . The bundle contains a "manifest" extension block.  (Boolean)
> SB> Given that manifest is not defined yet this seems out of place in an ST
> text
> 
> ======
> Relative to the section DTN Time:
> 
>    Unix epoch time is the next best option.  Like TAI, Unix epoch time
>    is simply a count of seconds elapsed since a standard epoch.  Unlike
>    TAI, the current value of Unix epoch time is provided by virtually
>    all operating systems on which BP is likely to run.
> 
> SB> This section needs to be checked by a time expert.
> 
> SB> I think you are saying that you use Unix time, but Unix time
> includes leap seconds by double increment, so I don’t think
> you are using that because that would give you the measurement
> error you are concerned about. I think that what you are using is
> a monotonically increasing time based on the Unix epoch. I think
> that is what PTP (IEEE1588) is using and PTP might be a better
> reference. PTP is likely to become more available in spacecraft
> anyway, since it is finding deployment in precision measurement
>  applications. Thus I am not sure I understand why UET is more
> accessible on spacecraft than TAI. Presumably the spacecraft are using
> free-running clocks and so will drift, although I understand that
> work is in progress to provide time sync to spacecraft for
> navigation purposes.
> 
>  The argument in this section seems long and will become dated.
> Surely all you need to say is that you need a monotonically
> increasing time system such as TAI or UNIX time(), and out of
> software convenience you choose the latter. However I don’t
> think that is what you are actually doing. What I think you are doing
> is using TAI with a free running clock that you accept will drift.
> 

So, when I did the AD review I did raise similar concerns, and the note was
really intended to answer these questions of why the chosen clock rather than
TAI or other clock definitions that would avoid some other issues. I got enough
good answers to progress, but apparently the motivation part isn't clear enough
to make you comfortable over the choices. 

> SB> A lot of the text in this section is not really normative and
> perhaps belongs in a non-normative appendix.
> 


> ==========
> 
>    The following extension block types are reserved for extension
>    blocks for which a need is anticipated but for which no definitions
>    yet exist:
> 
>      . Block type 13 is reserved for the anticipated Manifest Block.
> SB> This should really be handled through an IANA registry. It seems
> strange to have text that is semi-definative about anticipated
> features in a proposed standard. Same for types 14 and 15.
> They should not be in ST text until they are standard.

I don't see an issue with removing these forward incomplete references. With the
common type namespaces these code-points are reserved for those particular uses
already. 

> 
> =========
> In the Security Section
> 
>    Note that, while the primary block must remain in the clear for
>    routing purposes, the Bundle Protocol can be protected against
>    traffic analysis to some extent by using bundle-in-bundle
>    encapsulation to tunnel bundles to a safe forward distribution
>    point: the encapsulated bundle forms the payload of an encapsulating
>    bundle, and that payload block may be encrypted by a BCB.
> 
> SB> Is there a definition of the bundle in bundle protocol?

Yes, draft-ietf-dtn-bibext. 

> 
> SB> The material that follows seems to be defining protocol which
> is unusual in a security section. I would be better to define protocol
> in the body of the text or simply point to a definition in another document.


> 
> =========
> 
> 10.1. Bundle Block Types
> SB> The namespaces do not seem to be identified.

So searching for "Bundle Block Types" on https://www.iana.org/protocols will
find you the registry, so I don't know why you think the namespace isn't
identified. Do you missing the general Bundle Protocol category for the
registry? 

> 
> SB> The IANA reference for new allocations ought to be to this RFC

So the registry is actually defined in RFC 6255. And the decision to allow both
BPv6 and BPv7 so co-exist and co-use the registry results in this situation. But
I think you are correct in that the reference column of the table should contain
both RFC5050 and [RFC-TBA] to make it clear that this is how it is intended to
look. 

> 
> SB> Given that this is a Standards Document I am surprised that
> references to RFC5050 are not replaced with references to this RFC.
> Does this indicate that RFC5050 is expected to remain a current protocol.
> If so we are in the odd position of a ST text relying on definitions in an
> Experimental text. This is something that the IESG needs to consider.
> 
> =========
>    The registration policy is changed to "Expert Review". Given the
>    maximum number of bits available, the allocation should only be
>    approved with a well-defined specification and proof of real usage.
> 
> SB> I am surprised that it (or some part of it) is not changed to one
> of the more difficult critera, such as Standards Action. Also I am
> surprised that there are no private use or experimental allocations.

With Expert Review I think the argument can be that one don't need to have
private use or experimental allocations as any such needs can be dealt with
through the expert. From my perspective I think this make sense in this
particular case. There is a limted range and re-use of bits for private and
experimental purpose is not straightforward. Thus, taking each bit's definition
into account if to assign it or not do make sense to me. 

> 
> =========
> 
> 11.1. Normative References
> 
>    [BPSEC] Birrane, E., "Bundle Security Protocol Specification", Work
>    In Progress, October 2015.
> 
> SB> I am not sure what this points to but I think it is RFC6257
> which is experimental and hence is a downref. This needs the proper ref
> and the downref addressing.

That should be made clear that this is draft-ietf-dtn-bpsec. 

> 
>    [CRC16] ITU-T Recommendation X.25, p. 9, section 2.2.7.4,
>    International Telecommunications Union, October 1996.
> SB> This shows up in nits as a downref, but I am sure it is OK,
> 
>    [CRC32C] Castagnoli, G., Brauer, S., and M. Herrmann, "Optimization
>    of Cyclic Redundancy-Check Codes with 24 and 32 Parity Bits", IEEE
>    Transact. on Communications, Vol. 41, No. 6, June 1993.
> 
> SB> I am not sure what the policy is WRT having a normative ref to an IEEE
> paper. SB> Information on CRC32C is more accessibly found in RFC3385
> 
>    [EPOCH] Thompson, K. and D. M. Ritchie, "UNIX Programmer's Manual,
>    Fifth Edition", Bell Telephone Laboratories Inc., June 1974.  See
>    
> https://protect2.fireeye.com/v1/url?k=773aa56c-2beea2c0-773ae5f7-8667c4afe13e-8af513574b1eb372&q=1&e=ed73115d-ee55-44cf-bf78-c189ad611603&u=https%3A%2F%2Fwww.tuhs.org%2FArchive%2FDistributions%2FResearch%2FDennis_v5%2Fv5man
> .
>    pdf.
> 
> SB> I am sure this is a fine document but again I am not sure if
> you can point to it as normative.
> 
> =========
> 
>    This work is freely adapted from RFC 5050, which was an effort of
>    the Delay Tolerant Networking Research Group.
> 
> SB> Is it simply adapted? What is the relative standing of the two?
> As far as I can see this Standard relies on definitions provided by that RFC.

To my understanding the actual BPv7 protocol definition should be stand-alone,
but sharing some common infrastructure, like IANA registries. Do you have a
particular case where there is a normative dependency to any of the IRTF stream
RFCs, other than the IANA regstries? 

> 
> =========
> Appendix B.                  CDDL expression
> SB> What is the licence position for the code that follows?
> 

This is not code, it is CDDL so it is format description, comparable to ABNF. 

As it is submitted under BCP 78 and IETF TPL so I don't see any formal issues
with it. 


Cheers

Magnus Westerlund 


----------------------------------------------------------------------
Networks, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Torshamnsgatan 23           | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------