
Received: from smtp-bedford.mitre.org (smtp-bedford.mitre.org [129.83.20.191]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2UGtgFw011460 for <dtn-users@mailman.dtnrg.org>; Tue, 30 Mar 2010 09:55:43 -0700
Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id o2UGtfDF032660 for <dtn-users@mailman.dtnrg.org>; Tue, 30 Mar 2010 12:55:43 -0400
Received: from imchub2.MITRE.ORG (imchub2.mitre.org [129.83.29.74]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id o2UGtfga032655;  Tue, 30 Mar 2010 12:55:41 -0400
Received: from IMCMBX2.MITRE.ORG ([129.83.29.209]) by imchub2.MITRE.ORG ([129.83.29.74]) with mapi; Tue, 30 Mar 2010 12:55:41 -0400
From: "Scott, Keith L." <kscott@mitre.org>
To: Elwyn Davies <elwynd@folly.org.uk>, Tomas Hall <Tomas.Hall@kau.se>
Date: Tue, 30 Mar 2010 12:55:21 -0400
Thread-Topic: [dtn-users] Opportunistic links - opening/closing
Thread-Index: AcrQGluy7GZKZRotQOuBd4susql5ZQADrv/g
Message-ID: <0111C34BD897FD41841D60396F2AD3D304878B7086@IMCMBX2.MITRE.ORG>
References: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com> <4BB0C370.30406@folly.org.uk> <e62614fb1003290904rb85b23fue7cc44bcfa1c5f04@mail.gmail.com> <4BB0EF48.6040509@folly.org.uk> <0111C34BD897FD41841D60396F2AD3D3047317600E@IMCMBX2.MITRE.ORG> <e62614fb1003300423j3017edebo8d9500b6b9113e19@mail.gmail.com> <4BB212DF.5040600@folly.org.uk>
In-Reply-To: <4BB212DF.5040600@folly.org.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by maillists.intel-research.net id o2UGtgFw011460
Cc: "dtn-users@mailman.dtnrg.org" <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Opportunistic links - opening/closing
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2010 16:55:44 -0000

The NORM convergence layer that ships as part of DTN2 uses the Nack-Oriented Reliable Multicast (NORM) protocol over UDP.  It is quite configurable (including ways to shoot oneself in the foot) but can do remarkably well in some situations.  For example, NORM can use TFMRC (TCP-Friendly Multicast Rate Control) (and can be used for unicast convergence layer connections as well), so it will rate control outbound traffic.  NORM can also be configured to provide reliability.  If you're really interested we can discuss in more depth the tradeoffs between NORM and TCP as DTN CLs, but essentially NORM can support multicast and its reliability mechanisms are better suited to some channels (like when MAC is a really heavy-weight operation and you don't want to try to turn the channel around to support TCP's ACK stream).

                --keith

-----Original Message-----
From: dtn-users-bounces@maillists.intel-research.net [mailto:dtn-users-bounces@maillists.intel-research.net] On Behalf Of Elwyn Davies
Sent: Tuesday, March 30, 2010 11:04 AM
To: Tomas Hall
Cc: dtn-users@mailman.dtnrg.org
Subject: Re: [dtn-users] Opportunistic links - opening/closing

Hi  Tomas.

Nope.  The UDP behaviour is a feature, not a bug or misuse.

The UDP convergence layer is very dumb (and is generally not recommended
for real world applcations).
The LTP convergence layer runs over UDP though.  I haven't had chance to
review the new LTP convergence layer yet.

As currently implemented the UDP convergence layer (AFAICS) does not
turn on the rate control that it sort of offers, and partially
implements - I may not have fully understood what is going on but I
think I am right - so it contravenes the UDP applications guidelines
designed to avoid UDP clogging up the network.  Fortunately there aren't
many of them out there yet!

Anyway, as I said originally, the UDP sender will happily send as many
smallish bundles into a black hole forever once you have created a link
with discovery.  One solution to this would be to time out the links
that are generated by UDP discovery.  The IP advertisements contain a
field that is not actually used by the receiver which is filled with the
interval between adverts.  If you didn't see another advertisement from
the same source within 2 or 3 of these intervals you could shut down the
link.  [BTW This interval is in units of 100ms ...  The IP announcement
code converts the interval time as supplied in seconds into milliseconds
(*1000) internally and then back into units of 100 ms ) / 100) to fill
in the  8 bit field in the advert. The interval is thrown away at the
receiver.  My brain hurts.  And the biggest interval it can carry is 25
seconds.]

Regards,
Elwyn
Tomas Hall wrote:
> Yikes, you guys are a lot faster than I had anticipated. Thank you
> everyone, I have a whole bunch of alternatives now but I've probably
> reached the stage now where I need to figure out exactly what I want
> to do before I can proceed now that I have an idea what can be done.
> Using scripts (extensively) might not be the best option though, the
> plan was to interface the emulator with DTN to control everything from
> there automatically using the built-in mechanism in the emulator.
> Still, it's certainly an option if it turns out to be the far better
> than the alternatives.
>
> I might also note that I did a few tests using the emulator (on the
> gateway machine B) and DTN. Using TCP, it actually worked fairly well
> by simply cutting the bandwidth or introducing 100% packet loss, with
> no interaction with DTN needed at all. UDP was another story. Once the
> link was discovered, DTN sent everything and didn't care that nothing
> reached the destination no matter what I did to the physical link or
> the emulated properties (which I suppose makes sense, it's UDP. Duh).
> I have a vague memory of reading somewhere that DTN used some sort of
> semi-reliable UDP transfer though, but at this point I'm not sure if
> I'm doing something wrong, if something is not working right, or if
> everything actually is working as it should. Using the link close and
> link open commands seemed to work, so with a bit of work getting
> around the potentially unknown link name, that is certainly an option.
>
> Thanks again,
> Thomas Hall
>
>
> On Mon, Mar 29, 2010 at 9:18 PM, Scott, Keith L. <kscott@mitre.org
> <mailto:kscott@mitre.org>> wrote:
>
>     Alternately, use a script on B (hopefully B is Linux) that
>     instantiates traffic control and/or firewall rules to
>     allow/disallow packets from A to C.  This would then drive work to
>     ensure that DTN2's neighbor discovery mechanisms are working
>     correctly (and maybe augmenting them if they're not) to actually
>     respond to the environment.
>
>                    --keith
>
>     -----Original Message-----
>     From: dtn-users-bounces@maillists.intel-research.net
>     <mailto:dtn-users-bounces@maillists.intel-research.net>
>     [mailto:dtn-users-bounces@maillists.intel-research.net
>     <mailto:dtn-users-bounces@maillists.intel-research.net>] On Behalf
>     Of Elwyn Davies
>     Sent: Monday, March 29, 2010 2:20 PM
>     To: dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     Subject: Re: [dtn-users] Opportunistic links - opening/closing
>
>     One trick you could try...
>
>     Write a very simple internal appkication (like the ping echoer) that
>     registers at <localeid>/close (or some such).  Send it a bundle
>     with the
>     remote eid you want closed as the payload.. do a search just as in the
>     Discovery handle_neighbor_discovery routine and then post a
>     LinkStateRequestEvent -> CLOSED event - hey presto.. a wonderful
>     denial
>     of service tool! O:-) :-D
>
>     Regards,
>     Elwyn
>
>     Tomas Hall wrote:
>     > Hi Elwyn,
>     >
>     > Yeah, the timeout was sort of a shot in the dark on my part,
>     hoping to
>     > escape as much work as possible. It's not really the physical link
>     > states that I'm interested in, but the DTN representation of them.
>     >
>     > Anyway, I should probably expand a bit on the background to
>     hopefully
>     > make it a bit more clear what I'm trying to do.
>     > I'll be doing experiments with DTN using an emulator (machine B
>     in my
>     > setup). As is generally the case in DTNs, links may come and go,
>     which
>     > is why I need to close/open links. I have a communication mechanism
>     > from the emulator already in place (it sends UDP messages over a
>     > separate control network), so what is needed is something on the DTN
>     > machines to receive, interpret and do what the control message tells
>     > them to. Essentially, I want to be able to fool the DTN nodes into
>     > thinking that the link is unavailable without having to actually
>     pull
>     > the ethernet cable. I'm also trying to make this as automatic as
>     > possible, i.e. no matter what DTN calls the links that are
>     > established, what IP and ports, protocols etc. they are on, this
>     could
>     > all be sent from the node to the emulator (a mechanism for receiving
>     > this type of information is also in place, so that's just a
>     couple of
>     > strategically placed lines of code in the DTN code). This is why I'm
>     > looking at the discovery/announce mechanism, as this is (from what I
>     > can tell) where DTN receives the information it needs to
>     establish an
>     > opportunistic link. Hence, I figured it also receives all the
>     > information I need to close it (find the LinkRef in the
>     ContactManager
>     > using the CL and EID, do a link state change request via the
>     > BundleDaemon with the appropriate state flags).
>     >
>     > I'm still somewhat unclear about whether I should be trying to tell
>     > DTN to change the link state between unavailable or available or
>     close
>     > it completely and then reestablishing it later. All I need really is
>     > to ensure that DTN doesn't send data on it, thinking the link is
>     alive
>     > and well because it hasn't been told otherwise. Since the
>     timeout was
>     > a dead end, I'm hoping I can get away with copying the received
>     > announcement information, then use this information to change the
>     > state of the link that is established state to unavailable when I
>     > receive a control message (exactly where I haven't worked out
>     yet, but
>     > somewhere in the Discovery hierarchy is where I'm at right now). It
>     > does rely on two things that I know of though; 1) the
>     > available/unavailable state can be used for opportunistic links, and
>     > 2) the announcement does not activate an already discovered but
>     > "unavailable" link (can be solved by deactivating the announcement
>     > mechanism, I suppose). I'm not sure how DTN would react to something
>     > like that. Like I said, I'm trying to reuse as much existing code as
>     > possible, hopefully leaving the Discovery and IPDiscovery classes
>     > (which seems to be those that are relevant for what I'm trying
>     to do)
>     > relatively intact.
>     >
>     > I'll take a look at the classes you suggested and see if I find
>     > something. Hopefully it'll at least give me enough to test the
>     ideas I
>     > already have and see if it's doable. Of course, I'd be happy to take
>     > any other ideas how it can be solved as well.
>     >
>     > Thanks,
>     > Thomas Hall
>     >
>     >
>     > On Mon, Mar 29, 2010 at 5:12 PM, Elwyn Davies
>     <elwynd@folly.org.uk <mailto:elwynd@folly.org.uk>
>     > <mailto:elwynd@folly.org.uk <mailto:elwynd@folly.org.uk>>> wrote:
>     >
>     >     Hi, Tomas.
>     >
>     >     By default, opportunistic links remain open until explicitly
>     closed or
>     >     the daemon discovers it can't send on the link. In
>     particular there is
>     >     no idle timeout.
>     >
>     >     However, it appears you are using the UDP convergence layer,
>     so links
>     >     are something of a tenuous concept.  There is no state on
>     the remote
>     >     side for UDP links so you can just close the link on the local
>     >     (sending)
>     >     side.  On the remote (receiving side) the interface add command
>     >     creates
>     >     a socket that will accept bundles from anywhere that chooses
>     to send
>     >     them if you don't specify a remote address for the
>     interface. Incoming
>     >     bundles are not associated with a link.  This combined with
>     the 'fire
>     >     and forget' nature of UDP means that the sending side will
>     always be
>     >     able to send - whether anything ever receives those bundles is
>     >     unknowable - and ao a UDP link will remain 'open' until
>     explicitly
>     >     closed.
>     >
>     >     You can close the contact on a link with the console
>     interface link
>     >     close command (you can find the code for this in
>     >     servlib/cmd/LinkCommand.cc).  If you now the name, you can
>     delete the
>     >     link on the local side.  As I said there isn't anything to
>     do on the
>     >     remote side.  If you want to get rid of opportunistically
>     created
>     >     links
>     >     you could write an application that accepted link deletion
>     >     instructions
>     >     in a bundle and issued console commands through the remote
>     console
>     >     interface (if you run dtnd daemonized). See
>     tools/dtnd-control for an
>     >     example of what to do.  You would have to look up the link name
>     >     via its
>     >     remote EID - its an automatically generated string.
>     >
>     >     Hope this helps.
>     >
>     >     Regards,
>     >     Elwyn Davies
>     >
>     >
>     >
>     >
>     >     Tomas Hall wrote:
>     >     > Hello,
>     >     >
>     >     > I'm new to DTN and have been experimenting a bit with the
>     >     > discovery/announce mechanism and opportunistic links. My
>     network
>     >     > consists of 3 computers (A, B and C), with dtn2.7.0 and oasys
>     >     > installed and running on A and C. A (10.0.1.1) and C
>     (10.0.2.1) are
>     >     > connected to each other via B (10.0.1.2 and 10.0.2.2), which
>     >     acts as a
>     >     > gateway. My config file on A contains the following (C's
>     config is
>     >     > identical except reversed IPs):
>     >     > interface add udp0 udp local_addr=10.0.1.1
>     >     > discovery add udp_disc ip port=1067 local_addr=10.0.1.1
>     >     addr=10.0.2.1
>     >     > unicast
>     >     > discovery announce udp_cl udp_disc udp interval=10
>     cl_addr=10.0.1.1
>     >     >
>     >     >
>     >     > This appears to be working; the nodes discover each other, the
>     >     > opportunistic link is set up as "link-0", and I am able to use
>     >     dtnsend
>     >     > and dtnping to send packets from A to C.
>     >     >
>     >     > My problem is that I'm not quite sure how these
>     opportunistic links
>     >     > are closed. I tried experimenting with deleting the
>     >     discovery/announce
>     >     > entries to see if and when the links timed out. As it
>     turns out, it
>     >     > didn't (alternatively it takes too long for any practical
>     use).
>     >     > dtnsend and dtnping happily continued to send packets
>     successfully.
>     >     > For TCP, it did die when I shut down the other node as the
>     >     remote port
>     >     > closed, but this is not very useful for me either.
>     >     > What I'm trying to achieve is to be able to send control
>     >     messages from
>     >     > B to A and C that forces DTN to open or close the links
>     when I tell
>     >     > them to. It'd be somewhat similar to a scheduled link I
>     suppose, but
>     >     > using a scheduled link would require careful synchronization
>     >     which I'd
>     >     > rather avoid. I'm sort of at a loss where to start,
>     however. My
>     >     > initial thought was to extend the announce/discovery
>     mechanism which
>     >     > may actually work for establishing the link (the first time at
>     >     least),
>     >     > but I'd also need to be able to remove the link using the same
>     >     > mechanism in that case. I'm kind of hoping I can reuse
>     most of the
>     >     > existing code, perhaps only implementing a subclass that
>     >     receives and
>     >     > interprets my control messages then uses the existing
>     functions to
>     >     > actually do anything.
>     >     >
>     >     > So, how would I go about manually disabling and/or removing an
>     >     > opportunistic link? If anyone has any ideas how to best
>     implement my
>     >     > desired functionality, that would also be much appreciated.
>     >     >
>     >     > Thanks,
>     >     > Thomas Hall
>     >     >
>     >
>     ------------------------------------------------------------------------
>     >     >
>     >     > _______________________________________________
>     >     > dtn-users mailing list
>     >     > dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     >     <mailto:dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>>
>     >     > http://maillists.intel-research.net/mailman/listinfo/dtn-users
>     >     >
>     >
>     >
>     >
>
>
>     _______________________________________________
>     dtn-users mailing list
>     dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>     _______________________________________________
>     dtn-users mailing list
>     dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>

_______________________________________________
dtn-users mailing list
dtn-users@maillists.intel-research.net
http://maillists.intel-research.net/mailman/listinfo/dtn-users



Received: from b.painless.aaisp.net.uk (b.painless.aaisp.net.uk [81.187.30.52]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2UF433w006147 for <dtn-users@mailman.dtnrg.org>; Tue, 30 Mar 2010 08:04:06 -0700
Received: from 153.107.2.81.in-addr.arpa ([81.2.107.153] helo=[81.187.254.251]) by b.painless.aaisp.net.uk with esmtp (Exim 4.69) (envelope-from <elwynd@folly.org.uk>) id 1Nwcz3-0004ss-Fi; Tue, 30 Mar 2010 16:04:02 +0100
Message-ID: <4BB212DF.5040600@folly.org.uk>
Date: Tue, 30 Mar 2010 16:03:59 +0100
From: Elwyn Davies <elwynd@folly.org.uk>
User-Agent: Thunderbird 2.0.0.19 (X11/20081209)
MIME-Version: 1.0
To: Tomas Hall <Tomas.Hall@kau.se>
References: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com>	<4BB0C370.30406@folly.org.uk>	<e62614fb1003290904rb85b23fue7cc44bcfa1c5f04@mail.gmail.com>	<4BB0EF48.6040509@folly.org.uk>	<0111C34BD897FD41841D60396F2AD3D3047317600E@IMCMBX2.MITRE.ORG> <e62614fb1003300423j3017edebo8d9500b6b9113e19@mail.gmail.com>
In-Reply-To: <e62614fb1003300423j3017edebo8d9500b6b9113e19@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dtn-users@mailman.dtnrg.org
Subject: Re: [dtn-users] Opportunistic links - opening/closing
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2010 15:04:07 -0000

Hi  Tomas.

Nope.  The UDP behaviour is a feature, not a bug or misuse.

The UDP convergence layer is very dumb (and is generally not recommended 
for real world applcations).
The LTP convergence layer runs over UDP though.  I haven't had chance to 
review the new LTP convergence layer yet. 

As currently implemented the UDP convergence layer (AFAICS) does not 
turn on the rate control that it sort of offers, and partially 
implements - I may not have fully understood what is going on but I 
think I am right - so it contravenes the UDP applications guidelines 
designed to avoid UDP clogging up the network.  Fortunately there aren't 
many of them out there yet!

Anyway, as I said originally, the UDP sender will happily send as many 
smallish bundles into a black hole forever once you have created a link 
with discovery.  One solution to this would be to time out the links 
that are generated by UDP discovery.  The IP advertisements contain a 
field that is not actually used by the receiver which is filled with the 
interval between adverts.  If you didn't see another advertisement from 
the same source within 2 or 3 of these intervals you could shut down the 
link.  [BTW This interval is in units of 100ms ...  The IP announcement 
code converts the interval time as supplied in seconds into milliseconds 
(*1000) internally and then back into units of 100 ms ) / 100) to fill 
in the  8 bit field in the advert. The interval is thrown away at the 
receiver.  My brain hurts.  And the biggest interval it can carry is 25 
seconds.]

Regards,
Elwyn
Tomas Hall wrote:
> Yikes, you guys are a lot faster than I had anticipated. Thank you 
> everyone, I have a whole bunch of alternatives now but I've probably 
> reached the stage now where I need to figure out exactly what I want 
> to do before I can proceed now that I have an idea what can be done. 
> Using scripts (extensively) might not be the best option though, the 
> plan was to interface the emulator with DTN to control everything from 
> there automatically using the built-in mechanism in the emulator. 
> Still, it's certainly an option if it turns out to be the far better 
> than the alternatives.
>
> I might also note that I did a few tests using the emulator (on the 
> gateway machine B) and DTN. Using TCP, it actually worked fairly well 
> by simply cutting the bandwidth or introducing 100% packet loss, with 
> no interaction with DTN needed at all. UDP was another story. Once the 
> link was discovered, DTN sent everything and didn't care that nothing 
> reached the destination no matter what I did to the physical link or 
> the emulated properties (which I suppose makes sense, it's UDP. Duh). 
> I have a vague memory of reading somewhere that DTN used some sort of 
> semi-reliable UDP transfer though, but at this point I'm not sure if 
> I'm doing something wrong, if something is not working right, or if 
> everything actually is working as it should. Using the link close and 
> link open commands seemed to work, so with a bit of work getting 
> around the potentially unknown link name, that is certainly an option.
>
> Thanks again,
> Thomas Hall
>
>
> On Mon, Mar 29, 2010 at 9:18 PM, Scott, Keith L. <kscott@mitre.org 
> <mailto:kscott@mitre.org>> wrote:
>
>     Alternately, use a script on B (hopefully B is Linux) that
>     instantiates traffic control and/or firewall rules to
>     allow/disallow packets from A to C.  This would then drive work to
>     ensure that DTN2's neighbor discovery mechanisms are working
>     correctly (and maybe augmenting them if they're not) to actually
>     respond to the environment.
>
>                    --keith
>
>     -----Original Message-----
>     From: dtn-users-bounces@maillists.intel-research.net
>     <mailto:dtn-users-bounces@maillists.intel-research.net>
>     [mailto:dtn-users-bounces@maillists.intel-research.net
>     <mailto:dtn-users-bounces@maillists.intel-research.net>] On Behalf
>     Of Elwyn Davies
>     Sent: Monday, March 29, 2010 2:20 PM
>     To: dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     Subject: Re: [dtn-users] Opportunistic links - opening/closing
>
>     One trick you could try...
>
>     Write a very simple internal appkication (like the ping echoer) that
>     registers at <localeid>/close (or some such).  Send it a bundle
>     with the
>     remote eid you want closed as the payload.. do a search just as in the
>     Discovery handle_neighbor_discovery routine and then post a
>     LinkStateRequestEvent -> CLOSED event - hey presto.. a wonderful
>     denial
>     of service tool! O:-) :-D
>
>     Regards,
>     Elwyn
>
>     Tomas Hall wrote:
>     > Hi Elwyn,
>     >
>     > Yeah, the timeout was sort of a shot in the dark on my part,
>     hoping to
>     > escape as much work as possible. It's not really the physical link
>     > states that I'm interested in, but the DTN representation of them.
>     >
>     > Anyway, I should probably expand a bit on the background to
>     hopefully
>     > make it a bit more clear what I'm trying to do.
>     > I'll be doing experiments with DTN using an emulator (machine B
>     in my
>     > setup). As is generally the case in DTNs, links may come and go,
>     which
>     > is why I need to close/open links. I have a communication mechanism
>     > from the emulator already in place (it sends UDP messages over a
>     > separate control network), so what is needed is something on the DTN
>     > machines to receive, interpret and do what the control message tells
>     > them to. Essentially, I want to be able to fool the DTN nodes into
>     > thinking that the link is unavailable without having to actually
>     pull
>     > the ethernet cable. I'm also trying to make this as automatic as
>     > possible, i.e. no matter what DTN calls the links that are
>     > established, what IP and ports, protocols etc. they are on, this
>     could
>     > all be sent from the node to the emulator (a mechanism for receiving
>     > this type of information is also in place, so that's just a
>     couple of
>     > strategically placed lines of code in the DTN code). This is why I'm
>     > looking at the discovery/announce mechanism, as this is (from what I
>     > can tell) where DTN receives the information it needs to
>     establish an
>     > opportunistic link. Hence, I figured it also receives all the
>     > information I need to close it (find the LinkRef in the
>     ContactManager
>     > using the CL and EID, do a link state change request via the
>     > BundleDaemon with the appropriate state flags).
>     >
>     > I'm still somewhat unclear about whether I should be trying to tell
>     > DTN to change the link state between unavailable or available or
>     close
>     > it completely and then reestablishing it later. All I need really is
>     > to ensure that DTN doesn't send data on it, thinking the link is
>     alive
>     > and well because it hasn't been told otherwise. Since the
>     timeout was
>     > a dead end, I'm hoping I can get away with copying the received
>     > announcement information, then use this information to change the
>     > state of the link that is established state to unavailable when I
>     > receive a control message (exactly where I haven't worked out
>     yet, but
>     > somewhere in the Discovery hierarchy is where I'm at right now). It
>     > does rely on two things that I know of though; 1) the
>     > available/unavailable state can be used for opportunistic links, and
>     > 2) the announcement does not activate an already discovered but
>     > "unavailable" link (can be solved by deactivating the announcement
>     > mechanism, I suppose). I'm not sure how DTN would react to something
>     > like that. Like I said, I'm trying to reuse as much existing code as
>     > possible, hopefully leaving the Discovery and IPDiscovery classes
>     > (which seems to be those that are relevant for what I'm trying
>     to do)
>     > relatively intact.
>     >
>     > I'll take a look at the classes you suggested and see if I find
>     > something. Hopefully it'll at least give me enough to test the
>     ideas I
>     > already have and see if it's doable. Of course, I'd be happy to take
>     > any other ideas how it can be solved as well.
>     >
>     > Thanks,
>     > Thomas Hall
>     >
>     >
>     > On Mon, Mar 29, 2010 at 5:12 PM, Elwyn Davies
>     <elwynd@folly.org.uk <mailto:elwynd@folly.org.uk>
>     > <mailto:elwynd@folly.org.uk <mailto:elwynd@folly.org.uk>>> wrote:
>     >
>     >     Hi, Tomas.
>     >
>     >     By default, opportunistic links remain open until explicitly
>     closed or
>     >     the daemon discovers it can't send on the link. In
>     particular there is
>     >     no idle timeout.
>     >
>     >     However, it appears you are using the UDP convergence layer,
>     so links
>     >     are something of a tenuous concept.  There is no state on
>     the remote
>     >     side for UDP links so you can just close the link on the local
>     >     (sending)
>     >     side.  On the remote (receiving side) the interface add command
>     >     creates
>     >     a socket that will accept bundles from anywhere that chooses
>     to send
>     >     them if you don't specify a remote address for the
>     interface. Incoming
>     >     bundles are not associated with a link.  This combined with
>     the 'fire
>     >     and forget' nature of UDP means that the sending side will
>     always be
>     >     able to send - whether anything ever receives those bundles is
>     >     unknowable - and ao a UDP link will remain 'open' until
>     explicitly
>     >     closed.
>     >
>     >     You can close the contact on a link with the console
>     interface link
>     >     close command (you can find the code for this in
>     >     servlib/cmd/LinkCommand.cc).  If you now the name, you can
>     delete the
>     >     link on the local side.  As I said there isn't anything to
>     do on the
>     >     remote side.  If you want to get rid of opportunistically
>     created
>     >     links
>     >     you could write an application that accepted link deletion
>     >     instructions
>     >     in a bundle and issued console commands through the remote
>     console
>     >     interface (if you run dtnd daemonized). See
>     tools/dtnd-control for an
>     >     example of what to do.  You would have to look up the link name
>     >     via its
>     >     remote EID - its an automatically generated string.
>     >
>     >     Hope this helps.
>     >
>     >     Regards,
>     >     Elwyn Davies
>     >
>     >
>     >
>     >
>     >     Tomas Hall wrote:
>     >     > Hello,
>     >     >
>     >     > I'm new to DTN and have been experimenting a bit with the
>     >     > discovery/announce mechanism and opportunistic links. My
>     network
>     >     > consists of 3 computers (A, B and C), with dtn2.7.0 and oasys
>     >     > installed and running on A and C. A (10.0.1.1) and C
>     (10.0.2.1) are
>     >     > connected to each other via B (10.0.1.2 and 10.0.2.2), which
>     >     acts as a
>     >     > gateway. My config file on A contains the following (C's
>     config is
>     >     > identical except reversed IPs):
>     >     > interface add udp0 udp local_addr=10.0.1.1
>     >     > discovery add udp_disc ip port=1067 local_addr=10.0.1.1
>     >     addr=10.0.2.1
>     >     > unicast
>     >     > discovery announce udp_cl udp_disc udp interval=10
>     cl_addr=10.0.1.1
>     >     >
>     >     >
>     >     > This appears to be working; the nodes discover each other, the
>     >     > opportunistic link is set up as "link-0", and I am able to use
>     >     dtnsend
>     >     > and dtnping to send packets from A to C.
>     >     >
>     >     > My problem is that I'm not quite sure how these
>     opportunistic links
>     >     > are closed. I tried experimenting with deleting the
>     >     discovery/announce
>     >     > entries to see if and when the links timed out. As it
>     turns out, it
>     >     > didn't (alternatively it takes too long for any practical
>     use).
>     >     > dtnsend and dtnping happily continued to send packets
>     successfully.
>     >     > For TCP, it did die when I shut down the other node as the
>     >     remote port
>     >     > closed, but this is not very useful for me either.
>     >     > What I'm trying to achieve is to be able to send control
>     >     messages from
>     >     > B to A and C that forces DTN to open or close the links
>     when I tell
>     >     > them to. It'd be somewhat similar to a scheduled link I
>     suppose, but
>     >     > using a scheduled link would require careful synchronization
>     >     which I'd
>     >     > rather avoid. I'm sort of at a loss where to start,
>     however. My
>     >     > initial thought was to extend the announce/discovery
>     mechanism which
>     >     > may actually work for establishing the link (the first time at
>     >     least),
>     >     > but I'd also need to be able to remove the link using the same
>     >     > mechanism in that case. I'm kind of hoping I can reuse
>     most of the
>     >     > existing code, perhaps only implementing a subclass that
>     >     receives and
>     >     > interprets my control messages then uses the existing
>     functions to
>     >     > actually do anything.
>     >     >
>     >     > So, how would I go about manually disabling and/or removing an
>     >     > opportunistic link? If anyone has any ideas how to best
>     implement my
>     >     > desired functionality, that would also be much appreciated.
>     >     >
>     >     > Thanks,
>     >     > Thomas Hall
>     >     >
>     >    
>     ------------------------------------------------------------------------
>     >     >
>     >     > _______________________________________________
>     >     > dtn-users mailing list
>     >     > dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     >     <mailto:dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>>
>     >     > http://maillists.intel-research.net/mailman/listinfo/dtn-users
>     >     >
>     >
>     >
>     >
>
>
>     _______________________________________________
>     dtn-users mailing list
>     dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>     _______________________________________________
>     dtn-users mailing list
>     dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>   



Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2UBN9ck027987 for <dtn-users@maillists.intel-research.net>; Tue, 30 Mar 2010 04:23:10 -0700
Received: by bwz28 with SMTP id 28so11296437bwz.34 for <dtn-users@maillists.intel-research.net>; Tue, 30 Mar 2010 04:23:09 -0700 (PDT)
MIME-Version: 1.0
Sender: thomas.g.hall@gmail.com
Received: by 10.204.58.79 with HTTP; Tue, 30 Mar 2010 04:23:08 -0700 (PDT)
In-Reply-To: <0111C34BD897FD41841D60396F2AD3D3047317600E@IMCMBX2.MITRE.ORG>
References: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com> <4BB0C370.30406@folly.org.uk> <e62614fb1003290904rb85b23fue7cc44bcfa1c5f04@mail.gmail.com> <4BB0EF48.6040509@folly.org.uk> <0111C34BD897FD41841D60396F2AD3D3047317600E@IMCMBX2.MITRE.ORG>
Date: Tue, 30 Mar 2010 13:23:08 +0200
X-Google-Sender-Auth: cc0097124d682682
Received: by 10.204.48.197 with SMTP id s5mr8273017bkf.177.1269948188783; Tue,  30 Mar 2010 04:23:08 -0700 (PDT)
Message-ID: <e62614fb1003300423j3017edebo8d9500b6b9113e19@mail.gmail.com>
From: Tomas Hall <Tomas.Hall@kau.se>
To: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Content-Type: multipart/alternative; boundary=00032555bc1eacf53a048302da0b
Subject: Re: [dtn-users] Opportunistic links - opening/closing
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2010 11:23:11 -0000

