Re: [dtn] BPv7 bundle flags

Brian Sipos <BSipos@rkf-eng.com> Thu, 18 April 2019 20:42 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 244FE120387 for <dtn@ietfa.amsl.com>; Thu, 18 Apr 2019 13:42:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 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] 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 UjS4Xnq3s31d for <dtn@ietfa.amsl.com>; Thu, 18 Apr 2019 13:42:16 -0700 (PDT)
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-eopbgr700043.outbound.protection.outlook.com [40.107.70.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4FE92120397 for <dtn@ietf.org>; Thu, 18 Apr 2019 13:42:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rkfeng.onmicrosoft.com; s=selector1-rkfeng-com0i; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sECgwzyJtAz4fG3G5L/oN9vZVJolANRPqv0WZko+T7M=; b=ZpLTk17EBwZLQ8ojwATgLqTd4jrH050XP6XjB0mhJJa6sNehK8EmL7e9Fp39NLRkGg1iUo5JCevbWQDH36Un0c6WJawpZRqb1MteiyFohkuRgLzRdP/lzc1ikzezrwfn0dgoc/GIvKqhveD7ADsE1I5R8eemYSo6TU4Pb9iw0jk=
Received: from CY4PR1301MB2039.namprd13.prod.outlook.com (10.171.240.14) by CY4PR1301MB1928.namprd13.prod.outlook.com (10.171.223.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.6; Thu, 18 Apr 2019 20:42:14 +0000
Received: from CY4PR1301MB2039.namprd13.prod.outlook.com ([fe80::fc29:8356:128f:8aab]) by CY4PR1301MB2039.namprd13.prod.outlook.com ([fe80::fc29:8356:128f:8aab%7]) with mapi id 15.20.1813.011; Thu, 18 Apr 2019 20:42:14 +0000
From: Brian Sipos <BSipos@rkf-eng.com>
To: "Burleigh, Scott C (312B)" <scott.c.burleigh@jpl.nasa.gov>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: BPv7 bundle flags
Thread-Index: AQHU8hPmU2110ssDa0u6iOwFIgEuuaY9VfyggAUScjg=
Date: Thu, 18 Apr 2019 20:42:14 +0000
Message-ID: <CY4PR1301MB2039EF44F630F7BABB92217C9F260@CY4PR1301MB2039.namprd13.prod.outlook.com>
References: <004d51214bec07c40494ba6ecdfce32fd79e39bf.camel@rkf-eng.com>, <525347626b6c4606a6fe6b9d526ee27b@jpl.nasa.gov>
In-Reply-To: <525347626b6c4606a6fe6b9d526ee27b@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: [38.100.63.114]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 198271f3-1335-4916-4bb8-08d6c43e56e2
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(5600141)(711020)(4605104)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(2017052603328)(7193020); SRVR:CY4PR1301MB1928;
x-ms-traffictypediagnostic: CY4PR1301MB1928:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <CY4PR1301MB19285BABF79744FD9F10FDA69F260@CY4PR1301MB1928.namprd13.prod.outlook.com>
x-forefront-prvs: 0011612A55
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(39830400003)(366004)(136003)(13464003)(199004)(189003)(110136005)(80792005)(19627405001)(54896002)(9686003)(14444005)(99286004)(102836004)(81156014)(8676002)(66066001)(55016002)(6306002)(53936002)(26005)(3846002)(8936002)(81166006)(236005)(186003)(71190400001)(6436002)(6116002)(97736004)(33656002)(606006)(71200400001)(2906002)(7116003)(6506007)(11346002)(476003)(25786009)(229853002)(508600001)(256004)(74316002)(446003)(72206003)(105004)(966005)(86362001)(76176011)(14454004)(53546011)(7696005)(316002)(52536014)(2501003)(486006)(7736002)(68736007)(5660300002)(66446008)(6246003)(66556008)(64756008)(66476007)(66946007); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1301MB1928; H:CY4PR1301MB2039.namprd13.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: rkf-eng.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: W0MnjKr3sh7CXq1SC9MYi2VOJSiiigUH3NNNuSwrM3/X22GVRy9ZfYSuAlDMD6DwisMQCdBAAJtznZPFoqypK+Uxc4or2dGutCXmtIocrHpU8qS5WIUX82HLZRZj3O94lp5H9Bgjj71U4Yn8aAsdFdXuTGYQIji+5xDICFmoCbgNde17w9MqrGfYZcAnqe0Do+BLEeNb+t0UCCkWbQy5J5DKqZtG0+LcgjBwjOhw9M5WYzqYqqIeUh3iRRJ0SkTB84qArAug8/HFWuA8hDqFhrq7GumQbcBGpBzB2pqvVaYhyFHXF0ReLw4GdvBr9GDcbqhofQ4FrnX8nQro1IxGC3d0lY0z5sDQVLO9vbw075K2wQOEcYPEa5hHQW+weTOkknJ8kpejUawPtcULkKC0nKE3BnIz6UxTPFlIuxQTbzM=
Content-Type: multipart/alternative; boundary="_000_CY4PR1301MB2039EF44F630F7BABB92217C9F260CY4PR1301MB2039_"
MIME-Version: 1.0
X-OriginatorOrg: rkf-eng.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 198271f3-1335-4916-4bb8-08d6c43e56e2
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2019 20:42:14.2712 (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-Transport-CrossTenantHeadersStamped: CY4PR1301MB1928
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/X2rRS_qxFAi9jdZv5IZO_SMZhU8>
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: Thu, 18 Apr 2019 20:42:19 -0000

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>
Sent: Monday, April 15, 2019 11:23
To: Brian Sipos; 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>
Sent: Saturday, April 13, 2019 9:14 AM
To: Burleigh, Scott C (312B) <scott.c.burleigh@jpl.nasa.gov>; 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.