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

Felix Walter <felix.walter@d3tn.com> Tue, 22 October 2019 06:41 UTC

Return-Path: <felix.walter@d3tn.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 B7240120B0D for <dtn@ietfa.amsl.com>; Mon, 21 Oct 2019 23:41:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 ZjSGi0PMwmaI for <dtn@ietfa.amsl.com>; Mon, 21 Oct 2019 23:41:35 -0700 (PDT)
Received: from smtp.innovailable.eu (smtp.innovailable.eu [176.9.147.117]) by ietfa.amsl.com (Postfix) with ESMTP id 014D6120B0C for <dtn@ietf.org>; Mon, 21 Oct 2019 23:41:34 -0700 (PDT)
Received: from [141.76.40.228] (unknown [141.76.40.228]) by smtp.innovailable.eu (Postfix) with ESMTPSA id 301AF4C706E0 for <dtn@ietf.org>; Tue, 22 Oct 2019 08:41:32 +0200 (CEST)
To: dtn@ietf.org
References: <157143257005.3981.3533833690193248544@ietfa.amsl.com> <MN2PR13MB3520B9C9215F45FA9DBBE5EC9F690@MN2PR13MB3520.namprd13.prod.outlook.com> <e6b2f6aba5d147f8a5b887181e17b3c6@jpl.nasa.gov>
From: Felix Walter <felix.walter@d3tn.com>
Organization: D3TN GmbH
Message-ID: <4bca671c-1802-e84f-958e-90fbd35c3080@d3tn.com>
Date: Tue, 22 Oct 2019 08:41:31 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1
MIME-Version: 1.0
In-Reply-To: <e6b2f6aba5d147f8a5b887181e17b3c6@jpl.nasa.gov>
Content-Type: multipart/alternative; boundary="------------7CA7E4A6235D174D85E535C6"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/4C87-95ZYqqyaA7M6eopVaJRVns>
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 06:41:38 -0000

Dear Scott,

I agree with your proposed update to the text. This reflects how we
understood it previously and have implemented it in uPCN. Works quite
well for us.

Felix

On 22.10.19 00:03, Burleigh, Scott C (US 312B) wrote:
>
> 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
>
>
> _______________________________________________
> dtn mailing list
> dtn@ietf.org
> https://www.ietf.org/mailman/listinfo/dtn