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

"Burleigh, Scott C (US 312B)" <scott.c.burleigh@jpl.nasa.gov> Mon, 21 October 2019 22:03 UTC

Return-Path: <scott.c.burleigh@jpl.nasa.gov>
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 8AFF0120A34 for <dtn@ietfa.amsl.com>; Mon, 21 Oct 2019 15:03:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=jpl.nasa.gov
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 pBZQ4D1hg5Hl for <dtn@ietfa.amsl.com>; Mon, 21 Oct 2019 15:03:43 -0700 (PDT)
Received: from ppa02.jpl.nasa.gov (ppa02.jpl.nasa.gov [128.149.137.113]) (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 F0C681209F9 for <dtn@ietf.org>; Mon, 21 Oct 2019 15:03:41 -0700 (PDT)
Received: from pps.filterd (ppa02.jpl.nasa.gov [127.0.0.1]) by ppa02.jpl.nasa.gov (8.16.0.27/8.16.0.27) with SMTP id x9LM0IoE006546; Mon, 21 Oct 2019 15:03:41 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpl.nasa.gov; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=InSight1906; bh=tv72isM+/O712X5dvC9Lf0Ce6TSiu5+5kfORRugBUy0=; b=5gVm6dMjKvBicRwLD3gDezRoiY5JmEwpNDIyIl55Yry8Gco7vWTjvUgejcOJOu9Ht0Xv hgik75AVjuyRdp/X9s/JfQmKmezKTSSVZ4ODSeuiykA40anq91culhzHxuCDhRiw2b1i Nsl1dYUba4n0DatGkNO4ZVg5NioI6pBFJlm3wLcboIxgPaAIz9ziHIit6q21lovYjMQM dSRAdGf/6O+wdgeSbiKwfVVve9ovZn6I0tQt0y3NGf9c13lvRfWyAFkLGslt1GaDr3tn k3XFyWu7P7krUvwsASggqTdDlSEvTyr4kXxluQUde6kKvwPZ73lzQjoGSKsfXCqrVj72 rw==
Received: from mail.jpl.nasa.gov (altphysenclup03.jpl.nasa.gov [128.149.137.120]) by ppa02.jpl.nasa.gov with ESMTP id 2vr1nuxjq6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2019 15:03:41 -0700
Received: from ap-embx16-sp40.RES.AD.JPL (ap-embx16-sp40.jpl.nasa.gov [128.149.137.86]) by smtp.jpl.nasa.gov (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id x9LM3ePb028749 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128 bits) verified FAIL); Mon, 21 Oct 2019 15:03:40 -0700
Received: from ap-embx16-sp10.RES.AD.JPL (2002:8095:8953::8095:8953) by ap-embx16-sp40.RES.AD.JPL (2002:8095:8956::8095:8956) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 21 Oct 2019 15:03:40 -0700
Received: from ap-embx16-sp10.RES.AD.JPL ([fe80::4:f430:47b5:767b]) by ap-embx16-sp10.RES.AD.JPL ([fe80::4:f430:47b5:767b%17]) with mapi id 15.01.1591.008; Mon, 21 Oct 2019 15:03:40 -0700
From: "Burleigh, Scott C (US 312B)" <scott.c.burleigh@jpl.nasa.gov>
To: Brian Sipos <BSipos@rkf-eng.com>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: [dtn] I-D Action: draft-ietf-dtn-bpbis-15.txt
Thread-Index: AQHViFhqq70QTsmxuEGH+XOGl+Bb8Kdlo1Tg
Date: Mon, 21 Oct 2019 22:03:40 +0000
Message-ID: <e6b2f6aba5d147f8a5b887181e17b3c6@jpl.nasa.gov>
References: <157143257005.3981.3533833690193248544@ietfa.amsl.com> <MN2PR13MB3520B9C9215F45FA9DBBE5EC9F690@MN2PR13MB3520.namprd13.prod.outlook.com>
In-Reply-To: <MN2PR13MB3520B9C9215F45FA9DBBE5EC9F690@MN2PR13MB3520.namprd13.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [207.151.104.72]
Content-Type: multipart/alternative; boundary="_000_e6b2f6aba5d147f8a5b887181e17b3c6jplnasagov_"
MIME-Version: 1.0
X-Source-IP: ap-embx16-sp40.jpl.nasa.gov [128.149.137.86]
X-Source-Sender: scott.c.burleigh@jpl.nasa.gov
X-AUTH: Authorized
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-10-21_05:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910210207
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/8xfskZVGX6gb2dYih7AZxDeB2fI>
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: Mon, 21 Oct 2019 22:03:46 -0000

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