Re: [dtn] BPv7 bundle flags

"Burleigh, Scott C (312B)" <scott.c.burleigh@jpl.nasa.gov> Sat, 20 April 2019 23:24 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 26BE612014F for <dtn@ietfa.amsl.com>; Sat, 20 Apr 2019 16:24:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 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_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 aBJYoLSJcjdg for <dtn@ietfa.amsl.com>; Sat, 20 Apr 2019 16:24:28 -0700 (PDT)
Received: from ppa01.jpl.nasa.gov (ppa01.jpl.nasa.gov [128.149.137.112]) (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 A0AFF120046 for <dtn@ietf.org>; Sat, 20 Apr 2019 16:24:28 -0700 (PDT)
Received: from pps.filterd (ppa01.jpl.nasa.gov [127.0.0.1]) by ppa01.jpl.nasa.gov (8.16.0.27/8.16.0.27) with SMTP id x3KNKBFq143543; Sat, 20 Apr 2019 16:24:27 -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=JPL1810; bh=1AvnUqaQmj9sbfeTrwIy1dhL2nUK7X1pSRO4SUJgQv8=; b=YqSD6VbvTYG6kFE83uFuWFPOV5SimKSV5xZu7FST7FrmmjskxMyGUIchqjwdQGdRzIAr IQSscE0X9Wq6qRLU93UNtnf4WrqIsDNbIHrKHHFwce05vyr1QWV5zNPbO0RYST1aSB/o kV0q9xZuOpvH7N05aK2HrdOljrGyFzOr2XF6LLOvsIrVCIzyh/HZ3elpfYSbRQMoOIh0 4zQZlo2wuX/EujUJ+WudAOU9OUZDFdbOl3k7aMwsdv6y5gUZk84RM3GZxog93eVee5PS GDPSvGSdejupGfbwOkw+2Qz+fiNvx87t7HsEy6d/5lfWjBsf7iG6o6eOLp12TEvuZCAe pQ==
Received: from mail.jpl.nasa.gov (altphysenclup02.jpl.nasa.gov [128.149.137.53]) by ppa01.jpl.nasa.gov with ESMTP id 2s00h8sf0u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 20 Apr 2019 16:24:26 -0700
Received: from ap-embx16-sp20.RES.AD.JPL (ap-embx16-sp20.jpl.nasa.gov [128.149.137.84]) by smtp.jpl.nasa.gov (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id x3KNOQ5S004063 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128 bits) verified FAIL); Sat, 20 Apr 2019 16:24:26 -0700
Received: from ap-embx16-sp10.RES.AD.JPL (2002:8095:8953::8095:8953) by ap-embx16-sp20.RES.AD.JPL (2002:8095:8954::8095:8954) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Sat, 20 Apr 2019 16:24:25 -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; Sat, 20 Apr 2019 16:24:25 -0700
From: "Burleigh, Scott C (312B)" <scott.c.burleigh@jpl.nasa.gov>
To: Brian Sipos <BSipos@rkf-eng.com>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: BPv7 bundle flags
Thread-Index: AQHU8hPmU2110ssDa0u6iOwFIgEuuaY9VfyggAUScjiAAA9SwIADDuUAgAAy7yA=
Date: Sat, 20 Apr 2019 23:24:25 +0000
Message-ID: <bd14bf8a9a364e97b6fd5c520229788b@jpl.nasa.gov>
References: <004d51214bec07c40494ba6ecdfce32fd79e39bf.camel@rkf-eng.com> ,<525347626b6c4606a6fe6b9d526ee27b@jpl.nasa.gov> <CY4PR1301MB2039EF44F630F7BABB92217C9F260@CY4PR1301MB2039.namprd13.prod.outlook.com> <09fc30d27aa24c4ea6a2e76276c798a5@jpl.nasa.gov> <ef8bdc92493c04dfeb5679391cb97d0fb67707be.camel@rkf-eng.com>
In-Reply-To: <ef8bdc92493c04dfeb5679391cb97d0fb67707be.camel@rkf-eng.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_bd14bf8a9a364e97b6fd5c520229788bjplnasagov_"
MIME-Version: 1.0
X-Source-IP: ap-embx16-sp20.jpl.nasa.gov [128.149.137.84]
X-Source-Sender: scott.c.burleigh@jpl.nasa.gov
X-AUTH: Authorized
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-20_08:, , 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904200178
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/IgcwojrAlNuPe2JHYxXGk3W9JCA>
Subject: Re: [dtn] BPv7 bundle flags
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: Sat, 20 Apr 2019 23:24:32 -0000

Wups, I misread my own writing.  You are right:  we need a sentence that says “Implicitly, block number zero always refers to the primary block.”  And the existing sentence in 4.2.3 needs to be revised to say “The block number of the payload block is always 1.”  I’ll make those changes to the draft before I re-post it with the revised CDDL.

