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

"Burleigh, Scott C (US 312B)" <scott.c.burleigh@jpl.nasa.gov> Wed, 18 December 2019 21:47 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 6914112001A for <dtn@ietfa.amsl.com>; Wed, 18 Dec 2019 13:47:37 -0800 (PST)
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=unavailable 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 8xNTd0obM-vm for <dtn@ietfa.amsl.com>; Wed, 18 Dec 2019 13:47:36 -0800 (PST)
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 0073B120089 for <dtn@ietf.org>; Wed, 18 Dec 2019 13:47:35 -0800 (PST)
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 xBILj9t6130872; Wed, 18 Dec 2019 13:47:29 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpl.nasa.gov; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=InSight1906; bh=AhrGvM3BYuLEFb1leL58aN8nx0JExACqXcxznsaPJQM=; b=sk6aUiZwgz4pCABbfms0UQb0lEfkKH4MwmJAm6BZ5YiZqarOjmZHmWPCAX1nHe/MZYPE 3nDsD0bvUXUUy2l/qOVaPe1cGh/X/eO8nyrOo9g3mcpFyyO3yDxnDVVNb1f5rdWH5b92 LRWbhvGVuT5CqacvpVuHcYfG7d1UmMKh9eIJuQ1lFijTFoPBWugMXq9hjvh+kCiPX8/W SbyfscXny4Gp9kn+6zwSMtE01Godlk5nbn5vZ+jKGLBqjRnEopO1yDijnQamKLwwHLLg Wi7ZOceP3d5LGrW9U3HVICUu14hj16jsbwNFbTkfYTMPunOz7C22F2pMLtjoFyCA3fhV Og==
Received: from mail.jpl.nasa.gov (altphysenclup02.jpl.nasa.gov [128.149.137.53]) by ppa01.jpl.nasa.gov with ESMTP id 2wyjbckmtc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Dec 2019 13:47:29 -0800
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 xBILlSe8006322 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128 bits) verified FAIL); Wed, 18 Dec 2019 13:47:28 -0800
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; Wed, 18 Dec 2019 13:47:28 -0800
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; Wed, 18 Dec 2019 13:47:27 -0800
From: "Burleigh, Scott C (US 312B)" <scott.c.burleigh@jpl.nasa.gov>
To: "Clark, Gilbert J. (GRC-LCN0)" <gilbert.j.clark=40nasa.gov@dmarc.ietf.org>, Loiseau lucien <loiseau.lucien@gmail.com>
CC: Brian Sipos <BSipos@rkf-eng.com>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: [dtn] [EXTERNAL] Re: EID encoding (Was: Re: Convergence Layer Adapter - Endpoint IDs (CLA-EID))
Thread-Index: AQHVr3NYe3e2bIJs10WOId5gaAyDRqfAc+iA
Date: Wed, 18 Dec 2019 21:47:27 +0000
Message-ID: <580fdae5427442d887606d52c4824839@jpl.nasa.gov>
References: <7B25D10D-6849-49A4-97A4-D91A84ECAA9E@nasa.gov> <CANoKrvbWr7ANmCVfO0yboeAUYjddP6rt7-Up6BDt6C0zM30-Kg@mail.gmail.com> <A6EC1B2E-4DD4-472F-89AF-7FD41C21F052@nasa.gov>
In-Reply-To: <A6EC1B2E-4DD4-472F-89AF-7FD41C21F052@nasa.gov>
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_580fdae5427442d887606d52c4824839jplnasagov_"
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-12-18_07:, , 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-1911140001 definitions=main-1912180166
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/Fa37cIka78H4wG1RrY39YF4eXJE>
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: Wed, 18 Dec 2019 21:47:37 -0000

Lucien, I agree with Gilbert on this (the “late binding” principle refers to the binding of BP EIDs to convergence-layer endpoints; the destination EID should always be intelligible to every BP node on the end-to-end path) and also on his earlier “feature, not a bug” post.  Experimental EID schemes are fine, but if they are experimental then the corresponding experimental BP implementations can be designed to handle them.

We already have a pretty general mechanism for EIDs that are represented as strings: the “dtn” scheme.  I don’t think there’s a document anywhere that mandates any particular syntactic structure for the scheme-specific part of a dtn-scheme EID.  In BPv7 we simply encode such an EID as a 2-tuple comprising CBOR integer 1 followed by a CBOR text string, exactly as you propose for unknown/experimental.

Actually I think the CLA EID concept constitutes a more profound challenge to the DTN late binding principle: a bundle whose destination EID is coded in the CLA scheme would be bound to a particular convergence-layer endpoint at the moment of creation, and it would therefore become undeliverable if the destination node got bound to a different CL endpoint while the bundle was in transit.  This is exactly the problem that late binding was intended to address.

Put another way, doesn’t the CLA EID scheme make the user application responsible for knowing about, and selecting, convergence-layer protocol endpoints at the destination node?  I don’t know of any operational use cases where this would be helpful; can you describe some?

Scott

From: dtn <dtn-bounces@ietf.org> On Behalf Of Clark, Gilbert J. (GRC-LCN0)
Sent: Tuesday, December 10, 2019 8:00 AM
To: Loiseau lucien <loiseau.lucien@gmail.com>
Cc: Brian Sipos <BSipos@rkf-eng.com>; dtn@ietf.org
Subject: Re: [dtn] [EXTERNAL] Re: EID encoding (Was: Re: Convergence Layer Adapter - Endpoint IDs (CLA-EID))

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<mailto:loiseau.lucien@gmail.com>>
Date: Monday, December 9, 2019 at 9:47 PM
To: "Clark, Gilbert J. (GRC-LCN0)" <gilbert.j.clark@nasa.gov<mailto:gilbert.j.clark@nasa.gov>>
Cc: Brian Sipos <BSipos@rkf-eng.com<mailto:BSipos@rkf-eng.com>>, "dtn@ietf.org<mailto:dtn@ietf.org>" <dtn@ietf.org<mailto: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