Re: [dtn] [EXTERNAL] Re: EID encoding (Was: Re: Convergence Layer Adapter - Endpoint IDs (CLA-EID))

"Clark, Gilbert J. (GRC-LCN0)" <gilbert.j.clark@nasa.gov> Tue, 10 December 2019 16:03 UTC

Return-Path: <gilbert.j.clark@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 B452C1201EA for <dtn@ietfa.amsl.com>; Tue, 10 Dec 2019 08:03:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level:
X-Spam-Status: No, score=-4.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nasa.gov header.b=dyNO1EhK; dkim=pass (1024-bit key) header.d=nasa.onmicrosoft.com header.b=xCJUKSvb
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 jEwCr2ml14Aj for <dtn@ietfa.amsl.com>; Tue, 10 Dec 2019 08:03:09 -0800 (PST)
Received: from ndjsvnpf104.ndc.nasa.gov (NDJSVNPF104.ndc.nasa.gov [198.117.1.154]) (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 C315D1200E5 for <dtn@ietf.org>; Tue, 10 Dec 2019 08:03:09 -0800 (PST)
X-Comment: SPF check N/A for local connections - client-ip=198.117.1.144; helo=ndjsppt202.ndc.nasa.gov; envelope-from=gilbert.j.clark@nasa.gov; receiver=loiseau.lucien@gmail.com
DKIM-Filter: OpenDKIM Filter v2.11.0 ndjsvnpf104.ndc.nasa.gov DE7264003563
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nasa.gov; s=letsgomars; t=1575993788; bh=NIeFnbOeb6OLodC8dIauoqjgLbYX7RmYF1fRiaNuiOo=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=dyNO1EhKbHPwViSL34qi6++guIFlLv0C1B7hvxnHmn2n1oP417YdCZ8DU2u+311IB A94ZQ3zNjao/fbHx2JtIeWuP4XfTf/akFQUh4uVVKrzk54Dxbs/FXXRzfeGygteGl/ 6U9WHUdjuvRCxbB0INdeP+9k0jjNyaLkyFqpzIhvou1m8ZtWsAv+1KSkeDsPM2bkYY cCi+HHHUlGv0/YSRuq0u3ti5MA6eA3RGCtu0BP4RKsaK9Jsimv3sF9sMwQ5sVD3Z/H FCw3xEiAZ8ejVP+agyovr/ss1f9s+sr47GuE7YQSboYSjXfsq4s0hB1l4Cww3SQfgx 52HCQmtU6pmzA==
Received: from ndjsppt202.ndc.nasa.gov (NDJSPPT202.ndc.nasa.gov [198.117.1.144]) by ndjsvnpf104.ndc.nasa.gov (Postfix) with ESMTP id DE7264003563; Tue, 10 Dec 2019 10:03:08 -0600 (CST)
Received: from pps.filterd (ndjsppt202.ndc.nasa.gov [127.0.0.1]) by ndjsppt202.ndc.nasa.gov (8.16.0.27/8.16.0.27) with SMTP id xBAG0fV0131278; Tue, 10 Dec 2019 10:03:08 -0600
Received: from autodiscover.nasa.gov (ndjscht104-sc.ndc.nasa.gov [198.117.1.174]) by ndjsppt202.ndc.nasa.gov with ESMTP id 2wsx9mkbxq-6; Tue, 10 Dec 2019 10:03:08 -0600
Received: from GCC02-DM3-obe.outbound.protection.outlook.com (104.47.65.102) by autodiscover.nasa.gov (198.117.1.204) with Microsoft SMTP Server (TLS) id 14.3.468.0; Tue, 10 Dec 2019 10:00:00 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VogsPkd69SO5L4xf8nEXLm9OvbvRwbc8M3/HsUq8I/8f8UkR38fJ+PR9DyRzuLW1tNScDiLR9CSreRBRBM4XBWTbdWHN9egcLBZda6cydunZFLWBpw+d5GwgFNZL1zIF6EWPecO+vkQ5mdD0uVYIZg120AwUwfiR7TH2MXxPIdA3lSvOtP0fcIol4HAeAfDlrhPLmywpZuZF65BeSHVU2FVEinRMsBEwwbrX7jBRicZfUKwEmIdKLPwgrua+YPKu8BeD8BZwhJf98GjWG2Xx7S3n+TGZroikxeRXVNWpwNg5uJFTafcuORkgeRm/qCc90RAXeDrZ2ngowRGwzW+qJA==
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=NIeFnbOeb6OLodC8dIauoqjgLbYX7RmYF1fRiaNuiOo=; b=NBKFesj4LeWBWj9z90ewncAacC8KYXh2P+d1YA/C1eIc1Xh3xsoFedqFkirBUmMBZW5dX3p5/cJWZIfTv6P8T6A3Qi0H5vYtzsEtjj31GGr2OJgLvvf4ldPIlBplg3YcgCtjbd/wEo/1uplLeNFtTbgMmRhby3R+5/sOXaicyquolhBslwywVQWLVYM4lSCdL5GrG9SwEqTGLBS764j0IHE5waZCmyEp2GBC7WFNjyHs2QyPlSIMNumBymcC5mIrmvcQm3WtvVwNmg0BY58wXun6Z4naZ2MexynG0nDeyPDUgRxlVl10SSi4Mkqpco1FzrZQ1qvyfpykPib/wCU2MA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nasa.gov; dmarc=pass action=none header.from=nasa.gov; dkim=pass header.d=nasa.gov; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nasa.onmicrosoft.com; s=selector2-nasa-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NIeFnbOeb6OLodC8dIauoqjgLbYX7RmYF1fRiaNuiOo=; b=xCJUKSvbQHYHCosIidZ8mVWsuGc+h6ATM2lq0smnTz2Nq1hbKSe/yrtdbPCfnmLwikr6PCJ6c9OTy5oTDySweDouSJqpdLSp34Vd9OyE0ydk8yghE7Glg5H94jsH92HeKY0Oep2eJaE0kqH0KuzD7y63DZBgIb6Hwc5NLgU55xE=
Received: from DM6PR09MB4025.namprd09.prod.outlook.com (10.141.166.147) by DM6PR09MB4336.namprd09.prod.outlook.com (20.179.227.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.14; Tue, 10 Dec 2019 15:59:58 +0000
Received: from DM6PR09MB4025.namprd09.prod.outlook.com ([fe80::64e9:7874:e72d:46dd]) by DM6PR09MB4025.namprd09.prod.outlook.com ([fe80::64e9:7874:e72d:46dd%6]) with mapi id 15.20.2516.013; Tue, 10 Dec 2019 15:59:58 +0000
From: "Clark, Gilbert J. (GRC-LCN0)" <gilbert.j.clark@nasa.gov>
To: Loiseau lucien <loiseau.lucien@gmail.com>
CC: Brian Sipos <BSipos@rkf-eng.com>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: [EXTERNAL] Re: EID encoding (Was: Re: [dtn] Convergence Layer Adapter - Endpoint IDs (CLA-EID))
Thread-Index: AQHVrm3Iry8Dv2IqFkiN6VqgGJMDi6eyq2mAgACJpoA=
Date: Tue, 10 Dec 2019 15:59:58 +0000
Message-ID: <A6EC1B2E-4DD4-472F-89AF-7FD41C21F052@nasa.gov>
References: <7B25D10D-6849-49A4-97A4-D91A84ECAA9E@nasa.gov> <CANoKrvbWr7ANmCVfO0yboeAUYjddP6rt7-Up6BDt6C0zM30-Kg@mail.gmail.com>
In-Reply-To: <CANoKrvbWr7ANmCVfO0yboeAUYjddP6rt7-Up6BDt6C0zM30-Kg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1f.0.191110
x-originating-ip: [192.92.192.65]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 72b323a6-5a75-4f7f-31f2-08d77d8a01a8
x-ms-traffictypediagnostic: DM6PR09MB4336:
x-microsoft-antispam-prvs: <DM6PR09MB43369480710AAFE4316E16F9C95B0@DM6PR09MB4336.namprd09.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 02475B2A01
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(136003)(346002)(376002)(366004)(189003)(199004)(91956017)(76116006)(53546011)(6506007)(66946007)(66556008)(66446008)(66476007)(64756008)(6512007)(2616005)(478600001)(4326008)(86362001)(6916009)(8936002)(8676002)(81156014)(81166006)(54906003)(2906002)(186003)(316002)(33656002)(5660300002)(6486002)(26005)(36756003)(71200400001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR09MB4336; H:DM6PR09MB4025.namprd09.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: nasa.gov does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ak3AxqjGPTqFTD0TB6EIlY6s/xIY7SJ7jPy762e+Q1PE9DMXLNdiWU0wDE5jMNq8dXloLm0chv8NlZV9NrJjt8ljUO49ZqBkP9dnrrtRSlPTXIKeQ74gxyne+H+HIAy3GRgIzne/Ht7+WyD+ZejbjrEU5I6pAi4BckQCl7SnwnRQh4OGvd3BGL5a/UtRf9MkzSsUXfZ9A0PdU5N5lhQjOBuDNQ7DqpUZgFm5V3DsQB0eHAbHIpgJa+Y9KXh1pPs4oHAzubF8osPE7bRakjpbV0eFvSGtiz6dqjIxiRccRKkcvXguuTV7E6PTk6vli++iQyMMJJCzdNhwhyrriqurblHO5FmuKaGUt2LFQk9u8piww/rATCGcQ2PtqbXnPN8z4ayg0pW3cOOZcBQBlmqeEDqev+EaQGf6qeuosUfMaFldBATUBV12ENv3QybhNqDW
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_A6EC1B2E4DD4472F89AF7FD41C21F052nasagov_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 72b323a6-5a75-4f7f-31f2-08d77d8a01a8
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2019 15:59:58.1683 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 7005d458-45be-48ae-8140-d43da96dd17b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: YuGGd/XXCfUPSdP0t28ZVL01dWrAMbi708X9kIQ52HPOkpnKcRBV1xg5rfhFAm0yW8DJ0KeCQTK5tMmG9CYnDA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR09MB4336
X-OriginatorOrg: nasa.gov
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-12-10_04:, , signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/giOv_omcBs-4FxJe5tQsoByWH3s>
Subject: Re: [dtn] [EXTERNAL] Re: EID encoding (Was: Re: Convergence Layer Adapter - Endpoint IDs (CLA-EID))
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, 10 Dec 2019 16:03:12 -0000

I don’t have a strong opinion for or against an IANA reservation described below.  If it would be useful, that seems fine.

However, in response to “RFC doesn’t say how to deal with a scheme that has no encoding definition”, my reading of the draft in this instance would go as follows:

Per 5.4, “Step 2: The bundle protocol agent MUST determine whether or not forwarding is contraindicated for any of the reasons listed in Figure 4.”

In Figure 4, listed under 6.1.1, reason code 5 is listed as “Destination endpoint ID unintelligible.“

As such, in the event that a destination EID is unintelligible (e.g. unknown scheme), my expectation would be that forwarding would be contraindicated and section 5.4.1 would apply.  In the event the scheme for a different EID isn’t understood, then I think it becomes an implementation question … but given that CBOR specifies the length of the field, I do not think it would have a negative impact on bundle decoding in the abstract.  As such, I think the behavior in such a case could be safely addressed as an implementation detail.

I expect someone will correct the above if / as needed, but … this is my interpretation of the current version of the draft.

-Gilbert

The views expressed in this mail reflect the opinions of the author.  They are, therefore, not intended to reflect official positions of NASA or the U.S. Government.


From: Loiseau lucien <loiseau.lucien@gmail.com>
Date: Monday, December 9, 2019 at 9:47 PM
To: "Clark, Gilbert J. (GRC-LCN0)" <gilbert.j.clark@nasa.gov>
Cc: Brian Sipos <BSipos@rkf-eng.com>, "dtn@ietf.org" <dtn@ietf.org>
Subject: [EXTERNAL] Re: EID encoding (Was: Re: [dtn] Convergence Layer Adapter - Endpoint IDs (CLA-EID))

Hi,

I agree that this may be beneficial for device with strong computing limitation. Still the RFC doesn't say how to deal with a scheme that has no encoding definition. Assuming that because this node doesn't know such definition it should drop this bundle would go against the late binding principle (maybe this scheme is only relevant once it has reached a certain region).

If we don't want to have string representation for EID, maybe we could reserve an IANA number for unknown or experimental EID scheme (say 254). In that case, encoding of an unknown EID would be the 2-tuples consisting of cbor integer 254 followed by a cbor text string representation of the entire EID (scheme included otherwise this information is lost). Node unwilling to perform string processing would simply drop or forward blindly this bundle to a more capable node.

What do you think?

On Mon, Dec 9, 2019 at 4:51 PM Clark, Gilbert J. (GRC-LCN0) <gilbert.j.clark@nasa.gov<mailto:gilbert.j.clark@nasa.gov>> wrote:
Hi,

Extracting a very small piece of this text for additional conversation and transplanting into a new thread here…

So we would have to wait for IANA to approve the scheme and then update the code in all of bundle node, seems like a lot of unnecessary bureaucracy, why not just a string for encoding EIDs?

The benefit of encoding this way is that it avoids string processing in the general case.  I personally see this as a feature, not a bug.

Cheers,
Gilbert

The views expressed in this mail reflect the opinions of the author.  They are, therefore, not intended to reflect official positions of NASA or the U.S. Government.



--
Lucien Loiseau