Scott

From: Brian Sipos <BSipos@rkf-eng.com>
Sent: Saturday, April 20, 2019 1:13 PM
To: Burleigh, Scott C (312B) <scott.c.burleigh@jpl.nasa.gov>; dtn@ietf.org
Subject: [EXTERNAL] Re: BPv7 bundle flags

Scott,
It seems like we are talking about two different things.
You correctly quote the I-D but that says that the block number of the payload block is zero, not the primary block. Is that statement supposed to apply to the primary block in to give it an implicit block number zero? Does this mean that the payload block has an explicit (and arbitrary) block number?

I think both of those make sense if true, which means the statement in 4.2.3. should be moved into 4.2.2. "Primary Block" and mention that the block number is an implicit value rather than an encoded value. This would also affect the CDDL definition which I posted earlier.

On Thu, 2019-04-18 at 21:32 +0000, Burleigh, Scott C (312B) wrote:
Hi, Brian.  I think we are covered here: the last sentence of the second bullet of 4.2.3 of the bpbis I-D says that the block number of the payload block is always zero.

Scott

From: Brian Sipos <BSipos@rkf-eng.com<mailto:BSipos@rkf-eng.com>>
Sent: Thursday, April 18, 2019 1:42 PM
To: Burleigh, Scott C (312B) <scott.c.burleigh@jpl.nasa.gov<mailto:scott.c.burleigh@jpl.nasa.gov>>; dtn@ietf.org<mailto:dtn@ietf.org>
Subject: [EXTERNAL] Re: BPv7 bundle flags

Ok thank you; this makes sense. There does seem to be a discrepancy between what you've stated (which matches [1]) and the fact that the primary block does not have an explicit "block number" associated with it. It seems that currently there is no way for a BIB to apply to the primary block (how is it identified as a target?)

Should there be an implicit psedudo-block-number assigned to the primary block? Or should there be some mechanism specified in [1] on how to target the primary block? Is applying a BIB to the primary block something that has already been accommodated for in BPSEC?
Unfortunately, the examples in [2] do not actually show an encoded form, so there is no way to see how BIB-covering-primary-block is intended to be encoded...

Thanks,
Brian S.

[1]: https://tools.ietf.org/html/draft-ietf-dtn-bpsec-10#section-3.6
[2]: https://tools.ietf.org/html/draft-ietf-dtn-bpsec-10#section-3.11.1
________________________________
From: Burleigh, Scott C (312B) <scott.c.burleigh@jpl.nasa.gov<mailto:scott.c.burleigh@jpl.nasa.gov>>
Sent: Monday, April 15, 2019 11:23
To: Brian Sipos; dtn@ietf.org<mailto:dtn@ietf.org>
Subject: RE: BPv7 bundle flags

Hi, Brian.  People have been asking for something like a Manifest block for several years, but there has never been quite enough energy to get one defined.  So that flag is intended to support a notional future capability.

As I recall, the intent of this capability was to ensure that a certain type of bundle tampering - removal of one or more extension blocks - would be detectable; only a Manifest extension block, protected by a BIB signed by the source node, could accomplish this.  But the one bit of tampering that a signed Manifest block could not detect would be removal of the Manifest block itself.  [Replacement of the Manifest block with a bogus manifest would be detectable due to lack of a BIB signed by the source node.]  The way to make this detectable would be to set a flag in the primary block and (as usual) protect the primary block with a BIB signed by the source node.

So I think a good case can be made for retaining that flag and adding definition of the Manifest block to the charter of the DTN WG once our first round of document are well on their way.  But if the consensus of the WG is otherwise then I will happily revise the BPbis spec.

Scott

-----Original Message-----
From: Brian Sipos <BSipos@rkf-eng.com<mailto:BSipos@rkf-eng.com>>
Sent: Saturday, April 13, 2019 9:14 AM
To: Burleigh, Scott C (312B) <scott.c.burleigh@jpl.nasa.gov<mailto:scott.c.burleigh@jpl.nasa.gov>>; dtn@ietf.org<mailto:dtn@ietf.org>
Subject: [EXTERNAL] BPv7 bundle flags

Scott,
As of BPbis -12 draft, there is a bundle flag "bundle contains a Manifest block" which seems to not really serve any purpose, especially because the block type is not defined in the draft. The other flags indicate how the bundle is to be handled or reported-about, but I don't see what this flag is supposed to influence. If the bundle does in fact contain a manifest block then that should be evident from the presence of that block type itself.

Should this flag really be defined in bpbis, or just reserved for later use? And is there really a use for a flag even when the block type is defined?
Thanks,
Brian S.