--00032555bc1eacf53a048302da0b
Content-Type: text/plain; charset=ISO-8859-1

Yikes, you guys are a lot faster than I had anticipated. Thank you everyone,
I have a whole bunch of alternatives now but I've probably reached the stage
now where I need to figure out exactly what I want to do before I can
proceed now that I have an idea what can be done. Using scripts
(extensively) might not be the best option though, the plan was to interface
the emulator with DTN to control everything from there automatically using
the built-in mechanism in the emulator. Still, it's certainly an option if
it turns out to be the far better than the alternatives.

I might also note that I did a few tests using the emulator (on the gateway
machine B) and DTN. Using TCP, it actually worked fairly well by simply
cutting the bandwidth or introducing 100% packet loss, with no interaction
with DTN needed at all. UDP was another story. Once the link was discovered,
DTN sent everything and didn't care that nothing reached the destination no
matter what I did to the physical link or the emulated properties (which I
suppose makes sense, it's UDP. Duh). I have a vague memory of reading
somewhere that DTN used some sort of semi-reliable UDP transfer though, but
at this point I'm not sure if I'm doing something wrong, if something is not
working right, or if everything actually is working as it should. Using the
link close and link open commands seemed to work, so with a bit of work
getting around the potentially unknown link name, that is certainly an
option.

Thanks again,
Thomas Hall


On Mon, Mar 29, 2010 at 9:18 PM, Scott, Keith L. <kscott@mitre.org> wrote:

> Alternately, use a script on B (hopefully B is Linux) that instantiates
> traffic control and/or firewall rules to allow/disallow packets from A to C.
>  This would then drive work to ensure that DTN2's neighbor discovery
> mechanisms are working correctly (and maybe augmenting them if they're not)
> to actually respond to the environment.
>
>                --keith
>
> -----Original Message-----
> From: dtn-users-bounces@maillists.intel-research.net [mailto:
> dtn-users-bounces@maillists.intel-research.net] On Behalf Of Elwyn Davies
> Sent: Monday, March 29, 2010 2:20 PM
> To: dtn-users@maillists.intel-research.net
> Subject: Re: [dtn-users] Opportunistic links - opening/closing
>
> One trick you could try...
>
> Write a very simple internal appkication (like the ping echoer) that
> registers at <localeid>/close (or some such).  Send it a bundle with the
> remote eid you want closed as the payload.. do a search just as in the
> Discovery handle_neighbor_discovery routine and then post a
> LinkStateRequestEvent -> CLOSED event - hey presto.. a wonderful denial
> of service tool! O:-) :-D
>
> Regards,
> Elwyn
>
> Tomas Hall wrote:
> > Hi Elwyn,
> >
> > Yeah, the timeout was sort of a shot in the dark on my part, hoping to
> > escape as much work as possible. It's not really the physical link
> > states that I'm interested in, but the DTN representation of them.
> >
> > Anyway, I should probably expand a bit on the background to hopefully
> > make it a bit more clear what I'm trying to do.
> > I'll be doing experiments with DTN using an emulator (machine B in my
> > setup). As is generally the case in DTNs, links may come and go, which
> > is why I need to close/open links. I have a communication mechanism
> > from the emulator already in place (it sends UDP messages over a
> > separate control network), so what is needed is something on the DTN
> > machines to receive, interpret and do what the control message tells
> > them to. Essentially, I want to be able to fool the DTN nodes into
> > thinking that the link is unavailable without having to actually pull
> > the ethernet cable. I'm also trying to make this as automatic as
> > possible, i.e. no matter what DTN calls the links that are
> > established, what IP and ports, protocols etc. they are on, this could
> > all be sent from the node to the emulator (a mechanism for receiving
> > this type of information is also in place, so that's just a couple of
> > strategically placed lines of code in the DTN code). This is why I'm
> > looking at the discovery/announce mechanism, as this is (from what I
> > can tell) where DTN receives the information it needs to establish an
> > opportunistic link. Hence, I figured it also receives all the
> > information I need to close it (find the LinkRef in the ContactManager
> > using the CL and EID, do a link state change request via the
> > BundleDaemon with the appropriate state flags).
> >
> > I'm still somewhat unclear about whether I should be trying to tell
> > DTN to change the link state between unavailable or available or close
> > it completely and then reestablishing it later. All I need really is
> > to ensure that DTN doesn't send data on it, thinking the link is alive
> > and well because it hasn't been told otherwise. Since the timeout was
> > a dead end, I'm hoping I can get away with copying the received
> > announcement information, then use this information to change the
> > state of the link that is established state to unavailable when I
> > receive a control message (exactly where I haven't worked out yet, but
> > somewhere in the Discovery hierarchy is where I'm at right now). It
> > does rely on two things that I know of though; 1) the
> > available/unavailable state can be used for opportunistic links, and
> > 2) the announcement does not activate an already discovered but
> > "unavailable" link (can be solved by deactivating the announcement
> > mechanism, I suppose). I'm not sure how DTN would react to something
> > like that. Like I said, I'm trying to reuse as much existing code as
> > possible, hopefully leaving the Discovery and IPDiscovery classes
> > (which seems to be those that are relevant for what I'm trying to do)
> > relatively intact.
> >
> > I'll take a look at the classes you suggested and see if I find
> > something. Hopefully it'll at least give me enough to test the ideas I
> > already have and see if it's doable. Of course, I'd be happy to take
> > any other ideas how it can be solved as well.
> >
> > Thanks,
> > Thomas Hall
> >
> >
> > On Mon, Mar 29, 2010 at 5:12 PM, Elwyn Davies <elwynd@folly.org.uk
> > <mailto:elwynd@folly.org.uk>> wrote:
> >
> >     Hi, Tomas.
> >
> >     By default, opportunistic links remain open until explicitly closed
> or
> >     the daemon discovers it can't send on the link. In particular there
> is
> >     no idle timeout.
> >
> >     However, it appears you are using the UDP convergence layer, so links
> >     are something of a tenuous concept.  There is no state on the remote
> >     side for UDP links so you can just close the link on the local
> >     (sending)
> >     side.  On the remote (receiving side) the interface add command
> >     creates
> >     a socket that will accept bundles from anywhere that chooses to send
> >     them if you don't specify a remote address for the interface.
> Incoming
> >     bundles are not associated with a link.  This combined with the 'fire
> >     and forget' nature of UDP means that the sending side will always be
> >     able to send - whether anything ever receives those bundles is
> >     unknowable - and ao a UDP link will remain 'open' until explicitly
> >     closed.
> >
> >     You can close the contact on a link with the console interface link
> >     close command (you can find the code for this in
> >     servlib/cmd/LinkCommand.cc).  If you now the name, you can delete the
> >     link on the local side.  As I said there isn't anything to do on the
> >     remote side.  If you want to get rid of opportunistically created
> >     links
> >     you could write an application that accepted link deletion
> >     instructions
> >     in a bundle and issued console commands through the remote console
> >     interface (if you run dtnd daemonized). See tools/dtnd-control for an
> >     example of what to do.  You would have to look up the link name
> >     via its
> >     remote EID - its an automatically generated string.
> >
> >     Hope this helps.
> >
> >     Regards,
> >     Elwyn Davies
> >
> >
> >
> >
> >     Tomas Hall wrote:
> >     > Hello,
> >     >
> >     > I'm new to DTN and have been experimenting a bit with the
> >     > discovery/announce mechanism and opportunistic links. My network
> >     > consists of 3 computers (A, B and C), with dtn2.7.0 and oasys
> >     > installed and running on A and C. A (10.0.1.1) and C (10.0.2.1) are
> >     > connected to each other via B (10.0.1.2 and 10.0.2.2), which
> >     acts as a
> >     > gateway. My config file on A contains the following (C's config is
> >     > identical except reversed IPs):
> >     > interface add udp0 udp local_addr=10.0.1.1
> >     > discovery add udp_disc ip port=1067 local_addr=10.0.1.1
> >     addr=10.0.2.1
> >     > unicast
> >     > discovery announce udp_cl udp_disc udp interval=10 cl_addr=10.0.1.1
> >     >
> >     >
> >     > This appears to be working; the nodes discover each other, the
> >     > opportunistic link is set up as "link-0", and I am able to use
> >     dtnsend
> >     > and dtnping to send packets from A to C.
> >     >
> >     > My problem is that I'm not quite sure how these opportunistic links
> >     > are closed. I tried experimenting with deleting the
> >     discovery/announce
> >     > entries to see if and when the links timed out. As it turns out, it
> >     > didn't (alternatively it takes too long for any practical use).
> >     > dtnsend and dtnping happily continued to send packets successfully.
> >     > For TCP, it did die when I shut down the other node as the
> >     remote port
> >     > closed, but this is not very useful for me either.
> >     > What I'm trying to achieve is to be able to send control
> >     messages from
> >     > B to A and C that forces DTN to open or close the links when I tell
> >     > them to. It'd be somewhat similar to a scheduled link I suppose,
> but
> >     > using a scheduled link would require careful synchronization
> >     which I'd
> >     > rather avoid. I'm sort of at a loss where to start, however. My
> >     > initial thought was to extend the announce/discovery mechanism
> which
> >     > may actually work for establishing the link (the first time at
> >     least),
> >     > but I'd also need to be able to remove the link using the same
> >     > mechanism in that case. I'm kind of hoping I can reuse most of the
> >     > existing code, perhaps only implementing a subclass that
> >     receives and
> >     > interprets my control messages then uses the existing functions to
> >     > actually do anything.
> >     >
> >     > So, how would I go about manually disabling and/or removing an
> >     > opportunistic link? If anyone has any ideas how to best implement
> my
> >     > desired functionality, that would also be much appreciated.
> >     >
> >     > Thanks,
> >     > Thomas Hall
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > _______________________________________________
> >     > dtn-users mailing list
> >     > dtn-users@maillists.intel-research.net
> >     <mailto:dtn-users@maillists.intel-research.net>
> >     > http://maillists.intel-research.net/mailman/listinfo/dtn-users
> >     >
> >
> >
> >
>
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>

--00032555bc1eacf53a048302da0b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Yikes, you guys are a lot faster than I had anticipated. Thank you
everyone, I have a whole bunch of alternatives now but I&#39;ve probably
reached the stage now where I need to figure out exactly what I want to
do before I can proceed now that I have an idea what can be done. Using
scripts (extensively) might not be the best option though, the plan was
to interface the emulator with DTN to control everything from there
automatically using the built-in mechanism in the emulator. Still, it&#39;s
certainly an option if it turns out to be the far better than the
alternatives.<br>
<br>I might also note that I did a few tests using the emulator (on the
gateway machine B) and DTN. Using TCP, it actually worked fairly well
by simply cutting the bandwidth or introducing 100% packet loss, with
no interaction with DTN needed at all. UDP was another story. Once the
link was discovered, DTN sent everything and didn&#39;t care that nothing
reached the destination no matter what I did to the physical link or
the emulated properties (which I suppose makes sense, it&#39;s UDP. Duh). I
have a vague memory of reading somewhere that DTN used some sort of
semi-reliable UDP transfer though, but at this point I&#39;m not sure if
I&#39;m doing something wrong, if something is not working right, or if
everything actually is working as it should. Using the link close and
link open commands seemed to work, so with a bit of work getting around
the potentially unknown link name, that is certainly an option.<br>
<br>Thanks again,<br><font color=3D"#888888">Thomas Hall<br><br></font><br>=
<div class=3D"gmail_quote">On Mon, Mar 29, 2010 at 9:18 PM, Scott, Keith L.=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:kscott@mitre.org">kscott@mitre.org=
</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Alternately, use =
a script on B (hopefully B is Linux) that instantiates traffic control and/=
or firewall rules to allow/disallow packets from A to C. =A0This would then=
 drive work to ensure that DTN2&#39;s neighbor discovery mechanisms are wor=
king correctly (and maybe augmenting them if they&#39;re not) to actually r=
espond to the environment.<br>

<font color=3D"#888888"><br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0--keith<br>
</font><div><div></div><div class=3D"h5"><br>
-----Original Message-----<br>
From: <a href=3D"mailto:dtn-users-bounces@maillists.intel-research.net">dtn=
-users-bounces@maillists.intel-research.net</a> [mailto:<a href=3D"mailto:d=
tn-users-bounces@maillists.intel-research.net">dtn-users-bounces@maillists.=
intel-research.net</a>] On Behalf Of Elwyn Davies<br>

Sent: Monday, March 29, 2010 2:20 PM<br>
To: <a href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@mai=
llists.intel-research.net</a><br>
Subject: Re: [dtn-users] Opportunistic links - opening/closing<br>
<br>
One trick you could try...<br>
<br>
Write a very simple internal appkication (like the ping echoer) that<br>
registers at &lt;localeid&gt;/close (or some such). =A0Send it a bundle wit=
h the<br>
remote eid you want closed as the payload.. do a search just as in the<br>
Discovery handle_neighbor_discovery routine and then post a<br>
LinkStateRequestEvent -&gt; CLOSED event - hey presto.. a wonderful denial<=
br>
of service tool! O:-) :-D<br>
<br>
Regards,<br>
Elwyn<br>
<br>
Tomas Hall wrote:<br>
&gt; Hi Elwyn,<br>
&gt;<br>
&gt; Yeah, the timeout was sort of a shot in the dark on my part, hoping to=
<br>
&gt; escape as much work as possible. It&#39;s not really the physical link=
<br>
&gt; states that I&#39;m interested in, but the DTN representation of them.=
<br>
&gt;<br>
&gt; Anyway, I should probably expand a bit on the background to hopefully<=
br>
&gt; make it a bit more clear what I&#39;m trying to do.<br>
&gt; I&#39;ll be doing experiments with DTN using an emulator (machine B in=
 my<br>
&gt; setup). As is generally the case in DTNs, links may come and go, which=
<br>
&gt; is why I need to close/open links. I have a communication mechanism<br=
>
&gt; from the emulator already in place (it sends UDP messages over a<br>
&gt; separate control network), so what is needed is something on the DTN<b=
r>
&gt; machines to receive, interpret and do what the control message tells<b=
r>
&gt; them to. Essentially, I want to be able to fool the DTN nodes into<br>
&gt; thinking that the link is unavailable without having to actually pull<=
br>
&gt; the ethernet cable. I&#39;m also trying to make this as automatic as<b=
r>
&gt; possible, i.e. no matter what DTN calls the links that are<br>
&gt; established, what IP and ports, protocols etc. they are on, this could=
<br>
&gt; all be sent from the node to the emulator (a mechanism for receiving<b=
r>
&gt; this type of information is also in place, so that&#39;s just a couple=
 of<br>
&gt; strategically placed lines of code in the DTN code). This is why I&#39=
;m<br>
&gt; looking at the discovery/announce mechanism, as this is (from what I<b=
r>
&gt; can tell) where DTN receives the information it needs to establish an<=
br>
&gt; opportunistic link. Hence, I figured it also receives all the<br>
&gt; information I need to close it (find the LinkRef in the ContactManager=
<br>
&gt; using the CL and EID, do a link state change request via the<br>
&gt; BundleDaemon with the appropriate state flags).<br>
&gt;<br>
&gt; I&#39;m still somewhat unclear about whether I should be trying to tel=
l<br>
&gt; DTN to change the link state between unavailable or available or close=
<br>
&gt; it completely and then reestablishing it later. All I need really is<b=
r>
&gt; to ensure that DTN doesn&#39;t send data on it, thinking the link is a=
live<br>
&gt; and well because it hasn&#39;t been told otherwise. Since the timeout =
was<br>
&gt; a dead end, I&#39;m hoping I can get away with copying the received<br=
>
&gt; announcement information, then use this information to change the<br>
&gt; state of the link that is established state to unavailable when I<br>
&gt; receive a control message (exactly where I haven&#39;t worked out yet,=
 but<br>
&gt; somewhere in the Discovery hierarchy is where I&#39;m at right now). I=
t<br>
&gt; does rely on two things that I know of though; 1) the<br>
&gt; available/unavailable state can be used for opportunistic links, and<b=
r>
&gt; 2) the announcement does not activate an already discovered but<br>
&gt; &quot;unavailable&quot; link (can be solved by deactivating the announ=
cement<br>
&gt; mechanism, I suppose). I&#39;m not sure how DTN would react to somethi=
ng<br>
&gt; like that. Like I said, I&#39;m trying to reuse as much existing code =
as<br>
&gt; possible, hopefully leaving the Discovery and IPDiscovery classes<br>
&gt; (which seems to be those that are relevant for what I&#39;m trying to =
do)<br>
&gt; relatively intact.<br>
&gt;<br>
&gt; I&#39;ll take a look at the classes you suggested and see if I find<br=
>
&gt; something. Hopefully it&#39;ll at least give me enough to test the ide=
as I<br>
&gt; already have and see if it&#39;s doable. Of course, I&#39;d be happy t=
o take<br>
&gt; any other ideas how it can be solved as well.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Thomas Hall<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Mar 29, 2010 at 5:12 PM, Elwyn Davies &lt;<a href=3D"mailto:el=
wynd@folly.org.uk">elwynd@folly.org.uk</a><br>
&gt; &lt;mailto:<a href=3D"mailto:elwynd@folly.org.uk">elwynd@folly.org.uk<=
/a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; =A0 =A0 Hi, Tomas.<br>
&gt;<br>
&gt; =A0 =A0 By default, opportunistic links remain open until explicitly c=
losed or<br>
&gt; =A0 =A0 the daemon discovers it can&#39;t send on the link. In particu=
lar there is<br>
&gt; =A0 =A0 no idle timeout.<br>
&gt;<br>
&gt; =A0 =A0 However, it appears you are using the UDP convergence layer, s=
o links<br>
&gt; =A0 =A0 are something of a tenuous concept. =A0There is no state on th=
e remote<br>
&gt; =A0 =A0 side for UDP links so you can just close the link on the local=
<br>
&gt; =A0 =A0 (sending)<br>
&gt; =A0 =A0 side. =A0On the remote (receiving side) the interface add comm=
and<br>
&gt; =A0 =A0 creates<br>
&gt; =A0 =A0 a socket that will accept bundles from anywhere that chooses t=
o send<br>
&gt; =A0 =A0 them if you don&#39;t specify a remote address for the interfa=
ce. Incoming<br>
&gt; =A0 =A0 bundles are not associated with a link. =A0This combined with =
the &#39;fire<br>
&gt; =A0 =A0 and forget&#39; nature of UDP means that the sending side will=
 always be<br>
&gt; =A0 =A0 able to send - whether anything ever receives those bundles is=
<br>
&gt; =A0 =A0 unknowable - and ao a UDP link will remain &#39;open&#39; unti=
l explicitly<br>
&gt; =A0 =A0 closed.<br>
&gt;<br>
&gt; =A0 =A0 You can close the contact on a link with the console interface=
 link<br>
&gt; =A0 =A0 close command (you can find the code for this in<br>
&gt; =A0 =A0 servlib/cmd/LinkCommand.cc). =A0If you now the name, you can d=
elete the<br>
&gt; =A0 =A0 link on the local side. =A0As I said there isn&#39;t anything =
to do on the<br>
&gt; =A0 =A0 remote side. =A0If you want to get rid of opportunistically cr=
eated<br>
&gt; =A0 =A0 links<br>
&gt; =A0 =A0 you could write an application that accepted link deletion<br>
&gt; =A0 =A0 instructions<br>
&gt; =A0 =A0 in a bundle and issued console commands through the remote con=
sole<br>
&gt; =A0 =A0 interface (if you run dtnd daemonized). See tools/dtnd-control=
 for an<br>
&gt; =A0 =A0 example of what to do. =A0You would have to look up the link n=
ame<br>
&gt; =A0 =A0 via its<br>
&gt; =A0 =A0 remote EID - its an automatically generated string.<br>
&gt;<br>
&gt; =A0 =A0 Hope this helps.<br>
&gt;<br>
&gt; =A0 =A0 Regards,<br>
&gt; =A0 =A0 Elwyn Davies<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 Tomas Hall wrote:<br>
&gt; =A0 =A0 &gt; Hello,<br>
&gt; =A0 =A0 &gt;<br>
&gt; =A0 =A0 &gt; I&#39;m new to DTN and have been experimenting a bit with=
 the<br>
&gt; =A0 =A0 &gt; discovery/announce mechanism and opportunistic links. My =
network<br>
&gt; =A0 =A0 &gt; consists of 3 computers (A, B and C), with dtn2.7.0 and o=
asys<br>
&gt; =A0 =A0 &gt; installed and running on A and C. A (10.0.1.1) and C (10.=
0.2.1) are<br>
&gt; =A0 =A0 &gt; connected to each other via B (10.0.1.2 and 10.0.2.2), wh=
ich<br>
&gt; =A0 =A0 acts as a<br>
&gt; =A0 =A0 &gt; gateway. My config file on A contains the following (C&#3=
9;s config is<br>
&gt; =A0 =A0 &gt; identical except reversed IPs):<br>
&gt; =A0 =A0 &gt; interface add udp0 udp local_addr=3D10.0.1.1<br>
&gt; =A0 =A0 &gt; discovery add udp_disc ip port=3D1067 local_addr=3D10.0.1=
.1<br>
&gt; =A0 =A0 addr=3D10.0.2.1<br>
&gt; =A0 =A0 &gt; unicast<br>
&gt; =A0 =A0 &gt; discovery announce udp_cl udp_disc udp interval=3D10 cl_a=
ddr=3D10.0.1.1<br>
&gt; =A0 =A0 &gt;<br>
&gt; =A0 =A0 &gt;<br>
&gt; =A0 =A0 &gt; This appears to be working; the nodes discover each other=
, the<br>
&gt; =A0 =A0 &gt; opportunistic link is set up as &quot;link-0&quot;, and I=
 am able to use<br>
&gt; =A0 =A0 dtnsend<br>
&gt; =A0 =A0 &gt; and dtnping to send packets from A to C.<br>
&gt; =A0 =A0 &gt;<br>
&gt; =A0 =A0 &gt; My problem is that I&#39;m not quite sure how these oppor=
tunistic links<br>
&gt; =A0 =A0 &gt; are closed. I tried experimenting with deleting the<br>
&gt; =A0 =A0 discovery/announce<br>
&gt; =A0 =A0 &gt; entries to see if and when the links timed out. As it tur=
ns out, it<br>
&gt; =A0 =A0 &gt; didn&#39;t (alternatively it takes too long for any pract=
ical use).<br>
&gt; =A0 =A0 &gt; dtnsend and dtnping happily continued to send packets suc=
cessfully.<br>
&gt; =A0 =A0 &gt; For TCP, it did die when I shut down the other node as th=
e<br>
&gt; =A0 =A0 remote port<br>
&gt; =A0 =A0 &gt; closed, but this is not very useful for me either.<br>
&gt; =A0 =A0 &gt; What I&#39;m trying to achieve is to be able to send cont=
rol<br>
&gt; =A0 =A0 messages from<br>
&gt; =A0 =A0 &gt; B to A and C that forces DTN to open or close the links w=
hen I tell<br>
&gt; =A0 =A0 &gt; them to. It&#39;d be somewhat similar to a scheduled link=
 I suppose, but<br>
&gt; =A0 =A0 &gt; using a scheduled link would require careful synchronizat=
ion<br>
&gt; =A0 =A0 which I&#39;d<br>
&gt; =A0 =A0 &gt; rather avoid. I&#39;m sort of at a loss where to start, h=
owever. My<br>
&gt; =A0 =A0 &gt; initial thought was to extend the announce/discovery mech=
anism which<br>
&gt; =A0 =A0 &gt; may actually work for establishing the link (the first ti=
me at<br>
&gt; =A0 =A0 least),<br>
&gt; =A0 =A0 &gt; but I&#39;d also need to be able to remove the link using=
 the same<br>
