Re: [dtn] DTN TCPCL and contact EID

Brian Sipos <BSipos@rkf-eng.com> Sun, 02 October 2016 23:34 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 0101E12B10C for <dtn@ietfa.amsl.com>; Sun, 2 Oct 2016 16:34:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, 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 OEsRndLkPVx9 for <dtn@ietfa.amsl.com>; Sun, 2 Oct 2016 16:33:58 -0700 (PDT)
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0076.outbound.protection.outlook.com [104.47.38.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C066A12B105 for <dtn@ietf.org>; Sun, 2 Oct 2016 16:33:57 -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; bh=YDkNJoritCixoWPsRxJ0RG3YDD9k9Wy/9S4agflGtdI=; b=nc9MlxwSYAMF4FWMZJx2lBCD2ZXSet6OybIqqRnTwy4YhCPvs9N900GcnyW2oGrwlFzOlWbD/KFXC6Pv+nuixK90teA6tS7C5scxY9hluTP3ZA8L8HgmqfKHew6Z5FopbHS8Xw71VASDcOMf+zn6uNxmLAkd4ws+ZmvbC1MlhnU=
Received: from CO2PR0501MB981.namprd05.prod.outlook.com (10.141.247.156) by CO2PR0501MB981.namprd05.prod.outlook.com (10.141.247.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.6; Sun, 2 Oct 2016 23:33:55 +0000
Received: from CO2PR0501MB981.namprd05.prod.outlook.com ([10.141.247.156]) by CO2PR0501MB981.namprd05.prod.outlook.com ([10.141.247.156]) with mapi id 15.01.0649.021; Sun, 2 Oct 2016 23:33:55 +0000
From: Brian Sipos <BSipos@rkf-eng.com>
To: Carlo Caini <carlo.caini@unibo.it>, "dtn@ietf.org" <dtn@ietf.org>
Thread-Topic: DTN TCPCL and contact EID
Thread-Index: AQHSHMOdstbQ4v6jOk6Dg6+xHCgWdKCVc2X+gABZOes=
Date: Sun, 02 Oct 2016 23:33:55 +0000
Message-ID: <CO2PR0501MB9817143F658754A8373D53E9FC30@CO2PR0501MB981.namprd05.prod.outlook.com>
References: <CO2PR0501MB98173F0BB8241CA7AFA190C9FC30@CO2PR0501MB981.namprd05.prod.outlook.com>, <5f391ec2255d4755a2e0b80acd19798c@E13-MBX4-DR.personale.dir.unibo.it>
In-Reply-To: <5f391ec2255d4755a2e0b80acd19798c@E13-MBX4-DR.personale.dir.unibo.it>
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: [10.141.194.132]
x-ms-office365-filtering-correlation-id: d1f376c7-cced-40a9-6dc3-08d3eb1c933c
x-microsoft-exchange-diagnostics: 1; CO2PR0501MB981; 7:emILikxXnxigmVDc/WueVMUPG872g2cQcsivFnktdTVpAhprX7tgchqtZhrI8aZtiHvOqnlXgii9gSkX0BE2CqS105MTKoYhFFbL+ucH80csoIv1zFt3SEbu61yS3MYLMNahVZfnRBKvf8WrWyLTrktB9/wdbXw2ELviZCIV+PsyK3b0M4Lo2xQYZpJD/qnoQt49mpig9OeNrQ707u1s8EbFBpdqXw7zA7GnQGMbcURjW7ZBrGb660IEkTVl2DK64DLzmP9AqQ0YCiUgBSeSDjgIaEH5cGWWhiY7xTIkH5wqn6O+y51BEp6/oY7xm9pyFvGxm9tjBncBPr3hwVPIsQ==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR0501MB981;
x-microsoft-antispam-prvs: <CO2PR0501MB981D9C90F838D60CAE3FB8D9FC30@CO2PR0501MB981.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(192374486261705)(100405760836317);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6042046)(6043046); SRVR:CO2PR0501MB981; BCL:0; PCL:0; RULEID:; SRVR:CO2PR0501MB981;
x-forefront-prvs: 0083A7F08A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(51444003)(189002)(377454003)(199003)(87936001)(2900100001)(5001770100001)(33656002)(97736004)(345774005)(223583001)(8676002)(80792005)(68736007)(107886002)(92566002)(3660700001)(19580405001)(77096005)(19617315012)(7906003)(19580395003)(15975445007)(5002640100001)(76576001)(19625215002)(81166006)(81156014)(10400500002)(74316002)(86362001)(586003)(7736002)(7696004)(122556002)(7846002)(76176999)(54356999)(9686002)(99286002)(2501003)(3280700002)(106116001)(106356001)(105586002)(8936002)(189998001)(6116002)(11100500001)(2950100002)(5660300001)(2906002)(50986999)(101416001)(3846002)(16236675004)(102836003)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR0501MB981; H:CO2PR0501MB981.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: rkf-eng.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_CO2PR0501MB9817143F658754A8373D53E9FC30CO2PR0501MB981na_"
MIME-Version: 1.0
X-OriginatorOrg: rkf-eng.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2016 23:33:55.0193 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4ed8b15b-911f-42bc-8524-d89148858535
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR0501MB981
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/5mL2-AVzNhIaD1JeaQoelD8PR9c>
Subject: Re: [dtn] DTN TCPCL and contact EID
X-BeenThere: dtn@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 02 Oct 2016 23:34:01 -0000

Carlo,

Thank you for the information on this use case.


This brings up a more fundamental issue than this CL in particular. When we had been reviewing BPbis earlier in the year we had come to consensus about not putting any more specific CL requirements in BP itself but somewhere, somehow within a CL BCP document. This would distinguish what a CL should do, but just as importantly what it should not do.


At the very least, I know that a BP CL running directly on LTP will not be able to provide this kind of EID discovery, but then again LTP is (maybe?) more likely to be used in a fixed-routing network. Even in the last revision of IPND draft <https://tools.ietf.org/html/draft-irtf-dtnrg-ipnd-03> there is a section 2.7 which basically says of DTN CLs and discovery that (paraphrasing) "maybe they do and maybe they don't."

________________________________
From: Carlo Caini <carlo.caini@unibo.it>
Sent: Sunday, October 2, 2016 2:00:04 PM
To: Brian Sipos; dtn@ietf.org
Subject: RE: DTN TCPCL and contact EID

Dear Brian,
   Although I have not any TCPCL implementation experience, I have some experience dealing with TCPCL in ION, DTN2 and more recently also on IBR-DTN, and I would like to share my view with you.
I would say that the EID is necessary, while I am basically neutral about fixed or SDNV (not enough knowledge to provide you with a reasonable opinion). I think that is necessary, at least in a few situations, in order to perform the late binding, i.e. the association between the DTN EID (BP layer) and the IP address (network layer). it may happen that a node (e.g. nodeA) wants to get in contact via TCPCL with another node (nodeB), of which it knows the IP (but not vice versa). Node A can launch a TCP connection towards nodeB; nodeB will discover the association EID-IP of nodeA when the TCP connection is established, thanks to the EID field. Node B could be a node with a fixed IP address, while node A  could have a dynamic address (thus node B cannot know the IP address of A in advance). I used this many times in DTN2.
Discovery could be useful if nodeA and nodeB belonged to the same local network, because discovery packets are generally sent in local broadcast. To send a discovery packet to nodeB, if nodeB were on another network, would require a change in the discovery settings to point to the specific address of nodeB (you cannot flood the whole Internet with discovery packets), which seems to me quite impractical. Moreover, discovery is an ancillary mechanism, which can be present or not, while late binding is essential to BP.
Security may be an issue, because nodeC could disguise himself as nodeA, but I think that the solution it is not to remove the EID.

Yours,
  Carlo
________________________________________
Da: dtn [dtn-bounces@ietf.org] per conto di Brian Sipos [BSipos@rkf-eng.com]
Inviato: domenica 2 ottobre 2016 17:42
A: dtn@ietf.org
Cc: Burleigh, Scott C (312B); Joerg Ott
Oggetto: [dtn] DTN TCPCL and contact EID

All,

I'm sending this to the entire mailing list, but asking for any specific feedback from those with TCPCLv3 implementation experience (I know at least Joerg O. and Scott B. have).

After the interim meeting last week I've started in on prototyping a simplified TCPCLv4 contact header with fixed-length fields. The only remaining non-fixed-length element (excluding data segments themselves) appears to be the contact header EID text-string.


My question is this: Is there any value in actually having the EID in a contact header? As Joerg mentioned in the meeting, this is something which could be handled at a higher level (i.e. DTN AMP) or at a lower level (i.e. neighbor discovery). And the EID itself is a non-authoritative value on an unsecured TCP connection, so I personally do not see any value in keeping this around in TCPCLv4. If it was kept in, it would be the only use of SDNV-type length field in TCPCLv4 so removing it would save on complexity.


Any WG thoughts on removing the EID exchange?

Thanks,

Brian