Re: [dtn] I-D Action: draft-ietf-dtn-bpbis-15.txt

Brian Sipos <BSipos@rkf-eng.com> Tue, 22 October 2019 14:00 UTC

Return-Path: <BSipos@rkf-eng.com>
X-Original-To: dtn@ietfa.amsl.com
Delivered-To: dtn@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7E7F1200EB for <dtn@ietfa.amsl.com>; Tue, 22 Oct 2019 07:00:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rkfeng.onmicrosoft.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 8nG6k8x-T3iD for <dtn@ietfa.amsl.com>; Tue, 22 Oct 2019 07:00:20 -0700 (PDT)
Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680045.outbound.protection.outlook.com [40.107.68.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8628D120013 for <dtn@ietf.org>; Tue, 22 Oct 2019 07:00:20 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UKVnEG5rhtSYgR4JW45T1A2M7kv9INUuMLf106CqPEhb4vfQT32Og8xEVRFJ5G5TUBhrpIiQ0h0W0M1nnxBM/WS/7UFfGwYTVBJdZSitE6ibqGvsqbDoyxpmYNuZFO/l3hc6IVNDAA2govNGMvxXgQG3UtE7LTwCjB5wDhESQo4fqhxZHD0O75TERjuIBR0npJSsYivqyQA4/PGcS3ZfyT874vhm10B4HHMacG1LIN2RRh9vvZzbls9d4oH+DSgb3jblRhwkaXtcxpwP4fdg0lyjQDeeh05lnXuperycDA/MQ0YN1xX2D/kygNrooiFGc+QBp940GWJlyQMM55dWqA==
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=CSwghtyx6La8HY5heMMQY1ZgQZCbIRNpobOHSYdPeLk=; b=Fmb1KbseBjFKYpj6qUPiwjc7kOvs/WWq1oKLtGUnO2gh/a6p/4tjS51NolcAoELMComg0By9zxBQSJ3+9kSLqmfcExPN8txS4FjowHwWAIUkdows3gR2p3tGm7e8Yd8+cBIW2IBm/Ec9354/t3+tc9EVHvv3k/czfm6oL1k2bEkSTQx7/ZC9zAfgoM6IA5qFdJmiV8wlM+jZkg3DAGT61ACvUclouIR/KB03NjxhsEqcCgd6gwstJ94N7gPnt0RlHq6ycPm8sAbCRPdyUzdM70E87CJLbhs1ZhkkizalrWftqMQUJgyxOI1aJejzHmeN4UhsmXJHcfHzYWWjBog8Ow==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=rkf-eng.com; dmarc=pass action=none header.from=rkf-eng.com; dkim=pass header.d=rkf-eng.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rkfeng.onmicrosoft.com; s=selector2-rkfeng-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CSwghtyx6La8HY5heMMQY1ZgQZCbIRNpobOHSYdPeLk=; b=JOPU4C3NhQxjtABDYw4ttDYmsFf52qEdGwg89tcKT3l/RZEOHJouWNql9sxGT2ndIW5WIUsIspUJy9FmihJcwsTuEXFuzSuB66ngKtAos7sddIL2cH4IgYRfOPsMQSqnXZaOOT5dhcoYG5Ytn2ha1WVytHcojY1Dq+QgRJ6td3A=
Received: from MN2PR13MB3520.namprd13.prod.outlook.com (10.255.238.221) by MN2PR13MB2862.namprd13.prod.outlook.com (20.178.252.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.14; Tue, 22 Oct 2019 14:00:17 +0000
Received: from MN2PR13MB3520.namprd13.prod.outlook.com ([fe80::fdae:409e:e8e7:5859]) by MN2PR13MB3520.namprd13.prod.outlook.com ([fe80::fdae:409e:e8e7:5859%6]) with mapi id 15.20.2387.016; Tue, 22 Oct 2019 14:00:17 +0000
From: Brian Sipos <BSipos@rkf-eng.com>
To: "Burleigh, Scott C (US 312B)" <scott.c.burleigh@jpl.nasa.gov>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: [dtn] I-D Action: draft-ietf-dtn-bpbis-15.txt
Thread-Index: AQHVhfdstZOJqQMz1km6p/4J/AHcx6dlIjD1gACIqwCAAQCfdg==
Date: Tue, 22 Oct 2019 14:00:16 +0000
Message-ID: <MN2PR13MB3520995F0C0EF08E900C0A339F680@MN2PR13MB3520.namprd13.prod.outlook.com>
References: <157143257005.3981.3533833690193248544@ietfa.amsl.com> <MN2PR13MB3520B9C9215F45FA9DBBE5EC9F690@MN2PR13MB3520.namprd13.prod.outlook.com>, <e6b2f6aba5d147f8a5b887181e17b3c6@jpl.nasa.gov>
In-Reply-To: <e6b2f6aba5d147f8a5b887181e17b3c6@jpl.nasa.gov>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=BSipos@rkf-eng.com;
x-originating-ip: [66.195.166.226]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f17ae363-afee-4727-7d54-08d756f82b1c
x-ms-traffictypediagnostic: MN2PR13MB2862:
x-ms-exchange-purlcount: 5
x-microsoft-antispam-prvs: <MN2PR13MB2862B96833043AE55412959E9F680@MN2PR13MB2862.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01986AE76B
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(376002)(346002)(39830400003)(396003)(189003)(199004)(3846002)(86362001)(81166006)(9686003)(229853002)(26005)(74316002)(6116002)(19627405001)(105004)(19627235002)(54896002)(81156014)(6306002)(14454004)(55016002)(8936002)(71200400001)(5660300002)(236005)(71190400001)(7736002)(6436002)(2906002)(8676002)(66574012)(33656002)(66066001)(6506007)(6246003)(4001150100001)(66446008)(76116006)(110136005)(7696005)(102836004)(99286004)(508600001)(66946007)(80792005)(66556008)(64756008)(966005)(446003)(486006)(476003)(11346002)(606006)(186003)(52536014)(2501003)(256004)(76176011)(25786009)(14444005)(53546011)(66476007)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR13MB2862; H:MN2PR13MB3520.namprd13.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: rkf-eng.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: NU+5/HP73ItZwMXM0bMOQCcba2AB+eDYJ89bvYKp3XIWmJNZazuMQT1Ry3XCox9D1HKhTV30yajM7F3zPZGAH/vOQWJPngfutT11AE0KU2yMl2P7CGeMvvSxd8uSEb0ENc3uo00RgYry6dCc6siI53z4/FerKnSMi1P1JJeWRx9/wIRL+HHZCzuSQAefbZb0dAtRbXxvOudBQQtVy80GhIlhhqBS1Tni9tQk3KjtaS1GL/3+DD9yeyfc3LkuGjpvPifuTks1nnK6RxL9JBZcSCdu1HxLZxE7OlH5BwWfadSmWVDs7ToWTQQYwYYlOb2fb6S9wLSZnwHG+LqCzbyUELjVrJLWLjsspgGyFxLFmd9VwjHoVelUG0GGIlcIb/5O1nR/rX9ipTgOeB1hggXWaFbCvJ00o1uUvcL3/8mn7WKlmPYa/0u6t2LSLTnLMNhOFtUh06iNgkBv8nuEa8e2Y1Bvs6Sgi7gMffqs4oS68NE=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR13MB3520995F0C0EF08E900C0A339F680MN2PR13MB3520namp_"
MIME-Version: 1.0
X-OriginatorOrg: rkf-eng.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f17ae363-afee-4727-7d54-08d756f82b1c
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2019 14:00:16.8661 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4ed8b15b-911f-42bc-8524-d89148858535
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: wacm0wzPAQI1yPYS216P8mtmjMUK08CycfwSFg6Uy7lKXeyPGkAHJi4bpjUIgey0y16tF28JZxQBT1KM8qKDIA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB2862
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/hNL1NiBhxMJGGHnj9cGHvdKGgjY>
Subject: Re: [dtn] I-D Action: draft-ietf-dtn-bpbis-15.txt
X-BeenThere: dtn@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Delay Tolerant Networking \(DTN\) discussion list at the IETF." <dtn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dtn>, <mailto:dtn-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn/>
List-Post: <mailto:dtn@ietf.org>
List-Help: <mailto:dtn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dtn>, <mailto:dtn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Oct 2019 14:00:24 -0000

Scott,
Yes that makes sense. If you want to be explicit with code points, as your last edit does, they will always be major type 2 and additional information 2 or 4 (no indefinite-lengths allowed).
________________________________
From: Burleigh, Scott C (US 312B) <scott.c.burleigh@jpl.nasa.gov>
Sent: Monday, October 21, 2019 18:03
To: Brian Sipos <BSipos@rkf-eng.com>om>; dtn@ietf.org <dtn@ietf.org>
Subject: RE: [dtn] I-D Action: draft-ietf-dtn-bpbis-15.txt


Thanks, Brian.  How about byte strings?  Could we say that the CRC SHALL be represented as a CBOR byte string of length either 2 or 4, and that the content of each such byte string is to be processed as an integer in network byte order?



Scott



From: Brian Sipos <BSipos@rkf-eng.com>
Sent: Monday, October 21, 2019 2:42 PM
To: dtn@ietf.org; Burleigh, Scott C (US 312B) <scott.c.burleigh@jpl.nasa.gov>
Subject: [EXTERNAL] Re: [dtn] I-D Action: draft-ietf-dtn-bpbis-15.txt



Scott,

The new text leaves me confused about the correct encoding and interpretation of the CRC values themselves. The earlier text said that the values are a "sequence of bytes" representing an integer. The new -15 text says that the values are CBOR integer type but still talks about sequences of bytes.



For some background on my desire for specific requirements here: there are many COTS CBOR encoders today (mostly for higher-level languages, e.g. Python and ECMAScript) which do not allow a fine-grained level of control about how numbers are CBOR-encoded. These COTS encoders don't have an API to tell the encoder to make a non-shortest-length output; so it's not possible to implement the BPv7-CRC-required behavior of:

   ...including the CRC field itself, which for this purpose SHALL be

   temporarily populated with the value zero.

When these encoders see a native integer/number value of zero the output is always the encoded bytestring 0x00. My opinion is that unnecessarily limits environments which BPv7 can be used in (at least when CRC handling is intended). I understand that these may not be expected use environments for BP, so take all of this with a grain of salt.

Thanks,

Brian S.



________________________________

From: dtn <dtn-bounces@ietf.org<mailto:dtn-bounces@ietf.org>> on behalf of internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> <internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>>
Sent: Friday, October 18, 2019 17:02
To: i-d-announce@ietf.org<mailto:i-d-announce@ietf.org> <i-d-announce@ietf.org<mailto:i-d-announce@ietf.org>>
Cc: dtn@ietf.org<mailto:dtn@ietf.org> <dtn@ietf.org<mailto:dtn@ietf.org>>
Subject: [dtn] I-D Action: draft-ietf-dtn-bpbis-15.txt



A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Delay/Disruption Tolerant Networking WG of the IETF.

        Title           : Bundle Protocol Version 7
        Authors         : Scott Burleigh
                          Kevin Fall
                          Edward J. Birrane
        Filename        : draft-ietf-dtn-bpbis-15.txt
        Pages           : 61
        Date            : 2019-10-18

Abstract:
   This Internet Draft presents a specification for Bundle Protocol,
   adapted from the experimental Bundle Protocol specification
   developed by the Delay-Tolerant Networking Research group of the
   Internet Research Task Force and documented in RFC 5050.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-dtn-bpbis/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-dtn-bpbis-15
https://datatracker.ietf.org/doc/html/draft-ietf-dtn-bpbis-15

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-dtn-bpbis-15


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
dtn mailing list
dtn@ietf.org<mailto:dtn@ietf.org>
https://www.ietf.org/mailman/listinfo/dtn