&gt; =A0 =A0 &gt; mechanism in that case. I&#39;m kind of hoping I can reus=
e most of the<br>
&gt; =A0 =A0 &gt; existing code, perhaps only implementing a subclass that<=
br>
&gt; =A0 =A0 receives and<br>
&gt; =A0 =A0 &gt; interprets my control messages then uses the existing fun=
ctions to<br>
&gt; =A0 =A0 &gt; actually do anything.<br>
&gt; =A0 =A0 &gt;<br>
&gt; =A0 =A0 &gt; So, how would I go about manually disabling and/or removi=
ng an<br>
&gt; =A0 =A0 &gt; opportunistic link? If anyone has any ideas how to best i=
mplement my<br>
&gt; =A0 =A0 &gt; desired functionality, that would also be much appreciate=
d.<br>
&gt; =A0 =A0 &gt;<br>
&gt; =A0 =A0 &gt; Thanks,<br>
&gt; =A0 =A0 &gt; Thomas Hall<br>
&gt; =A0 =A0 &gt;<br>
&gt; =A0 =A0 --------------------------------------------------------------=
----------<br>
&gt; =A0 =A0 &gt;<br>
&gt; =A0 =A0 &gt; _______________________________________________<br>
&gt; =A0 =A0 &gt; dtn-users mailing list<br>
&gt; =A0 =A0 &gt; <a href=3D"mailto:dtn-users@maillists.intel-research.net"=
>dtn-users@maillists.intel-research.net</a><br>
&gt; =A0 =A0 &lt;mailto:<a href=3D"mailto:dtn-users@maillists.intel-researc=
h.net">dtn-users@maillists.intel-research.net</a>&gt;<br>
&gt; =A0 =A0 &gt; <a href=3D"http://maillists.intel-research.net/mailman/li=
stinfo/dtn-users" target=3D"_blank">http://maillists.intel-research.net/mai=
lman/listinfo/dtn-users</a><br>
&gt; =A0 =A0 &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
dtn-users mailing list<br>
<a href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillis=
ts.intel-research.net</a><br>
<a href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users" =
target=3D"_blank">http://maillists.intel-research.net/mailman/listinfo/dtn-=
users</a><br>
<br>
_______________________________________________<br>
dtn-users mailing list<br>
<a href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillis=
ts.intel-research.net</a><br>
<a href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users" =
target=3D"_blank">http://maillists.intel-research.net/mailman/listinfo/dtn-=
users</a><br>
<br>
</div></div></blockquote></div><br>

--00032555bc1eacf53a048302da0b--


Received: from web56608.mail.re3.yahoo.com (web56608.mail.re3.yahoo.com [66.196.97.52]) by maillists.intel-research.net (8.13.8/8.13.8) with SMTP id o2TJW0hG014611 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 12:32:00 -0700
Received: (qmail 82671 invoked by uid 60001); 29 Mar 2010 19:32:01 -0000
Message-ID: <300977.79793.qm@web56608.mail.re3.yahoo.com>
X-YMail-OSG: BtY75S8VM1nu90_e3TzWyOa2lQJeWQxy1qUMvj1ej1QCvKy tlkNCukRKZSeIurqrjHfItUe4a2yrIRxUTDZyBX4cFCoRLTyDvElMaXaqx9k GtrwBnKj1s2OJgaHI_mVHOxRBrCy93eTXfE9pSXQ_BabKaw3b980QMSxskJM 4v0jAnHa_2psbDMMdZ13S.QMjgAqBRRepxRLgiRzmI3vdiAgkW9475240tM8 ozckIAy5mDP.n0PzmoW8.hYnjaFRQ8p_XC8BKyTO6jBff59n1thQasDDu8qt IWQyk2qWjdUJ9Ae9XG3VVzhyZHfEJylBv_OBZloh_eLlS8xfDLBhk_LAZgEr vL3SYQWoUg7PAc8PYfi4bTXiixaqfk93PdkKVDUVK3FfOGA--
Received: from [174.101.82.129] by web56608.mail.re3.yahoo.com via HTTP; Mon, 29 Mar 2010 12:32:01 PDT
X-Mailer: YahooMailClassic/10.0.8 YahooMailWebService/0.8.100.260964
Date: Mon, 29 Mar 2010 12:32:01 -0700 (PDT)
From: Justin Dailey <dail8859@yahoo.com>
To: dtn-users@maillists.intel-research.net
In-Reply-To: <mailman.4.1269889202.12986.dtn-users@maillists.intel-research.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by maillists.intel-research.net id o2TJW0hG014611
Subject: Re: [dtn-users] dtn-users Digest, Vol 29, Issue 13
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2010 19:32:00 -0000

Thomas,
Another thing you could do is telnet into port 5050 of the machine running DTN.(of course telnet is very insecure) You will be able to telnet into 5050 and have full control over the daemon.(You might want to start the daemon with the -d option it will "daemonize" the application but is not needed.) One way of establishing and destroying links we have looked into is having a program/script on the control machine(B in your case) and send it a message such as "link delete link-name" or "link add ...". We wrote a quick script in Python that opens a port and can read data from the daemon and write commands to it. Not only can this method give you control over it, it can also give you feed back from the daemon. If you give it a command such as "bundle stats" you can read the data received from it and get the statistics of the running daemon. Adding more complexity into the script you can simulate the opportunistic links.

Justin Dailey
Shawnee State University Cyber Center
Research Assistant

--- On Mon, 3/29/10, dtn-users-request@maillists.intel-research.net <dtn-users-request@maillists.intel-research.net> wrote:

> From: dtn-users-request@maillists.intel-research.net <dtn-users-request@maillists.intel-research.net>
> Subject: dtn-users Digest, Vol 29, Issue 13
> To: dtn-users@maillists.intel-research.net
> Date: Monday, March 29, 2010, 3:00 PM
> Send dtn-users mailing list
> submissions to
>     dtn-users@maillists.intel-research.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>     http://maillists.intel-research.net/mailman/listinfo/dtn-users
> or, via email, send a message with subject or body 'help'
> to
>     dtn-users-request@maillists.intel-research.net
> 
> You can reach the person managing the list at
>     dtn-users-owner@maillists.intel-research.net
> 
> When replying, please edit your Subject line so it is more
> specific
> than "Re: Contents of dtn-users digest..."
> Today's Topics:
> 
>    1. Re: Opportunistic links -
> opening/closing (Elwyn Davies)
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
> 


      



Received: from mx4.oit.ohio.edu (mx4.oit.ohio.edu [132.235.250.54]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2TJPGY8014256 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 12:25:16 -0700
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AloFADubsEuE6wiX/2dsb2JhbACBPppYtzSIXIJughME
X-IronPort-AV: E=Sophos;i="4.51,329,1267419600"; d="scan'208,217";a="34558001"
Received: from oak3a.cats.ohiou.edu (HELO oak.cats.ohiou.edu) ([132.235.8.151]) by smtpout4.oit.ohio.edu with ESMTP; 29 Mar 2010 15:25:18 -0400
Received: from lin4.its.ohiou.edu (lin4.its.ohiou.edu [132.235.232.204]) (authenticated bits=0) by oak.cats.ohiou.edu (8.13.1/8.13.1) with ESMTP id o2TJOUN91913195 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 29 Mar 2010 15:24:31 -0400 (EDT)
Message-Id: <E4B5A5D2-C5EC-4E84-AE5A-0D1B6AD78F1A@ohiou.edu>
From: Hans Kruse <kruse@ohiou.edu>
To: "Scott, Keith L." <kscott@mitre.org>
In-Reply-To: <0111C34BD897FD41841D60396F2AD3D3047317600E@IMCMBX2.MITRE.ORG>
Content-Type: multipart/alternative; boundary=Apple-Mail-13--474305388
Mime-Version: 1.0 (Apple Message framework v936)
Date: Mon, 29 Mar 2010 15:24:30 -0400
References: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com> <4BB0C370.30406@folly.org.uk> <e62614fb1003290904rb85b23fue7cc44bcfa1c5f04@mail.gmail.com> <4BB0EF48.6040509@folly.org.uk> <0111C34BD897FD41841D60396F2AD3D3047317600E@IMCMBX2.MITRE.ORG>
X-Mailer: Apple Mail (2.936)
Cc: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] Opportunistic links - opening/closing
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2010 19:25:17 -0000

--Apple-Mail-13--474305388
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

That is the approach we are taking in our portion of the dnbone (the  
one shown at the meeting last week).   We use iptables & tc, and cron- 
controlled scripts to change settings.

On Mar 29, 2010, at 3:18 PM, Scott, Keith L. wrote:

> Alternately, use a script on B (hopefully B is Linux) that  
> instantiates traffic control and/or firewall rules to allow/disallow  
> packets from A to C.  This would then drive work to ensure that  
> DTN2's neighbor discovery mechanisms are working correctly (and  
> maybe augmenting them if they're not) to actually respond to the  
> environment.
>
> 		--keith

Hans Kruse, Professor
J. Warren McClure School of Information and Telecommunication Systems
Adjunct Associate Professor of Electrical Engineering and Computer  
Science
292 Lindley Hall, Ohio University, Athens, OH, 45701
740-593-4891 voice, 740-593-4889 fax



--Apple-Mail-13--474305388
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">That is the approach we are =
taking in our portion of the dnbone (the one shown at the meeting last =
week). &nbsp; We use iptables &amp; tc, and cron-controlled scripts to =
change settings.<div><br><div><div>On Mar 29, 2010, at 3:18 PM, Scott, =
Keith L. wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
medium; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-align: =
auto; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; ">Alternately, use a script on B =
(hopefully B is Linux) that instantiates traffic control and/or firewall =
rules to allow/disallow packets from A to C. &nbsp;This would then drive =
work to ensure that DTN2's neighbor discovery mechanisms are working =
correctly (and maybe augmenting them if they're not) to actually respond =
to the environment.<br><br><span class=3D"Apple-tab-span" =
style=3D"white-space: pre; ">	</span><span class=3D"Apple-tab-span" =
style=3D"white-space: pre; ">	=
</span>--keith<br></span></blockquote></div><br><div> <span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><div =
style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><p style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">Hans Kruse, Professor</font></p><p style=3D"margin: 0.0px =
0.0px 0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: =
12.0px Helvetica">J. Warren McClure School of Information and =
Telecommunication Systems</font></p><p style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">Adjunct Associate Professor of Electrical Engineering and =
Computer Science</font></p><p style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">292 Lindley Hall, Ohio University, Athens, OH, =
45701</font></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">740-593-4891 voice, 740-593-4889 fax</font></p></div><br =
class=3D"Apple-interchange-newline"></span> =
</div><br></div></body></html>=

--Apple-Mail-13--474305388--


Received: from smtp-bedford.mitre.org (smtp-bedford.mitre.org [129.83.20.191]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2TJIOKi013960 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 12:18:25 -0700
Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id o2TJIPFP003902 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 15:18:26 -0400
Received: from imchub2.MITRE.ORG (imchub2.mitre.org [129.83.29.74]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id o2TJIPvJ003899;  Mon, 29 Mar 2010 15:18:25 -0400
Received: from IMCMBX2.MITRE.ORG ([129.83.29.205]) by imchub2.MITRE.ORG ([129.83.29.74]) with mapi; Mon, 29 Mar 2010 15:18:25 -0400
From: "Scott, Keith L." <kscott@mitre.org>
To: "elwynd@folly.org.uk" <elwynd@folly.org.uk>, "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Date: Mon, 29 Mar 2010 15:18:24 -0400
Thread-Topic: [dtn-users] Opportunistic links - opening/closing
Thread-Index: AcrPbDbBrwaOs8T6SnCXYbBkPI+dwwACAZQw
Message-ID: <0111C34BD897FD41841D60396F2AD3D3047317600E@IMCMBX2.MITRE.ORG>
References: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com> <4BB0C370.30406@folly.org.uk> <e62614fb1003290904rb85b23fue7cc44bcfa1c5f04@mail.gmail.com> <4BB0EF48.6040509@folly.org.uk>
In-Reply-To: <4BB0EF48.6040509@folly.org.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by maillists.intel-research.net id o2TJIOKi013960
Subject: Re: [dtn-users] Opportunistic links - opening/closing
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2010 19:18:28 -0000

Alternately, use a script on B (hopefully B is Linux) that instantiates traffic control and/or firewall rules to allow/disallow packets from A to C.  This would then drive work to ensure that DTN2's neighbor discovery mechanisms are working correctly (and maybe augmenting them if they're not) to actually respond to the environment.

		--keith

-----Original Message-----
From: dtn-users-bounces@maillists.intel-research.net [mailto:dtn-users-bounces@maillists.intel-research.net] On Behalf Of Elwyn Davies
Sent: Monday, March 29, 2010 2:20 PM
To: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] Opportunistic links - opening/closing

One trick you could try...

Write a very simple internal appkication (like the ping echoer) that
registers at <localeid>/close (or some such).  Send it a bundle with the
remote eid you want closed as the payload.. do a search just as in the
Discovery handle_neighbor_discovery routine and then post a
LinkStateRequestEvent -> CLOSED event - hey presto.. a wonderful denial
of service tool! O:-) :-D

Regards,
Elwyn

Tomas Hall wrote:
> Hi Elwyn,
>
> Yeah, the timeout was sort of a shot in the dark on my part, hoping to
> escape as much work as possible. It's not really the physical link
> states that I'm interested in, but the DTN representation of them.
>
> Anyway, I should probably expand a bit on the background to hopefully
> make it a bit more clear what I'm trying to do.
> I'll be doing experiments with DTN using an emulator (machine B in my
> setup). As is generally the case in DTNs, links may come and go, which
> is why I need to close/open links. I have a communication mechanism
> from the emulator already in place (it sends UDP messages over a
> separate control network), so what is needed is something on the DTN
> machines to receive, interpret and do what the control message tells
> them to. Essentially, I want to be able to fool the DTN nodes into
> thinking that the link is unavailable without having to actually pull
> the ethernet cable. I'm also trying to make this as automatic as
> possible, i.e. no matter what DTN calls the links that are
> established, what IP and ports, protocols etc. they are on, this could
> all be sent from the node to the emulator (a mechanism for receiving
> this type of information is also in place, so that's just a couple of
> strategically placed lines of code in the DTN code). This is why I'm
> looking at the discovery/announce mechanism, as this is (from what I
> can tell) where DTN receives the information it needs to establish an
> opportunistic link. Hence, I figured it also receives all the
> information I need to close it (find the LinkRef in the ContactManager
> using the CL and EID, do a link state change request via the
> BundleDaemon with the appropriate state flags).
>
> I'm still somewhat unclear about whether I should be trying to tell
> DTN to change the link state between unavailable or available or close
> it completely and then reestablishing it later. All I need really is
> to ensure that DTN doesn't send data on it, thinking the link is alive
> and well because it hasn't been told otherwise. Since the timeout was
> a dead end, I'm hoping I can get away with copying the received
> announcement information, then use this information to change the
> state of the link that is established state to unavailable when I
> receive a control message (exactly where I haven't worked out yet, but
> somewhere in the Discovery hierarchy is where I'm at right now). It
> does rely on two things that I know of though; 1) the
> available/unavailable state can be used for opportunistic links, and
> 2) the announcement does not activate an already discovered but
> "unavailable" link (can be solved by deactivating the announcement
> mechanism, I suppose). I'm not sure how DTN would react to something
> like that. Like I said, I'm trying to reuse as much existing code as
> possible, hopefully leaving the Discovery and IPDiscovery classes
> (which seems to be those that are relevant for what I'm trying to do)
> relatively intact.
>
> I'll take a look at the classes you suggested and see if I find
> something. Hopefully it'll at least give me enough to test the ideas I
> already have and see if it's doable. Of course, I'd be happy to take
> any other ideas how it can be solved as well.
>
> Thanks,
> Thomas Hall
>
>
> On Mon, Mar 29, 2010 at 5:12 PM, Elwyn Davies <elwynd@folly.org.uk
> <mailto:elwynd@folly.org.uk>> wrote:
>
>     Hi, Tomas.
>
>     By default, opportunistic links remain open until explicitly closed or
>     the daemon discovers it can't send on the link. In particular there is
>     no idle timeout.
>
>     However, it appears you are using the UDP convergence layer, so links
>     are something of a tenuous concept.  There is no state on the remote
>     side for UDP links so you can just close the link on the local
>     (sending)
>     side.  On the remote (receiving side) the interface add command
>     creates
>     a socket that will accept bundles from anywhere that chooses to send
>     them if you don't specify a remote address for the interface. Incoming
>     bundles are not associated with a link.  This combined with the 'fire
>     and forget' nature of UDP means that the sending side will always be
>     able to send - whether anything ever receives those bundles is
>     unknowable - and ao a UDP link will remain 'open' until explicitly
>     closed.
>
>     You can close the contact on a link with the console interface link
>     close command (you can find the code for this in
>     servlib/cmd/LinkCommand.cc).  If you now the name, you can delete the
>     link on the local side.  As I said there isn't anything to do on the
>     remote side.  If you want to get rid of opportunistically created
>     links
>     you could write an application that accepted link deletion
>     instructions
>     in a bundle and issued console commands through the remote console
>     interface (if you run dtnd daemonized). See tools/dtnd-control for an
>     example of what to do.  You would have to look up the link name
>     via its
>     remote EID - its an automatically generated string.
>
>     Hope this helps.
>
>     Regards,
>     Elwyn Davies
>
>
>
>
>     Tomas Hall wrote:
>     > Hello,
>     >
>     > I'm new to DTN and have been experimenting a bit with the
>     > discovery/announce mechanism and opportunistic links. My network
>     > consists of 3 computers (A, B and C), with dtn2.7.0 and oasys
>     > installed and running on A and C. A (10.0.1.1) and C (10.0.2.1) are
>     > connected to each other via B (10.0.1.2 and 10.0.2.2), which
>     acts as a
>     > gateway. My config file on A contains the following (C's config is
>     > identical except reversed IPs):
>     > interface add udp0 udp local_addr=10.0.1.1
>     > discovery add udp_disc ip port=1067 local_addr=10.0.1.1
>     addr=10.0.2.1
>     > unicast
>     > discovery announce udp_cl udp_disc udp interval=10 cl_addr=10.0.1.1
>     >
>     >
>     > This appears to be working; the nodes discover each other, the
>     > opportunistic link is set up as "link-0", and I am able to use
>     dtnsend
>     > and dtnping to send packets from A to C.
>     >
>     > My problem is that I'm not quite sure how these opportunistic links
>     > are closed. I tried experimenting with deleting the
>     discovery/announce
>     > entries to see if and when the links timed out. As it turns out, it
>     > didn't (alternatively it takes too long for any practical use).
>     > dtnsend and dtnping happily continued to send packets successfully.
>     > For TCP, it did die when I shut down the other node as the
>     remote port
>     > closed, but this is not very useful for me either.
>     > What I'm trying to achieve is to be able to send control
>     messages from
>     > B to A and C that forces DTN to open or close the links when I tell
>     > them to. It'd be somewhat similar to a scheduled link I suppose, but
>     > using a scheduled link would require careful synchronization
>     which I'd
>     > rather avoid. I'm sort of at a loss where to start, however. My
>     > initial thought was to extend the announce/discovery mechanism which
>     > may actually work for establishing the link (the first time at
>     least),
>     > but I'd also need to be able to remove the link using the same
>     > mechanism in that case. I'm kind of hoping I can reuse most of the
>     > existing code, perhaps only implementing a subclass that
>     receives and
>     > interprets my control messages then uses the existing functions to
>     > actually do anything.
>     >
>     > So, how would I go about manually disabling and/or removing an
>     > opportunistic link? If anyone has any ideas how to best implement my
>     > desired functionality, that would also be much appreciated.
>     >
>     > Thanks,
>     > Thomas Hall
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > dtn-users mailing list
>     > dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     > http://maillists.intel-research.net/mailman/listinfo/dtn-users
>     >
>
>
>


_______________________________________________
dtn-users mailing list
dtn-users@maillists.intel-research.net
http://maillists.intel-research.net/mailman/listinfo/dtn-users



Received: from b.painless.aaisp.net.uk (b.painless.aaisp.net.uk [81.187.30.52]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2TIHGHb010991 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 11:17:17 -0700
Received: from 153.107.2.81.in-addr.arpa ([81.2.107.153] helo=[81.187.254.247]) by b.painless.aaisp.net.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <elwynd@folly.org.uk>) id 1NwJWW-0000fk-Go for dtn-users@maillists.intel-research.net; Mon, 29 Mar 2010 19:17:16 +0100
Message-ID: <4BB0EF48.6040509@folly.org.uk>
Date: Mon, 29 Mar 2010 19:19:52 +0100
From: Elwyn Davies <elwynd@folly.org.uk>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: dtn-users@maillists.intel-research.net
References: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com>	 <4BB0C370.30406@folly.org.uk> <e62614fb1003290904rb85b23fue7cc44bcfa1c5f04@mail.gmail.com>
In-Reply-To: <e62614fb1003290904rb85b23fue7cc44bcfa1c5f04@mail.gmail.com>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [dtn-users] Opportunistic links - opening/closing
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: elwynd@folly.org.uk
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2010 18:17:17 -0000

One trick you could try...

Write a very simple internal appkication (like the ping echoer) that
registers at <localeid>/close (or some such).  Send it a bundle with the
remote eid you want closed as the payload.. do a search just as in the
Discovery handle_neighbor_discovery routine and then post a
LinkStateRequestEvent -> CLOSED event - hey presto.. a wonderful denial
of service tool! O:-) :-D

Regards,
Elwyn

Tomas Hall wrote:
> Hi Elwyn,
>
> Yeah, the timeout was sort of a shot in the dark on my part, hoping to
> escape as much work as possible. It's not really the physical link
> states that I'm interested in, but the DTN representation of them.
>
> Anyway, I should probably expand a bit on the background to hopefully
> make it a bit more clear what I'm trying to do.
> I'll be doing experiments with DTN using an emulator (machine B in my
> setup). As is generally the case in DTNs, links may come and go, which
> is why I need to close/open links. I have a communication mechanism
> from the emulator already in place (it sends UDP messages over a
> separate control network), so what is needed is something on the DTN
> machines to receive, interpret and do what the control message tells
> them to. Essentially, I want to be able to fool the DTN nodes into
> thinking that the link is unavailable without having to actually pull
> the ethernet cable. I'm also trying to make this as automatic as
> possible, i.e. no matter what DTN calls the links that are
> established, what IP and ports, protocols etc. they are on, this could
> all be sent from the node to the emulator (a mechanism for receiving
> this type of information is also in place, so that's just a couple of
> strategically placed lines of code in the DTN code). This is why I'm
> looking at the discovery/announce mechanism, as this is (from what I
> can tell) where DTN receives the information it needs to establish an
> opportunistic link. Hence, I figured it also receives all the
> information I need to close it (find the LinkRef in the ContactManager
> using the CL and EID, do a link state change request via the
> BundleDaemon with the appropriate state flags).
>
> I'm still somewhat unclear about whether I should be trying to tell
> DTN to change the link state between unavailable or available or close
> it completely and then reestablishing it later. All I need really is
> to ensure that DTN doesn't send data on it, thinking the link is alive
> and well because it hasn't been told otherwise. Since the timeout was
> a dead end, I'm hoping I can get away with copying the received
> announcement information, then use this information to change the
> state of the link that is established state to unavailable when I
> receive a control message (exactly where I haven't worked out yet, but
> somewhere in the Discovery hierarchy is where I'm at right now). It
> does rely on two things that I know of though; 1) the
> available/unavailable state can be used for opportunistic links, and
> 2) the announcement does not activate an already discovered but
> "unavailable" link (can be solved by deactivating the announcement
> mechanism, I suppose). I'm not sure how DTN would react to something
> like that. Like I said, I'm trying to reuse as much existing code as
> possible, hopefully leaving the Discovery and IPDiscovery classes
> (which seems to be those that are relevant for what I'm trying to do)
> relatively intact.
>
> I'll take a look at the classes you suggested and see if I find
> something. Hopefully it'll at least give me enough to test the ideas I
> already have and see if it's doable. Of course, I'd be happy to take
> any other ideas how it can be solved as well.
>
> Thanks,
> Thomas Hall
>
>
> On Mon, Mar 29, 2010 at 5:12 PM, Elwyn Davies <elwynd@folly.org.uk
> <mailto:elwynd@folly.org.uk>> wrote:
>
>     Hi, Tomas.
>
>     By default, opportunistic links remain open until explicitly closed or
>     the daemon discovers it can't send on the link. In particular there is
>     no idle timeout.
>
>     However, it appears you are using the UDP convergence layer, so links
>     are something of a tenuous concept.  There is no state on the remote
>     side for UDP links so you can just close the link on the local
>     (sending)
>     side.  On the remote (receiving side) the interface add command
>     creates
>     a socket that will accept bundles from anywhere that chooses to send
>     them if you don't specify a remote address for the interface. Incoming
>     bundles are not associated with a link.  This combined with the 'fire
>     and forget' nature of UDP means that the sending side will always be
>     able to send - whether anything ever receives those bundles is
>     unknowable - and ao a UDP link will remain 'open' until explicitly
>     closed.
>
>     You can close the contact on a link with the console interface link
>     close command (you can find the code for this in
>     servlib/cmd/LinkCommand.cc).  If you now the name, you can delete the
>     link on the local side.  As I said there isn't anything to do on the
>     remote side.  If you want to get rid of opportunistically created
>     links
>     you could write an application that accepted link deletion
>     instructions
>     in a bundle and issued console commands through the remote console
>     interface (if you run dtnd daemonized). See tools/dtnd-control for an
>     example of what to do.  You would have to look up the link name
>     via its
>     remote EID - its an automatically generated string.
>
>     Hope this helps.
>
>     Regards,
>     Elwyn Davies
>
>
>
>
>     Tomas Hall wrote:
>     > Hello,
>     >
>     > I'm new to DTN and have been experimenting a bit with the
>     > discovery/announce mechanism and opportunistic links. My network
>     > consists of 3 computers (A, B and C), with dtn2.7.0 and oasys
>     > installed and running on A and C. A (10.0.1.1) and C (10.0.2.1) are
>     > connected to each other via B (10.0.1.2 and 10.0.2.2), which
>     acts as a
>     > gateway. My config file on A contains the following (C's config is
>     > identical except reversed IPs):
>     > interface add udp0 udp local_addr=10.0.1.1
>     > discovery add udp_disc ip port=1067 local_addr=10.0.1.1
>     addr=10.0.2.1
>     > unicast
>     > discovery announce udp_cl udp_disc udp interval=10 cl_addr=10.0.1.1
>     >
>     >
>     > This appears to be working; the nodes discover each other, the
>     > opportunistic link is set up as "link-0", and I am able to use
>     dtnsend
>     > and dtnping to send packets from A to C.
>     >
>     > My problem is that I'm not quite sure how these opportunistic links
>     > are closed. I tried experimenting with deleting the
>     discovery/announce
>     > entries to see if and when the links timed out. As it turns out, it
>     > didn't (alternatively it takes too long for any practical use).
>     > dtnsend and dtnping happily continued to send packets successfully.
>     > For TCP, it did die when I shut down the other node as the
>     remote port
>     > closed, but this is not very useful for me either.
>     > What I'm trying to achieve is to be able to send control
>     messages from
>     > B to A and C that forces DTN to open or close the links when I tell
>     > them to. It'd be somewhat similar to a scheduled link I suppose, but
>     > using a scheduled link would require careful synchronization
>     which I'd
>     > rather avoid. I'm sort of at a loss where to start, however. My
>     > initial thought was to extend the announce/discovery mechanism which
>     > may actually work for establishing the link (the first time at
>     least),
>     > but I'd also need to be able to remove the link using the same
>     > mechanism in that case. I'm kind of hoping I can reuse most of the
>     > existing code, perhaps only implementing a subclass that
>     receives and
>     > interprets my control messages then uses the existing functions to
>     > actually do anything.
>     >
>     > So, how would I go about manually disabling and/or removing an
>     > opportunistic link? If anyone has any ideas how to best implement my
>     > desired functionality, that would also be much appreciated.
>     >
>     > Thanks,
>     > Thomas Hall
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > dtn-users mailing list
>     > dtn-users@maillists.intel-research.net
>     <mailto:dtn-users@maillists.intel-research.net>
>     > http://maillists.intel-research.net/mailman/listinfo/dtn-users
>     >
>
>
>




Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2TG4PEb004670 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 09:04:26 -0700
Received: by bwz28 with SMTP id 28so10694567bwz.34 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 09:04:25 -0700 (PDT)
MIME-Version: 1.0
Sender: thomas.g.hall@gmail.com
Received: by 10.204.58.79 with HTTP; Mon, 29 Mar 2010 09:04:24 -0700 (PDT)
In-Reply-To: <4BB0C370.30406@folly.org.uk>
References: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com> <4BB0C370.30406@folly.org.uk>
Date: Mon, 29 Mar 2010 18:04:24 +0200
X-Google-Sender-Auth: 0beea6c77bff6430
Received: by 10.204.141.69 with SMTP id l5mr2480781bku.64.1269878665002; Mon,  29 Mar 2010 09:04:25 -0700 (PDT)
Message-ID: <e62614fb1003290904rb85b23fue7cc44bcfa1c5f04@mail.gmail.com>
From: Tomas Hall <Tomas.Hall@kau.se>
To: elwynd@folly.org.uk
Content-Type: multipart/alternative; boundary=00151747927abc41740482f2aa61
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] Opportunistic links - opening/closing
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2010 16:04:27 -0000

