Re: [dtn] DTN addressing, routing, and ownership

"Burleigh, Scott C (US 312B)" <scott.c.burleigh@jpl.nasa.gov> Wed, 15 July 2020 19:20 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 58D453A0F0C for <dtn@ietfa.amsl.com>; Wed, 15 Jul 2020 12:20:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, FROM_GOV_DKIM_AU=-0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=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 4dQcBJyIecLL for <dtn@ietfa.amsl.com>; Wed, 15 Jul 2020 12:20:41 -0700 (PDT)
Received: from ppa02.jpl.nasa.gov (ppa02.jpl.nasa.gov [128.149.137.113]) (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 5A0B83A0F0A for <dtn@ietf.org>; Wed, 15 Jul 2020 12:20:41 -0700 (PDT)
Received: from pps.filterd (ppa02.jpl.nasa.gov [127.0.0.1]) by ppa02.jpl.nasa.gov (8.16.0.27/8.16.0.27) with SMTP id 06FJK0nZ162928; Wed, 15 Jul 2020 12:20:40 -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=InSight1906; bh=TBGkC3Hw9kJgRa+izehfNiSjrH4phhx5eJUo5NUtW58=; b=S2/qJCAExkQa4jp1D7QGjpLHL6OUKAgZ7dUHQxIy6w55F050qjnfPb8kfiBl9oBAxaRF /vNzSJldFO1pyP6B/klIym/aBW0uehdmsDNznT/NhhPAchjIsjg52whbfm/jRS5zVjLk S/yxnabHL2yIgjv/nNunuzOtQ3ZIjuD49AojGcHyEq2GNgjCy6g7pZcyLs6BegQBYOUU 7Mxjbb+7L6AI4kXZ2OxajTotPT3kdv5zUUcYxB4f+ukXL+TM2rvMCCfvURFQoxeaPdW9 4D0lbkRjaIqlEd1hwPo09fxLu2M2mhoPL4nm0XigaEyoZfeKyTQSpHYQbe/RsvEa/7b0 lg==
Received: from mail.jpl.nasa.gov (altphysenclup03.jpl.nasa.gov [128.149.137.120]) by ppa02.jpl.nasa.gov with ESMTP id 32a7q680b5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Jul 2020 12:20:40 -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 06FJKdaw013849 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128 bits) verified FAIL); Wed, 15 Jul 2020 12:20:39 -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.1979.3; Wed, 15 Jul 2020 12:20:39 -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.1979.003; Wed, 15 Jul 2020 12:20:38 -0700
From: "Burleigh, Scott C (US 312B)" <scott.c.burleigh@jpl.nasa.gov>
To: Brian Sipos <BSipos@rkf-eng.com>, "Birrane, Edward J." <Edward.Birrane@jhuapl.edu>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: DTN addressing, routing, and ownership
Thread-Index: AQHWTVTx85boqEKc/0KX1l4tcd8Z7ajwYw9ggACsSIuAADE/cIAARK9GgABMkECAAJD44IAAVUhXgAAMdtCAAMyxRIACstXggAg0BAKAAQM/gIABjETAgACM80CAADFSkIADvs7AgAAaEOCAAArhdoAAH3vwgAAoUtuAAAIQAIAAK+gQgAL0JqA=
Date: Wed, 15 Jul 2020 19:20:29 +0000
Message-ID: <ae30420b30bc4403bd94da623b9cfc1f@jpl.nasa.gov>
References: <MN2PR13MB356748622EBD29B0028737E19F910@MN2PR13MB3567.namprd13.prod.outlook.com>, <095534b510e44eeebe2d02865eafd10d@jpl.nasa.gov> <MN2PR13MB3567754EE9D8D3C7D19DBD259F6F0@MN2PR13MB3567.namprd13.prod.outlook.com>, <631c36b735934d7eb0df5873536b6ee4@jpl.nasa.gov> <MN2PR13MB35671B6724A93836F3F94F2C9F6F0@MN2PR13MB3567.namprd13.prod.outlook.com> <6990ef88820a400f8c3be2c33310c5f6@jpl.nasa.gov>, <38A5475DE83986499AEACD2CFAFC3F9801F585B226@tss-server1.home.tropicalstormsoftware.com> <MN2PR13MB356752E2F1BBB69FDDA274E79F6C0@MN2PR13MB3567.namprd13.prod.outlook.com>, <0e03648eb66849a68193d5a2e1ebcf3e@jpl.nasa.gov> <MN2PR13MB35670F9E35992C2008683B2B9F6D0@MN2PR13MB3567.namprd13.prod.outlook.com>, <d52af6dc5d4b4ec5a1fb9473598ea579@jpl.nasa.gov> <MN2PR13MB3567A58E070E00DCE177002C9F640@MN2PR13MB3567.namprd13.prod.outlook.com> <df0be49bf9124bcdbb8e0e74c510c280@jpl.nasa.gov> <38A5475DE83986499AEACD2CFAFC3F9801F585C2CF@tss-server1.home.tropicalstormsoftware.com> <058a85379305497fa5fadde67b83f9ad@jpl.nasa.gov> <6becf7a7504540c38e6a16c25ec870bd@aplex01.dom1.jhuapl.edu> <38A5475DE83986499AEACD2CFAFC3F9801F585C7D1@tss-server1.home.tropicalstormsoftware.com>, <86815474597745198fbc50366b7e27a3@aplex01.dom1.jhuapl.edu> <54b9f12780ce4e778be3912d7945ae57@dlr.de>, <38A5475DE83986499AEACD2CFAFC3F9801F585C86C@tss-server1.home.tropicalstormsoftware.com> <679817635918483c9d6cd5bbfcfe878e@dlr.de>, <d922e5d2ca544d239351ba8a3fbf4cbb@aplex01.dom1.jhuapl.edu> <MN2PR13MB35677BCF4404BB7B1A24859B9F7E0@MN2PR13MB3567.namprd13.prod.outlook.com>
In-Reply-To: <MN2PR13MB35677BCF4404BB7B1A24859B9F7E0@MN2PR13MB3567.namprd13.prod.outlook.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_ae30420b30bc4403bd94da623b9cfc1fjplnasagov_"
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:6.0.235, 18.0.687 definitions=2020-07-15_12:2020-07-15, 2020-07-15 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-2006250000 definitions=main-2007150148
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/0FOu0UdCYChyYR1nloLHoEXWVLM>
Subject: Re: [dtn] DTN addressing, routing, and ownership
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, 15 Jul 2020 19:20:45 -0000

