Re: [dtn-users] BP-RI implementation test

"Burleigh, Scott C (312G)" <scott.c.burleigh@jpl.nasa.gov> Wed, 19 March 2014 23:52 UTC

Return-Path: <scott.c.burleigh@jpl.nasa.gov>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7FEB51A0803 for <dtn-users@ietfa.amsl.com>; Wed, 19 Mar 2014 16:52:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.455
X-Spam-Level:
X-Spam-Status: No, score=-0.455 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HTML_MESSAGE=0.001, J_CHICKENPOX_54=0.6, J_CHICKENPOX_55=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793] autolearn=no
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 EtjNq_owpLED for <dtn-users@ietfa.amsl.com>; Wed, 19 Mar 2014 16:52:51 -0700 (PDT)
Received: from mail.jpl.nasa.gov (unknown [128.149.139.106]) by ietfa.amsl.com (Postfix) with ESMTP id 162871A0447 for <dtn-users@irtf.org>; Wed, 19 Mar 2014 16:52:51 -0700 (PDT)
Received: from mail.jpl.nasa.gov (ap-ehub-sp02.jpl.nasa.gov [128.149.137.149]) by smtp.jpl.nasa.gov (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id s2JNo6Rh003383 (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits) verified NO); Wed, 19 Mar 2014 16:50:07 -0700
Received: from AP-EMBX-SP40.RES.AD.JPL ([169.254.7.90]) by ap-ehub-sp02.RES.AD.JPL ([fe80::dd85:7b07:1e36:7e3c%15]) with mapi id 14.03.0174.001; Wed, 19 Mar 2014 16:50:07 -0700
From: "Burleigh, Scott C (312G)" <scott.c.burleigh@jpl.nasa.gov>
To: =?iso-8859-1?Q?Ma=EBl_Auzias?= <dtnrg@auzias.net>, "Ivancic, William D. (GRC-RHN0)" <william.d.ivancic@nasa.gov>
Thread-Topic: [dtn-users] BP-RI implementation test
Thread-Index: AQHPQ082G8ZyBkKNIEmbSg1dzYAO/Zro3jMAgAAEyICAADG84A==
Date: Wed, 19 Mar 2014 23:50:05 +0000
Message-ID: <A5BEAD028815CB40A32A5669CF737C3B4231C90D@ap-embx-sp40.RES.AD.JPL>
References: <CAOu+1s-rzmku8zEfnK-b2mPjXckT_72h-b_ApNAQCssdcARzYA@mail.gmail.com> <CF4F1230.10DC7%william.d.ivancic@nasa.gov> <CAOu+1s-RwVs1ACEjgsvB7yU6jtrQ3f7LYc5GhgN3foxq5=BdsQ@mail.gmail.com>
In-Reply-To: <CAOu+1s-RwVs1ACEjgsvB7yU6jtrQ3f7LYc5GhgN3foxq5=BdsQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [128.149.137.26]
Content-Type: multipart/alternative; boundary="_000_A5BEAD028815CB40A32A5669CF737C3B4231C90Dapembxsp40RESAD_"
MIME-Version: 1.0
X-Source-Sender: scott.c.burleigh@jpl.nasa.gov
X-AUTH: Authorized
Archived-At: http://mailarchive.ietf.org/arch/msg/dtn-users/7MndrdL1mrl84XIPGKOOWkx3kj4
Cc: "dtn-users@irtf.org" <dtn-users@irtf.org>
Subject: Re: [dtn-users] BP-RI implementation test
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-users/>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Mar 2014 23:52:55 -0000

One other note: if you're still looking for a good Java implementation you might want to check out JDTN: http://sourceforge.net/projects/jdtn/?source=directory.  Keith Scott has worked with this code a bit and speaks highly of it.

Scott