--00151747927abc41740482f2aa61
Content-Type: text/plain; charset=ISO-8859-1

Hi Elwyn,

Yeah, the timeout was sort of a shot in the dark on my part, hoping to
escape as much work as possible. It's not really the physical link states
that I'm interested in, but the DTN representation of them.

Anyway, I should probably expand a bit on the background to hopefully make
it a bit more clear what I'm trying to do.
I'll be doing experiments with DTN using an emulator (machine B in my
setup). As is generally the case in DTNs, links may come and go, which is
why I need to close/open links. I have a communication mechanism from the
emulator already in place (it sends UDP messages over a separate control
network), so what is needed is something on the DTN machines to receive,
interpret and do what the control message tells them to. Essentially, I want
to be able to fool the DTN nodes into thinking that the link is unavailable
without having to actually pull the ethernet cable. I'm also trying to make
this as automatic as possible, i.e. no matter what DTN calls the links that
are established, what IP and ports, protocols etc. they are on, this could
all be sent from the node to the emulator (a mechanism for receiving this
type of information is also in place, so that's just a couple of
strategically placed lines of code in the DTN code). This is why I'm looking
at the discovery/announce mechanism, as this is (from what I can tell) where
DTN receives the information it needs to establish an opportunistic link.
Hence, I figured it also receives all the information I need to close it
(find the LinkRef in the ContactManager using the CL and EID, do a link
state change request via the BundleDaemon with the appropriate state flags).

I'm still somewhat unclear about whether I should be trying to tell DTN to
change the link state between unavailable or available or close it
completely and then reestablishing it later. All I need really is to ensure
that DTN doesn't send data on it, thinking the link is alive and well
because it hasn't been told otherwise. Since the timeout was a dead end, I'm
hoping I can get away with copying the received announcement information,
then use this information to change the state of the link that is
established state to unavailable when I receive a control message (exactly
where I haven't worked out yet, but somewhere in the Discovery hierarchy is
where I'm at right now). It does rely on two things that I know of though;
1) the available/unavailable state can be used for opportunistic links, and
2) the announcement does not activate an already discovered but
"unavailable" link (can be solved by deactivating the announcement
mechanism, I suppose). I'm not sure how DTN would react to something like
that. Like I said, I'm trying to reuse as much existing code as possible,
hopefully leaving the Discovery and IPDiscovery classes (which seems to be
those that are relevant for what I'm trying to do) relatively intact.

I'll take a look at the classes you suggested and see if I find something.
Hopefully it'll at least give me enough to test the ideas I already have and
see if it's doable. Of course, I'd be happy to take any other ideas how it
can be solved as well.

Thanks,
Thomas Hall


On Mon, Mar 29, 2010 at 5:12 PM, Elwyn Davies <elwynd@folly.org.uk> wrote:

> Hi, Tomas.
>
> By default, opportunistic links remain open until explicitly closed or
> the daemon discovers it can't send on the link. In particular there is
> no idle timeout.
>
> However, it appears you are using the UDP convergence layer, so links
> are something of a tenuous concept.  There is no state on the remote
> side for UDP links so you can just close the link on the local (sending)
> side.  On the remote (receiving side) the interface add command creates
> a socket that will accept bundles from anywhere that chooses to send
> them if you don't specify a remote address for the interface. Incoming
> bundles are not associated with a link.  This combined with the 'fire
> and forget' nature of UDP means that the sending side will always be
> able to send - whether anything ever receives those bundles is
> unknowable - and ao a UDP link will remain 'open' until explicitly closed.
>
> You can close the contact on a link with the console interface link
> close command (you can find the code for this in
> servlib/cmd/LinkCommand.cc).  If you now the name, you can delete the
> link on the local side.  As I said there isn't anything to do on the
> remote side.  If you want to get rid of opportunistically created links
> you could write an application that accepted link deletion instructions
> in a bundle and issued console commands through the remote console
> interface (if you run dtnd daemonized). See tools/dtnd-control for an
> example of what to do.  You would have to look up the link name via its
> remote EID - its an automatically generated string.
>
> Hope this helps.
>
> Regards,
> Elwyn Davies
>
>
>
>
> Tomas Hall wrote:
> > Hello,
> >
> > I'm new to DTN and have been experimenting a bit with the
> > discovery/announce mechanism and opportunistic links. My network
> > consists of 3 computers (A, B and C), with dtn2.7.0 and oasys
> > installed and running on A and C. A (10.0.1.1) and C (10.0.2.1) are
> > connected to each other via B (10.0.1.2 and 10.0.2.2), which acts as a
> > gateway. My config file on A contains the following (C's config is
> > identical except reversed IPs):
> > interface add udp0 udp local_addr=10.0.1.1
> > discovery add udp_disc ip port=1067 local_addr=10.0.1.1 addr=10.0.2.1
> > unicast
> > discovery announce udp_cl udp_disc udp interval=10 cl_addr=10.0.1.1
> >
> >
> > This appears to be working; the nodes discover each other, the
> > opportunistic link is set up as "link-0", and I am able to use dtnsend
> > and dtnping to send packets from A to C.
> >
> > My problem is that I'm not quite sure how these opportunistic links
> > are closed. I tried experimenting with deleting the discovery/announce
> > entries to see if and when the links timed out. As it turns out, it
> > didn't (alternatively it takes too long for any practical use).
> > dtnsend and dtnping happily continued to send packets successfully.
> > For TCP, it did die when I shut down the other node as the remote port
> > closed, but this is not very useful for me either.
> > What I'm trying to achieve is to be able to send control messages from
> > B to A and C that forces DTN to open or close the links when I tell
> > them to. It'd be somewhat similar to a scheduled link I suppose, but
> > using a scheduled link would require careful synchronization which I'd
> > rather avoid. I'm sort of at a loss where to start, however. My
> > initial thought was to extend the announce/discovery mechanism which
> > may actually work for establishing the link (the first time at least),
> > but I'd also need to be able to remove the link using the same
> > mechanism in that case. I'm kind of hoping I can reuse most of the
> > existing code, perhaps only implementing a subclass that receives and
> > interprets my control messages then uses the existing functions to
> > actually do anything.
> >
> > So, how would I go about manually disabling and/or removing an
> > opportunistic link? If anyone has any ideas how to best implement my
> > desired functionality, that would also be much appreciated.
> >
> > Thanks,
> > Thomas Hall
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > dtn-users mailing list
> > dtn-users@maillists.intel-research.net
> > http://maillists.intel-research.net/mailman/listinfo/dtn-users
> >
>
>
>

--00151747927abc41740482f2aa61
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Elwyn,<br><br>Yeah, the timeout was sort of a shot in the dark on my par=
t, hoping to escape as much work as possible. It&#39;s not really the physi=
cal link states that I&#39;m interested in, but the DTN representation of t=
hem.<br>
<br>Anyway, I should probably expand a bit on the background to hopefully m=
ake it a bit more clear what I&#39;m trying to do.<br>I&#39;ll be doing exp=
eriments with DTN using an emulator (machine B in my setup). As is generall=
y the case in DTNs, links may come and go, which is why I need to close/ope=
n links. I have a communication mechanism from the emulator already in plac=
e (it sends UDP messages over a separate control network), so what is neede=
d is something on the DTN machines to receive, interpret and do what the co=
ntrol message tells them to. Essentially, I want to be able to fool the DTN=
 nodes into thinking that the link is unavailable without having to actuall=
y pull the ethernet cable. I&#39;m also trying to make this as automatic as=
 possible, i.e. no matter what DTN calls the links that are established, wh=
at IP and ports, protocols etc. they are on, this could all be sent from th=
e node to the emulator (a mechanism for receiving this type of information =
is also in place, so that&#39;s just a couple of strategically placed lines=
 of code in the DTN code). This is why I&#39;m looking at the discovery/ann=
ounce mechanism, as this is (from what I can tell) where DTN receives the i=
nformation it needs to establish an opportunistic link. Hence, I figured it=
 also receives all the information I need to close it (find the LinkRef in =
the ContactManager using the CL and EID, do a link state change request via=
 the BundleDaemon with the appropriate state flags).<br>
<br>I&#39;m still somewhat unclear about whether I should be trying to tell=
 DTN to change the link state between unavailable or available or close it =
completely and then reestablishing it later. All I need really is to ensure=
 that DTN doesn&#39;t send data on it, thinking the link is alive and well =
because it hasn&#39;t been told otherwise. Since the timeout was a dead end=
, I&#39;m hoping I can get away with copying the received announcement info=
rmation, then use this information to change the state of the link that is =
established state to unavailable when I receive a control message (exactly =
where I haven&#39;t worked out yet, but somewhere in the Discovery hierarch=
y is where I&#39;m at right now). It does rely on two things that I know of=
 though; 1) the available/unavailable state can be used for opportunistic l=
inks, and 2) the announcement does not activate an already discovered but &=
quot;unavailable&quot; link (can be solved by deactivating the announcement=
 mechanism, I suppose). I&#39;m not sure how DTN would react to something l=
ike that. Like I said, I&#39;m trying to reuse as much existing code as pos=
sible, hopefully leaving the Discovery and IPDiscovery classes (which seems=
 to be those that are relevant for what I&#39;m trying to do) relatively in=
tact.<br>
<br>I&#39;ll take a look at the classes you suggested and see if I find som=
ething. Hopefully it&#39;ll at least give me enough to test the ideas I alr=
eady have and see if it&#39;s doable. Of course, I&#39;d be happy to take a=
ny other ideas how it can be solved as well.<br>
<br>Thanks,<br>Thomas Hall<br><br><br><div class=3D"gmail_quote">On Mon, Ma=
r 29, 2010 at 5:12 PM, Elwyn Davies <span dir=3D"ltr">&lt;<a href=3D"mailto=
:elwynd@folly.org.uk">elwynd@folly.org.uk</a>&gt;</span> wrote:<br><blockqu=
ote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204=
); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, Tomas.<br>
<br>
By default, opportunistic links remain open until explicitly closed or<br>
the daemon discovers it can&#39;t send on the link. In particular there is<=
br>
no idle timeout.<br>
<br>
However, it appears you are using the UDP convergence layer, so links<br>
are something of a tenuous concept. =A0There is no state on the remote<br>
side for UDP links so you can just close the link on the local (sending)<br=
>
side. =A0On the remote (receiving side) the interface add command creates<b=
r>
a socket that will accept bundles from anywhere that chooses to send<br>
them if you don&#39;t specify a remote address for the interface. Incoming<=
br>
bundles are not associated with a link. =A0This combined with the &#39;fire=
<br>
and forget&#39; nature of UDP means that the sending side will always be<br=
>
able to send - whether anything ever receives those bundles is<br>
unknowable - and ao a UDP link will remain &#39;open&#39; until explicitly =
closed.<br>
<br>
You can close the contact on a link with the console interface link<br>
close command (you can find the code for this in<br>
servlib/cmd/LinkCommand.cc). =A0If you now the name, you can delete the<br>
link on the local side. =A0As I said there isn&#39;t anything to do on the<=
br>
remote side. =A0If you want to get rid of opportunistically created links<b=
r>
you could write an application that accepted link deletion instructions<br>
in a bundle and issued console commands through the remote console<br>
interface (if you run dtnd daemonized). See tools/dtnd-control for an<br>
example of what to do. =A0You would have to look up the link name via its<b=
r>
remote EID - its an automatically generated string.<br>
<br>
Hope this helps.<br>
<br>
Regards,<br>
Elwyn Davies<br>
<div><div></div><div class=3D"h5"><br>
<br>
<br>
<br>
Tomas Hall wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I&#39;m new to DTN and have been experimenting a bit with the<br>
&gt; discovery/announce mechanism and opportunistic links. My network<br>
&gt; consists of 3 computers (A, B and C), with dtn2.7.0 and oasys<br>
&gt; installed and running on A and C. A (10.0.1.1) and C (10.0.2.1) are<br=
>
&gt; connected to each other via B (10.0.1.2 and 10.0.2.2), which acts as a=
<br>
&gt; gateway. My config file on A contains the following (C&#39;s config is=
<br>
&gt; identical except reversed IPs):<br>
&gt; interface add udp0 udp local_addr=3D10.0.1.1<br>
&gt; discovery add udp_disc ip port=3D1067 local_addr=3D10.0.1.1 addr=3D10.=
0.2.1<br>
&gt; unicast<br>
&gt; discovery announce udp_cl udp_disc udp interval=3D10 cl_addr=3D10.0.1.=
1<br>
&gt;<br>
&gt;<br>
&gt; This appears to be working; the nodes discover each other, the<br>
&gt; opportunistic link is set up as &quot;link-0&quot;, and I am able to u=
se dtnsend<br>
&gt; and dtnping to send packets from A to C.<br>
&gt;<br>
&gt; My problem is that I&#39;m not quite sure how these opportunistic link=
s<br>
&gt; are closed. I tried experimenting with deleting the discovery/announce=
<br>
&gt; entries to see if and when the links timed out. As it turns out, it<br=
>
&gt; didn&#39;t (alternatively it takes too long for any practical use).<br=
>
&gt; dtnsend and dtnping happily continued to send packets successfully.<br=
>
&gt; For TCP, it did die when I shut down the other node as the remote port=
<br>
&gt; closed, but this is not very useful for me either.<br>
&gt; What I&#39;m trying to achieve is to be able to send control messages =
from<br>
&gt; B to A and C that forces DTN to open or close the links when I tell<br=
>
&gt; them to. It&#39;d be somewhat similar to a scheduled link I suppose, b=
ut<br>
&gt; using a scheduled link would require careful synchronization which I&#=
39;d<br>
&gt; rather avoid. I&#39;m sort of at a loss where to start, however. My<br=
>
&gt; initial thought was to extend the announce/discovery mechanism which<b=
r>
&gt; may actually work for establishing the link (the first time at least),=
<br>
&gt; but I&#39;d also need to be able to remove the link using the same<br>
&gt; mechanism in that case. I&#39;m kind of hoping I can reuse most of the=
<br>
&gt; existing code, perhaps only implementing a subclass that receives and<=
br>
&gt; interprets my control messages then uses the existing functions to<br>
&gt; actually do anything.<br>
&gt;<br>
&gt; So, how would I go about manually disabling and/or removing an<br>
&gt; opportunistic link? If anyone has any ideas how to best implement my<b=
r>
&gt; desired functionality, that would also be much appreciated.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Thomas Hall<br>
</div></div>&gt; ----------------------------------------------------------=
--------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; dtn-users mailing list<br>
&gt; <a href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@ma=
illists.intel-research.net</a><br>
&gt; <a href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-us=
ers" target=3D"_blank">http://maillists.intel-research.net/mailman/listinfo=
/dtn-users</a><br>
&gt;<br>
<br>
<br>
</blockquote></div><br>

--00151747927abc41740482f2aa61--


Received: from b.painless.aaisp.net.uk (b.painless.aaisp.net.uk [81.187.30.52]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2TFADYk002004 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 08:10:14 -0700
Received: from 153.107.2.81.in-addr.arpa ([81.2.107.153] helo=[81.187.254.247]) by b.painless.aaisp.net.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <elwynd@folly.org.uk>) id 1NwGbV-0007Ic-6m; Mon, 29 Mar 2010 16:10:13 +0100
Message-ID: <4BB0C370.30406@folly.org.uk>
Date: Mon, 29 Mar 2010 16:12:48 +0100
From: Elwyn Davies <elwynd@folly.org.uk>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: Tomas Hall <Tomas.Hall@kau.se>
References: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com>
In-Reply-To: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] Opportunistic links - opening/closing
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: elwynd@folly.org.uk
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2010 15:10:14 -0000

Hi, Tomas.

By default, opportunistic links remain open until explicitly closed or
the daemon discovers it can't send on the link. In particular there is
no idle timeout.

However, it appears you are using the UDP convergence layer, so links
are something of a tenuous concept.  There is no state on the remote
side for UDP links so you can just close the link on the local (sending)
side.  On the remote (receiving side) the interface add command creates
a socket that will accept bundles from anywhere that chooses to send
them if you don't specify a remote address for the interface. Incoming
bundles are not associated with a link.  This combined with the 'fire
and forget' nature of UDP means that the sending side will always be
able to send - whether anything ever receives those bundles is
unknowable - and ao a UDP link will remain 'open' until explicitly closed.

You can close the contact on a link with the console interface link
close command (you can find the code for this in
servlib/cmd/LinkCommand.cc).  If you now the name, you can delete the
link on the local side.  As I said there isn't anything to do on the
remote side.  If you want to get rid of opportunistically created links
you could write an application that accepted link deletion instructions
in a bundle and issued console commands through the remote console
interface (if you run dtnd daemonized). See tools/dtnd-control for an
example of what to do.  You would have to look up the link name via its
remote EID - its an automatically generated string.

Hope this helps.

Regards,
Elwyn Davies


 

Tomas Hall wrote:
> Hello,
>
> I'm new to DTN and have been experimenting a bit with the
> discovery/announce mechanism and opportunistic links. My network
> consists of 3 computers (A, B and C), with dtn2.7.0 and oasys
> installed and running on A and C. A (10.0.1.1) and C (10.0.2.1) are
> connected to each other via B (10.0.1.2 and 10.0.2.2), which acts as a
> gateway. My config file on A contains the following (C's config is
> identical except reversed IPs):
> interface add udp0 udp local_addr=10.0.1.1
> discovery add udp_disc ip port=1067 local_addr=10.0.1.1 addr=10.0.2.1
> unicast
> discovery announce udp_cl udp_disc udp interval=10 cl_addr=10.0.1.1
>
>
> This appears to be working; the nodes discover each other, the
> opportunistic link is set up as "link-0", and I am able to use dtnsend
> and dtnping to send packets from A to C.
>
> My problem is that I'm not quite sure how these opportunistic links
> are closed. I tried experimenting with deleting the discovery/announce
> entries to see if and when the links timed out. As it turns out, it
> didn't (alternatively it takes too long for any practical use).
> dtnsend and dtnping happily continued to send packets successfully.
> For TCP, it did die when I shut down the other node as the remote port
> closed, but this is not very useful for me either.
> What I'm trying to achieve is to be able to send control messages from
> B to A and C that forces DTN to open or close the links when I tell
> them to. It'd be somewhat similar to a scheduled link I suppose, but
> using a scheduled link would require careful synchronization which I'd
> rather avoid. I'm sort of at a loss where to start, however. My
> initial thought was to extend the announce/discovery mechanism which
> may actually work for establishing the link (the first time at least),
> but I'd also need to be able to remove the link using the same
> mechanism in that case. I'm kind of hoping I can reuse most of the
> existing code, perhaps only implementing a subclass that receives and
> interprets my control messages then uses the existing functions to
> actually do anything.
>
> So, how would I go about manually disabling and/or removing an
> opportunistic link? If anyone has any ideas how to best implement my
> desired functionality, that would also be much appreciated.
>
> Thanks,
> Thomas Hall
> ------------------------------------------------------------------------
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>   



Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2TBfntc024495 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 04:41:54 -0700
Received: by bwz28 with SMTP id 28so10479403bwz.34 for <dtn-users@maillists.intel-research.net>; Mon, 29 Mar 2010 04:41:49 -0700 (PDT)
MIME-Version: 1.0
Sender: thomas.g.hall@gmail.com
Received: by 10.204.58.79 with HTTP; Mon, 29 Mar 2010 04:41:49 -0700 (PDT)
Date: Mon, 29 Mar 2010 13:41:49 +0200
X-Google-Sender-Auth: 3e30d8963dc94d5b
Received: by 10.204.6.70 with SMTP id 6mr7037052bky.6.1269862909520; Mon, 29  Mar 2010 04:41:49 -0700 (PDT)
Message-ID: <e62614fb1003290441u3a834554rf0f0447ee2a27d68@mail.gmail.com>
From: Tomas Hall <Tomas.Hall@kau.se>
To: dtn-users@maillists.intel-research.net
Content-Type: multipart/alternative; boundary=000e0cd1fb04a2ab480482eeffff
Subject: [dtn-users] Opportunistic links - opening/closing
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2010 11:41:56 -0000

--000e0cd1fb04a2ab480482eeffff
Content-Type: text/plain; charset=ISO-8859-1

Hello,