Brian, one note of clarification: BP EIDs are not necessarily encoded as URLs (e.g., the ipn-scheme EIDs are not URLs).  They're URIs, per 4.1.5.1, so both URLs and URNs can be accommodated; we just have to work out the details.  As you say, the fact that a dtn-scheme EID is encoded to look like a URL instead of URN is a fact of life at this point.

Speaking of CoAP, you might want to check out the taraCoAP work from Antara Teknik, which is intended to provide a RESTful interface for DTN.  They've got a fully functional prototype but I don't think anybody has deployed it yet.

Scott

From: dtn <dtn-bounces@ietf.org> On Behalf Of Brian Sipos
Sent: Wednesday, July 15, 2020 9:44 AM
To: Birrane, Edward J. <Edward.Birrane@jhuapl.edu>; dtn@ietf.org
Subject: [EXTERNAL] Re: [dtn] DTN addressing, routing, and ownership

The semantics of DTN EID URIs are very similar in concept to the URN behavior [1], in that an EID itself must be resolved to some kind of CL access/transport mechanism to be "usable" in any sense other than just an identifier. The fact that an EID is encoded as a URL instead of URN seems to be historical and just a fact of life at this point.

In that same light though, EIDs could be augmented (without changing the basic URL encoding behavior) to indicate intrinsic CL parameters. For example:
dtn://nodeA/svc1?cl=tcpcl,host=dtn.example.com,port=4556
could resolve to using TCPCL by initiating a session with "dtn.example.com" and transferring a bundle.
The point and benefit of using this kind of 'resolution helper' URI query is that it doesn't actually modify the base EID which is had by just removing query part of the URI. And all of this can be done with existing tools, nothing specialized to DTN.

COAP uses augmented schemes for alternate transports [2], but that is required because COAP URLs already make use of the URI query part so transport options can't collide with those. Using DTN query part for CL parameters allows a lot more flexibility for parameterizing the CL use, not that the flexibility is strictly needed. My feeling is that the using the query part to resolve the URI also fits in line with how the URN resolution [1] already works.

If the goal really is to use a DNS-name as the node name itself, the query semantics could be defined so that the lack of a "host" parameter treats the node name as the host name. For example:
dtn://dtn.example.com/svc1?cl=tcpcl

I would love to see this kind of thing in a concrete proposal, including a registry of named convergence layers (which doesn't yet exist but I've seen hinted at in some other documents).

[1] https://tools.ietf.org/html/rfc8141
[2] https://tools.ietf.org/html/rfc8323


________________________________
From: dtn <dtn-bounces@ietf.org<mailto:dtn-bounces@ietf.org>> on behalf of Birrane, Edward J. <Edward.Birrane@jhuapl.edu<mailto:Edward.Birrane@jhuapl.edu>>
Sent: Monday, July 13, 2020 15:00
To: dtn@ietf.org<mailto:dtn@ietf.org> <dtn@ietf.org<mailto:dtn@ietf.org>>
Subject: Re: [dtn] DTN addressing, routing, and ownership


I don't disagree that there are cases where certain schemes do and do not make sense.  For example, using an IP address on a deep-space spacecraft seems unnecessary and using an IPN address on a node on the Internet seems unnecessary.



