Re: [dtn] custody transfer I-D

Lloyd Wood <lloyd.wood@yahoo.co.uk> Sat, 24 June 2017 03:35 UTC

Return-Path: <lloyd.wood@yahoo.co.uk>
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 4475E126CE8 for <dtn@ietfa.amsl.com>; Fri, 23 Jun 2017 20:35:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.289
X-Spam-Level:
X-Spam-Status: No, score=0.289 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.co.uk
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 OD1_aJpa79tR for <dtn@ietfa.amsl.com>; Fri, 23 Jun 2017 20:35:25 -0700 (PDT)
Received: from sonic316-43.consmr.mail.ir2.yahoo.com (sonic316-43.consmr.mail.ir2.yahoo.com [87.248.110.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EEEC5120724 for <dtn@ietf.org>; Fri, 23 Jun 2017 20:35:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1498275322; bh=Go7Pk2/QUiWzhEVzOG3EWKfmQJviZhNnBI5Ap8jfNkk=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=GekOA551NT0TZv9nOb4InORnc+opCI96zfZi4tPfjHeNiWqEnUyJeT94bMfreYGRisRjGlvPsbvwOIVW+YGLQJcN/8Vkz8ijCpEmcXdVJnS+qt+n2sk7Z84ubDa/YoAsTyxHXaV0nq+76Dz4oOzw/PWxVpo1D1i1Fkc96SS++2+oiZee6IhoFXdWnOeArTUMW/XKVPyEyyCbPpm+pBw9pnBuzUDSe/xW7Jv3+CF41j8MPJ1pNDill3dWvkYeAf+W6Pi/USPqG23lXFK3mg3T5qP+6gtgIxFVut6weJvrxRB561eyOUDl1/eP8cujRvjg5eAQKiBozXAcydV+0KSzqQ==
X-YMail-OSG: OyChu0gVM1mEleOSObLQfAHetzlfRrTLFRqox6.Vuf01gC3nZqILfPR9LdNXbMI DarqiF5rkxVWWOup_FqsIM_TbqmTo9JUL8xdLm78fYI.ahriNdTvsPVgolT2E3D1DUH2QK.8xvOs VqWSB4jfaQyKT4Xf6PfduxcJIlIMC5DpG8IYSxeqofiaIv.EsycKjs6w9oY0ziZxCbNRgh65Czan 9IsFD1cH1uFjiXo9YBr3vDAA69T7ZuBrG31aMas26zgIwQQ6HVEWgfmgKoEQEmEGOT8JKIVxiSid TA4gzbdhrPsbOeO.eUUNO2uAklFJZwS9f62Pi16_3H0KC91mUrtE1fjWLli2Ehby4CMusuaRfd4S Mhk6ivyzMBgfkK3xuLM4TERTF0uId2ywqBqjpxsI1ExO.UJAceoNYFeXlod3acELa_2dNB1WSNjX uI6hrTus1hzMgLtwMsoQUpf3VIAuGTq9JpV62gVhjzX0AjAoZf6UUgarKEPhO7dmocWWUZ.BIoa8 4Xvef3OBS2hTvF_tUMFzoJPLI1rGZbDfMm_s-
Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ir2.yahoo.com with HTTP; Sat, 24 Jun 2017 03:35:22 +0000
Date: Sat, 24 Jun 2017 03:35:22 +0000
From: Lloyd Wood <lloyd.wood@yahoo.co.uk>
Reply-To: Lloyd Wood <lloyd.wood@yahoo.co.uk>
To: "Burleigh, Scott C (312B)" <scott.c.burleigh@jpl.nasa.gov>, "dtn@ietf.org" <dtn@ietf.org>
Message-ID: <126441728.1400534.1498275322325@mail.yahoo.com>
In-Reply-To: <A5BEAD028815CB40A32A5669CF737C3B8AF03E6C@ap-embx-sp40.RES.AD.JPL>
References: <A5BEAD028815CB40A32A5669CF737C3B8AF03E12@ap-embx-sp40.RES.AD.JPL> <1290964186.2627.1498177321503@mail.yahoo.com> <A5BEAD028815CB40A32A5669CF737C3B8AF03E6C@ap-embx-sp40.RES.AD.JPL>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.9948 YahooMailNeo Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/0dQnJt-Pw1vAmOkXJY5GNN2_rrE>
Subject: Re: [dtn] custody transfer I-D
X-BeenThere: dtn@ietf.org
X-Mailman-Version: 2.1.22
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, 24 Jun 2017 03:35:27 -0000

Scott,

Thanks for crediting you?

Well, actually, we discussed source routing for delay-tolerant
networks in our "A Bundle of Problems" paper [1].

Interesting to see that, only a decade on from starting the work
on that paper, that there's still uncertainty about what
custody transfer is and is for. Perhaps more decades of work are
needed?

[1] Lloyd Wood, Wesley M. Eddy and Peter Holliday, 'A Bundle of Problems', 
peer-reviewed conference paper, IEEE Aerospace Conference, Big Sky, 
Montana, March 2009. http://dx.doi.org/10.1109/AERO.2009.4839384 
http://personal.ee.surrey.ac.uk/Personal/L.Wood/publications/
 

Lloyd Wood
http://sat-net.com/L.Wood/dtn

________________________________
From: "Burleigh, Scott C (312B)" <scott.c.burleigh@jpl.nasa.gov>
To: Lloyd Wood <lloyd.wood@yahoo.co.uk>; "dtn@ietf.org" <dtn@ietf.org> 
Sent: Friday, 23 June 2017, 10:38
Subject: Re: [dtn] custody transfer I-D



Thanks for crediting me with such a useful invention!  But actually no I haven't, since the sender doesn't specify the route that the bundle takes through the network -- it only specifies the next-hop proximate destination node, just as with any convergence-layer protocol.


-----Original Message-----
From: Lloyd Wood [mailto:lloyd.wood@yahoo.co.uk] 
Sent: Thursday, June 22, 2017 5:22 PM
To: Burleigh, Scott C (312B) <scott.c.burleigh@jpl.nasa.gov>; dtn@ietf.org
Subject: Re: [dtn] custody transfer I-D

Hi Scott,

You've just reinvented source routing, with added tunnelling overhead for each specified relay/custodian.

https://en.wikipedia.org/wiki/Source_routing

Congratulations! 
Lloyd Wood
http://sat-net.com/L.Wood/dtn


________________________________
From: "Burleigh, Scott C (312B)" <scott.c.burleigh@jpl.nasa.gov>
To: "dtn@ietf.org" <dtn@ietf.org> 
Sent: Friday, 23 June 2017, 10:05
Subject: [dtn] custody transfer I-D




Hi.  A few minutes ago I posted an Internet Draft (https://datatracker.ietf.org/doc/draft-burleigh-dtn-bibect/) presenting an idea I had a couple of months ago for cleanly breaking the Custody Transfer procedures out of BP and into a separate document.

In a nutshell, I suggest that we standardize the Bundle-in-Bundle Encapsulation (BIBE) convergence-layer protocol and build Custody Transfer into it, making BIBE a reliable CL.

I am confident that this sounds insane to most people who are reading this email.  But I think I can actually make a fairly strong case for it.

I’ve been claiming for some time that reliable convergence-layer protocols (TCP, LTP) are the best way to provide end-to-end delivery reliability in DTN.  Custody transfer is not as good because (a) there are no partial NAKs, so the only option on any data loss, no matter how small, is to re-send the entire bundle (which may be hundreds of megabytes); (b) there are no negative ACKs that indicate data loss (custody refusal actually indicates successful data arrival, just at an incapable forwarding point), so recovery from data loss happens only when a timer expires at the current custodian; (c) but it is in the general case impossible to set the timeout value for that timer because no node is ever required to take custody.  You never know (in the general case) who the next custodian will be, so you have no idea what the round-trip time to the next custodian is.

At the same time, Keith Scott has been saying that some important use cases need custody transfer instead of reliable CLAs because no suitable reliable convergence-layer protocol exists: the forward path is unidirectional, the return path is very different, and delay-tolerant hop-by-hop forwarding is needed in one or both.

Suppose we are both exactly right.  Let’s make custodial retransmission a property of a (now reliable) convergence-layer protocol that performs delay-tolerant hop-by-hop forwarding, because the CL’s protocol data units are bundles.  Like BIBE.

In the specification I just posted, BIBE CT works in much the same way that CT works in RFC 5050, only a little simpler.  The outbound bundle forms the payload of an encapsulating bundle destined for the next custodian, which might – but would not have to – be the next BP node on the end-to-end path.  On arrival of the encapsulating bundle at the destination node, the CLA at that node extracts the payload (the original bundle) and decides whether or not to accept custody.  It sends a custody signal back to the sending CLA, either accepting or refusing custody, and on acceptance it passes the payload bundle up to the BPA for processing as usual (forwarding, delivery, etc.).  The sending CLA receives and processes custody signals, destroys its copy of the cited original bundle upon custody acceptance, and re-encapsulates and re-transmits the original bundle upon either custody refusal or timer expiration prior to receipt of a responding custody signal.

I think this formulation offers a lot of advantages:
·        The problem of custodial bundle fragmentation by a non-custodial forwarding node goes away: no node other than the next custodian ever sees the encapsulated bundle, therefore cannot fragment it.  The encapsulating (BIBE) bundle might get fragmented, absolutely, but it gets reassembled at the destination (the next custodian) before any CT processing occurs.  So all of the complexity of fragmentary custody transfer disappears.
·        Custody transfer suddenly becomes compatible with multi-point delivery.  If you use bundle multicast as prototyped in ION, then each copy of the bundle that is forwarded through the multicast tree is (naturally) conveyed using a point-to-point convergence-layer transfer – which could easily be a BIBE transfer with CT requested.
·        Looking out a little further, knowing the identity of the next custodian means that CT can take advantage of bundle delivery time estimation mechanisms (which we prototyped a few years ago) to compute custodial retransmission timeout intervals.  So CT becomes more accurate and efficient as well.
·        The relationship of CT to the rest of BP becomes an extremely clean and simple interface, which can easily be added on to any BP implementation.  Implementation of CT becomes simple and self-contained.
·        Building CT into BIBE gives us a single CL protocol that can provide cross-domain security solutions, provide reliable disruption-tolerant forwarding over unidirectional links, or both.  And yet the protocol is extremely simple, only 13 pages.

It’s radical, but I don’t think it’s wrong.

Scott