I'm new to DTN and have been experimenting a bit with the discovery/announce
mechanism and opportunistic links. My network consists of 3 computers (A, B
and C), with dtn2.7.0 and oasys installed and running on A and C. A
(10.0.1.1) and C (10.0.2.1) are connected to each other via B (10.0.1.2 and
10.0.2.2), which acts as a gateway. My config file on A contains the
following (C's config is identical except reversed IPs):
interface add udp0 udp local_addr=10.0.1.1
discovery add udp_disc ip port=1067 local_addr=10.0.1.1 addr=10.0.2.1
unicast
discovery announce udp_cl udp_disc udp interval=10 cl_addr=10.0.1.1


This appears to be working; the nodes discover each other, the opportunistic
link is set up as "link-0", and I am able to use dtnsend and dtnping to send
packets from A to C.

My problem is that I'm not quite sure how these opportunistic links are
closed. I tried experimenting with deleting the discovery/announce entries
to see if and when the links timed out. As it turns out, it didn't
(alternatively it takes too long for any practical use). dtnsend and dtnping
happily continued to send packets successfully. For TCP, it did die when I
shut down the other node as the remote port closed, but this is not very
useful for me either.
What I'm trying to achieve is to be able to send control messages from B to
A and C that forces DTN to open or close the links when I tell them to. It'd
be somewhat similar to a scheduled link I suppose, but using a scheduled
link would require careful synchronization which I'd rather avoid. I'm sort
of at a loss where to start, however. My initial thought was to extend the
announce/discovery mechanism which may actually work for establishing the
link (the first time at least), but I'd also need to be able to remove the
link using the same mechanism in that case. I'm kind of hoping I can reuse
most of the existing code, perhaps only implementing a subclass that
receives and interprets my control messages then uses the existing functions
to actually do anything.

So, how would I go about manually disabling and/or removing an opportunistic
link? If anyone has any ideas how to best implement my desired
functionality, that would also be much appreciated.

Thanks,
Thomas Hall

--000e0cd1fb04a2ab480482eeffff
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,<br><br>I&#39;m new to DTN and have been experimenting a bit with the=
 discovery/announce mechanism and opportunistic links. My network consists =
of 3 computers (A, B and C), with dtn2.7.0 and oasys installed and running =
on A and C. A (10.0.1.1) and C (10.0.2.1) are connected to each other via B=
 (10.0.1.2 and 10.0.2.2), which acts as a gateway. My config file on A cont=
ains the following (C&#39;s config is identical except reversed IPs):<br>
interface add udp0 udp local_addr=3D10.0.1.1<br>discovery add udp_disc ip p=
ort=3D1067 local_addr=3D10.0.1.1 addr=3D10.0.2.1 unicast<br>discovery annou=
nce udp_cl udp_disc udp interval=3D10 cl_addr=3D10.0.1.1<br><br><br>This ap=
pears to be working; the nodes discover each other, the opportunistic link =
is set up as &quot;link-0&quot;, and I am able to use dtnsend and dtnping t=
o send packets from A to C.<br>
<br>My problem is that I&#39;m not quite sure how these opportunistic links=
 are closed. I tried experimenting with deleting the discovery/announce ent=
ries to see if and when the links timed out. As it turns out, it didn&#39;t=
 (alternatively it takes too long for any practical use). dtnsend and dtnpi=
ng happily continued to send packets successfully. For TCP, it did die when=
 I shut down the other node as the remote port closed, but this is not very=
 useful for me either.<br>
What I&#39;m trying to achieve is to be able to send control messages from =
B to A and C that forces DTN to open or close the links when I tell them to=
. It&#39;d be somewhat similar to a scheduled link I suppose, but using a s=
cheduled link would require careful synchronization which I&#39;d rather av=
oid. I&#39;m sort of at a loss where to start, however. My initial thought =
was to extend the announce/discovery mechanism which may actually work for =
establishing the link (the first time at least), but I&#39;d also need to b=
e able to remove the link using the same mechanism in that case. I&#39;m ki=
nd of hoping I can reuse most of the existing code, perhaps only implementi=
ng a subclass that receives and interprets my control messages then uses th=
e existing functions to actually do anything.<br>
<br>So, how would I go about manually disabling and/or removing an opportun=
istic link? If anyone has any ideas how to best implement my desired functi=
onality, that would also be much appreciated.<br><br>Thanks,<br>Thomas Hall=
<br>

--000e0cd1fb04a2ab480482eeffff--


Received: from mail-pv0-f169.google.com (mail-pv0-f169.google.com [74.125.83.169]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2T2R8mK030119 for <dtn-users@maillists.intel-research.net>; Sun, 28 Mar 2010 19:27:08 -0700
Received: by pvg2 with SMTP id 2so5224368pvg.28 for <dtn-users@maillists.intel-research.net>; Sun, 28 Mar 2010 19:27:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.142.43.11 with HTTP; Sun, 28 Mar 2010 19:27:09 -0700 (PDT)
Date: Mon, 29 Mar 2010 10:27:09 +0800
Received: by 10.143.26.34 with SMTP id d34mr1718276wfj.222.1269829629138; Sun,  28 Mar 2010 19:27:09 -0700 (PDT)
Message-ID: <99313f811003281927y44945c92g96c5331b30e2f4ea@mail.gmail.com>
From: ye jianshe <jiansheye@gmail.com>
To: dtn-users@maillists.intel-research.net
Content-Type: text/plain; charset=ISO-8859-1
Subject: [dtn-users] a error from my first dtnping
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2010 02:27:08 -0000

Hello all,

     I am studying DTN2 and my first dtnping is as follows:

[root@localhost dtnping]# dtnping localhost
fatal error opening dtn handle: error in ipc communication

please help regarding this matter...

Thanks and Regards,

-- 
jiansheye/2010-03-29


Received: from ch3.sourceforge.net (ch3.sourceforge.net [216.34.181.60]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2PLQPaj005952 for <dtn-users@mailman.dtnrg.org>; Thu, 25 Mar 2010 14:26:26 -0700
Received: from www by sfs-web-10.v29.ch3.sourceforge.com with local (Exim 4.69) (envelope-from <noreply@sourceforge.net>) id 1NuuZM-0006vg-Vl; Thu, 25 Mar 2010 21:26:24 +0000
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-SourceForge-Tracker-unixname: dtn
X-SourceForge-Tracker-trackerid: 630167
X-SourceForge-Tracker-itemid: 2970349
X-SourceForge-Tracker-itemstatus: Open
X-SourceForge-Tracker-itemassignee: nobody
X-SourceForge-Tracker-itemupdate-reason: Comment added
X-SourceForge-Tracker-itemupdate-username: darrenlong
Message-Id: <E1NuuZM-0006vg-Vl@sfs-web-10.v29.ch3.sourceforge.com>
Date: Thu, 25 Mar 2010 21:26:24 +0000
Subject: [dtn-users] [ dtn-Bugs-2970349 ] dtnping (sender) not working on linux-armel
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2010 21:26:27 -0000

Bugs item #2970349, was opened at 2010-03-14 19:05
Message generated for change (Comment added) made by darrenlong
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2970349&group_id=101657

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface (example)
Group: v2.7
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: dtnping (sender) not working on linux-armel

Initial Comment:
dtnping launched from linux-armel host does not work. 
Tested on Nokia n900/maemo5 fremantle

Possible endianess issues.


----------------------------------------------------------------------

Comment By: Darren Long (darrenlong)
Date: 2010-03-25 21:26

Message:
Have just built DTN2 2.7.0 deb in scratchbox for N900/Maemo5 target and can
confirm that dtnping works for me on the device.

Happy to discuss issues on dtn-users list.

----------------------------------------------------------------------

Comment By: Ricardo Martins (aggression)
Date: 2010-03-25 19:23

Message:
Your machine is little endian and since almost everyone uses DTN in x86
machines, also little endian, I guess it is not a endianess issue. I've
tested DTN in a Playstation3 (which is big endian) and it works as
advertised. Are you're using uClibc or Glibc ?

----------------------------------------------------------------------

Comment By: Darren Long (darrenlong)
Date: 2010-03-14 19:22

Message:
Works for me on a sheevaplug, with code from tip.  I'll try it on maemo5
when I get a chance.

darren@plug1:~$ uname -a
Linux plug1 2.6.31 #2 PREEMPT Wed Sep 16 00:55:42 MDT 2009 armv5tel
GNU/Linux
darren@plug1:~$ dtnping  dtn://dtnbone.delaytolerant.net/ping
source_eid [dtn://plug1.49southgate.homeip.net/ping.25096]
dtn_register succeeded, regid 27
PING [dtn://dtnbone.delaytolerant.net/ping] (expiration 30)...
20 bytes from [dtn://dtnbone.delaytolerant.net/ping]: 'dtnping!' seqno=0,
time=349 ms
20 bytes from [dtn://dtnbone.delaytolerant.net/ping]: 'dtnping!' seqno=1,
time=652 ms

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2970349&group_id=101657


Received: from ch3.sourceforge.net (ch3.sourceforge.net [216.34.181.60]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2PJNgRR032550 for <dtn-users@mailman.dtnrg.org>; Thu, 25 Mar 2010 12:23:42 -0700
Received: from www by sfs-web-5.v29.ch3.sourceforge.com with local (Exim 4.69) (envelope-from <noreply@sourceforge.net>) id 1NuseZ-000717-7L; Thu, 25 Mar 2010 19:23:39 +0000
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-SourceForge-Tracker-unixname: dtn
X-SourceForge-Tracker-trackerid: 630167
X-SourceForge-Tracker-itemid: 2970349
X-SourceForge-Tracker-itemstatus: Open
X-SourceForge-Tracker-itemassignee: nobody
X-SourceForge-Tracker-itemupdate-reason: Comment added
X-SourceForge-Tracker-itemupdate-username: aggression
Message-Id: <E1NuseZ-000717-7L@sfs-web-5.v29.ch3.sourceforge.com>
Date: Thu, 25 Mar 2010 19:23:39 +0000
Subject: [dtn-users] [ dtn-Bugs-2970349 ] dtnping (sender) not working on linux-armel
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2010 19:23:42 -0000

Bugs item #2970349, was opened at 2010-03-14 19:05
Message generated for change (Comment added) made by aggression
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2970349&group_id=101657

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface (example)
Group: v2.7
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: dtnping (sender) not working on linux-armel

Initial Comment:
dtnping launched from linux-armel host does not work. 
Tested on Nokia n900/maemo5 fremantle

Possible endianess issues.


----------------------------------------------------------------------

Comment By: Ricardo Martins (aggression)
Date: 2010-03-25 19:23

Message:
Your machine is little endian and since almost everyone uses DTN in x86
machines, also little endian, I guess it is not a endianess issue. I've
tested DTN in a Playstation3 (which is big endian) and it works as
advertised. Are you're using uClibc or Glibc ?

----------------------------------------------------------------------

Comment By: Darren Long (darrenlong)
Date: 2010-03-14 19:22

Message:
Works for me on a sheevaplug, with code from tip.  I'll try it on maemo5
when I get a chance.

darren@plug1:~$ uname -a
Linux plug1 2.6.31 #2 PREEMPT Wed Sep 16 00:55:42 MDT 2009 armv5tel
GNU/Linux
darren@plug1:~$ dtnping  dtn://dtnbone.delaytolerant.net/ping
source_eid [dtn://plug1.49southgate.homeip.net/ping.25096]
dtn_register succeeded, regid 27
PING [dtn://dtnbone.delaytolerant.net/ping] (expiration 30)...
20 bytes from [dtn://dtnbone.delaytolerant.net/ping]: 'dtnping!' seqno=0,
time=349 ms
20 bytes from [dtn://dtnbone.delaytolerant.net/ping]: 'dtnping!' seqno=1,
time=652 ms

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2970349&group_id=101657


Received: from aa012msr.fastwebnet.it (aa012msr.fastwebnet.it [85.18.95.72]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2PElo5v019197 for <dtn-users@mailman.dtnrg.org>; Thu, 25 Mar 2010 07:47:51 -0700
Received: from [10.198.113.47] (10.198.113.47) by aa012msr.fastwebnet.it (8.5.016.6) id 4B869E11044A2E58; Thu, 25 Mar 2010 15:47:45 +0100
Message-ID: <4BAB7791.50203@lilik.it>
Date: Thu, 25 Mar 2010 15:47:45 +0100
From: Francesco Vollero <raven@lilik.it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Darren Long <darren.long@mac.com>
References: <99313f811003250139yb47a07bsffd416a53e1c593a@mail.gmail.com> <AE9ED815-BBBB-4DAE-9BB3-6141AF0F4AB8@mac.com>
In-Reply-To: <AE9ED815-BBBB-4DAE-9BB3-6141AF0F4AB8@mac.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dtn-users list <dtn-users@mailman.dtnrg.org>, ye jianshe <jiansheye@gmail.com>
Subject: Re: [dtn-users] DTN2 and oasys install for linux redhat
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2010 14:47:52 -0000

Darren Long ha scritto:
> Hi Ye,
>
> When configuring DTN2 I tend to use:
>
> ./configure --disable-ecl --disable-edp
>

Or just install xerces-devel on redhat/fedora would not be more simple? 
And instead of compile by hand all the dependencies, using yum install 
<packagename>-devel is more simple and you dont waste time

Regards,
Francesco "A guy that compile DTN2 a tons of times on different 
platforms" Vollero


> Hope that helps.
>
> Darren
>
> On 25 Mar 2010, at 08:39, ye jianshe wrote:
>
>> Hi all,
>>
>> I tried to Compilation / Installation NS2 and oasys by the 
>> instruction from 
>> http://dtn.sourceforge.net/DTN2/doc/manual/compiling.html. 
>> <http://dtn.sourceforge.net/DTN2/doc/manual/compiling.html.>
>> Unfortunately, I have tried many times, but the results is  failed. 
>> my installation process is following:
>>  
>> Before comiling DTN2, compling  tcl8.4.12 ,   db-4.5.20 and   oasys-1.3.0
>>  
>>  step 1:
>>
>>  
>>
>>     cd /home/smallko/dtn2/cl8.4.12/unix
>>         ./configure
>>          make
>>         make install
>>
>>  
>>
>>  
>>
>> step 2:
>>
>>  
>>
>>     cd /home/smallko/dtn2/db-4.5.20/build_unix
>>          ../dist/configure
>>         make
>>         make install
>>
>>  
>>
>> step 3:
>>
>>  
>>
>>     cd /home/smallko/dtn2/oasys-1.3.0
>>          ./configure
>>           make
>>
>>  
>>
>> step 4:
>>
>>  
>>
>>     set environment for  .bash_profile:
>>
>>  
>>
>>      
>>
>> # .bash_profile
>>                                                                                 
>>
>> # Get the aliases and functions
>> if [ -f ~/.bashrc ]; then
>>         . ~/.bashrc
>> fi
>>                                                                                 
>>
>> # User specific environment and startup programs
>>                                                                                 
>>
>> PATH=$PATH:$HOME/bin
>> BASH_ENV=$HOME/.bashrc
>> USERNAME="root"
>> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.4.5/lib
>> export USERNAME BASH_ENV PATH
>> export LD_LIBRARY_PATH
>>
>>  
>>
>> step 5:
>>        cd /home/smallko/dtn2/dtn2.6
>>        ./configure -C
>>
>>       
>>
>> configure: loading cache config.cache
>> checking location of source directory... "/home/smallko/dtn2"
>> checking location of build directory... "/home/smallko/dtn2"
>> checking for a C compiler (trying gcc gcc-4.1 gcc-4.0 gcc-3.4 gcc-3.3)...
>> checking for gcc... (cached) gcc
>> checking for C compiler default output file name... a.out
>> checking whether the C compiler works... yes
>> checking whether we are cross compiling... no
>> checking for suffix of executables...
>> checking for suffix of object files... (cached) o
>> checking whether we are using the GNU C compiler... (cached) yes
>> checking whether gcc accepts -g... (cached) yes
>> checking for gcc option to accept ISO C89... (cached) none needed
>> checking for a C++ compiler (trying g++ g++-4.0 g++-4.0 g++-3.4 
>> g++-3.3)...
>> checking for g++... (cached) g++
>> checking whether we are using the GNU C++ compiler... (cached) yes
>> checking whether g++ accepts -g... (cached) yes
>> checking whether the C++ compiler works... yes
>> checking how to run the C preprocessor... (cached) gcc -E
>> checking for the version of the GNU C compiler... (cached) 3.2.2
>> checking for the version of the GNU C++ compiler... (cached) 3.2.2
>> checking for ar... (cached) ar
>> checking for ranlib... (cached) ranlib
>> checking whether to compile with debugging... yes
>> checking whether to compile with memory debugging... no
>> checking whether to compile with lock debugging (default yes)... yes
>> checking whether to compile with optimization... no
>> checking whether to compile with profiling... no
>> checking whether to link statically... no
>> checking whether to link using static external libraries... no
>> checking whether to try to build shared libraries... yes
>> checking whether the compiler supports -fPIC... yes
>> checking whether the compiler can link a dynamic library with 
>> -shared... yes
>> checking extension for dynamic libraries... so
>> checking if the compiler supports -Wl,--rpath=.... yes
>> checking for an oasys installation (version 1.3 or better)... 
>> ./configure: line
>> 1: /home/smallko/oasys/share/oasys/tools/extract-version: Permission 
>> denied
>> ../oasys
>> checking for grep that handles long lines and -e... /bin/grep
>> checking for egrep... /bin/grep -E
>> checking for ANSI C header files... yes
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking whether bonjour support should be enabled... try
>> checking dns_sd.h usability... no
>> checking dns_sd.h presence... no
>> checking for dns_sd.h... no
>> checking for library containing DNSServiceRegister... no
>> checking whether bonjour support was found... no
>> checking whether to enable external convergence layer support... yes
>> checking whether oasys is configured with XERCES_C_ENABLED... no
>> configure: error: external convergence layer support requires 
>> xerces... install it or configure --disable-ecl
>>
>>  
>>
>>       make
>>
>>  
>>
>>        akefile:43: Rules.make: No such file or directory
>> make: /tools/extract-version: Command not found
>> H BH Bmake: /tools/extract-version: Command not found
>> ? B? Bmake: /tools/extract-version: Command not found
>> ? B? Bmake: /tools/extract-version: Command not found
>> ? B? BSRCDIR: .
>> error -- Makefile did not set SRCDIR properly
>> make: *** [/Rules.make.in <http://Rules.make.in/>] Error 1
>>
>>  
>>
>> ..................
>>
>>   
>>
>>  
>>
>>  please help regarding this matter...
>>
>>  
>> jiansheye/2010-03- 25
>>
>> _______________________________________________
>> dtn-users mailing list
>> dtn-users@maillists.intel-research.net 
>> <mailto:dtn-users@maillists.intel-research.net>
>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>   



Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2P92AA8002176 for <dtn-users@mailman.dtnrg.org>; Thu, 25 Mar 2010 02:02:10 -0700
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_fCYuX4HqIRFT3aqXwH4lkg)"
Received: from [192.168.1.10] ([94.30.69.47]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KZT00I83YFFVD60@asmtp027.mac.com> for dtn-users@mailman.dtnrg.org; Thu, 25 Mar 2010 02:02:07 -0700 (PDT)
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1003250033
From: Darren Long <darren.long@mac.com>
In-reply-to: <99313f811003250139yb47a07bsffd416a53e1c593a@mail.gmail.com>
Date: Thu, 25 Mar 2010 09:02:02 +0000
Message-id: <AE9ED815-BBBB-4DAE-9BB3-6141AF0F4AB8@mac.com>
References: <99313f811003250139yb47a07bsffd416a53e1c593a@mail.gmail.com>
To: ye jianshe <jiansheye@gmail.com>
X-Mailer: Apple Mail (2.1077)
Cc: dtn-users list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] DTN2 and oasys install for linux redhat
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2010 09:02:10 -0000

--Boundary_(ID_fCYuX4HqIRFT3aqXwH4lkg)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Hi Ye,

When configuring DTN2 I tend to use:

	./configure --disable-ecl --disable-edp

Hope that helps.

Darren

On 25 Mar 2010, at 08:39, ye jianshe wrote:

> Hi all,
> 
> I tried to Compilation / Installation NS2 and oasys by the instruction from http://dtn.sourceforge.net/DTN2/doc/manual/compiling.html.
> Unfortunately, I have tried many times, but the results is  failed. my installation process is following:
>  
> Before comiling DTN2, compling  tcl8.4.12 ,   db-4.5.20 and   oasys-1.3.0
>  
>  step 1:
>  
>     cd /home/smallko/dtn2/cl8.4.12/unix
>         ./configure
>          make
>         make install
>  
>  
> step 2:
>  
>     cd /home/smallko/dtn2/db-4.5.20/build_unix
>          ../dist/configure
>         make
>         make install
>  
> step 3:
>  
>     cd /home/smallko/dtn2/oasys-1.3.0
>          ./configure
>           make
>  
> step 4:
>  
>     set environment for  .bash_profile:
>  
>      
> # .bash_profile
>                                                                                 
> # Get the aliases and functions
> if [ -f ~/.bashrc ]; then
>         . ~/.bashrc
> fi
>                                                                                 
> # User specific environment and startup programs
>                                                                                 
> PATH=$PATH:$HOME/bin
> BASH_ENV=$HOME/.bashrc
> USERNAME="root"
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.4.5/lib
> export USERNAME BASH_ENV PATH
> export LD_LIBRARY_PATH
> 
>  
> step 5:
>        cd /home/smallko/dtn2/dtn2.6
>        ./configure -C
>       
> configure: loading cache config.cache
> checking location of source directory... "/home/smallko/dtn2"
> checking location of build directory... "/home/smallko/dtn2"
> checking for a C compiler (trying gcc gcc-4.1 gcc-4.0 gcc-3.4 gcc-3.3)...
> checking for gcc... (cached) gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... (cached) o
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking for a C++ compiler (trying g++ g++-4.0 g++-4.0 g++-3.4 g++-3.3)...
> checking for g++... (cached) g++
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking whether the C++ compiler works... yes
> checking how to run the C preprocessor... (cached) gcc -E
> checking for the version of the GNU C compiler... (cached) 3.2.2
> checking for the version of the GNU C++ compiler... (cached) 3.2.2
> checking for ar... (cached) ar
> checking for ranlib... (cached) ranlib
> checking whether to compile with debugging... yes
> checking whether to compile with memory debugging... no
> checking whether to compile with lock debugging (default yes)... yes
> checking whether to compile with optimization... no
> checking whether to compile with profiling... no
> checking whether to link statically... no
> checking whether to link using static external libraries... no
> checking whether to try to build shared libraries... yes
> checking whether the compiler supports -fPIC... yes
> checking whether the compiler can link a dynamic library with -shared... yes
> checking extension for dynamic libraries... so
> checking if the compiler supports -Wl,--rpath=.... yes
> checking for an oasys installation (version 1.3 or better)... ./configure: line
> 1: /home/smallko/oasys/share/oasys/tools/extract-version: Permission denied
> ../oasys
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking whether bonjour support should be enabled... try
> checking dns_sd.h usability... no
> checking dns_sd.h presence... no
> checking for dns_sd.h... no
> checking for library containing DNSServiceRegister... no
> checking whether bonjour support was found... no
> checking whether to enable external convergence layer support... yes
> checking whether oasys is configured with XERCES_C_ENABLED... no
> configure: error: external convergence layer support requires xerces... install it or configure --disable-ecl
>  
>       make
>  
>        akefile:43: Rules.make: No such file or directory
> make: /tools/extract-version: Command not found
> H BH Bmake: /tools/extract-version: Command not found
> ? B? Bmake: /tools/extract-version: Command not found
> ? B? Bmake: /tools/extract-version: Command not found
> ? B? BSRCDIR: .
> error -- Makefile did not set SRCDIR properly
> make: *** [/Rules.make.in] Error 1
>  
> ..................
>   
>  
>  please help regarding this matter...
>  
> jiansheye/2010-03- 25
> 
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users


--Boundary_(ID_fCYuX4HqIRFT3aqXwH4lkg)
Content-type: text/html; charset=utf-8
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi =
Ye,<div><br></div><div>When configuring DTN2 I tend to =
use:</div><div><br></div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>./configure --disable-ecl =
--disable-edp</div><div><br></div><div>Hope that =
helps.</div><div><br></div><div>Darren</div><div><br><div><div>On 25 Mar =
2010, at 08:39, ye jianshe wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><p>Hi =
all,</p>
<div>I tried to Compilation / Installation NS2 and oasys by the =
instruction from <a =
href=3D"http://dtn.sourceforge.net/DTN2/doc/manual/compiling.html.">http:/=
/dtn.sourceforge.net/DTN2/doc/manual/compiling.html. </a></div>

<div>Unfortunately, I have tried many times, but the results is&nbsp; =
failed. my installation process is following:</div>
<div>&nbsp;</div>
<div>Before comiling DTN2, compling&nbsp; <span lang=3D"EN-US"><font =
face=3D"Times New Roman">tcl8.4.12&nbsp;,</font></span><span =
lang=3D"EN-US"><font face=3D"Times New Roman"><span =
style=3D"mso-tab-count: 3">&nbsp;</span><span style=3D"mso-spacerun: =
yes">&nbsp; </span>db-4.5.20&nbsp;and&nbsp;</font></span><span =
lang=3D"EN-US" style=3D"FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New =
Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: =E5=AE=8B=E4=BD=
=93; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; =
mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><span =
style=3D"mso-spacerun: yes">&nbsp; </span>oasys-1.3.0</span></div>

<div><span lang=3D"EN-US" style=3D"FONT-SIZE: 10.5pt; FONT-FAMILY: =
'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: =
=E5=AE=8B=E4=BD=93; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; =
mso-fareast-language: ZH-CN; mso-bidi-language: =
AR-SA"></span>&nbsp;</div>

<div><span lang=3D"EN-US" style=3D"FONT-SIZE: 10.5pt; FONT-FAMILY: =
'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: =
=E5=AE=8B=E4=BD=93; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; =
mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; =
margin-left: 0cm; "><span style=3D"FONT-FAMILY: =E5=AE=8B=E4=BD=93; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">&nbsp;step 1:</span></div><p class=3D"MsoNormal" =
style=3D"MARGIN: 0cm 0cm 0pt"><span style=3D"FONT-FAMILY: =E5=AE=8B=E4=BD=93=
; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: =
'Times New Roman'"></span>&nbsp;</p><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
style=3D"FONT-FAMILY: =E5=AE=8B=E4=BD=93; mso-ascii-font-family: 'Times =
New Roman'; mso-hansi-font-family: 'Times New Roman'">&nbsp;&nbsp;&nbsp; =
cd&nbsp;/home/smallko/dtn2/</span><span lang=3D"EN-US"><font face=3D"Times=
 New Roman">cl8.4.12/unix</font></span></div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US"><font face=3D"Times New Roman"><span =
style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
style=3D"mso-spacerun: yes"> </span>./configure</font></span></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; =
margin-left: 0cm; "><span lang=3D"EN-US"><font face=3D"Times New =
Roman"><span style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
style=3D"mso-spacerun: yes"> </span>make </font></span></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; =
margin-left: 0cm; "><span lang=3D"EN-US"><font face=3D"Times New =
Roman"><span style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
style=3D"mso-spacerun: yes"> </span>make install</font></span></div><p =
class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span =
lang=3D"EN-US"></span>&nbsp;</p><p class=3D"MsoNormal" style=3D"MARGIN: =
0cm 0cm 0pt"><span lang=3D"EN-US"></span>&nbsp;</p><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; =
margin-left: 0cm; "><span lang=3D"EN-US">step 2:</span></div><p =
class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span =
lang=3D"EN-US"></span>&nbsp;</p><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
style=3D"FONT-FAMILY: =E5=AE=8B=E4=BD=93; mso-ascii-font-family: 'Times =
New Roman'; mso-hansi-font-family: 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;cd /home/smallko/dtn2/</span><span =
lang=3D"EN-US"><font face=3D"Times New =
Roman">db-4.5.20/build_unix</font></span></div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US"><font face=3D"Times New Roman"><span =
style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
style=3D"mso-spacerun: yes"> =
</span>../dist/configure</font></span></div><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US"><font face=3D"Times New Roman"><span =
style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>make</font></spa=
n></div><div style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: =
0pt; margin-left: 0cm; "><span lang=3D"EN-US"><font face=3D"Times New =
Roman"><span style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>make =
install</font></span></div><p class=3D"MsoNormal" style=3D"MARGIN: 0cm =
0cm 0pt"><span lang=3D"EN-US"></span>&nbsp;</p><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US">step 3:</span></div><p class=3D"MsoNormal" style=3D"MARGIN:=
 0cm 0cm 0pt"><span lang=3D"EN-US"></span>&nbsp;</p><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; =
margin-left: 0cm; "><span style=3D"FONT-FAMILY: =E5=AE=8B=E4=BD=93; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'">&nbsp;&nbsp;&nbsp; cd /home/smallko/dtn2/o</span><span =
lang=3D"EN-US"><font face=3D"Times New =
Roman">asys-1.3.0</font></span></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US"><font face=3D"Times New Roman"><span =
style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
style=3D"mso-spacerun: yes"> </span>./configure</font></span></div><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; =
margin-left: 0cm; "><span lang=3D"EN-US"><font face=3D"Times New =
Roman"><span style=3D"mso-tab-count: =
3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span =
style=3D"mso-spacerun: yes">&nbsp; </span>make</font></span></div><p =
class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span =
lang=3D"EN-US"></span>&nbsp;</p><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US">step 4:</span></div><p class=3D"MsoNormal" style=3D"MARGIN:=
 0cm 0cm 0pt"><span lang=3D"EN-US"></span>&nbsp;</p><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; =
margin-left: 0cm; "><span lang=3D"EN-US">&nbsp;&nbsp;&nbsp; set =
environment for&nbsp; .bash_profile: </span></div><p class=3D"MsoNormal" =
style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"></span>&nbsp;</p><p =
class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span =
lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></p><p># =
.bash_profile<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br># Get the aliases =
and functions<br>if [ -f ~/.bashrc ]; =
then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . =
~/.bashrc<br>fi<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
# User specific environment and startup =
programs<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<br>PATH=3D$PATH:$HOME/bin<br>BASH_ENV=3D$HOME/.bashrc<br>USERNAME=3D"root=
"<br>LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:/usr/local=
/BerkeleyDB.4.5/lib<br>
export USERNAME BASH_ENV PATH<br>export LD_LIBRARY_PATH</p></span><p =
class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span =
lang=3D"EN-US"></span>&nbsp;</p><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US">step 5:</span></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd =
/home/smallko/dtn2/dtn2.6</span></div><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ./configure =
-C</span></div><p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm =
0pt"><span lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></p><div style=3D"margin-top: 0cm; margin-right: 0cm; =
margin-bottom: 0pt; margin-left: 0cm; "><span lang=3D"EN-US">configure: =
loading cache config.cache<br>checking location of source directory... =
"/home/smallko/dtn2"<br>checking location of build directory... =
"/home/smallko/dtn2"<br>
checking for a C compiler (trying gcc gcc-4.1 gcc-4.0 gcc-3.4 =
gcc-3.3)...<br>checking for gcc... (cached) gcc<br>checking for C =
compiler default output file name... a.out<br>checking whether the C =
compiler works... yes<br>
checking whether we are cross compiling... no<br>checking for suffix of =
executables...<br>checking for suffix of object files... (cached) =
o<br>checking whether we are using the GNU C compiler... (cached) =
yes<br>checking whether gcc accepts -g... (cached) yes<br>
checking for gcc option to accept ISO C89... (cached) none =
needed<br>checking for a C++ compiler (trying g++ g++-4.0 g++-4.0 =
g++-3.4 g++-3.3)...<br>checking for g++... (cached) g++<br>checking =
whether we are using the GNU C++ compiler... (cached) yes<br>
checking whether g++ accepts -g... (cached) yes<br>checking whether the =
C++ compiler works... yes<br>checking how to run the C preprocessor... =
(cached) gcc -E<br>checking for the version of the GNU C compiler... =
(cached) 3.2.2<br>
checking for the version of the GNU C++ compiler... (cached) =
3.2.2<br>checking for ar... (cached) ar<br>checking for ranlib... =
(cached) ranlib<br>checking whether to compile with debugging... =
yes<br>checking whether to compile with memory debugging... no<br>
checking whether to compile with lock debugging (default yes)... =
yes<br>checking whether to compile with optimization... no<br>checking =
whether to compile with profiling... no<br>checking whether to link =
statically... no<br>
checking whether to link using static external libraries... =
no<br>checking whether to try to build shared libraries... =
yes<br>checking whether the compiler supports -fPIC... yes<br>checking =
whether the compiler can link a dynamic library with -shared... yes<br>
checking extension for dynamic libraries... so<br>checking if the =
compiler supports -Wl,--rpath=3D.... yes<br>checking for an oasys =
installation (version 1.3 or better)... ./configure: line<br>1: =
/home/smallko/oasys/share/oasys/tools/extract-version: Permission =
denied<br>
../oasys<br>checking for grep that handles long lines and -e... =
/bin/grep<br>checking for egrep... /bin/grep -E<br>checking for ANSI C =
header files... yes<br>checking for sys/types.h... yes<br>checking for =
sys/stat.h... yes<br>
checking for stdlib.h... yes<br>checking for string.h... yes<br>checking =
for memory.h... yes<br>checking for strings.h... yes<br>checking for =
inttypes.h... yes<br>checking for stdint.h... yes<br>checking for =
unistd.h... yes<br>
checking whether bonjour support should be enabled... try<br>checking =
dns_sd.h usability... no<br>checking dns_sd.h presence... no<br>checking =
for dns_sd.h... no<br>checking for library containing =
DNSServiceRegister... no<br>
checking whether bonjour support was found... no<br>checking whether to =
enable external convergence layer support... yes<br>checking whether =
oasys is configured with XERCES_C_ENABLED... no<br>configure: error: =
external convergence layer support requires xerces... install it or =
configure --disable-ecl</span></div><p class=3D"MsoNormal" =
style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"></span>&nbsp;</p><div =
style=3D"margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; =
margin-left: 0cm; "><span lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
make</span></div><p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm =
0pt"><span lang=3D"EN-US"></span>&nbsp;</p><div style=3D"margin-top: =
0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; akefile:43: =
Rules.make: No such file or directory<br>make: /tools/extract-version: =
Command not found<br>H  BH  Bmake: /tools/extract-version: Command not =
found<br>
?  B?  Bmake: /tools/extract-version: Command not found<br>?  B?  Bmake: =
/tools/extract-version: Command not found<br>?  B?  BSRCDIR: .<br>error =
-- Makefile did not set SRCDIR properly<br>make: *** [/<a =
href=3D"http://Rules.make.in/">Rules.make.in</a>] Error 1</span></div><p =
class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span =
lang=3D"EN-US"></span>&nbsp;</p><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span =
lang=3D"EN-US">..................</span></div><p class=3D"MsoNormal" =
style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">&nbsp;</span><span =
lang=3D"EN-US">&nbsp;</span></p><p class=3D"MsoNormal" style=3D"MARGIN: =
0cm 0cm 0pt"><span lang=3D"EN-US"></span>&nbsp;</p></div>
<div>&nbsp;please help regarding this =
matter...</div><p>&nbsp;<br>jiansheye/2010-03- 25</p>
_______________________________________________<br>dtn-users mailing =
list<br><a =
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists=
.intel-research.net</a><br>http://maillists.intel-research.net/mailman/lis=
tinfo/dtn-users<br></blockquote></div><br></div></body></html>=

--Boundary_(ID_fCYuX4HqIRFT3aqXwH4lkg)--


Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.210.180]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2P8dAda000989 for <dtn-users@maillists.intel-research.net>; Thu, 25 Mar 2010 01:39:11 -0700
Received: by yxe10 with SMTP id 10so2664633yxe.29 for <dtn-users@maillists.intel-research.net>; Thu, 25 Mar 2010 01:39:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.2.23 with SMTP id e23mr365771ani.214.1269506349968; Thu,  25 Mar 2010 01:39:09 -0700 (PDT)
Date: Thu, 25 Mar 2010 16:39:09 +0800
Message-ID: <99313f811003250139yb47a07bsffd416a53e1c593a@mail.gmail.com>
From: ye jianshe <jiansheye@gmail.com>
To: dtn-users@maillists.intel-research.net
Content-Type: multipart/alternative; boundary=0016368e2e1a07ac8004829bfbfa
Subject: [dtn-users] DTN2 and oasys install for linux redhat
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Thu, 25 Mar 2010 08:39:11 -0000

--0016368e2e1a07ac8004829bfbfa
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi all,
I tried to Compilation / Installation NS2 and oasys by the instruction
from http://dtn.sourceforge.net/DTN2/doc/manual/compiling.html.

Unfortunately, I have tried many times, but the results is  failed. my
installation process is following:

Before comiling DTN2, compling  tcl8.4.12 ,   db-4.5.20 and   oasys-1.3.0


 step 1:



    cd /home/smallko/dtn2/cl8.4.12/unix

        ./configure

         make

        make install





step 2:



    cd /home/smallko/dtn2/db-4.5.20/build_unix

         ../dist/configure

        make

        make install



step 3:



    cd /home/smallko/dtn2/oasys-1.3.0

         ./configure

          make



step 4:



    set environment for  .bash_profile:





# .bash_profile


# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi


# User specific environment and startup programs


PATH=3D$PATH:$HOME/bin
BASH_ENV=3D$HOME/.bashrc
USERNAME=3D"root"
LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:/usr/local/Berke=
leyDB.4.5/lib
export USERNAME BASH_ENV PATH
export LD_LIBRARY_PATH



step 5:

       cd /home/smallko/dtn2/dtn2.6

       ./configure -C



configure: loading cache config.cache
checking location of source directory... "/home/smallko/dtn2"
checking location of build directory... "/home/smallko/dtn2"
checking for a C compiler (trying gcc gcc-4.1 gcc-4.0 gcc-3.4 gcc-3.3)...
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for a C++ compiler (trying g++ g++-4.0 g++-4.0 g++-3.4 g++-3.3)...
checking for g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking whether the C++ compiler works... yes
checking how to run the C preprocessor... (cached) gcc -E
checking for the version of the GNU C compiler... (cached) 3.2.2
checking for the version of the GNU C++ compiler... (cached) 3.2.2
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking whether to compile with debugging... yes
checking whether to compile with memory debugging... no
checking whether to compile with lock debugging (default yes)... yes
checking whether to compile with optimization... no
checking whether to compile with profiling... no
checking whether to link statically... no
checking whether to link using static external libraries... no
checking whether to try to build shared libraries... yes
checking whether the compiler supports -fPIC... yes
checking whether the compiler can link a dynamic library with -shared... ye=
s
checking extension for dynamic libraries... so
checking if the compiler supports -Wl,--rpath=3D.... yes
checking for an oasys installation (version 1.3 or better)... ./configure:
line
1: /home/smallko/oasys/share/oasys/tools/extract-version: Permission denied
../oasys
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether bonjour support should be enabled... try
checking dns_sd.h usability... no
checking dns_sd.h presence... no
checking for dns_sd.h... no
checking for library containing DNSServiceRegister... no
checking whether bonjour support was found... no
checking whether to enable external convergence layer support... yes
checking whether oasys is configured with XERCES_C_ENABLED... no
configure: error: external convergence layer support requires xerces...
install it or configure --disable-ecl



      make



       akefile:43: Rules.make: No such file or directory
make: /tools/extract-version: Command not found
H=13=13BH=13=13Bmake: /tools/extract-version: Command not found
?=14=13B?=14=13Bmake: /tools/extract-version: Command not found
?=14=13B?=14=13Bmake: /tools/extract-version: Command not found
?=14=13B?=14=13BSRCDIR: .
error -- Makefile did not set SRCDIR properly
make: *** [/Rules.make.in] Error 1



..................




 please help regarding this matter...


jiansheye/2010-03- 25

--0016368e2e1a07ac8004829bfbfa
Content-Type: text/html; charset=GB2312
Content-Transfer-Encoding: quoted-printable

<p>Hi all,</p>
<div>I tried to Compilation / Installation NS2 and oasys by the instruction=
 from <a href=3D"http://dtn.sourceforge.net/DTN2/doc/manual/compiling.html.=
 ">http://dtn.sourceforge.net/DTN2/doc/manual/compiling.html. </a></div>

<div>Unfortunately, I have tried many times, but the results is&nbsp; faile=
d. my installation process is following:</div>
<div>&nbsp;</div>
<div>Before comiling DTN2, compling&nbsp; <span lang=3D"EN-US"><font face=
=3D"Times New Roman">tcl8.4.12&nbsp;,</font></span><span lang=3D"EN-US"><fo=
nt face=3D"Times New Roman"><span style=3D"mso-tab-count: 3">&nbsp;</span><=
span style=3D"mso-spacerun: yes">&nbsp; </span>db-4.5.20&nbsp;and&nbsp;</fo=
nt></span><span lang=3D"EN-US" style=3D"FONT-SIZE: 10.5pt; FONT-FAMILY: &#3=
9;Times New Roman&#39;; mso-bidi-font-size: 12.0pt; mso-fareast-font-family=
: =CB=CE=CC=E5; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fare=
ast-language: ZH-CN; mso-bidi-language: AR-SA"><span style=3D"mso-spacerun:=
 yes">&nbsp; </span>oasys-1.3.0</span></div>

<div><span lang=3D"EN-US" style=3D"FONT-SIZE: 10.5pt; FONT-FAMILY: &#39;Tim=
es New Roman&#39;; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: =CB=
=CE=CC=E5; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-l=
anguage: ZH-CN; mso-bidi-language: AR-SA"></span>&nbsp;</div>

<div><span lang=3D"EN-US" style=3D"FONT-SIZE: 10.5pt; FONT-FAMILY: &#39;Tim=
es New Roman&#39;; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: =CB=
=CE=CC=E5; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-l=
anguage: ZH-CN; mso-bidi-language: AR-SA">
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span style=3D"FONT-FA=
MILY: =CB=CE=CC=E5; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-h=
ansi-font-family: &#39;Times New Roman&#39;">&nbsp;step 1:</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span style=3D"FONT-FA=
MILY: =CB=CE=CC=E5; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-h=
ansi-font-family: &#39;Times New Roman&#39;"></span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span style=3D"FONT-FA=
MILY: =CB=CE=CC=E5; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-h=
ansi-font-family: &#39;Times New Roman&#39;">&nbsp;&nbsp;&nbsp; cd&nbsp;/ho=
me/smallko/dtn2/</span><span lang=3D"EN-US"><font face=3D"Times New Roman">=
cl8.4.12/unix</font></span></p>

<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
font face=3D"Times New Roman"><span style=3D"mso-tab-count: 3">&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style=3D"mso-spacerun: yes"> </s=
pan>./configure</font></span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
font face=3D"Times New Roman"><span style=3D"mso-tab-count: 3">&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style=3D"mso-spacerun: yes=
"> </span>make </font></span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
font face=3D"Times New Roman"><span style=3D"mso-tab-count: 3">&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style=3D"mso-spacerun: yes"> </s=
pan>make install</font></span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">s=
tep 2:</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span style=3D"FONT-FA=
MILY: =CB=CE=CC=E5; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-h=
ansi-font-family: &#39;Times New Roman&#39;">&nbsp;&nbsp;&nbsp;&nbsp;cd /ho=
me/smallko/dtn2/</span><span lang=3D"EN-US"><font face=3D"Times New Roman">=
db-4.5.20/build_unix</font></span></p>

<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
font face=3D"Times New Roman"><span style=3D"mso-tab-count: 3">&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style=3D"mso-spacerun: yes=
"> </span>../dist/configure</font></span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
font face=3D"Times New Roman"><span style=3D"mso-tab-count: 3">&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>make</font></span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
font face=3D"Times New Roman"><span style=3D"mso-tab-count: 3">&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>make install</font></span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">s=
tep 3:</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span style=3D"FONT-FA=
MILY: =CB=CE=CC=E5; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-h=
ansi-font-family: &#39;Times New Roman&#39;">&nbsp;&nbsp;&nbsp; cd /home/sm=
allko/dtn2/o</span><span lang=3D"EN-US"><font face=3D"Times New Roman">asys=
-1.3.0</font></span></p>

<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
font face=3D"Times New Roman"><span style=3D"mso-tab-count: 3">&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style=3D"mso-spacerun: yes=
"> </span>./configure</font></span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
font face=3D"Times New Roman"><span style=3D"mso-tab-count: 3">&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style=3D"mso-spacerun: yes=
">&nbsp; </span>make</font></span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">s=
tep 4:</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">&=
nbsp;&nbsp;&nbsp; set environment for&nbsp; .bash_profile: </span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></p>
<p># .bash_profile<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br># Get the aliases and fu=
nctions<br>if [ -f ~/.bashrc ]; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; . ~/.bashrc<br>fi<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
# User specific environment and startup programs<br>&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; <br>PATH=3D$PATH:$HOME/bin<br>BASH_ENV=3D$HOME/.bashrc<br>USERNAME=3D&quo=
t;root&quot;<br>LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:=
/usr/local/BerkeleyDB.4.5/lib<br>
export USERNAME BASH_ENV PATH<br>export LD_LIBRARY_PATH</p></span>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">s=
tep 5:</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd /home/smallko/dtn2/dtn2.6</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ./configure -C</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">c=
onfigure: loading cache config.cache<br>checking location of source directo=
ry... &quot;/home/smallko/dtn2&quot;<br>checking location of build director=
y... &quot;/home/smallko/dtn2&quot;<br>
checking for a C compiler (trying gcc gcc-4.1 gcc-4.0 gcc-3.4 gcc-3.3)...<b=
r>checking for gcc... (cached) gcc<br>checking for C compiler default outpu=
t file name... a.out<br>checking whether the C compiler works... yes<br>
checking whether we are cross compiling... no<br>checking for suffix of exe=
cutables...<br>checking for suffix of object files... (cached) o<br>checkin=
g whether we are using the GNU C compiler... (cached) yes<br>checking wheth=
er gcc accepts -g... (cached) yes<br>
checking for gcc option to accept ISO C89... (cached) none needed<br>checki=
ng for a C++ compiler (trying g++ g++-4.0 g++-4.0 g++-3.4 g++-3.3)...<br>ch=
ecking for g++... (cached) g++<br>checking whether we are using the GNU C++=
 compiler... (cached) yes<br>
checking whether g++ accepts -g... (cached) yes<br>checking whether the C++=
 compiler works... yes<br>checking how to run the C preprocessor... (cached=
) gcc -E<br>checking for the version of the GNU C compiler... (cached) 3.2.=
2<br>
checking for the version of the GNU C++ compiler... (cached) 3.2.2<br>check=
ing for ar... (cached) ar<br>checking for ranlib... (cached) ranlib<br>chec=
king whether to compile with debugging... yes<br>checking whether to compil=
e with memory debugging... no<br>
checking whether to compile with lock debugging (default yes)... yes<br>che=
cking whether to compile with optimization... no<br>checking whether to com=
pile with profiling... no<br>checking whether to link statically... no<br>
checking whether to link using static external libraries... no<br>checking =
whether to try to build shared libraries... yes<br>checking whether the com=
piler supports -fPIC... yes<br>checking whether the compiler can link a dyn=
amic library with -shared... yes<br>
checking extension for dynamic libraries... so<br>checking if the compiler =
supports -Wl,--rpath=3D.... yes<br>checking for an oasys installation (vers=
ion 1.3 or better)... ./configure: line<br>1: /home/smallko/oasys/share/oas=
ys/tools/extract-version: Permission denied<br>
../oasys<br>checking for grep that handles long lines and -e... /bin/grep<b=
r>checking for egrep... /bin/grep -E<br>checking for ANSI C header files...=
 yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<b=
r>
checking for stdlib.h... yes<br>checking for string.h... yes<br>checking fo=
r memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes=
.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<b=
r>
checking whether bonjour support should be enabled... try<br>checking dns_s=
d.h usability... no<br>checking dns_sd.h presence... no<br>checking for dns=
_sd.h... no<br>checking for library containing DNSServiceRegister... no<br>
checking whether bonjour support was found... no<br>checking whether to ena=
ble external convergence layer support... yes<br>checking whether oasys is =
configured with XERCES_C_ENABLED... no<br>configure: error: external conver=
gence layer support requires xerces... install it or configure --disable-ec=
l</span></p>

<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; akefile:43: Rules.make: No such file or=
 directory<br>make: /tools/extract-version: Command not found<br>H  BH  Bma=
ke: /tools/extract-version: Command not found<br>
?  B?  Bmake: /tools/extract-version: Command not found<br>?  B?  Bmake: /t=
ools/extract-version: Command not found<br>?  B?  BSRCDIR: .<br>error -- Ma=
kefile did not set SRCDIR properly<br>make: *** [/<a href=3D"http://Rules.m=
ake.in">Rules.make.in</a>] Error 1</span></p>

<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">.=
.................</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US">&=
nbsp;</span><span lang=3D"EN-US">&nbsp;</span></p>
<p class=3D"MsoNormal" style=3D"MARGIN: 0cm 0cm 0pt"><span lang=3D"EN-US"><=
/span>&nbsp;</p></div>
<div>&nbsp;please help regarding this matter...</div>
<p>&nbsp;<br>jiansheye/2010-03- 25</p>

--0016368e2e1a07ac8004829bfbfa--


Received: from sky.fastbighost.net (sky.fastbighost.net [76.76.22.153]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2N6ZILJ018782 for <dtn-users@maillists.intel-research.net>; Mon, 22 Mar 2010 23:35:18 -0700
Received: from dyn98-b60-access.superdsl.com.sg ([202.73.60.98] helo=[192.9.200.103]) by sky.fastbighost.net with esmtpa (Exim 4.69) (envelope-from <Graham@LeonixSolutions.com>) id 1Ntxhs-0001M3-BB for dtn-users@maillists.intel-research.net; Tue, 23 Mar 2010 02:35:16 -0400
Message-ID: <4BA86114.6060904@LeonixSolutions.com>
Date: Tue, 23 Mar 2010 14:35:00 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a1pre) Gecko/20091222 Shredder/3.1a1pre
MIME-Version: 1.0
To: dtn-users@maillists.intel-research.net
References: <4AC9E28A06AA7F4D8108909C8F2925A35A9851@EVS-EC1-NODE2.surrey.ac.uk>
In-Reply-To: <4AC9E28A06AA7F4D8108909C8F2925A35A9851@EVS-EC1-NODE2.surrey.ac.uk>
Content-Type: multipart/mixed; boundary="------------060201070701000203010401"
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - sky.fastbighost.net
X-AntiAbuse: Original Domain - maillists.intel-research.net
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - LeonixSolutions.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Subject: [dtn-users] Any current use of DTN in commercial products?
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2010 06:35:19 -0000

This is a multi-part message in MIME format.
--------------060201070701000203010401
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

  Most of us seem to be involved in research. Other than the military, 
are there any current products in use or in development, which make use 
of DTN? Commercial products?

--------------060201070701000203010401
Content-Type: text/x-vcard; charset=utf-8;
 name="Graham.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="Graham.vcf"

begin:vcard
fn:Graham Keellings (Leonix Solutions Pte Ltd)
n:Keellings;Graham
org:Leonix Solutions Pte Ltd;Software
adr:#09-95 TradeHub 21;;18 Boon Lay Way;;;609966;Singapore
email;internet:Graham@LeonixSolutions.com
title:Technical Director
tel;work:+65 6316 9968
tel;fax:+65 6316 9208
tel;cell:+65 9725 7353
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------060201070701000203010401--


Received: from mail-ew0-f217.google.com (mail-ew0-f217.google.com [209.85.219.217]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2MLgYMf026130 for <dtn-users@maillists.intel-research.net>; Mon, 22 Mar 2010 14:42:45 -0700
Received: by ewy9 with SMTP id 9so417400ewy.29 for <dtn-users@maillists.intel-research.net>; Mon, 22 Mar 2010 14:42:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.239.193.134 with SMTP id j6mr2020986hbi.179.1269294154786;  Mon, 22 Mar 2010 14:42:34 -0700 (PDT)
In-Reply-To: <mailman.5.1269111602.12691.dtn-users@maillists.intel-research.net>
References: <mailman.5.1269111602.12691.dtn-users@maillists.intel-research.net>
Date: Mon, 22 Mar 2010 17:42:34 -0400
Message-ID: <4a84936c1003221442ke624f07l9718c875c9a58fed@mail.gmail.com>
From: Zack Sims <zack.sims@gmail.com>
To: dtn-users@maillists.intel-research.net
Content-Type: multipart/alternative; boundary=001485f631e2362a7004826a9303
Subject: Re: [dtn-users] dtn-users Digest, Vol 29, Issue 6
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2010 21:42:46 -0000

--001485f631e2362a7004826a9303
Content-Type: text/plain; charset=ISO-8859-1

Not entirely aware what you already know about the software and the efforts,
but since you're on the mailing list I assume you know the capabilities.
here is an overview either way:

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

If you do not already have the sofware installed, this will be the first
thing to accomplish.

As far as the installation methods that I'm familiar with, I have only used
the DTN2 implementation under Ubuntu and under Fedora Linux. The
installation methods are quite similar on different Linux distributions,
however. Below is a link to an archived post that initially helped me get it
installed correctly.

http://maillists.intel-research.net/pipermail/dtn-users/2009-July.txt.gz

The email has multiple subject in it, but I don't see a point in retyping it
since the original post does the job well enough.

you will see a list of dependencies that need installed. These were required
within ubuntu and similarly on the Fedora machine the we have in our lab.
The third listing is misspelled, however. It should be:

libavahi-compat-libdnssd-dev

There are probably updated versions of these dependencies so that might
something to look into as well.

After you have finished compiling the software you will want to configure
your dtn to work as a simulation. Here is a link to the documentation pages.

http://www.dtnrg.org/docs/code/DTN2/doc/manual/

There are a set of tutorials that will guide you through initial setups.

If you need more details than the documentation offers or if you encounter
any problems let me know. I'm far from an expert, but I hope I can help.

Zack Sims
Shawnee State University - Cyber Center
Research Assistant


On Sat, Mar 20, 2010 at 3:00 PM, <
dtn-users-request@maillists.intel-research.net> wrote:

> Send dtn-users mailing list submissions to
>        dtn-users@maillists.intel-research.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://maillists.intel-research.net/mailman/listinfo/dtn-users
> or, via email, send a message with subject or body 'help' to
>        dtn-users-request@maillists.intel-research.net
>
> You can reach the person managing the list at
>        dtn-users-owner@maillists.intel-research.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of dtn-users digest..."
>
>
> Today's Topics:
>
>   1. perform a simulation work in DTN2 or ION (ye jianshe)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 20 Mar 2010 13:08:53 +0800
> From: ye jianshe <jiansheye@gmail.com>
> Subject: [dtn-users] perform a simulation work in DTN2 or ION
> To: dtn-users@maillists.intel-research.net
> Message-ID:
>        <99313f811003192208u247647f1wb8b47d1e81a6753a@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello all,
>
> I am studying Space DTN and want to perform a simulation work in DTN2 or
> ION, can anybody help me that how and from where I can start, I am new to
> DTN Implementation.
> Thanks and Regards,
> --
> jiansheye/2010-03-20
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://maillists.intel-research.net/pipermail/dtn-users/attachments/20100320/926558ac/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>
> End of dtn-users Digest, Vol 29, Issue 6
> ****************************************
>

--001485f631e2362a7004826a9303
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Not entirely aware what you already know about the software and the
efforts, but since you&#39;re on the mailing list I assume you know the
capabilities. here is an overview either way:<br><br><a href=3D"http://www.=
dtnrg.org/wiki/DtnBone">http://www.dtnrg.org/wiki/DtnBone</a><br><br>
If you do not already have the sofware installed, this will be the first th=
ing to accomplish.<br>
<br>
As far as the installation methods that I&#39;m familiar with, I have only
used the DTN2 implementation under Ubuntu and under Fedora Linux. The
installation methods are quite similar on different Linux
distributions, however. Below is a link to an archived post that
initially helped me get it installed correctly.<br>
<br>
<a href=3D"http://maillists.intel-research.net/pipermail/dtn-users/2009-Jul=
y.txt.gz">http://maillists.intel-research.net/pipermail/dtn-users/2009-July=
.txt.gz</a><br>
<br>
The email has multiple subject in it, but I don&#39;t see a point in retypi=
ng it since the original post does the job well enough.<br>
<br>
you will see a list of dependencies that need installed. These were
required within ubuntu and similarly on the Fedora machine the we have
in our lab.=A0 The third listing is misspelled, however. It should be:<br>
<br>
libavahi-compat-libdnssd-dev<br>
<br>
There are probably updated versions of these dependencies so that might som=
ething to look into as well.<br>
<br>
After you have finished compiling the software you will want to
configure your dtn to work as a simulation. Here is a link to the
documentation pages.<br>
<br>
<a href=3D"http://www.dtnrg.org/docs/code/DTN2/doc/manual/">http://www.dtnr=
g.org/docs/code/DTN2/doc/manual/</a><br>
<br>
There are a set of tutorials that will guide you through initial setups.<br=
>
<br>
If you need more details than the documentation offers or if you
encounter any problems let me know. I&#39;m far from an expert, but I hope
I can help.<br>
<br>
Zack Sims<br>
Shawnee State University - Cyber Center<br>
Research Assistant <br>
<br><br><div class=3D"gmail_quote">On Sat, Mar 20, 2010 at 3:00 PM,  <span =
dir=3D"ltr">&lt;<a href=3D"mailto:dtn-users-request@maillists.intel-researc=
h.net" target=3D"_blank">dtn-users-request@maillists.intel-research.net</a>=
&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send dtn-users ma=
iling list submissions to<br>
 =A0 =A0 =A0 =A0<a href=3D"mailto:dtn-users@maillists.intel-research.net" t=
arget=3D"_blank">dtn-users@maillists.intel-research.net</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 =A0 =A0 =A0 =A0<a href=3D"http://maillists.intel-research.net/mailman/list=
info/dtn-users" target=3D"_blank">http://maillists.intel-research.net/mailm=
an/listinfo/dtn-users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 =A0 =A0 =A0 =A0<a href=3D"mailto:dtn-users-request@maillists.intel-researc=
h.net" target=3D"_blank">dtn-users-request@maillists.intel-research.net</a>=
<br>
<br>
You can reach the person managing the list at<br>
 =A0 =A0 =A0 =A0<a href=3D"mailto:dtn-users-owner@maillists.intel-research.=
net" target=3D"_blank">dtn-users-owner@maillists.intel-research.net</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of dtn-users digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 =A0 1. perform a simulation work in DTN2 or ION (ye jianshe)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 20 Mar 2010 13:08:53 +0800<br>
From: ye jianshe &lt;<a href=3D"mailto:jiansheye@gmail.com" target=3D"_blan=
k">jiansheye@gmail.com</a>&gt;<br>
Subject: [dtn-users] perform a simulation work in DTN2 or ION<br>
To: <a href=3D"mailto:dtn-users@maillists.intel-research.net" target=3D"_bl=
ank">dtn-users@maillists.intel-research.net</a><br>
Message-ID:<br>
 =A0 =A0 =A0 =A0&lt;<a href=3D"mailto:99313f811003192208u247647f1wb8b47d1e8=
1a6753a@mail.gmail.com" target=3D"_blank">99313f811003192208u247647f1wb8b47=
d1e81a6753a@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=3D&quot;iso-8859-1&quot;<br>
<br>
Hello all,<br>
<br>
I am studying Space DTN and want to perform a simulation work in DTN2 or<br=
>
ION, can anybody help me that how and from where I can start, I am new to<b=
r>
DTN Implementation.<br>
Thanks and Regards,<br>
--<br>
jiansheye/2010-03-20<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href=3D"http://maillists.intel-research.net/pipermail/dtn-users/att=
achments/20100320/926558ac/attachment-0001.html" target=3D"_blank">http://m=
aillists.intel-research.net/pipermail/dtn-users/attachments/20100320/926558=
ac/attachment-0001.html</a><br>


<br>
------------------------------<br>
<br>
_______________________________________________<br>
dtn-users mailing list<br>
<a href=3D"mailto:dtn-users@maillists.intel-research.net" target=3D"_blank"=
>dtn-users@maillists.intel-research.net</a><br>
<a href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users" =
target=3D"_blank">http://maillists.intel-research.net/mailman/listinfo/dtn-=
users</a><br>
<br>
<br>
End of dtn-users Digest, Vol 29, Issue 6<br>
****************************************<br>
</blockquote></div><br>

--001485f631e2362a7004826a9303--


Received: from mail.jpl.nasa.gov (smtp.jpl.nasa.gov [128.149.139.105]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2MFBXXE007356 for <dtn-users@maillists.intel-research.net>; Mon, 22 Mar 2010 08:11:36 -0700
Received: from mail.jpl.nasa.gov (altvirehtstap02.jpl.nasa.gov [128.149.137.73]) by smtp.jpl.nasa.gov (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2MFBXjA003780 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified FAIL); Mon, 22 Mar 2010 08:11:33 -0700
Received: from ALTPHYEMBEVSP10.RES.AD.JPL ([172.16.0.11]) by ALTVIREHTSTAP02.RES.AD.JPL ([128.149.137.73]) with mapi; Mon, 22 Mar 2010 08:11:33 -0700
From: "Burleigh, Scott C (313B)" <scott.c.burleigh@jpl.nasa.gov>
To: ye jianshe <jiansheye@gmail.com>, "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Date: Mon, 22 Mar 2010 08:11:31 -0700
Thread-Topic: [dtn-users] perform a simulation work in DTN2 or ION
Thread-Index: AcrH7Cnd8IzkuPRKQ9C6aQltDkPgcQB5MFhQ
Message-ID: <FD514C8A5155C64C9B145B48D674EF544A54FAB7FF@ALTPHYEMBEVSP10.RES.AD.JPL>
References: <99313f811003192208u247647f1wb8b47d1e81a6753a@mail.gmail.com>
In-Reply-To: <99313f811003192208u247647f1wb8b47d1e81a6753a@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_FD514C8A5155C64C9B145B48D674EF544A54FAB7FFALTPHYEMBEVSP_"
MIME-Version: 1.0
X-Source-IP: altvirehtstap02.jpl.nasa.gov [128.149.137.73]
X-Source-Sender: scott.c.burleigh@jpl.nasa.gov
X-AUTH: Authorized
Subject: Re: [dtn-users] perform a simulation work in DTN2 or ION
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2010 15:11:36 -0000

--_000_FD514C8A5155C64C9B145B48D674EF544A54FAB7FFALTPHYEMBEVSP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

For a link to the DTN2 implementation, see http://www.dtnrg.org/wiki/Code. =
 A fairly old version of the ION implementation is available at https://ion=
.ocp.ohiou.edu/legacy/; a true open-source release of the current code shou=
ld be available soon, pending administrative approval at JPL, but in the me=
antime you could get started with the older distribution.

Scott

From: dtn-users-bounces@maillists.intel-research.net [mailto:dtn-users-boun=
ces@maillists.intel-research.net] On Behalf Of ye jianshe
Sent: Friday, March 19, 2010 10:09 PM
To: dtn-users@maillists.intel-research.net
Subject: [dtn-users] perform a simulation work in DTN2 or ION

Hello all,

I am studying Space DTN and want to perform a simulation work in DTN2 or IO=
N, can anybody help me that how and from where I can start, I am new to DTN=
 Implementation.
Thanks and Regards,
--
jiansheye/2010-03-20

--_000_FD514C8A5155C64C9B145B48D674EF544A54FAB7FFALTPHYEMBEVSP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#1F497D'>For a link to the DTN2 implementation, see <a
href=3D"http://www.dtnrg.org/wiki/Code">http://www.dtnrg.org/wiki/Code</a>.=
 &nbsp;A
fairly old version of the ION implementation is available at <a
href=3D"https://ion.ocp.ohiou.edu/legacy/">https://ion.ocp.ohiou.edu/legacy=
/</a>;
a true open-source release of the current code should be available soon, pe=
nding
administrative approval at JPL, but in the meantime you could get started w=
ith the
older distribution.<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#1F497D'>Scott<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'>

<div>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'>

<p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma=
","sans-serif"'>From:</span></b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> dtn-users-bou=
nces@maillists.intel-research.net
[mailto:dtn-users-bounces@maillists.intel-research.net] <b>On Behalf Of </b=
>ye
jianshe<br>
<b>Sent:</b> Friday, March 19, 2010 10:09 PM<br>
<b>To:</b> dtn-users@maillists.intel-research.net<br>
<b>Subject:</b> [dtn-users] perform a simulation work in DTN2 or ION<o:p></=
o:p></span></p>

</div>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=3DMsoNormal>Hello all,<o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><br>
I am studying Space DTN and want to perform a simulation work in DTN2 or IO=
N,
can anybody help me that how and from where I can start, I am new to DTN
Implementation.<br>
Thanks and Regards,<o:p></o:p></p>

</div>

<p class=3DMsoNormal>-- <br>
jiansheye/2010-03-20 <o:p></o:p></p>

</div>

</div>

</body>

</html>

--_000_FD514C8A5155C64C9B145B48D674EF544A54FAB7FFALTPHYEMBEVSP_--


Received: from mail-pw0-f41.google.com (mail-pw0-f41.google.com [209.85.160.41]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2K58reI005227 for <dtn-users@maillists.intel-research.net>; Fri, 19 Mar 2010 22:08:58 -0700
Received: by pwi4 with SMTP id 4so2528305pwi.28 for <dtn-users@maillists.intel-research.net>; Fri, 19 Mar 2010 22:08:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.142.210.12 with SMTP id i12mr1549219wfg.62.1269061733536; Fri,  19 Mar 2010 22:08:53 -0700 (PDT)
Date: Sat, 20 Mar 2010 13:08:53 +0800
Message-ID: <99313f811003192208u247647f1wb8b47d1e81a6753a@mail.gmail.com>
From: ye jianshe <jiansheye@gmail.com>
To: dtn-users@maillists.intel-research.net
Content-Type: multipart/alternative; boundary=000e0cd242a4d352c704823475d6
Subject: [dtn-users] perform a simulation work in DTN2 or ION
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Sat, 20 Mar 2010 05:08:59 -0000

--000e0cd242a4d352c704823475d6
Content-Type: text/plain; charset=ISO-8859-1

Hello all,

I am studying Space DTN and want to perform a simulation work in DTN2 or
ION, can anybody help me that how and from where I can start, I am new to
DTN Implementation.
Thanks and Regards,
-- 
jiansheye/2010-03-20

--000e0cd242a4d352c704823475d6
Content-Type: text/html; charset=ISO-8859-1

<br clear="all">
<div>Hello all,</div>
<div><br>I am studying Space DTN and want to perform a simulation work in DTN2 or ION, can anybody help me that how and from where I can start, I am new to DTN Implementation.<br>Thanks and Regards,</div>-- <br>jiansheye/2010-03-20

--000e0cd242a4d352c704823475d6--


Received: from ch3.sourceforge.net (ch3.sourceforge.net [216.34.181.60]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2EJMxjP022680 for <dtn-users@mailman.dtnrg.org>; Sun, 14 Mar 2010 12:22:59 -0700
Received: from www by sfs-web-3.v29.ch3.sourceforge.com with local (Exim 4.69) (envelope-from <noreply@sourceforge.net>) id 1NqtOs-0000y4-UD; Sun, 14 Mar 2010 19:22:58 +0000
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-SourceForge-Tracker-unixname: dtn
X-SourceForge-Tracker-trackerid: 630167
X-SourceForge-Tracker-itemid: 2970349
X-SourceForge-Tracker-itemstatus: Open
X-SourceForge-Tracker-itemassignee: nobody
X-SourceForge-Tracker-itemupdate-reason: Comment added
X-SourceForge-Tracker-itemupdate-username: darrenlong
Message-Id: <E1NqtOs-0000y4-UD@sfs-web-3.v29.ch3.sourceforge.com>
Date: Sun, 14 Mar 2010 19:22:58 +0000
Subject: [dtn-users] [ dtn-Bugs-2970349 ] dtnping (sender) not working on linux-armel
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2010 19:22:59 -0000

Bugs item #2970349, was opened at 2010-03-14 19:05
Message generated for change (Comment added) made by darrenlong
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2970349&group_id=101657

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface (example)
Group: v2.7
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: dtnping (sender) not working on linux-armel

Initial Comment:
dtnping launched from linux-armel host does not work. 
Tested on Nokia n900/maemo5 fremantle

Possible endianess issues.


----------------------------------------------------------------------

Comment By: Darren Long (darrenlong)
Date: 2010-03-14 19:22

Message:
Works for me on a sheevaplug, with code from tip.  I'll try it on maemo5
when I get a chance.

darren@plug1:~$ uname -a
Linux plug1 2.6.31 #2 PREEMPT Wed Sep 16 00:55:42 MDT 2009 armv5tel
GNU/Linux
darren@plug1:~$ dtnping  dtn://dtnbone.delaytolerant.net/ping
source_eid [dtn://plug1.49southgate.homeip.net/ping.25096]
dtn_register succeeded, regid 27
PING [dtn://dtnbone.delaytolerant.net/ping] (expiration 30)...
20 bytes from [dtn://dtnbone.delaytolerant.net/ping]: 'dtnping!' seqno=0,
time=349 ms
20 bytes from [dtn://dtnbone.delaytolerant.net/ping]: 'dtnping!' seqno=1,
time=652 ms

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2970349&group_id=101657


Received: from ch3.sourceforge.net (ch3.sourceforge.net [216.34.181.60]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2EJ5Rcx021859 for <dtn-users@mailman.dtnrg.org>; Sun, 14 Mar 2010 12:05:29 -0700
Received: from www by sfs-web-5.v29.ch3.sourceforge.com with local (Exim 4.69) (envelope-from <noreply@sourceforge.net>) id 1Nqt7u-0008RM-Qd; Sun, 14 Mar 2010 19:05:27 +0000
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-SourceForge-Tracker-unixname: dtn
X-SourceForge-Tracker-trackerid: 630167
X-SourceForge-Tracker-itemid: 2970349
X-SourceForge-Tracker-itemstatus: Open
X-SourceForge-Tracker-itemassignee: nobody
X-SourceForge-Tracker-itemupdate-reason: Tracker Item Submitted
X-SourceForge-Tracker-itemupdate-username: nobody
Message-Id: <E1Nqt7u-0008RM-Qd@sfs-web-5.v29.ch3.sourceforge.com>
Date: Sun, 14 Mar 2010 19:05:26 +0000
Subject: [dtn-users] [ dtn-Bugs-2970349 ] dtnping (sender) not working on linux-armel
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2010 19:05:29 -0000

Bugs item #2970349, was opened at 2010-03-14 19:05
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2970349&group_id=101657

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface (example)
Group: v2.7
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: dtnping (sender) not working on linux-armel

Initial Comment:
dtnping launched from linux-armel host does not work. 
Tested on Nokia n900/maemo5 fremantle

Possible endianess issues.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=630167&aid=2970349&group_id=101657


Received: from mx4.oit.ohio.edu (mx4.oit.ohio.edu [132.235.250.54]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2BIISiJ010117 for <dtn-users@mailman.dtnrg.org>; Thu, 11 Mar 2010 10:18:29 -0800
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApsEAKfCmEuE6wiX/2dsb2JhbACbVK9lDoUFiFqEewSDFxw
X-IronPort-AV: E=Sophos;i="4.49,621,1262581200"; d="scan'208";a="32600198"
Received: from oak3a.cats.ohiou.edu (HELO oak.cats.ohiou.edu) ([132.235.8.151]) by smtpout4.oit.ohio.edu with ESMTP; 11 Mar 2010 13:18:29 -0500
Received: from wrath.cs.ohiou.edu (wrath.cs.ohiou.edu [132.235.3.135]) (authenticated bits=0) by oak.cats.ohiou.edu (8.13.1/8.13.1) with ESMTP id o2BIGUL01783435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Mar 2010 13:16:30 -0500 (EST)
Message-ID: <4B99337E.600@ohio.edu>
Date: Thu, 11 Mar 2010 13:16:30 -0500
From: "G. Clark" <gc355804@ohio.edu>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: Zack Sims <zack.sims@gmail.com>
References: <4a84936c1003101119sdc03271l4ad54c77395df2d@mail.gmail.com>	<EC8002E2-7CF1-473F-B9AB-58BBE20AC98C@mac.com>	<E3CBDD94-862B-4B46-BC04-BC029890A785@cs.tcd.ie> <4a84936c1003110945u6b1aa735tcf5ae4fa842a1c0@mail.gmail.com>
In-Reply-To: <4a84936c1003110945u6b1aa735tcf5ae4fa842a1c0@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dtn-users list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Using DTN2 over LTP
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Thu, 11 Mar 2010 18:18:29 -0000

General questions / comments; I have not built / installed LTPlib.

Have you run ldconfig since you installed the LTP libraries?  Does your 
ld.so.conf or ld.so.conf.d/*.conf contain the location where the 
libraries are installed, assuming you'd like ldconfig to find them?

Have you tried setting your LD_LIBRARY_PATH to point to the location 
where the libraries are installed?

You might try explicitly setting CPPFLAGS / LDFLAGS (-Ipath/to/headers 
and / or -Lpath/to/libraries) when you run ./configure, to see if that 
helps.

Good luck,
Gilbert Clark
Grad Student

Zack Sims wrote:
> We appreciate the advice thus far. Tried interfacing the lib with dtn 
> before responding again and have hit a brick wall. When doing 
> './configure --with-ltp' it says it's trying to enable ltp convergence 
> layer support and that the ltp libraries are not available.
>
> When reading through the ./aclocal/ltpconvergencelayer.ac 
> <http://ltpconvergencelayer.ac> file we found a list of potential 
> directories that it searches. After copying the LTPlib directory into 
> any of the dirs (we've tried all of them and more), it still gives the 
> same response.
>
> Any help is much appreciated
> thanks
>
> Zack Sims & Justin Dailey
> Shawnee State University - Cyber Center
> Research Assistants
>
> On Wed, Mar 10, 2010 at 3:14 PM, Stephen Farrell 
> <stephen.farrell@cs.tcd.ie <mailto:stephen.farrell@cs.tcd.ie>> wrote:
>
>     Right. At some stage, and hopefully soon I plan to do a 1.0 of
>     LTPlib and to document it better. I'd be interested in any
>     opinions as to whether or not to integrate the source with DTN2
>     (default being to keep em separate).
>
>     In the meantime feel free to ask me for help if you want to use
>     BP/LTP,
>     Stephen.
>
>
>     On 10 Mar 2010, at 19:51, Darren Long <darren.long@mac.com
>     <mailto:darren.long@mac.com>> wrote:
>
>>     The LTP CL has only been in the DTN2 Mercurial repo for 7 weeks
>>     and release 2.7.0 is the first to contain it. 
>>
>>     As such, I expect that there isn't widespread experience in using
>>     it. 
>>
>>     I can't find any info on how to use the LTP CL yet, but the diff
>>     on the README file
>>     (http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README)
>>     says:
>>
>>         1.16 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.16> +Note - LTP
>>         1.17 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.17> +----------------------------
>>         1.18 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.18> +
>>         1.19 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.19> +This is an initial test of TCD's LTPlib as a CL. To 
>>         1.20 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.20> +use it go get LTPlib (todo: add URL!) and then 
>>         1.21 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.21> +./configure --with-ltp
>>
>>     and the homepage for LTPlib is here: 
>>
>>     https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/
>>
>>     Hope this helps.
>>
>>     Darren
>>
>>     On 10 Mar 2010, at 19:19, Zack Sims wrote:
>>
>>>     I am running a testbed composed of several DTN2 servers. I've
>>>     been able to make successful bundle transfers across multiple
>>>     path setups for several months now. My research partner and I
>>>     were under the impression that DTN2  used the LTP protocol, but
>>>     when we ran some scans of our network traffic only Bundle
>>>     headers were recognized.
>>>
>>>     We began looking into using the LTPlib as the convergence layer
>>>     but are having problems due to limited documentation. Are we on
>>>     the right path looking into LTPlib and if so how do we interface
>>>     DTN to it? If not, how else might we use LTP as a convergence layer?
>>>
>>>     Zack Sims
>>>     Shawnee State University - Cyber Center
>>>     Research Assistant _______________________________________________
>>>     dtn-users mailing list
>>>     dtn-users@maillists.intel-research.net
>>>     <mailto:dtn-users@maillists.intel-research.net>
>>>     http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>
>>     _______________________________________________
>>     dtn-users mailing list
>>     dtn-users@maillists.intel-research.net
>>     <mailto:dtn-users@maillists.intel-research.net>
>>     http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>   



Received: from mail.newbay.com (87-198-172-198.ptr.magnet.ie [87.198.172.198]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2BHoohl008771 for <dtn-users@mailman.dtnrg.org>; Thu, 11 Mar 2010 09:50:51 -0800
Received: from localhost (localhost [127.0.0.1]) by mail.newbay.com (Postfix) with ESMTP id 721FB360078; Thu, 11 Mar 2010 17:50:50 +0000 (GMT)
X-Virus-Scanned: amavisd-new at newbay.com
Received: from mail.newbay.com ([127.0.0.1]) by localhost (mail.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ns8lw47Gp4ef; Thu, 11 Mar 2010 17:50:50 +0000 (GMT)
Received: from mail01.newbay.com (mail01.newbay.com [192.168.12.25]) by mail.newbay.com (Postfix) with ESMTP id 78F7C360074; Thu, 11 Mar 2010 17:50:49 +0000 (GMT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail01.newbay.com (Postfix) with ESMTP id 735FA7C318; Thu, 11 Mar 2010 17:50:49 +0000 (GMT)
X-Virus-Scanned: amavisd-new at newbay.com
Received: from mail01.newbay.com ([127.0.0.1]) by localhost (mail01.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GMjU4CiU5YLZ; Thu, 11 Mar 2010 17:50:48 +0000 (GMT)
Received: from [192.168.3.23] (unknown [192.168.3.23]) by mail01.newbay.com (Postfix) with ESMTP id 8E60F7C317; Thu, 11 Mar 2010 17:50:48 +0000 (GMT)
Message-ID: <4B992D7A.60701@cs.tcd.ie>
Date: Thu, 11 Mar 2010 17:50:50 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3
MIME-Version: 1.0
To: Zack Sims <zack.sims@gmail.com>
References: <4a84936c1003101119sdc03271l4ad54c77395df2d@mail.gmail.com>	 <EC8002E2-7CF1-473F-B9AB-58BBE20AC98C@mac.com>	 <E3CBDD94-862B-4B46-BC04-BC029890A785@cs.tcd.ie> <4a84936c1003110945u6b1aa735tcf5ae4fa842a1c0@mail.gmail.com>
In-Reply-To: <4a84936c1003110945u6b1aa735tcf5ae4fa842a1c0@mail.gmail.com>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: dtn-users list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Using DTN2 over LTP
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Thu, 11 Mar 2010 17:50:51 -0000

You've built LTPlib first right? Guess we should say that
in the docs if that's the case.

S.

On 03/11/2010 05:45 PM, Zack Sims wrote:
> We appreciate the advice thus far. Tried interfacing the lib with dtn
> before responding again and have hit a brick wall. When doing
> './configure --with-ltp' it says it's trying to enable ltp convergence
> layer support and that the ltp libraries are not available.
> 
> When reading through the ./aclocal/ltpconvergencelayer.ac
> <http://ltpconvergencelayer.ac> file we found a list of potential
> directories that it searches. After copying the LTPlib directory into
> any of the dirs (we've tried all of them and more), it still gives the
> same response.
> 
> Any help is much appreciated
> thanks
> 
> Zack Sims & Justin Dailey
> Shawnee State University - Cyber Center
> Research Assistants
> 
> On Wed, Mar 10, 2010 at 3:14 PM, Stephen Farrell
> <stephen.farrell@cs.tcd.ie <mailto:stephen.farrell@cs.tcd.ie>> wrote:
> 
>     Right. At some stage, and hopefully soon I plan to do a 1.0 of
>     LTPlib and to document it better. I'd be interested in any opinions
>     as to whether or not to integrate the source with DTN2 (default
>     being to keep em separate).
> 
>     In the meantime feel free to ask me for help if you want to use BP/LTP,
>     Stephen.
> 
> 
>     On 10 Mar 2010, at 19:51, Darren Long <darren.long@mac.com
>     <mailto:darren.long@mac.com>> wrote:
> 
>>     The LTP CL has only been in the DTN2 Mercurial repo for 7 weeks
>>     and release 2.7.0 is the first to contain it. 
>>
>>     As such, I expect that there isn't widespread experience in using it. 
>>
>>     I can't find any info on how to use the LTP CL yet, but the diff
>>     on the README file (
>>     <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README>http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README)
>>     says:
>>
>>         1.16 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.16> +Note - LTP
>>         1.17 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.17> +----------------------------
>>         1.18 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.18> +
>>         1.19 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.19> +This is an initial test of TCD's LTPlib as a CL. To 
>>         1.20 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.20> +use it go get LTPlib (todo: add URL!) and then 
>>         1.21 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.21> +./configure --with-ltp
>>
>>     and the homepage for LTPlib is here: 
>>
>>     <https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/>https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/
>>
>>     Hope this helps.
>>
>>     Darren
>>
>>     On 10 Mar 2010, at 19:19, Zack Sims wrote:
>>
>>>     I am running a testbed composed of several DTN2 servers. I've
>>>     been able to make successful bundle transfers across multiple
>>>     path setups for several months now. My research partner and I
>>>     were under the impression that DTN2  used the LTP protocol, but
>>>     when we ran some scans of our network traffic only Bundle headers
>>>     were recognized.
>>>
>>>     We began looking into using the LTPlib as the convergence layer
>>>     but are having problems due to limited documentation. Are we on
>>>     the right path looking into LTPlib and if so how do we interface
>>>     DTN to it? If not, how else might we use LTP as a convergence layer?
>>>
>>>     Zack Sims
>>>     Shawnee State University - Cyber Center
>>>     Research Assistant _______________________________________________
>>>     dtn-users mailing list
>>>     <mailto:dtn-users@maillists.intel-research.net>dtn-users@maillists.intel-research.net
>>>     <mailto:dtn-users@maillists.intel-research.net>
>>>     http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>
>>     _______________________________________________
>>     dtn-users mailing list
>>     dtn-users@maillists.intel-research.net
>>     <mailto:dtn-users@maillists.intel-research.net>
>>     http://maillists.intel-research.net/mailman/listinfo/dtn-users
> 
> 


Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2BHjQbd008490 for <dtn-users@mailman.dtnrg.org>; Thu, 11 Mar 2010 09:45:27 -0800
Received: by fxm26 with SMTP id 26so336515fxm.15 for <dtn-users@mailman.dtnrg.org>; Thu, 11 Mar 2010 09:45:25 -0800 (PST)
MIME-Version: 1.0
Received: by 10.239.189.13 with SMTP id r13mr340668hbh.92.1268329524865; Thu,  11 Mar 2010 09:45:24 -0800 (PST)
In-Reply-To: <E3CBDD94-862B-4B46-BC04-BC029890A785@cs.tcd.ie>
References: <4a84936c1003101119sdc03271l4ad54c77395df2d@mail.gmail.com> <EC8002E2-7CF1-473F-B9AB-58BBE20AC98C@mac.com> <E3CBDD94-862B-4B46-BC04-BC029890A785@cs.tcd.ie>
Date: Thu, 11 Mar 2010 12:45:24 -0500
Message-ID: <4a84936c1003110945u6b1aa735tcf5ae4fa842a1c0@mail.gmail.com>
From: Zack Sims <zack.sims@gmail.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Content-Type: multipart/alternative; boundary=001485f626c8c9aa9a048189fae6
Cc: dtn-users list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Using DTN2 over LTP
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Thu, 11 Mar 2010 17:45:27 -0000

--001485f626c8c9aa9a048189fae6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

We appreciate the advice thus far. Tried interfacing the lib with dtn befor=
e
responding again and have hit a brick wall. When doing './configure
--with-ltp' it says it's trying to enable ltp convergence layer support and
that the ltp libraries are not available.

When reading through the ./aclocal/ltpconvergencelayer.ac file we found a
list of potential directories that it searches. After copying the LTPlib
directory into any of the dirs (we've tried all of them and more), it still
gives the same response.

Any help is much appreciated
thanks

Zack Sims & Justin Dailey
Shawnee State University - Cyber Center
Research Assistants

On Wed, Mar 10, 2010 at 3:14 PM, Stephen Farrell
<stephen.farrell@cs.tcd.ie>wrote:

> Right. At some stage, and hopefully soon I plan to do a 1.0 of LTPlib and
> to document it better. I'd be interested in any opinions as to whether or
> not to integrate the source with DTN2 (default being to keep em separate)=
.
>
> In the meantime feel free to ask me for help if you want to use BP/LTP,
> Stephen.
>
>
> On 10 Mar 2010, at 19:51, Darren Long <darren.long@mac.com> wrote:
>
> The LTP CL has only been in the DTN2 Mercurial repo for 7 weeks and relea=
se
> 2.7.0 is the first to contain it.
>
> As such, I expect that there isn't widespread experience in using it.
>
> I can't find any info on how to use the LTP CL yet, but the diff on the
> README file (<http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28=
531/README>
> http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README)
> says:
>
>     1.16 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/=
README#l1.16> +Note - LTP    1.17 <http://dtn.hg.sourceforge.net/hgweb/dtn/=
DTN2/diff/0c66e7e28531/README#l1.17> +----------------------------    1.18 =
<http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.1=
8> +    1.19 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e2853=
1/README#l1.19> +This is an initial test of TCD's LTPlib as a CL. To     1.=
20 <http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l=
1.20> +use it go get LTPlib (todo: add URL!) and then     1.21 <http://dtn.=
hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.21> +./config=
ure --with-ltp
>
>
> and the homepage for LTPlib is here:
>
> <https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/>
> https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/
>
> Hope this helps.
>
> Darren
>
> On 10 Mar 2010, at 19:19, Zack Sims wrote:
>
> I am running a testbed composed of several DTN2 servers. I've been able t=
o
> make successful bundle transfers across multiple path setups for several
> months now. My research partner and I were under the impression that DTN2
> used the LTP protocol, but when we ran some scans of our network traffic
> only Bundle headers were recognized.
>
> We began looking into using the LTPlib as the convergence layer but are
> having problems due to limited documentation. Are we on the right path
> looking into LTPlib and if so how do we interface DTN to it? If not, how
> else might we use LTP as a convergence layer?
>
> Zack Sims
> Shawnee State University - Cyber Center
> Research Assistant _______________________________________________
> dtn-users mailing list
> <dtn-users@maillists.intel-research.net>
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>

--001485f626c8c9aa9a048189fae6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

We appreciate the advice thus far. Tried interfacing the lib with dtn befor=
e responding again and have hit a brick wall. When doing &#39;./configure -=
-with-ltp&#39; it says it&#39;s trying to enable ltp convergence layer supp=
ort and that the ltp libraries are not available.<br>
<br>When reading through the ./aclocal/<a href=3D"http://ltpconvergencelaye=
r.ac">ltpconvergencelayer.ac</a> file we found a list of potential director=
ies that it searches. After copying the LTPlib directory into any of the di=
rs (we&#39;ve tried all of them and more), it still gives the same response=
.<br>
<br>Any help is much appreciated<br>thanks<br><br>Zack Sims &amp; Justin Da=
iley<br>Shawnee State University - Cyber Center<br>Research Assistants<br><=
br><div class=3D"gmail_quote">On Wed, Mar 10, 2010 at 3:14 PM, Stephen Farr=
ell <span dir=3D"ltr">&lt;<a href=3D"mailto:stephen.farrell@cs.tcd.ie">step=
hen.farrell@cs.tcd.ie</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor=3D"#=
FFFFFF"><div>Right. At some stage, and hopefully soon I plan to do a 1.0 of=
 LTPlib and to document it better. I&#39;d be interested in any opinions as=
 to whether or not to integrate the source with DTN2 (default being to keep=
 em separate).</div>
<div><br></div><div>In the meantime feel free to ask me for help if you wan=
t to use BP/LTP,</div><div>Stephen.</div><div><div></div><div class=3D"h5">=
<div><br></div><div><br>On 10 Mar 2010, at 19:51, Darren Long &lt;<a href=
=3D"mailto:darren.long@mac.com" target=3D"_blank">darren.long@mac.com</a>&g=
t; wrote:<br>
<br></div><div></div><blockquote type=3D"cite"><div>The LTP CL has only bee=
n in the DTN2 Mercurial repo for 7 weeks and release 2.7.0 is the first to =
contain it.=A0<div><br></div><div>As such, I expect that there isn&#39;t wi=
despread experience in using it.=A0</div>
<div><br></div><div>I can&#39;t find any info on how to use the LTP CL yet,=
 but the diff on the README file (<a href=3D"http://dtn.hg.sourceforge.net/=
hgweb/dtn/DTN2/diff/0c66e7e28531/README" target=3D"_blank"></a><a href=3D"h=
ttp://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README" targe=
t=3D"_blank">http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531=
/README</a>) says:</div>
<div><br></div><div><pre><span style=3D"color: rgb(0, 136, 0);"><a href=3D"=
http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.16=
" target=3D"_blank">    1.16</a> +Note - LTP
</span><span style=3D"color: rgb(0, 136, 0);"><a href=3D"http://dtn.hg.sour=
ceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.17" target=3D"_blank=
">    1.17</a> +----------------------------
</span><span style=3D"color: rgb(0, 136, 0);"><a href=3D"http://dtn.hg.sour=
ceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.18" target=3D"_blank=
">    1.18</a> +
</span><span style=3D"color: rgb(0, 136, 0);"><a href=3D"http://dtn.hg.sour=
ceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.19" target=3D"_blank=
">    1.19</a> +This is an initial test of TCD&#39;s LTPlib as a CL. To=20
</span><span style=3D"color: rgb(0, 136, 0);"><a href=3D"http://dtn.hg.sour=
ceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.20" target=3D"_blank=
">    1.20</a> +use it go get LTPlib (todo: add URL!) and then=20
</span><span style=3D"color: rgb(0, 136, 0);"><a href=3D"http://dtn.hg.sour=
ceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.21" target=3D"_blank=
">    1.21</a> +./configure --with-ltp
</span></pre><div><br></div></div><div>and the=A0homepage for LTPlib is her=
e:=A0</div><div><br></div><div><a href=3D"https://down.dsg.cs.tcd.ie/ltplib=
/https://down.dsg.cs.tcd.ie/ltplib/" target=3D"_blank"></a><a href=3D"https=
://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/" target=3D"=
_blank">https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib=
/</a></div>
<div><br></div><div>Hope this helps.</div><div><br></div><div>Darren</div><=
div><br><div><div>On 10 Mar 2010, at 19:19, Zack Sims wrote:</div><br><bloc=
kquote type=3D"cite">I am running a testbed composed of several DTN2 server=
s. I&#39;ve been able to make successful bundle transfers across multiple p=
ath
setups for several months now. My research partner and I were under the
impression that DTN2=A0 used the LTP protocol, but when we ran some scans
of our network traffic only Bundle headers were recognized.<br>
<br>We began looking into using the LTPlib as the convergence layer but
are having problems due to limited documentation. Are we on the right
path looking into LTPlib and if so how do we interface DTN to it? If
not, how else might we use LTP as a convergence layer?<br><font color=3D"#8=
88888">
<br>Zack Sims<br>Shawnee State University - Cyber Center<br>Research Assist=
ant
</font>
_______________________________________________<br>dtn-users mailing list<b=
r><a href=3D"mailto:dtn-users@maillists.intel-research.net" target=3D"_blan=
k"></a><a href=3D"mailto:dtn-users@maillists.intel-research.net" target=3D"=
_blank">dtn-users@maillists.intel-research.net</a><br>
<a href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users" =
target=3D"_blank">http://maillists.intel-research.net/mailman/listinfo/dtn-=
users</a><br></blockquote></div><br></div>
</div></blockquote><blockquote type=3D"cite"><div><span>___________________=
____________________________</span><br><span>dtn-users mailing list</span><=
br><span><a href=3D"mailto:dtn-users@maillists.intel-research.net" target=
=3D"_blank">dtn-users@maillists.intel-research.net</a></span><br>
<span><a href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-u=
sers" target=3D"_blank">http://maillists.intel-research.net/mailman/listinf=
o/dtn-users</a></span><br></div></blockquote></div></div></div></blockquote=
>
</div><br>

--001485f626c8c9aa9a048189fae6--


Received: from mail.newbay.com (87-198-172-198.ptr.magnet.ie [87.198.172.198]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2AKEjd3011328 for <dtn-users@mailman.dtnrg.org>; Wed, 10 Mar 2010 12:14:46 -0800
Received: from localhost (localhost [127.0.0.1]) by mail.newbay.com (Postfix) with ESMTP id E1FA936006B; Wed, 10 Mar 2010 20:14:45 +0000 (GMT)
X-Virus-Scanned: amavisd-new at newbay.com
Received: from mail.newbay.com ([127.0.0.1]) by localhost (mail.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lw69hNeQnJpz; Wed, 10 Mar 2010 20:14:42 +0000 (GMT)
Received: from mail01.newbay.com (mail01.newbay.com [192.168.12.25]) by mail.newbay.com (Postfix) with ESMTP id 8409336005B; Wed, 10 Mar 2010 20:14:41 +0000 (GMT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail01.newbay.com (Postfix) with ESMTP id 8105D7C31D; Wed, 10 Mar 2010 20:14:41 +0000 (GMT)
X-Virus-Scanned: amavisd-new at newbay.com
Received: from mail01.newbay.com ([127.0.0.1]) by localhost (mail01.newbay.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dAfzpAXVE-kd; Wed, 10 Mar 2010 20:14:37 +0000 (GMT)
Received: from [10.87.48.3] (dsl-102-234.cust.imagine.ie [87.232.102.234]) by mail01.newbay.com (Postfix) with ESMTP id 390A97C319; Wed, 10 Mar 2010 20:14:37 +0000 (GMT)
References: <4a84936c1003101119sdc03271l4ad54c77395df2d@mail.gmail.com> <EC8002E2-7CF1-473F-B9AB-58BBE20AC98C@mac.com>
Message-Id: <E3CBDD94-862B-4B46-BC04-BC029890A785@cs.tcd.ie>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
To: Darren Long <darren.long@mac.com>
In-Reply-To: <EC8002E2-7CF1-473F-B9AB-58BBE20AC98C@mac.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-1-34581347
Content-Transfer-Encoding: 7bit
X-Mailer: iPhone Mail (7E18)
Mime-Version: 1.0 (iPhone Mail 7E18)
Date: Wed, 10 Mar 2010 20:14:31 +0000
Cc: dtn-users list <dtn-users@mailman.dtnrg.org>, Zack Sims <zack.sims@gmail.com>
Subject: Re: [dtn-users] Using DTN2 over LTP
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Wed, 10 Mar 2010 20:14:46 -0000

--Apple-Mail-1-34581347
Content-Type: text/plain;
	charset=us-ascii;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Right. At some stage, and hopefully soon I plan to do a 1.0 of LTPlib  
and to document it better. I'd be interested in any opinions as to  
whether or not to integrate the source with DTN2 (default being to  
keep em separate).

In the meantime feel free to ask me for help if you want to use BP/LTP,
Stephen.


On 10 Mar 2010, at 19:51, Darren Long <darren.long@mac.com> wrote:

> The LTP CL has only been in the DTN2 Mercurial repo for 7 weeks and  
> release 2.7.0 is the first to contain it.
>
> As such, I expect that there isn't widespread experience in using it.
>
> I can't find any info on how to use the LTP CL yet, but the diff on  
> the README file (http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README 
> ) says:
>
>     1.16 +Note - LTP
>     1.17 +----------------------------
>     1.18 +
>     1.19 +This is an initial test of TCD's LTPlib as a CL. To
>     1.20 +use it go get LTPlib (todo: add URL!) and then
>     1.21 +./configure --with-ltp
>
> and the homepage for LTPlib is here:
>
> https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/
>
> Hope this helps.
>
> Darren
>
> On 10 Mar 2010, at 19:19, Zack Sims wrote:
>
>> I am running a testbed composed of several DTN2 servers. I've been  
>> able to make successful bundle transfers across multiple path  
>> setups for several months now. My research partner and I were under  
>> the impression that DTN2  used the LTP protocol, but when we ran  
>> some scans of our network traffic only Bundle headers were  
>> recognized.
>>
>> We began looking into using the LTPlib as the convergence layer but  
>> are having problems due to limited documentation. Are we on the  
>> right path looking into LTPlib and if so how do we interface DTN to  
>> it? If not, how else might we use LTP as a convergence layer?
>>
>> Zack Sims
>> Shawnee State University - Cyber Center
>> Research Assistant _______________________________________________
>> dtn-users mailing list
>> dtn-users@maillists.intel-research.net
>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users

--Apple-Mail-1-34581347
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body bgcolor=3D"#FFFFFF"><div>Right. At some stage, and hopefully =
soon I plan to do a 1.0 of LTPlib and to document it better. I'd be =
interested in any opinions as to whether or not to integrate the source =
with DTN2 (default being to keep em =
separate).</div><div><br></div><div>In the meantime feel free to ask me =
for help if you want to use =
BP/LTP,</div><div>Stephen.</div><div><br></div><div><br>On 10 Mar 2010, =
at 19:51, Darren Long &lt;<a =
href=3D"mailto:darren.long@mac.com">darren.long@mac.com</a>&gt; =
wrote:<br><br></div><div></div><blockquote type=3D"cite"><div>The LTP CL =
has only been in the DTN2 Mercurial repo for 7 weeks and release 2.7.0 =
is the first to contain it.&nbsp;<div><br></div><div>As such, I expect =
that there isn't widespread experience in using =
it.&nbsp;</div><div><br></div><div>I can't find any info on how to use =
the LTP CL yet, but the diff on the README file (<a =
href=3D"http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/REA=
DME"><a =
href=3D"http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/REA=
DME">http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README=
</a></a>) says:</div><div><br></div><div><pre><span style=3D"color: =
rgb(0, 136, 0);"><a class=3D"linenr" =
href=3D"http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/REA=
DME#l1.16" id=3D"l1.16">    1.16</a> +Note - LTP
</span><span style=3D"color: rgb(0, 136, 0);"><a class=3D"linenr" =
href=3D"http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/REA=
DME#l1.17" id=3D"l1.17">    1.17</a> +----------------------------
</span><span style=3D"color: rgb(0, 136, 0);"><a class=3D"linenr" =
href=3D"http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/REA=
DME#l1.18" id=3D"l1.18">    1.18</a> +
</span><span style=3D"color: rgb(0, 136, 0);"><a class=3D"linenr" =
href=3D"http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/REA=
DME#l1.19" id=3D"l1.19">    1.19</a> +This is an initial test of TCD's =
LTPlib as a CL. To=20
</span><span style=3D"color: rgb(0, 136, 0);"><a class=3D"linenr" =
href=3D"http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/REA=
DME#l1.20" id=3D"l1.20">    1.20</a> +use it go get LTPlib (todo: add =
URL!) and then=20
</span><span style=3D"color: rgb(0, 136, 0);"><a class=3D"linenr" =
href=3D"http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/REA=
DME#l1.21" id=3D"l1.21">    1.21</a> +./configure --with-ltp
</span></pre><div><br></div></div><div>and the&nbsp;homepage for LTPlib =
is here:&nbsp;</div><div><br></div><div><a =
href=3D"https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltpli=
b/"><a =
href=3D"https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltpli=
b/">https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/</=
a></a></div><div><br></div><div>Hope this =
helps.</div><div><br></div><div>Darren</div><div><br><div><div>On 10 Mar =
2010, at 19:19, Zack Sims wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">I am =
running a testbed composed of several DTN2 servers. I've been able to =
make successful bundle transfers across multiple path
setups for several months now. My research partner and I were under the
impression that DTN2&nbsp; used the LTP protocol, but when we ran some =
scans
of our network traffic only Bundle headers were recognized.<br>
<br>We began looking into using the LTPlib as the convergence layer but
are having problems due to limited documentation. Are we on the right
path looking into LTPlib and if so how do we interface DTN to it? If
not, how else might we use LTP as a convergence layer?<br><font =
color=3D"#888888">
<br>Zack Sims<br>Shawnee State University - Cyber Center<br>Research =
Assistant
</font>
_______________________________________________<br>dtn-users mailing =
list<br><a href=3D"mailto:dtn-users@maillists.intel-research.net"><a =
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists=
.intel-research.net</a></a><br><a =
href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users">ht=
tp://maillists.intel-research.net/mailman/listinfo/dtn-users</a><br></bloc=
kquote></div><br></div>
</div></blockquote><blockquote =
type=3D"cite"><div><span>_______________________________________________</=
span><br><span>dtn-users mailing list</span><br><span><a =
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists=
.intel-research.net</a></span><br><span><a =
href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users">ht=
tp://maillists.intel-research.net/mailman/listinfo/dtn-users</a></span><br=
></div></blockquote></body></html>=

--Apple-Mail-1-34581347--


Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2AJps7e010223 for <dtn-users@mailman.dtnrg.org>; Wed, 10 Mar 2010 11:51:54 -0800
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_HbdWffsPx8SIu0w95aZEpA)"
Received: from [192.168.1.10] ([94.30.69.47]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KZ300L5B0I77T50@asmtp026.mac.com> for dtn-users@mailman.dtnrg.org; Wed, 10 Mar 2010 11:51:49 -0800 (PST)
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1003100171
From: Darren Long <darren.long@mac.com>
In-reply-to: <4a84936c1003101119sdc03271l4ad54c77395df2d@mail.gmail.com>
Date: Wed, 10 Mar 2010 19:51:43 +0000
Message-id: <EC8002E2-7CF1-473F-B9AB-58BBE20AC98C@mac.com>
References: <4a84936c1003101119sdc03271l4ad54c77395df2d@mail.gmail.com>
To: Zack Sims <zack.sims@gmail.com>
X-Mailer: Apple Mail (2.1077)
Cc: dtn-users list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Using DTN2 over LTP
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Wed, 10 Mar 2010 19:51:54 -0000

--Boundary_(ID_HbdWffsPx8SIu0w95aZEpA)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

The LTP CL has only been in the DTN2 Mercurial repo for 7 weeks and release 2.7.0 is the first to contain it. 

As such, I expect that there isn't widespread experience in using it. 

I can't find any info on how to use the LTP CL yet, but the diff on the README file (http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README) says:

    1.16 +Note - LTP
    1.17 +----------------------------
    1.18 +
    1.19 +This is an initial test of TCD's LTPlib as a CL. To 
    1.20 +use it go get LTPlib (todo: add URL!) and then 
    1.21 +./configure --with-ltp

and the homepage for LTPlib is here: 

https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/

Hope this helps.

Darren

On 10 Mar 2010, at 19:19, Zack Sims wrote:

> I am running a testbed composed of several DTN2 servers. I've been able to make successful bundle transfers across multiple path setups for several months now. My research partner and I were under the impression that DTN2  used the LTP protocol, but when we ran some scans of our network traffic only Bundle headers were recognized.
> 
> We began looking into using the LTPlib as the convergence layer but are having problems due to limited documentation. Are we on the right path looking into LTPlib and if so how do we interface DTN to it? If not, how else might we use LTP as a convergence layer?
> 
> Zack Sims
> Shawnee State University - Cyber Center
> Research Assistant _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users


--Boundary_(ID_HbdWffsPx8SIu0w95aZEpA)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The LTP CL has only been in the DTN2 Mercurial repo for 7 weeks and release 2.7.0 is the first to contain it.&nbsp;<div><br></div><div>As such, I expect that there isn't widespread experience in using it.&nbsp;</div><div><br></div><div>I can't find any info on how to use the LTP CL yet, but the diff on the README file (<a href="http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README">http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README</a>) says:</div><div><br></div><div><pre><span style="color: rgb(0, 136, 0);"><a class="linenr" href="http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.16" id="l1.16">    1.16</a> +Note - LTP
</span><span style="color: rgb(0, 136, 0);"><a class="linenr" href="http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.17" id="l1.17">    1.17</a> +----------------------------
</span><span style="color: rgb(0, 136, 0);"><a class="linenr" href="http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.18" id="l1.18">    1.18</a> +
</span><span style="color: rgb(0, 136, 0);"><a class="linenr" href="http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.19" id="l1.19">    1.19</a> +This is an initial test of TCD's LTPlib as a CL. To 
</span><span style="color: rgb(0, 136, 0);"><a class="linenr" href="http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.20" id="l1.20">    1.20</a> +use it go get LTPlib (todo: add URL!) and then 
</span><span style="color: rgb(0, 136, 0);"><a class="linenr" href="http://dtn.hg.sourceforge.net/hgweb/dtn/DTN2/diff/0c66e7e28531/README#l1.21" id="l1.21">    1.21</a> +./configure --with-ltp
</span></pre><div><br></div></div><div>and the&nbsp;homepage for LTPlib is here:&nbsp;</div><div><br></div><div><a href="https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/">https://down.dsg.cs.tcd.ie/ltplib/https://down.dsg.cs.tcd.ie/ltplib/</a></div><div><br></div><div>Hope this helps.</div><div><br></div><div>Darren</div><div><br><div><div>On 10 Mar 2010, at 19:19, Zack Sims wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I am running a testbed composed of several DTN2 servers. I've been able to make successful bundle transfers across multiple path
setups for several months now. My research partner and I were under the
impression that DTN2&nbsp; used the LTP protocol, but when we ran some scans
of our network traffic only Bundle headers were recognized.<br>
<br>We began looking into using the LTPlib as the convergence layer but
are having problems due to limited documentation. Are we on the right
path looking into LTPlib and if so how do we interface DTN to it? If
not, how else might we use LTP as a convergence layer?<br><font color="#888888">
<br>Zack Sims<br>Shawnee State University - Cyber Center<br>Research Assistant
</font>
_______________________________________________<br>dtn-users mailing list<br><a href="mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.intel-research.net</a><br>http://maillists.intel-research.net/mailman/listinfo/dtn-users<br></blockquote></div><br></div></body></html>

--Boundary_(ID_HbdWffsPx8SIu0w95aZEpA)--


Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o2AJJj4G008632 for <dtn-users@maillists.intel-research.net>; Wed, 10 Mar 2010 11:19:46 -0800
Received: by fxm22 with SMTP id 22so614045fxm.34 for <dtn-users@maillists.intel-research.net>; Wed, 10 Mar 2010 11:19:46 -0800 (PST)
MIME-Version: 1.0
Received: by 10.239.134.148 with SMTP id 20mr193061hbz.42.1268248785854; Wed,  10 Mar 2010 11:19:45 -0800 (PST)
Date: Wed, 10 Mar 2010 14:19:45 -0500
Message-ID: <4a84936c1003101119sdc03271l4ad54c77395df2d@mail.gmail.com>
From: Zack Sims <zack.sims@gmail.com>
To: dtn-users@maillists.intel-research.net
Content-Type: multipart/alternative; boundary=001485f945e05e23720481772e00
Subject: [dtn-users] Using DTN2 over LTP
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Wed, 10 Mar 2010 19:19:46 -0000

--001485f945e05e23720481772e00
Content-Type: text/plain; charset=ISO-8859-1

I am running a testbed composed of several DTN2 servers. I've been able to
make successful bundle transfers across multiple path setups for several
months now. My research partner and I were under the impression that DTN2
used the LTP protocol, but when we ran some scans of our network traffic
only Bundle headers were recognized.

We began looking into using the LTPlib as the convergence layer but are
having problems due to limited documentation. Are we on the right path
looking into LTPlib and if so how do we interface DTN to it? If not, how
else might we use LTP as a convergence layer?

Zack Sims
Shawnee State University - Cyber Center
Research Assistant

--001485f945e05e23720481772e00
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I am running a testbed composed of several DTN2 servers. I&#39;ve been able=
 to make successful bundle transfers across multiple path
setups for several months now. My research partner and I were under the
impression that DTN2=A0 used the LTP protocol, but when we ran some scans
of our network traffic only Bundle headers were recognized.<br>
<br>We began looking into using the LTPlib as the convergence layer but
are having problems due to limited documentation. Are we on the right
path looking into LTPlib and if so how do we interface DTN to it? If
not, how else might we use LTP as a convergence layer?<br><font color=3D"#8=
88888">
<br>Zack Sims<br>Shawnee State University - Cyber Center<br>Research Assist=
ant
</font>

--001485f945e05e23720481772e00--


Received: from relay.imagine.ie (dns1.dns.imagine.ie [87.232.1.40]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o23MG4Z4020598 for <dtn-users@mailman.dtnrg.org>; Wed, 3 Mar 2010 14:16:05 -0800
Received: from mail1.int.imagine.ie (mail1 [87.232.1.152]) by relay.imagine.ie (Postfix) with ESMTP id 59D9032513 for <dtn-users@mailman.dtnrg.org>; Wed,  3 Mar 2010 22:16:09 +0000 (GMT)
Received: from [10.87.48.7] (dsl-102-234.cust.imagine.ie [87.232.102.234]) by mail1.int.imagine.ie (8.13.4/8.13.4/Debian-3) with ESMTP id o23MG78D007520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <dtn-users@mailman.dtnrg.org>; Wed, 3 Mar 2010 22:16:08 GMT
Message-ID: <4B8EDFA2.6010605@cs.tcd.ie>
Date: Wed, 03 Mar 2010 22:16:02 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3
MIME-Version: 1.0
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Bayes-Prob: 0.0001 (Score 0)
X-Spam-Score: 0.80 () [Hold at 8.00] RATWARE_GECKO_BUILD
X-Canit-Stats-ID: 66175830 - c0a1d8ab7f16
X-CanItPRO-Stream: outgoing
X-Scanned-By: CanIt (www . roaringpenguin . com) on 87.232.1.52
Subject: [dtn-users] MTU check in generic code
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2010 22:16:05 -0000

Hi all,

While testing the LTP CL we've added I ran into something
I think's wrong but wanted to check.

DTN2/servlib/bundling/BundleActions.cc around line 128 has
a check as to whether the total (encoded) bundle size is
bigger than the configured link MTU (if an MTU value is
configured).

That would be ok if the only CL type that with an MTU
configuration setting was UDP. For the LTP CL however
it makes no sense and I can't see why it'd be there for
any CL (even for UDP, there's a check in the CL specific
code).

So, I think removing this is right (and seems to work for
me) but am I missing something?

Ta,
Stephen.



Received: from mail-ew0-f215.google.com (mail-ew0-f215.google.com [209.85.219.215]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id o22FXgDl030058 for <dtn-users@mailman.dtnrg.org>; Tue, 2 Mar 2010 07:33:42 -0800
Received: by ewy7 with SMTP id 7so215446ewy.29 for <dtn-users@mailman.dtnrg.org>; Tue, 02 Mar 2010 07:33:45 -0800 (PST)
Received: by 10.103.84.27 with SMTP id m27mr5004087mul.19.1267544025273; Tue, 02 Mar 2010 07:33:45 -0800 (PST)
Received: from abel.local (lilik.ing.unifi.it [150.217.18.45]) by mx.google.com with ESMTPS id 23sm11709536mun.7.2010.03.02.07.33.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Mar 2010 07:33:43 -0800 (PST)
Sender: Francesco Vollero <razorinc@gmail.com>
Message-ID: <4B8D2FDD.7060602@lilik.it>
Date: Tue, 02 Mar 2010 16:33:49 +0100
From: Francesco Vollero <raven@lilik.it>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; it; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2
MIME-Version: 1.0
To: dtn-users@mailman.dtnrg.org
Content-Type: multipart/mixed; boundary="------------080306090309020403090403"
Subject: [dtn-users] DTN2 and oasys current repository debian patch
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: dtn-users mailing list <dtn-users.maillists.intel-research.net>
List-Unsubscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=unsubscribe>
List-Archive: <http://maillists.intel-research.net/pipermail/dtn-users>
List-Post: <mailto:dtn-users@maillists.intel-research.net>
List-Help: <mailto:dtn-users-request@maillists.intel-research.net?subject=help>
List-Subscribe: <http://maillists.intel-research.net/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@maillists.intel-research.net?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2010 15:33:43 -0000

This is a multi-part message in MIME format.
--------------080306090309020403090403
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi to all,
as subject i post two patches for the debian folder files, because in 
the DTN2 wasnt updated with the last version and oasys had 2.6.0 version 
defined on changelog, and i think it was copied from DTN2 release.
Waiting for feedback.

Francesco Vollero


--------------080306090309020403090403
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
	name="oasys_debian_patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="oasys_debian_patch"

diff -r a3ddfd263c95 debian/changelog
--- a/debian/changelog	Mon Mar 01 21:19:58 2010 +0000
+++ b/debian/changelog	Tue Mar 02 16:14:27 2010 +0100
@@ -1,4 +1,10 @@
-oasys (2.6.0) unstable; urgency=low
+oasys (1.4.0) unstable; urgency=low
+
+  * 1.4.0 build 
+
+ -- Alex McMahon <alex.mcmahon@cs.tcd.ie>  Fri, 22 Feb 2010 16:46:17 +0100
+
+oasys (1.3.0) unstable; urgency=low
 
   * 2.6.0 build 2.6.0 build 
 


--------------080306090309020403090403
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
	name="DTN2_debian_patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="DTN2_debian_patch"

diff -r 82a51d104a3c debian/changelog
--- a/debian/changelog	Mon Mar 01 21:22:01 2010 +0000
+++ b/debian/changelog	Tue Mar 02 16:12:22 2010 +0100
@@ -1,3 +1,9 @@
+dtn (2.7.0) unstable; urgency=low
+
+  * 2.7.0 release upgrade
+
+ -- Alex McMahon <ailex.mcmahon@cs.tcd.ie>  Fri, 08 May 2009 20:07:09 +0100
+
 dtn (2.6.0) unstable; urgency=low
 
   * 2.6.0 release upgrade
diff -r 82a51d104a3c debian/dtn.init.d
--- a/debian/dtn.init.d	Mon Mar 01 21:22:01 2010 +0000
+++ b/debian/dtn.init.d	Tue Mar 02 16:12:22 2010 +0100
@@ -1,5 +1,15 @@
-#!/bin/bash
-#
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          dtnd
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Delay-Tolerant Network server
+### END INIT INFO
+#/etc/init.d/dtnd
+# Modified by: Francesco Vollero <raven@lilik.it>
+
 # dtnd		Start the DTN daemon
 #
 # The variables below are NOT to be changed.  They are there to make the
@@ -31,35 +41,35 @@
 
 case "$1" in
   start)
-    echo -n "Starting DTN daemon..."
+    echo "Starting DTN daemon..."
     should_start
     $SSD $SSDARGS --start -- $ARGS
     ;;
 
   start_tidy)
     should_start
-    echo -n "Starting DTN daemon (tidy mode)..."
+    echo "Starting DTN daemon (tidy mode)..."
     $SSD $SSDARGS --start -- $ARGS -t
     ;;
 
   stop)
-    echo -n "Stopping DTN daemon..."
+    echo "Stopping DTN daemon..."
     $CONTROL stop || true
-    echo -n "Making sure DTN daemon stops..."
+    echo "Making sure DTN daemon stops..."
     $SSD $SSDARGS --stop || true
     ;;
 
   restart)
-    echo -n "Stopping DTN daemon..."
+    echo "Stopping DTN daemon..."
     $CONTROL stop || true
-    echo -n "Making sure DTN daemon stops..."
+    echo "Making sure DTN daemon stops..."
     $SSD $SSDARGS --stop || true
-    echo -n "Restarting DTN daemon..."
+    echo "Restarting DTN daemon..."
     $SSD $SSDARGS --start -- $ARGS
     ;;
 
   logrotate)
-    echo -n "Rotating logs for DTN daemon..."
+    echo "Rotating logs for DTN daemon..."
     $CONTROL logrotate
     ;;
 


--------------080306090309020403090403--