From: dtn-users [mailto:dtn-users-bounces@irtf.org] On Behalf Of Maël Auzias
Sent: Wednesday, March 19, 2014 6:50 AM
To: Ivancic, William D. (GRC-RHN0)
Cc: dtn-users@irtf.org
Subject: Re: [dtn-users] BP-RI implementation test

Hello Will,

Thanks for the answer !
I saw that it's not based on the RFC and a bit old (2005 -according to the website date-).
I tried IBR-DTN (which is great!) but for some reasons I wanted to try a Java implementation.
Note also that the wiki references Java DTN (the last on the webpage) which does not exist anymore and lead to DTN2.9.

I found out what was the problem. It might look like I'm answering myself about the problem, but it could be useful if anyone crawl the mailing list archive for the same problem, here is the solution:
The README file does not notice that rmiregistery should be running. Well... It should be though.
In a terminal:
#export CLASSPATH=$CLASSPATH:/absolute/path/to/BP-RI/PackageDeps/LTP-RI-1.2-runtime.jar:/absolute/path/to/BP-RI/PackageDeps/commons-validator-1.4.0.jar:/absolute/path/to/BP-RI/classes
#cd /absolute/path/to/BP-RI/classes
#rmiregistry
Then it should work.
I still have an issue though : I cannot write anything in the Eclipse and if ever I launch it from the console the program stop as soon as the program console is waiting.
Once I get through I'll send another mail to explain the process of getting it working.

On Wed, Mar 19, 2014 at 2:32 PM, Ivancic, William D. (GRC-RHN0) <william.d.ivancic@nasa.gov<mailto:william.d.ivancic@nasa.gov>> wrote:
I think that is really old.  It is based on the Internet Draft -04, not even RFC5050.

I suggest working with some newer code.  Look at the wiki.

http://www.dtnrg.org/wiki/Code

But even the wiki has a lot of dated material.

I will not endorse one implementation over another as I really haven't done much here lately.  I will say that I have a number of small business doing research for NASA that have gravitated to IBR-DTN.  You might want to try that one.  ION also has been well maintained to date. ION supports LTP.  I do not believe IBF-DTN does.  ION also supports IPN naming, Contract Graph Routing and CBHE (Compressed Bundle Header Encoding).  If you are looking at space applications and deterministic routing, ION may be a better choice.  If you are looking a opportunistic routing, IBR-DTN may be better.

Will


From: Maël Auzias <dtnrg@auzias.net<mailto:dtnrg@auzias.net>>
Date: Wednesday, March 19, 2014 4:42 AM
To: "dtn-users@irtf.org<mailto:dtn-users@irtf.org>" <dtn-users@irtf.org<mailto:dtn-users@irtf.org>>
Subject: [dtn-users] BP-RI implementation test

Hi everyone,
I'm testing the BP-RI<http://masaka.cs.ohiou.edu/ocp/bundling.html> implementation. Once I got it compiled without any error I try to run it as described in the README.
However an error occurs at the start, here is the output:
root@pc-mna-78:~/BP-RI/classes# java edu.ohiou.ocp.dtn.BPServer#more configuration details below

Off-World Communication Protocols Research Group BP-RI: 1.0
 Starting BP Server:v1.0...
BPServer failed to bind to //localhost/BPServer! - Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused


Did someone already get through this one ?
Also I cannot find anything related with dynamic neighbors discovery (neither in the source code, neither in the doc, neither in the conf-file), is there any mechanism which take care of it ?

Configuration details
root@pc-mna-78:~/BP-RI/classes# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0

root@pc-mna-78:~/BP-RI/classes# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4808 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4808 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1011705 (987.9 KiB)  TX bytes:1011705 (987.9 KiB)

wlan0     Link encap:Ethernet  HWaddr 0c:60:76:66:2d:64
          inet addr:192.168.0.78  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::e60:76ff:fe66:2d64/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11742 errors:0 dropped:0 overruns:0 frame:6484792
          TX packets:17905 errors:31 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:682229 (666.2 KiB)  TX bytes:10328677 (9.8 MiB)
          Interrupt:17