Maybe a simpler question is: could I have a bundle whose source EID is simply:  "www.eds_discount_emporium.com:1234'  and do we really need to develop a new scheme to represent that?



I certainly defer to those with more knowledge on URI syntax as to whether BPbis should add a defined scheme id to its registry of allowed schemes.



-Ed



Edward J. Birrane, III, Ph.D.
Embedded Applications Group Supervisor
Principal Staff, Space Exploration Sector
Johns Hopkins Applied Physics Laboratory
(W) 443-778-7423<tel:(443)%20778-7423> / (F) 443-228-3839<tel:(443)%20228-3839>



From: Jeremy.Mayer@dlr.de<mailto:Jeremy.Mayer@dlr.de> <Jeremy..Mayer@dlr.de<mailto:Jeremy..Mayer@dlr.de>>
Sent: Monday, July 13, 2020 2:53 PM
To: rick@tropicalstormsoftware.com<mailto:rick@tropicalstormsoftware.com>; Birrane, Edward J. <Edward.Birrane@jhuapl.edu<mailto:Edward.Birrane@jhuapl.edu>>; dtn@ietf.org<mailto:dtn@ietf.org>
Subject: [EXT] Re: DTN addressing, routing, and ownership



APL external email warning: Verify sender Jeremy.Mayer@dlr.de<mailto:Jeremy.Mayer@dlr.de> before clicking links or attachments




Rick,

I considered both ways, but I think that, for the sake of argument here, the http URI is the "primary" URI, with the IPN portion appended to it. However, you're right, in that you should use the query component(s) as a delimiter. If you use the URI query component as the BP EID, you can maintain full compatibility with L4 load balancers, etc, which can perform forwarding decisions based upon that query. That also maintains compatibility with websocket URI's.



Thanks,

Jeremy

________________________________

From: Rick Taylor <rick@tropicalstormsoftware..com<mailto:rick@tropicalstormsoftware.com>>
Sent: Monday, July 13, 2020 6:32:06 PM
To: Mayer, Jeremy; Edward.Birrane@jhuapl.edu<mailto:Edward.Birrane@jhuapl.edu>; dtn@ietf.org<mailto:dtn@ietf.org>
Subject: RE: DTN addressing, routing, and ownership



Hi Ed,



I'm with Jeremy on this.  HTTP makes a fine CLA as HTTP defines a transport already.   The http:// schema specifies the address *and* the transport.



@Jeremy: would your example be better as http+ipn:[ipn_parts]#[http_resource?query] ?



(One day I will finish my HTTP-REST CLA draft)



Rick



From: dtn [mailto:dtn-bounces@ietf.org] On Behalf Of Jeremy.Mayer@dlr..de<mailto:Jeremy.Mayer@dlr.de>
Sent: 13 July 2020 15:48
To: Edward.Birrane@jhuapl.edu<mailto:Edward.Birrane@jhuapl.edu>; dtn@ietf.org<mailto:dtn@ietf.org>
Subject: Re: [dtn] DTN addressing, routing, and ownership



Ed,

Throwing in my $0.02: I'm not entirely sure that http is a valid scheme from this perspective. I consider http (& webSockets, IMAP, carrier pigeon, etc) to be a "CLA++", where it's actually a last-hop convergence layer scheme.

Therefore, it might be preemptive to start creating "non-DTN-specific" scheme names. Instead, we should strongly consider the use of the oft-forgotten-yet-completely-valid '+' character within the scheme name for these types of use-cases. We can use that character to specify dtn/ipn (which essentially outline the behavior of BP) and the the associated CLA path. If we go this way, some schemes would look like: http+ipn://[http URL]#[ipn URI].



Thanks,

Jeremy

________________________________

From: dtn <dtn-bounces@ietf.org<mailto:dtn-bounces@ietf.org>> on behalf of Birrane, Edward J. <Edward.Birrane@jhuapl.edu<mailto:Edward.Birrane@jhuapl.edu>>
Sent: Monday, July 13, 2020 3:57:29 PM
To: dtn@ietf.org<mailto:dtn@ietf.org>
Subject: Re: [dtn] DTN addressing, routing, and ownership



One other comment on supported EID schemes:



The split between DEST and DST_PORT does indeed formally exist for the ipn EID scheme: node number and service number.  We could do the same sort of thing for the dtn scheme, but the WG has not yet reached consensus on the detailed syntax of dtn-scheme EIDs.  It's not that we haven't recognized this issue, it's that the issue is addressed in the EID schemes rather than in the protocol specification itself.



[EJB]  Looking at section 10.6 I see dtn: and ipn: as defined scheme names. Is there something that breaks if we also allow an http: scheme in this registry? For those simpler cases where late binding is *not* needed then a standard IP is fine, and otherwise a "host name" or loopback can be used for late binding instead.



[EJB] In no way am I suggesting to  not use dtn: or ipn:, but perhaps http: should also be included as a possibility?