
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 n6V2rrnE011971 for <dtn-users@maillists.intel-research.net>; Thu, 30 Jul 2009 19:53:54 -0700
Received: from dyn98-b60-access.superdsl.com.sg ([202.73.60.98] helo=[192.9.200.138]) by sky.fastbighost.net with esmtpa (Exim 4.69) (envelope-from <Graham@LeonixSolutions.com>) id 1MWiCI-0006XG-JC; Thu, 30 Jul 2009 22:50:19 -0400
Message-ID: <4A725BDE.8060904@LeonixSolutions.com>
Date: Fri, 31 Jul 2009 10:50:06 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: "Jonson, Thomas [USA]" <jonson_thomas@bah.com>
References: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com> <4A7106A7.2060408@LeonixSolutions.com> <21D3693DA55EF14BB72DCC18FB65B291090DC17A@ASHBMBX04.resource.ds.bah.com>
In-Reply-To: <21D3693DA55EF14BB72DCC18FB65B291090DC17A@ASHBMBX04.resource.ds.bah.com>
Content-Type: multipart/mixed; boundary="------------000508030401030408030309"
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: 
Cc: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] dtnrecv without hexdump?
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: Fri, 31 Jul 2009 02:53:54 -0000

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

Jonson, Thomas [USA] wrote:
> Hello Graham,
> I just tried this and while it worked, I was actually hoping not to have the hex displayed, but rather just the ascii message.  For example, on the regular dtnrecv output a | separates the hex on the left with the message on the right.  The code change you recommended will get rid of the message on the right side and just display the hex on the left.  I was hoping to get rid of the hex and just display the ascii, preferably without the newline every 16 bytes.
>   
D'oh!!! Sorry, Thomas, guess I didn't pay attention when reading (hence 
my "don't know why you would want to do this").

I agree with you that some command line parameter(s) could be added, but 
if you want to he hack the code then just change the thusly:

delete lines 230 to 236:
        while (k%BUFSIZE != BUFSIZE-1) {
            if (k%2 == 0) {
                printf(" ");
            }
            printf("  ");
            k++;
        }
and delete lines 210 to 220
        if (k%BUFSIZE == 0) // new line every 16 bytes
        {
            printf("%07x ", k);
        }
        else if (k%2 == 0)
        {
            printf(" "); // space every 2 bytes
        }
                    
        printf("%02x", buffer[k] & 0xff);

It worked for me.

with best wishes,

~graham();





> I'm not much of a c programmer, but replacing the entire print_data function in the dtnrecv.c code with the below seemed to work for the most part, but the there are some extra characters being printed at the end of the line depending on the size of the message:
>
> print_data(char* buffer, u_int length)
> {
> printf(buffer);
> printf("\n");
> }
>
> Thanks,
> Tom
>
> From: Graham Keellings (Leonix Solutions Pte Ltd) [mailto:Graham@LeonixSolutions.com]
> Sent: Wednesday, July 29, 2009 10:34 PM
> To: Jonson, Thomas [USA]
> Cc: dtn-users@maillists.intel-research.net
> Subject: Re: [dtn-users] dtnrecv without hexdump?
>
> Jonson, Thomas [USA] wrote:
>
> I'm fairly new to the DTN2 protocol so perhaps I've just missed this in the documentation, but is there a way to run dtnrecv and have it display just the message, without the hexdump?
>
>
> Hi, Thomas,
>
>   I don't see any command line switch for this - and I can't for the life of me think why you would want it, but ...
>
> By my reckoning, if you edit <dtn directory>/apps/dtnrecv.c  (make a backup first)
>
> and change  (line 221 in my copy, ymmv)
>
>         if (k%BUFSIZE == BUFSIZE-1)
>         {
>             printf(" |  %.*s\n", BUFSIZE, s_buffer);
>         }
>
> to
>         if (k%BUFSIZE == BUFSIZE-1)
>         {
>             printf(" \n");
>         }
>
> and also
>
>  (at line 237 in my copy, ymmv)
>
>         printf("   |  %.*s\n",
>                (int)length%BUFSIZE,
>                s_buffer);
>
> to
>         printf("\n");
>
> Then rebuild, it should so what you want. I tried it and it works.
>
> Happy DTNing ;-)
>
>
> ~graham();
>
>
>
>
>
>
>
>
>
> Thanks,
>
> Tom
>
>
>
>
>
>
>
>
>
>
> ________________________________
>
>
>
>
>
>
> _______________________________________________
>
> 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
>
>
>
>
>
>
> --
>
> Technical Director
>
> Leonix Solutions (Pte) Ltd
>
> 18 Boon Lay Way
>
> #09-95 TradeHub 21
>
> Singapore 609966
>
> Telephone:+65 6316 9968
>
> Fax: +65 6316 9208
>
>   


-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208


--------------000508030401030408030309
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------000508030401030408030309--


Received: from mx3.bbn.com (mx3.bbn.com [128.33.1.81]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6UKniBF028101 for <dtn-users@maillists.intel-research.net>; Thu, 30 Jul 2009 13:49:44 -0700
Received: from senshu.bbn.com ([128.89.80.164]) by mx3.bbn.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from <dellard@bbn.com>) id 1MWcVq-0003SV-BG; Thu, 30 Jul 2009 16:46:06 -0400
Message-ID: <4A72068E.6090909@bbn.com>
Date: Thu, 30 Jul 2009 16:46:06 -0400
From: Daniel Ellard <dellard@bbn.com>
Organization: BBN Technologies
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
MIME-Version: 1.0
To: "Jonson, Thomas [USA]" <jonson_thomas@bah.com>
References: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com>	<4A7106A7.2060408@LeonixSolutions.com> <21D3693DA55EF14BB72DCC18FB65B291090DC17A@ASHBMBX04.resource.ds.bah.com>
In-Reply-To: <21D3693DA55EF14BB72DCC18FB65B291090DC17A@ASHBMBX04.resource.ds.bah.com>
X-Enigmail-Version: 0.96.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Cc: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] dtnrecv without hexdump?
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, 30 Jul 2009 20:49:44 -0000

Jonson, Thomas [USA] wrote:

> I’m not much of a c programmer, but replacing the entire print_data
> function in the dtnrecv.c code with the below seemed to work for the
> most part, but the there are some extra characters being printed at the
> end of the line depending on the size of the message:
> 
>  
> 
> print_data(char* buffer, u_int length)
> 
> {
> 
> printf(buffer);
> 
> printf("\n");
> 
> }

This will work in many cases, but there are a few edge cases
where this can crash the program if the string contains
characters interpreted by printf, or is improperly
terminated.  Instead of

	printf(buffer);
	printf("\n");

I recommend

	fwrite(buffer, 1, length, stdout);
	printf("\n");

-Dan



-- 
Daniel Ellard, Ph.D.
Senior Scientist, Network Research
BBN Technologies
10 Moulton Street
Cambridge, MA 02138
dellard@bbn.com


Received: from mclniron01-ext.bah.com (mclniron01-ext.bah.com [156.80.1.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6UKfoGL027718 for <dtn-users@maillists.intel-research.net>; Thu, 30 Jul 2009 13:41:50 -0700
x-SBRS: None
X-REMOTE-IP: 10.12.10.52
X-IronPort-AV: E=Sophos;i="4.43,297,1246852800"; d="scan'208,217";a="35295865"
Received: from unknown (HELO ASHBHUB03.resource.ds.bah.com) ([10.12.10.52]) by mclniron01-int.bah.com with ESMTP; 30 Jul 2009 16:38:20 -0400
Received: from ASHBMBX04.resource.ds.bah.com ([169.254.1.120]) by ASHBHUB03.resource.ds.bah.com ([10.12.10.52]) with mapi; Thu, 30 Jul 2009 16:38:19 -0400
From: "Jonson, Thomas [USA]" <jonson_thomas@bah.com>
To: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Date: Thu, 30 Jul 2009 16:38:18 -0400
Thread-Topic: [dtn-users] dtnrecv without hexdump?
Thread-Index: AcoQvkFDxqTmEXvvSPeXvU1mO31dpgAkNYHA
Message-ID: <21D3693DA55EF14BB72DCC18FB65B291090DC17A@ASHBMBX04.resource.ds.bah.com>
References: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com> <4A7106A7.2060408@LeonixSolutions.com>
In-Reply-To: <4A7106A7.2060408@LeonixSolutions.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_21D3693DA55EF14BB72DCC18FB65B291090DC17AASHBMBX04resour_"
MIME-Version: 1.0
Cc: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] dtnrecv without hexdump?
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, 30 Jul 2009 20:41:51 -0000

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

Hello Graham,
I just tried this and while it worked, I was actually hoping not to have th=
e hex displayed, but rather just the ascii message.  For example, on the re=
gular dtnrecv output a | separates the hex on the left with the message on =
the right.  The code change you recommended will get rid of the message on =
the right side and just display the hex on the left.  I was hoping to get r=
id of the hex and just display the ascii, preferably without the newline ev=
ery 16 bytes.

I'm not much of a c programmer, but replacing the entire print_data functio=
n in the dtnrecv.c code with the below seemed to work for the most part, bu=
t the there are some extra characters being printed at the end of the line =
depending on the size of the message:

print_data(char* buffer, u_int length)
{
printf(buffer);
printf("\n");
}

Thanks,
Tom

From: Graham Keellings (Leonix Solutions Pte Ltd) [mailto:Graham@LeonixSolu=
tions.com]
Sent: Wednesday, July 29, 2009 10:34 PM
To: Jonson, Thomas [USA]
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] dtnrecv without hexdump?

Jonson, Thomas [USA] wrote:

I'm fairly new to the DTN2 protocol so perhaps I've just missed this in the=
 documentation, but is there a way to run dtnrecv and have it display just =
the message, without the hexdump?


Hi, Thomas,

  I don't see any command line switch for this - and I can't for the life o=
f me think why you would want it, but ...

By my reckoning, if you edit <dtn directory>/apps/dtnrecv.c  (make a backup=
 first)

and change  (line 221 in my copy, ymmv)

        if (k%BUFSIZE =3D=3D BUFSIZE-1)
        {
            printf(" |  %.*s\n", BUFSIZE, s_buffer);
        }

to
        if (k%BUFSIZE =3D=3D BUFSIZE-1)
        {
            printf(" \n");
        }

and also

 (at line 237 in my copy, ymmv)

        printf("   |  %.*s\n",
               (int)length%BUFSIZE,
               s_buffer);

to
        printf("\n");

Then rebuild, it should so what you want. I tried it and it works.

Happy DTNing ;-)


~graham();









Thanks,

Tom










________________________________






_______________________________________________

dtn-users mailing list

dtn-users@maillists.intel-research.net<mailto:dtn-users@maillists.intel-res=
earch.net>

http://maillists.intel-research.net/mailman/listinfo/dtn-users






--

Technical Director

Leonix Solutions (Pte) Ltd

18 Boon Lay Way

#09-95 TradeHub 21

Singapore 609966

Telephone:+65 6316 9968

Fax: +65 6316 9208

--_000_21D3693DA55EF14BB72DCC18FB65B291090DC17AASHBMBX04resour_
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)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<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;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 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";
	color:black;}
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;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;
	color:black;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@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 bgcolor=3Dwhite 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'>Hello Graham,<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#1F497D'>I just tried this and while it worked, I was actually hoping=
 not
to have the hex displayed, but rather just the ascii message.&nbsp; For exa=
mple,
on the regular dtnrecv output a | separates the hex on the left with the me=
ssage
on the right.&nbsp; The code change you recommended will get rid of the mes=
sage
on the right side and just display the hex on the left.&nbsp; I was hoping =
to
get rid of the hex and just display the ascii, preferably without the newli=
ne
every 16 bytes.<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'>I&#8217;m not much of a c programmer, but replacing the enti=
re
print_data function in the dtnrecv.c code with the below seemed to work for=
 the
most part, but the there are some extra characters being printed at the end=
 of
the line depending on the size of the message:<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'>print_data(char* buffer, u_int length)<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></o:p></span></p>

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

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#1F497D'>printf(&quot;\n&quot;);<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></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'>Thanks,<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#1F497D'>Tom<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>

<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";
color:windowtext'>From:</span></b><span style=3D'font-size:10.0pt;font-fami=
ly:
"Tahoma","sans-serif";color:windowtext'> Graham Keellings (Leonix Solutions=
 Pte
Ltd) [mailto:Graham@LeonixSolutions.com] <br>
<b>Sent:</b> Wednesday, July 29, 2009 10:34 PM<br>
<b>To:</b> Jonson, Thomas [USA]<br>
<b>Cc:</b> dtn-users@maillists.intel-research.net<br>
<b>Subject:</b> Re: [dtn-users] dtnrecv without hexdump?<o:p></o:p></span><=
/p>

</div>

</div>

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

<p class=3DMsoNormal>Jonson, Thomas [USA] wrote: <o:p></o:p></p>

<pre>I'm fairly new to the DTN2 protocol so perhaps I've just missed this i=
n the documentation, but is there a way to run dtnrecv and have it display =
just the message, without the hexdump?<o:p></o:p></pre><pre>&nbsp; <o:p></o=
:p></pre>

<p class=3DMsoNormal>Hi, Thomas, <br>
<br>
&nbsp; I don't see any command line switch for this - and I can't for the l=
ife
of me think why you would want it, but ...<br>
<br>
By my reckoning, if you edit &lt;dtn directory&gt;/apps/dtnrecv.c&nbsp; (ma=
ke a
backup first)<br>
<br>
and change&nbsp; (line 221 in my copy, ymmv)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (k%BUFSIZE =3D=3D BUFSIZE-1)<=
br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
printf(&quot; |&nbsp; %.*s\n&quot;, BUFSIZE, s_buffer);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
<br>
to <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (k%BUFSIZE =3D=3D BUFSIZE-1)<=
br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
printf(&quot; \n&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
<br>
and also<br>
<br>
&nbsp;(at line 237 in my copy, ymmv)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(&quot;&nbsp;&nbsp; |&nbsp=
;
%.*s\n&quot;,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;
(int)length%BUFSIZE, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;
s_buffer);<br>
<br>
to <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(&quot;\n&quot;);<br>
<br>
Then rebuild, it should so what you want. I tried it and it works. <br>
<br>
Happy DTNing ;-)<br>
<br>
<br>
~graham(); <br>
<br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre>Thanks,<o:p></o:p></pre><pre>Tom<o:p></o:p=
></pre><pre><o:p>&nbsp;</o:p></pre><pre>&nbsp; <o:p></o:p></pre><pre><o:p>&=
nbsp;</o:p></pre><pre
style=3D'text-align:center'>

<hr size=3D4 width=3D"90%" align=3Dcenter>

</pre><pre><o:p>&nbsp;</o:p></pre><pre>____________________________________=
___________<o:p></o:p></pre><pre>dtn-users mailing list<o:p></o:p></pre><pr=
e><a
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.=
intel-research.net</a><o:p></o:p></pre><pre><a
href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users">htt=
p://maillists.intel-research.net/mailman/listinfo/dtn-users</a><o:p></o:p><=
/pre><pre>&nbsp; <o:p></o:p></pre>

<p class=3DMsoNormal><br>
<br>
<br>
<o:p></o:p></p>

<pre>-- <o:p></o:p></pre><pre>Technical Director<o:p></o:p></pre><pre>Leoni=
x Solutions (Pte) Ltd<o:p></o:p></pre><pre>18 Boon Lay Way<o:p></o:p></pre>=
<pre>#09-95 TradeHub 21<o:p></o:p></pre><pre>Singapore 609966<o:p></o:p></p=
re><pre>Telephone:+65 6316 9968<o:p></o:p></pre><pre>Fax: +65 6316 9208<o:p=
></o:p></pre></div>

</body>

</html>

--_000_21D3693DA55EF14BB72DCC18FB65B291090DC17AASHBMBX04resour_--


Received: from mclniron01-ext.bah.com (mclniron01-ext.bah.com [156.80.1.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6UJUeZT024551 for <dtn-users@maillists.intel-research.net>; Thu, 30 Jul 2009 12:30:40 -0700
x-SBRS: None
X-REMOTE-IP: 10.12.10.53
X-IronPort-AV: E=Sophos;i="4.43,296,1246852800"; d="scan'208,217";a="35280004"
Received: from unknown (HELO ASHBHUB04.resource.ds.bah.com) ([10.12.10.53]) by mclniron01-int.bah.com with ESMTP; 30 Jul 2009 15:27:03 -0400
Received: from ASHBMBX04.resource.ds.bah.com ([169.254.1.120]) by ASHBHUB04.resource.ds.bah.com ([10.12.10.53]) with mapi; Thu, 30 Jul 2009 15:27:03 -0400
From: "Jonson, Thomas [USA]" <jonson_thomas@bah.com>
To: Kevin Fall <kfall.ucb@gmail.com>, Graham Keellings <Graham@LeonixSolutions.com>
Date: Thu, 30 Jul 2009 15:26:59 -0400
Thread-Topic: [dtn-users] dtnrecv without hexdump?
Thread-Index: AcoRFWsO9nq5EYa2ToeN3x/xei0+mgANPP4Q
Message-ID: <21D3693DA55EF14BB72DCC18FB65B291090DC13B@ASHBMBX04.resource.ds.bah.com>
References: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com> <4A7106A7.2060408@LeonixSolutions.com> <BDD88CAA-F375-4CE1-86C0-1AA42A9FBAF6@gmail.com>
In-Reply-To: <BDD88CAA-F375-4CE1-86C0-1AA42A9FBAF6@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_21D3693DA55EF14BB72DCC18FB65B291090DC13BASHBMBX04resour_"
MIME-Version: 1.0
Cc: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] dtnrecv without hexdump?
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, 30 Jul 2009 19:30:41 -0000

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

Thank you for the quick replies.  Basically I am trying to pipe the output =
of a monitoring script to be forwarded over DTN to another node.  With dtns=
end, as the output is sent it will be received at the destination node, dis=
played and will continue to listen for more bundles.  It seems like dtncat =
on the receiving end is waiting for a EOF before it will display the output=
.  However as soon as it sees the EOF, the receiving dtncat process exits. =
 I'll try editing the code, but perhaps this would be another good command =
line option.

~Tom

From: Kevin Fall [mailto:kfall.ucb@gmail.com]
Sent: Thursday, July 30, 2009 7:00 AM
To: Graham Keellings
Cc: Jonson, Thomas [USA]; dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] dtnrecv without hexdump?

have you tried 'dtncat'?

- K


On Jul 29, 2009, at Jul 297:34 PMPDT, Graham Keellings (Leonix Solutions Pt=
e Ltd) wrote:


Jonson, Thomas [USA] wrote:

I'm fairly new to the DTN2 protocol so perhaps I've just missed this in the=
 documentation, but is there a way to run dtnrecv and have it display just =
the message, without the hexdump?


Hi, Thomas,

  I don't see any command line switch for this - and I can't for the life o=
f me think why you would want it, but ...

By my reckoning, if you edit <dtn directory>/apps/dtnrecv.c  (make a backup=
 first)

and change  (line 221 in my copy, ymmv)

        if (k%BUFSIZE =3D=3D BUFSIZE-1)
        {
            printf(" |  %.*s\n", BUFSIZE, s_buffer);
        }

to
        if (k%BUFSIZE =3D=3D BUFSIZE-1)
        {
            printf(" \n");
        }

and also

 (at line 237 in my copy, ymmv)

        printf("   |  %.*s\n",
               (int)length%BUFSIZE,
               s_buffer);

to
        printf("\n");

Then rebuild, it should so what you want. I tried it and it works.

Happy DTNing ;-)


~graham();







Thanks,

Tom








________________________________






_______________________________________________

dtn-users mailing list

dtn-users@maillists.intel-research.net<mailto:dtn-users@maillists.intel-res=
earch.net>

http://maillists.intel-research.net/mailman/listinfo/dtn-users






--

Technical Director

Leonix Solutions (Pte) Ltd

18 Boon Lay Way

#09-95 TradeHub 21

Singapore 609966

Telephone:+65 6316 9968

Fax: +65 6316 9208
<Graham.vcf>_______________________________________________
dtn-users mailing list
dtn-users@maillists.intel-research.net<mailto:dtn-users@maillists.intel-res=
earch.net>
http://maillists.intel-research.net/mailman/listinfo/dtn-users


--_000_21D3693DA55EF14BB72DCC18FB65B291090DC13BASHBMBX04resour_
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)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<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;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 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;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@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 style=3D'word-wrap: break-wor=
d;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space'>

<div class=3DSection1>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#1F497D'>Thank you for the quick replies. &nbsp;Basically I am trying=
 to
pipe the output of a monitoring script to be forwarded over DTN to another =
node.&nbsp;
With dtnsend, as the output is sent it will be received at the destination =
node,
displayed and will continue to listen for more bundles.&nbsp; It seems like
dtncat on the receiving end is waiting for a EOF before it will display the
output.&nbsp; However as soon as it sees the EOF, the receiving dtncat proc=
ess
exits.&nbsp; I&#8217;ll try editing the code, but perhaps this would be ano=
ther
good command line option.<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'>~Tom<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>

<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"'> Kevin Fall
[mailto:kfall.ucb@gmail.com] <br>
<b>Sent:</b> Thursday, July 30, 2009 7:00 AM<br>
<b>To:</b> Graham Keellings<br>
<b>Cc:</b> Jonson, Thomas [USA]; dtn-users@maillists.intel-research.net<br>
<b>Subject:</b> Re: [dtn-users] dtnrecv without hexdump?<o:p></o:p></span><=
/p>

</div>

</div>

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

<p class=3DMsoNormal>have you tried 'dtncat'?<o:p></o:p></p>

<div>

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

</div>

<div>

<p class=3DMsoNormal>- K<o:p></o:p></p>

</div>

<div>

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

</div>

<div>

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

<div>

<div>

<p class=3DMsoNormal>On Jul 29, 2009, at Jul 297:34 PMPDT, Graham Keellings
(Leonix Solutions Pte Ltd) wrote:<o:p></o:p></p>

</div>

<p class=3DMsoNormal><br>
<br>
<o:p></o:p></p>

<div>

<p class=3DMsoNormal>Jonson, Thomas [USA] wrote: <o:p></o:p></p>

<pre>I'm fairly new to the DTN2 protocol so perhaps I've just missed this i=
n the documentation, but is there a way to run dtnrecv and have it display =
just the message, without the hexdump?<o:p></o:p></pre><pre>&nbsp; <o:p></o=
:p></pre>

<p class=3DMsoNormal>Hi, Thomas, <br>
<br>
&nbsp; I don't see any command line switch for this - and I can't for the l=
ife
of me think why you would want it, but ...<br>
<br>
By my reckoning, if you edit &lt;dtn directory&gt;/apps/dtnrecv.c&nbsp; (ma=
ke a
backup first)<br>
<br>
and change&nbsp; (line 221 in my copy, ymmv)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (k%BUFSIZE =3D=3D BUFSIZE-1)<=
br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
printf(&quot; |&nbsp; %.*s\n&quot;, BUFSIZE, s_buffer);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
<br>
to <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (k%BUFSIZE =3D=3D BUFSIZE-1)<=
br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
printf(&quot; \n&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
<br>
and also<br>
<br>
&nbsp;(at line 237 in my copy, ymmv)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(&quot;&nbsp;&nbsp; |&nbsp=
;
%.*s\n&quot;,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;
(int)length%BUFSIZE, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;
s_buffer);<br>
<br>
to <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(&quot;\n&quot;);<br>
<br>
Then rebuild, it should so what you want. I tried it and it works. <br>
<br>
Happy DTNing ;-)<br>
<br>
<br>
~graham(); <br>
<br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>

<pre>Thanks,<o:p></o:p></pre><pre>Tom<o:p></o:p></pre><pre><o:p>&nbsp;</o:p=
></pre><pre>&nbsp; <o:p></o:p></pre><pre
style=3D'text-align:center'>

<hr size=3D4 width=3D"90%" align=3Dcenter>

</pre><pre><o:p>&nbsp;</o:p></pre><pre>____________________________________=
___________<o:p></o:p></pre><pre>dtn-users mailing list<o:p></o:p></pre><pr=
e><a
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.=
intel-research.net</a><o:p></o:p></pre><pre><a
href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users">htt=
p://maillists.intel-research.net/mailman/listinfo/dtn-users</a><o:p></o:p><=
/pre><pre>&nbsp; <o:p></o:p></pre>

<p class=3DMsoNormal><br>
<br>
<br>
<o:p></o:p></p>

<pre>-- <o:p></o:p></pre><pre>Technical Director<o:p></o:p></pre><pre>Leoni=
x Solutions (Pte) Ltd<o:p></o:p></pre><pre>18 Boon Lay Way<o:p></o:p></pre>=
<pre>#09-95 TradeHub 21<o:p></o:p></pre><pre>Singapore 609966<o:p></o:p></p=
re><pre>Telephone:+65 6316 9968<o:p></o:p></pre><pre>Fax: +65 6316 9208<o:p=
></o:p></pre></div>

<p class=3DMsoNormal>&lt;Graham.vcf&gt;____________________________________=
___________<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>
http://maillists.intel-research.net/mailman/listinfo/dtn-users<o:p></o:p></=
p>

</div>

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

</div>

</div>

</body>

</html>

--_000_21D3693DA55EF14BB72DCC18FB65B291090DC13BASHBMBX04resour_--


Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.87]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6UB4oMI001829 for <dtn-users@maillists.intel-research.net>; Thu, 30 Jul 2009 04:04:50 -0700
Received: from host-78-64-88-198.homerun.telia.com (host-78-64-88-198.homerun.telia.com [78.64.88.198]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.14.3/8.13.5) with ESMTP id n6UB1C6X002586 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 30 Jul 2009 04:01:15 -0700 (PDT)
Message-Id: <2811F556-B33B-4D50-83BF-C80F8790B680@cs.berkeley.edu>
From: Kevin Fall <kfall@cs.berkeley.edu>
To: Graham Keellings (Leonix Solutions Pte Ltd) <Graham@LeonixSolutions.com>
In-Reply-To: <4A7106A7.2060408@LeonixSolutions.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-6-61532365
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Thu, 30 Jul 2009 04:01:11 -0700
References: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com> <4A7106A7.2060408@LeonixSolutions.com>
X-Mailer: Apple Mail (2.935.3)
Cc: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>, "Jonson, Thomas \[USA\]" <jonson_thomas@bah.com>
Subject: Re: [dtn-users] dtnrecv without hexdump?
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, 30 Jul 2009 11:04:51 -0000

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

have you tried 'dtncat'?
- K


On Jul 29, 2009, at Jul 297:34 PMPDT, Graham Keellings (Leonix  
Solutions Pte Ltd) wrote:

> Jonson, Thomas [USA] wrote:
>>
>> I'm fairly new to the DTN2 protocol so perhaps I've just missed  
>> this in the documentation, but is there a way to run dtnrecv and  
>> have it display just the message, without the hexdump?
>>
> Hi, Thomas,
>
>   I don't see any command line switch for this - and I can't for the  
> life of me think why you would want it, but ...
>
> By my reckoning, if you edit <dtn directory>/apps/dtnrecv.c  (make a  
> backup first)
>
> and change  (line 221 in my copy, ymmv)
>
>         if (k%BUFSIZE == BUFSIZE-1)
>         {
>             printf(" |  %.*s\n", BUFSIZE, s_buffer);
>         }
>
> to
>         if (k%BUFSIZE == BUFSIZE-1)
>         {
>             printf(" \n");
>         }
>
> and also
>
>  (at line 237 in my copy, ymmv)
>
>         printf("   |  %.*s\n",
>                (int)length%BUFSIZE,
>                s_buffer);
>
> to
>         printf("\n");
>
> Then rebuild, it should so what you want. I tried it and it works.
>
> Happy DTNing ;-)
>
>
> ~graham();
>
>
>
>
>
>> Thanks,
>> Tom
>>
>>
>>
>> _______________________________________________
>> dtn-users mailing list
>> dtn-users@maillists.intel-research.net
>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>
>
>
> -- 
> Technical Director
> Leonix Solutions (Pte) Ltd
> 18 Boon Lay Way
> #09-95 TradeHub 21
> Singapore 609966
> Telephone:+65 6316 9968
> Fax: +65 6316 9208
> <Graham.vcf>_______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users


--Apple-Mail-6-61532365
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; ">have you tried 'dtncat'?<div>- =
K</div><div><br></div><div><br><div><div>On Jul 29, 2009, at Jul 297:34 =
PMPDT, Graham Keellings (Leonix Solutions Pte Ltd) wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"> <div =
bgcolor=3D"#ffffff" text=3D"#000000"> Jonson, Thomas [USA] wrote: =
<blockquote =
cite=3D"mid:21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds=
.bah.com" type=3D"cite">  <pre wrap=3D"">I'm fairly new to the DTN2 =
protocol so perhaps I've just missed this in the documentation, but is =
there a way to run dtnrecv and have it display just the message, without =
the hexdump?
  </pre> </blockquote> Hi, Thomas, <br> <br> &nbsp; I don't see any =
command line switch for this - and I can't for the life of me think why =
you would want it, but ...<br> <br> By my reckoning, if you edit &lt;dtn =
directory>/apps/dtnrecv.c&nbsp; (make a backup first)<br> <br> and =
change&nbsp; (line 221 in my copy, ymmv)<br> <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (k%BUFSIZE =3D=3D =
BUFSIZE-1)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
printf(" |&nbsp; %.*s\n", BUFSIZE, s_buffer);<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br> <br> to <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (k%BUFSIZE =3D=3D =
BUFSIZE-1)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
printf(" \n");<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br> <br> =
and also<br> <br> &nbsp;(at line 237 in my copy, ymmv)<br> <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf("&nbsp;&nbsp; |&nbsp; =
%.*s\n",<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; (int)length%BUFSIZE, <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; s_buffer);<br> <br> to <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf("\n");<br> <br> Then =
rebuild, it should so what you want. I tried it and it works. <br> <br> =
Happy DTNing ;-)<br> <br> <br> ~graham(); <br> <br> <br> <br> <br> <br> =
<blockquote =
cite=3D"mid:21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds=
.bah.com" type=3D"cite">  <pre wrap=3D"">Thanks,
Tom

  </pre>  <pre wrap=3D""><hr size=3D"4" width=3D"90%">
_______________________________________________
dtn-users mailing list
<a class=3D"moz-txt-link-abbreviated" =
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists=
.intel-research.net</a>
<a class=3D"moz-txt-link-freetext" =
href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users">ht=
tp://maillists.intel-research.net/mailman/listinfo/dtn-users</a>
  </pre> </blockquote> <br> <br> <pre class=3D"moz-signature" =
cols=3D"80">--=20
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208
</pre> </div>  =
<span>&lt;Graham.vcf></span>______________________________________________=
_<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>=

--Apple-Mail-6-61532365--


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 n6U2bnfr011082 for <dtn-users@maillists.intel-research.net>; Wed, 29 Jul 2009 19:37:49 -0700
Received: from dyn98-b60-access.superdsl.com.sg ([202.73.60.98] helo=[192.9.200.138]) by sky.fastbighost.net with esmtpa (Exim 4.69) (envelope-from <Graham@LeonixSolutions.com>) id 1MWLTJ-0005ne-GQ; Wed, 29 Jul 2009 22:34:22 -0400
Message-ID: <4A7106A7.2060408@LeonixSolutions.com>
Date: Thu, 30 Jul 2009 10:34:15 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: "Jonson, Thomas [USA]" <jonson_thomas@bah.com>
References: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com>
In-Reply-To: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com>
Content-Type: multipart/mixed; boundary="------------080506060405000906090101"
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: 
Cc: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] dtnrecv without hexdump?
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, 30 Jul 2009 02:37:50 -0000

This is a multi-part message in MIME format.
--------------080506060405000906090101
Content-Type: multipart/alternative;
	boundary="------------000101000201090004040508"


--------------000101000201090004040508
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Jonson, Thomas [USA] wrote:
> I'm fairly new to the DTN2 protocol so perhaps I've just missed this in the documentation, but is there a way to run dtnrecv and have it display just the message, without the hexdump?
>   
Hi, Thomas,

  I don't see any command line switch for this - and I can't for the 
life of me think why you would want it, but ...

By my reckoning, if you edit <dtn directory>/apps/dtnrecv.c  (make a 
backup first)

and change  (line 221 in my copy, ymmv)

        if (k%BUFSIZE == BUFSIZE-1)
        {
            printf(" |  %.*s\n", BUFSIZE, s_buffer);
        }

to
        if (k%BUFSIZE == BUFSIZE-1)
        {
            printf(" \n");
        }

and also

 (at line 237 in my copy, ymmv)

        printf("   |  %.*s\n",
               (int)length%BUFSIZE,
               s_buffer);

to
        printf("\n");

Then rebuild, it should so what you want. I tried it and it works.

Happy DTNing ;-)


~graham();





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


-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208


--------------000101000201090004040508
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jonson, Thomas [USA] wrote:
<blockquote
 cite="mid:21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com"
 type="cite">
  <pre wrap="">I'm fairly new to the DTN2 protocol so perhaps I've just missed this in the documentation, but is there a way to run dtnrecv and have it display just the message, without the hexdump?
  </pre>
</blockquote>
Hi, Thomas, <br>
<br>
&nbsp; I don't see any command line switch for this - and I can't for the
life of me think why you would want it, but ...<br>
<br>
By my reckoning, if you edit &lt;dtn directory&gt;/apps/dtnrecv.c&nbsp;
(make a backup first)<br>
<br>
and change&nbsp; (line 221 in my copy, ymmv)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (k%BUFSIZE == BUFSIZE-1)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(" |&nbsp; %.*s\n", BUFSIZE, s_buffer);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
<br>
to <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (k%BUFSIZE == BUFSIZE-1)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(" \n");<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
<br>
and also<br>
<br>
&nbsp;(at line 237 in my copy, ymmv)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf("&nbsp;&nbsp; |&nbsp; %.*s\n",<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (int)length%BUFSIZE, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s_buffer);<br>
<br>
to <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf("\n");<br>
<br>
Then rebuild, it should so what you want. I tried it and it works. <br>
<br>
Happy DTNing ;-)<br>
<br>
<br>
~graham(); <br>
<br>
<br>
<br>
<br>
<br>
<blockquote
 cite="mid:21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com"
 type="cite">
  <pre wrap="">
Thanks,
Tom

  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
dtn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.intel-research.net</a>
<a class="moz-txt-link-freetext" href="http://maillists.intel-research.net/mailman/listinfo/dtn-users">http://maillists.intel-research.net/mailman/listinfo/dtn-users</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208
</pre>
</body>
</html>

--------------000101000201090004040508--

--------------080506060405000906090101
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------080506060405000906090101--


Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6THUQD7018826 for <dtn-users@mailman.dtnrg.org>; Wed, 29 Jul 2009 10:30:26 -0700
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_10QH9MokTDliKOGN/ajIcA)"
Received: from [192.168.1.10] ([94.30.69.47]) by asmtp022.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KNK00F870GOWJ50@asmtp022.mac.com> for dtn-users@mailman.dtnrg.org; Wed, 29 Jul 2009 10:26:55 -0700 (PDT)
Message-id: <8842A511-2B2C-4327-98B4-356033993749@mac.com>
From: Darren Long <darren.long@mac.com>
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
In-reply-to: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com>
Date: Wed, 29 Jul 2009 18:26:47 +0100
References: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.com>
X-Mailer: Apple Mail (2.935.3)
Subject: Re: [dtn-users] dtnrecv without hexdump?
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, 29 Jul 2009 17:30:26 -0000

--Boundary_(ID_10QH9MokTDliKOGN/ajIcA)
Content-type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes
Content-transfer-encoding: quoted-printable

You could try dtncat instead.

Darren

On 29 Jul 2009, at 17:26, Jonson, Thomas [USA] wrote:

> I=92m fairly new to the DTN2 protocol so perhaps I=92ve just missed =
this =20
> in the documentation, but is there a way to run dtnrecv and have it =20=

> display just the message, without the hexdump?
>
> Thanks,
> Tom
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users


--Boundary_(ID_10QH9MokTDliKOGN/ajIcA)
Content-type: text/html; charset=WINDOWS-1252
Content-transfer-encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">You could try dtncat =
instead.<div><br></div><div>Darren</div><div><br><div><div>On 29 Jul =
2009, at 17:26, Jonson, Thomas [USA] 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; "><div lang=3D"EN-US" link=3D"blue" =
vlink=3D"purple"><div class=3D"Section1"><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
11pt; font-family: Calibri, sans-serif; ">I=92m fairly new to the DTN2 =
protocol so perhaps I=92ve just missed this in the documentation, but is =
there a way to run dtnrecv and have it display just the message, without =
the hexdump?<o:p></o:p></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: =
11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; =
">Thanks,<o:p></o:p></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif; =
">Tom<o:p></o:p></div></div>______________________________________________=
_<br>dtn-users mailing list<br><a =
href=3D"mailto:dtn-users@maillists.intel-research.net" style=3D"color: =
blue; text-decoration: underline; =
">dtn-users@maillists.intel-research.net</a><br><a =
href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users" =
style=3D"color: blue; text-decoration: underline; =
">http://maillists.intel-research.net/mailman/listinfo/dtn-users</a><br></=
div></span></blockquote></div><br></div></body></html>=

--Boundary_(ID_10QH9MokTDliKOGN/ajIcA)--


Received: from mclniron01-ext.bah.com (mclniron01-ext.bah.com [156.80.1.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6TGTbgG016025 for <dtn-users@maillists.intel-research.net>; Wed, 29 Jul 2009 09:29:38 -0700
x-SBRS: None
X-REMOTE-IP: 10.12.10.53
X-IronPort-AV: E=Sophos;i="4.43,289,1246852800"; d="scan'208,217";a="35012459"
Received: from unknown (HELO ASHBHUB04.resource.ds.bah.com) ([10.12.10.53]) by mclniron01-int.bah.com with ESMTP; 29 Jul 2009 12:26:16 -0400
Received: from ASHBMBX04.resource.ds.bah.com ([169.254.1.94]) by ASHBHUB04.resource.ds.bah.com ([10.12.10.53]) with mapi; Wed, 29 Jul 2009 12:26:15 -0400
From: "Jonson, Thomas [USA]" <jonson_thomas@bah.com>
To: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Date: Wed, 29 Jul 2009 12:26:15 -0400
Thread-Topic: dtnrecv without hexdump?
Thread-Index: AcoQaUs8UmiaJcTSS5OOeNYDRCmzuw==
Message-ID: <21D3693DA55EF14BB72DCC18FB65B29107D23297@ASHBMBX04.resource.ds.bah.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_21D3693DA55EF14BB72DCC18FB65B29107D23297ASHBMBX04resour_"
MIME-Version: 1.0
Subject: [dtn-users] dtnrecv without hexdump?
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, 29 Jul 2009 16:29:38 -0000

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

I'm fairly new to the DTN2 protocol so perhaps I've just missed this in the=
 documentation, but is there a way to run dtnrecv and have it display just =
the message, without the hexdump?

Thanks,
Tom

--_000_21D3693DA55EF14BB72DCC18FB65B29107D23297ASHBMBX04resour_
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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-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-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.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>I&#8217;m fairly new to the DTN2 protocol so perhaps I=
&#8217;ve
just missed this in the documentation, but is there a way to run dtnrecv an=
d
have it display just the message, without the hexdump?<o:p></o:p></p>

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

<p class=3DMsoNormal>Thanks,<o:p></o:p></p>

<p class=3DMsoNormal>Tom<o:p></o:p></p>

</div>

</body>

</html>

--_000_21D3693DA55EF14BB72DCC18FB65B29107D23297ASHBMBX04resour_--


Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.221.175]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6TDc0ls008203 for <dtn-users@maillists.intel-research.net>; Wed, 29 Jul 2009 06:38:00 -0700
Received: by qyk5 with SMTP id 5so1498139qyk.6 for <dtn-users@maillists.intel-research.net>; Wed, 29 Jul 2009 06:34:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.212.14 with SMTP id k14mr1543330ybg.173.1248874479998;  Wed, 29 Jul 2009 06:34:39 -0700 (PDT)
In-Reply-To: <5F05ED2F-E10D-4D14-80FB-AB763814B9EB@gmail.com>
References: <76224b100907282054w996f804l851faafb7be192a5@mail.gmail.com> <5F05ED2F-E10D-4D14-80FB-AB763814B9EB@gmail.com>
Date: Wed, 29 Jul 2009 09:34:39 -0400
Message-ID: <76224b100907290634t521793ddra1acd0d059101ad5@mail.gmail.com>
From: Victor lyamtsev <vlyamtsev@gmail.com>
To: Kevin Fall <kfall.ucb@gmail.com>
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 n6TDc0ls008203
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] moteproxy question
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, 29 Jul 2009 13:38:01 -0000

Can it be used bidirectionally, e.g. to collect data (events ) from
sensor network and control (command) sensor network?

On Wed, Jul 29, 2009 at 2:43 AM, Kevin Fall<kfall.ucb@gmail.com> wrote:
> it was for that purpose.  But, it hasn't been tried out in quite some time,
> so it probably would require modification to work with whatever is going on
> in the TinyOS world today.
>
> - K
>
>
> On Jul 28, 2009, at Jul 288:54 PMPDT, Victor lyamtsev wrote:
>
>> I have some problems with understanding of "moteproxy" functionality:
>> can it be used to collect/ bundle data from wireless motes, using CTP
>> or other TinyOS collection protocol?
>> Thank you,
>> -V
>> _______________________________________________
>> dtn-users mailing list
>> dtn-users@maillists.intel-research.net
>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>



Received: from EXCAS01.olin.edu (excas01.olin.edu [209.94.128.49]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6T44FcS014092 for <dtn-users@mailman.dtnrg.org>; Tue, 28 Jul 2009 21:04:15 -0700
Received: from EXVS01.olin.edu ([fe80::a081:cee5:bb29:ebf]) by EXCAS01.olin.edu ([::1]) with mapi; Wed, 29 Jul 2009 00:00:57 -0400
From: Katarina Miller <Katarina.Miller@students.olin.edu>
To: "dtn-users@mailman.dtnrg.org" <dtn-users@mailman.dtnrg.org>
Date: Wed, 29 Jul 2009 00:00:56 -0400
Thread-Topic: Creation Time Stamp and Local ID the same
Thread-Index: AQHKD/9DLLUOIei+0EyxBIiEuLiN9w==
Message-ID: <DA80C3E6C10BE94E8FCACEB239C2FEE45DA5431795@EXVS01.olin.edu>
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 n6T44FcS014092
Subject: [dtn-users] Creation Time Stamp and Local ID the same
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, 29 Jul 2009 04:04:16 -0000

Hello all,
We are creating an external router for DTN2. When we inject a bundle, the forwarder returns a bundle_injected_event XML message. The local_id and the creation_ts have the same 19-digit value. We therefore get an error when using this value in a send_bundle_request message. This error says: warning: attempt to send nonexistent bundle <dest_eid>, <timestamp>, <local_id>, 0,0,0. The timestamp and local_id output here are correct and are different from the 19-digit value that appears nowhere else. Has anyone else encountered this problem? 
-Katarina


Received: from mail-yx0-f194.google.com (mail-yx0-f194.google.com [209.85.210.194]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6T3vJCB013735 for <dtn-users@maillists.intel-research.net>; Tue, 28 Jul 2009 20:57:19 -0700
Received: by yxe32 with SMTP id 32so1988633yxe.6 for <dtn-users@maillists.intel-research.net>; Tue, 28 Jul 2009 20:54:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.212.14 with SMTP id k14mr635419ybg.173.1248839642194; Tue,  28 Jul 2009 20:54:02 -0700 (PDT)
Date: Tue, 28 Jul 2009 23:54:02 -0400
Message-ID: <76224b100907282054w996f804l851faafb7be192a5@mail.gmail.com>
From: Victor lyamtsev <vlyamtsev@gmail.com>
To: dtn-users@maillists.intel-research.net
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [dtn-users] moteproxy question
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, 29 Jul 2009 03:57:20 -0000

I have some problems with understanding of "moteproxy" functionality:
can it be used to collect/ bundle data from wireless motes, using CTP
or other TinyOS collection protocol?
Thank you,
-V


Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6S7vPB3024041 for <dtn-users@mailman.dtnrg.org>; Tue, 28 Jul 2009 00:57:25 -0700
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Received: from [192.168.1.10] ([94.30.69.47]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KNH00IAWFABE440@asmtp014.mac.com> for dtn-users@mailman.dtnrg.org; Tue, 28 Jul 2009 00:54:14 -0700 (PDT)
Message-id: <8C9EA3B3-AE08-43AF-A039-06DA107F0141@mac.com>
From: Darren Long <darren.long@mac.com>
To: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@leonixsolutions.com>, dtn-users mailing list <dtn-users@mailman.dtnrg.org>
In-reply-to: <4A6E933D.4010807@LeonixSolutions.com>
Date: Tue, 28 Jul 2009 08:54:09 +0100
References: <4A6E933D.4010807@LeonixSolutions.com>
X-Mailer: Apple Mail (2.935.3)
Subject: Re: [dtn-users] how best to clear/reset database?
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, 28 Jul 2009 07:57:26 -0000

You can invoke dtnd with the -t option or invoke the init script  
(using service or invoke-rc.d) with start_tidy.

Darren

On 28 Jul 2009, at 06:57, Graham Keellings (Leonix Solutions Pte Ltd)  
wrote:

> I am experimenting with a small 2 or 3 node network. I like to start  
> each session with a fresh system. Currently I
>   rm -rf /var/dtn/*
>   dtn --ini-db
> on each node, in order to reach a stable state.
>
> is there a better alternative? Maybe
>   bundle expire *
> or similar on each node?
> <Graham.vcf>_______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users



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 n6S613Fu018867 for <dtn-users@maillists.intel-research.net>; Mon, 27 Jul 2009 23:01:03 -0700
Received: from dyn98-b60-access.superdsl.com.sg ([202.73.60.98] helo=[192.9.200.138]) by sky.fastbighost.net with esmtpa (Exim 4.69) (envelope-from <Graham@LeonixSolutions.com>) id 1MVfh9-0008B7-Ml for dtn-users@maillists.intel-research.net; Tue, 28 Jul 2009 01:57:52 -0400
Message-ID: <4A6E933D.4010807@LeonixSolutions.com>
Date: Tue, 28 Jul 2009 13:57:17 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: dtn-users <dtn-users@maillists.intel-research.net>
Content-Type: multipart/mixed; boundary="------------020705090104070501040006"
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] how best to clear/reset database?
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, 28 Jul 2009 06:01:04 -0000

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

I am experimenting with a small 2 or 3 node network. I like to start 
each session with a fresh system. Currently I
    rm -rf /var/dtn/*
    dtn --ini-db
on each node, in order to reach a stable state.

is there a better alternative? Maybe
    bundle expire *
or similar on each node?

--------------020705090104070501040006
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------020705090104070501040006--


Received: from rosebud.folly.org.uk (rosebud.folly.org.uk [90.155.5.229]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6PBxLjE004617 for <dtn-users@mailman.dtnrg.org>; Sat, 25 Jul 2009 04:59:21 -0700
Received: from localhost (localhost [127.0.0.1]) by rosebud.folly.org.uk (Postfix) with SMTP id C4373228C18; Sat, 25 Jul 2009 12:55:49 +0100 (BST)
X-Mailbox-Line: From elwynd@nomadic.n4c.eu Sat Jul 25 12:56:31 2009
X-DTN-rcpts: alex.mcmahon@cs.tcd.ie elwynd@folly.org.uk stephen.farrell@cs.tcd.ie eomeehan@cs.tcd.ie dtn-users@mailman.dtnrg.org
Message-ID: <4A6AF2EE.9070401@nomadic.n4c.eu>
Date: Sat, 25 Jul 2009 12:56:30 +0100
From: Elwyn Davies <elwynd@nomadic.n4c.eu>
User-Agent: Thunderbird 2.0.0.19 (X11/20081209)
MIME-Version: 1.0
To: alex.mcmahon@cs.tcd.ie
References: <1248518486.5940.329.camel@mightyatom.folly.org.uk>	 <4A6AE702.7070902@nomadic.n4c.eu> <1248521674.4020.61.camel@sphere>
In-Reply-To: <1248521674.4020.61.camel@sphere>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dtn-users@mailman.dtnrg.org, Eoin Meehan <eomeehan@cs.tcd.ie>
Subject: Re: [dtn-users] [Fwd:  Bundles stalling in dtnd]
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, 25 Jul 2009 11:59:22 -0000

Alex McMahon wrote:
> Can you confirm the type of routing (static ?), your convergence layer
> and that when you rebooted the wifi that the dtn daemon was not also
> restarted ?
>   
... and just to be specific the links are ON DEMAND tcp.

/E


Received: from rosebud.folly.org.uk (rosebud.folly.org.uk [90.155.5.229]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6PBnCud004183 for <dtn-users@mailman.dtnrg.org>; Sat, 25 Jul 2009 04:49:13 -0700
Received: from localhost (localhost [127.0.0.1]) by rosebud.folly.org.uk (Postfix) with SMTP id 493C2228C18; Sat, 25 Jul 2009 12:45:41 +0100 (BST)
X-Mailbox-Line: From elwynd@nomadic.n4c.eu Sat Jul 25 12:46:20 2009
X-DTN-rcpts: alex.mcmahon@cs.tcd.ie elwynd@folly.org.uk stephen.farrell@cs.tcd.ie eomeehan@cs.tcd.ie dtn-users@mailman.dtnrg.org
Message-ID: <4A6AF08C.20403@nomadic.n4c.eu>
Date: Sat, 25 Jul 2009 12:46:20 +0100
From: Elwyn Davies <elwynd@nomadic.n4c.eu>
User-Agent: Thunderbird 2.0.0.19 (X11/20081209)
MIME-Version: 1.0
To: alex.mcmahon@cs.tcd.ie
References: <1248518486.5940.329.camel@mightyatom.folly.org.uk>	 <4A6AE702.7070902@nomadic.n4c.eu> <1248521674.4020.61.camel@sphere>
In-Reply-To: <1248521674.4020.61.camel@sphere>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dtn-users@mailman.dtnrg.org, Eoin Meehan <eomeehan@cs.tcd.ie>
Subject: Re: [dtn-users] [Fwd:  Bundles stalling in dtnd]
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, 25 Jul 2009 11:49:13 -0000

Alex McMahon wrote:
> Can you confirm the type of routing (static ?), your convergence layer
> and that when you rebooted the wifi that the dtn daemon was not also
> restarted ?
>
> Alex
>   
Hi.

Yes, it was static routing with the TCP convergence layer.
The dtn daemon was definitely not restarted.. extract from log below:
> weee-pc1 dtn% bundle list
> All Bundles (3):
>         507: dtn://elwynd.nomadic.n4c.eu/email/out -> 
> dtn://gateway.folly.org.uk/email/in length 464
>         652: dtn://elwynd.nomadic.n4c.eu/email/out -> 
> dtn://gateway.folly.org.uk/email/in length 466
>         684: dtn://elwynd.nomadic.n4c.eu/email/out -> 
> dtn://gateway.nomadic.n4c.eu/email/in length 2062
>
> weee-pc1 dtn% bundle list
> All Bundles (2):
>         507: dtn://elwynd.nomadic.n4c.eu/email/out -> 
> dtn://gateway.folly.org.uk/email/in length 464
>         652: dtn://elwynd.nomadic.n4c.eu/email/out -> 
> dtn://gateway.folly.org.uk/email/in length 466
Bundle 684 held the message that you just responded to!  The two lists 
were dumped either side of the wifi reboot.  No further action was 
needed for the message to go out the door.
BTW the expiry period on the bundle was set to 3 days and they are 
marked to request delivery reports.

Regards,
Elwyn
> On Sat, 2009-07-25 at 12:05 +0100, Elwyn Davies wrote:
>   
>> (Just for the hell of it... sent over DTN)
>>
>> I didn't encounter the stalling problem just now.
>>
>> DTN2 did what I expected when my wifi net gave up the ghost (and I 
>> didn't immediately notice) when I was sending an email over my shiny new 
>> DTN mail system (just working!).  The bundle was given to the local DTN 
>> daemon and I was busy looking for it to come out the other end, but it 
>> didn't.  The bundle was in the local list and then I noticed, no wifi.  
>> After rebooting the wifi, the link came back up and the bundle went out 
>> the door.
>>
>> BTW this mail came over two DTN hops  .. mail to xxx'nomadic.n4c.eu is 
>> SMTP routed to rosebud and then sent via DTN (through an SSH tunnel) 
>> back to the  Atom desktop machine in my house and then on a plain TCP 
>> hop to the eee pc where I am writing this mail.
>>
>> Regards,
>> Elwyn
>>
>> Elwyn Davies wrote:
>>     
>>> -------- Forwarded Message --------
>>>   
>>>       
>>>> From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
>>>> To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
>>>> Subject: [dtn-users] Bundles stalling in dtnd
>>>> Date: Fri, 24 Jul 2009 13:57:45 +0100
>>>>
>>>> With DTN2 we're seeing some unexpected bundle stalls
>>>> in a data mule scenario.
>>>>
>>>> Situation seems to be:
>>>>
>>>> - bundle arrives at Alice and should be forwarded to
>>>>   Bob (the mule) whenever he's next connected
>>>> - Bob turns up and establishes a TCP CL connection as
>>>>   normal, Alice sees the TCP connection properly
>>>> - Alice doesn't forward the bundle when the new TCP
>>>>   connection is established
>>>>
>>>> On a restart of Alice's dntd, if the connection with
>>>> Bob is up at that time, then Alice does forward the
>>>> bundle as expected. If Bob's not about at that time
>>>> the bundle remains stalled.
>>>>
>>>> Haven't delved into the code yet but just wondering
>>>> if anyone's seen this and knows what's up and how to
>>>> fix it. Behaviour we'd like is that when Alice sees
>>>> Bob appearing she should go through her queued bundles
>>>> and forward any that should be forwarded via Bob.
>>>>
>>>> Ta,
>>>> Stephen.
>>>>
>>>> PS: some config info
>>>>
>>>> TCP links are on demand, static routing with only
>>>> one route configured
>>>>
>>>> _______________________________________________
>>>> dtn-users mailing list
>>>> dtn-users@maillists.intel-research.net
>>>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>>>     
>>>>         
>>>   
>>>       
>
>
>   



Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6PBbSB1003644 for <dtn-users@mailman.dtnrg.org>; Sat, 25 Jul 2009 04:37:28 -0700
Received: by ewy26 with SMTP id 26so2257503ewy.37 for <dtn-users@mailman.dtnrg.org>; Sat, 25 Jul 2009 04:34:38 -0700 (PDT)
Received: by 10.216.36.82 with SMTP id v60mr1193001wea.120.1248521678731; Sat, 25 Jul 2009 04:34:38 -0700 (PDT)
Received: from ?192.168.1.67? (84-203-48-243.mysmart.ie [84.203.48.243]) by mx.google.com with ESMTPS id j8sm11200586gvb.6.2009.07.25.04.34.35 (version=SSLv3 cipher=RC4-MD5); Sat, 25 Jul 2009 04:34:36 -0700 (PDT)
From: Alex McMahon <alexmcm@gmail.com>
To: Elwyn Davies <elwynd@nomadic.n4c.eu>
In-Reply-To: <4A6AE702.7070902@nomadic.n4c.eu>
References: <1248518486.5940.329.camel@mightyatom.folly.org.uk> <4A6AE702.7070902@nomadic.n4c.eu>
Content-Type: text/plain
Organization: Trinity College Dublin
Date: Sat, 25 Jul 2009 12:34:34 +0100
Message-Id: <1248521674.4020.61.camel@sphere>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 7bit
Cc: dtn-users@mailman.dtnrg.org, Eoin Meehan <eomeehan@cs.tcd.ie>
Subject: Re: [dtn-users] [Fwd:  Bundles stalling in dtnd]
X-BeenThere: dtn-users@maillists.intel-research.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: alex.mcmahon@cs.tcd.ie
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, 25 Jul 2009 11:37:29 -0000

Can you confirm the type of routing (static ?), your convergence layer
and that when you rebooted the wifi that the dtn daemon was not also
restarted ?

Alex

On Sat, 2009-07-25 at 12:05 +0100, Elwyn Davies wrote:
> (Just for the hell of it... sent over DTN)
> 
> I didn't encounter the stalling problem just now.
> 
> DTN2 did what I expected when my wifi net gave up the ghost (and I 
> didn't immediately notice) when I was sending an email over my shiny new 
> DTN mail system (just working!).  The bundle was given to the local DTN 
> daemon and I was busy looking for it to come out the other end, but it 
> didn't.  The bundle was in the local list and then I noticed, no wifi.  
> After rebooting the wifi, the link came back up and the bundle went out 
> the door.
> 
> BTW this mail came over two DTN hops  .. mail to xxx'nomadic.n4c.eu is 
> SMTP routed to rosebud and then sent via DTN (through an SSH tunnel) 
> back to the  Atom desktop machine in my house and then on a plain TCP 
> hop to the eee pc where I am writing this mail.
> 
> Regards,
> Elwyn
> 
> Elwyn Davies wrote:
> > -------- Forwarded Message --------
> >   
> >> From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
> >> To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
> >> Subject: [dtn-users] Bundles stalling in dtnd
> >> Date: Fri, 24 Jul 2009 13:57:45 +0100
> >>
> >> With DTN2 we're seeing some unexpected bundle stalls
> >> in a data mule scenario.
> >>
> >> Situation seems to be:
> >>
> >> - bundle arrives at Alice and should be forwarded to
> >>   Bob (the mule) whenever he's next connected
> >> - Bob turns up and establishes a TCP CL connection as
> >>   normal, Alice sees the TCP connection properly
> >> - Alice doesn't forward the bundle when the new TCP
> >>   connection is established
> >>
> >> On a restart of Alice's dntd, if the connection with
> >> Bob is up at that time, then Alice does forward the
> >> bundle as expected. If Bob's not about at that time
> >> the bundle remains stalled.
> >>
> >> Haven't delved into the code yet but just wondering
> >> if anyone's seen this and knows what's up and how to
> >> fix it. Behaviour we'd like is that when Alice sees
> >> Bob appearing she should go through her queued bundles
> >> and forward any that should be forwarded via Bob.
> >>
> >> Ta,
> >> Stephen.
> >>
> >> PS: some config info
> >>
> >> TCP links are on demand, static routing with only
> >> one route configured
> >>
> >> _______________________________________________
> >> dtn-users mailing list
> >> dtn-users@maillists.intel-research.net
> >> http://maillists.intel-research.net/mailman/listinfo/dtn-users
> >>     
> >
> >
> >   
> 



Received: from rosebud.folly.org.uk (rosebud.folly.org.uk [90.155.5.229]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6PB8RGI002301 for <dtn-users@mailman.dtnrg.org>; Sat, 25 Jul 2009 04:08:27 -0700
Received: from localhost (localhost [127.0.0.1]) by rosebud.folly.org.uk (Postfix) with SMTP id A7750228C18; Sat, 25 Jul 2009 12:04:56 +0100 (BST)
X-Mailbox-Line: From elwynd@nomadic.n4c.eu Sat Jul 25 12:05:38 2009
X-DTN-rcpts: elwynd@folly.org.uk stephen.farrell@cs.tcd.ie alex.mcmahon@cs.tcd.ie eomeehan@cs.tcd.ie dtn-users@mailman.dtnrg.org
Message-ID: <4A6AE702.7070902@nomadic.n4c.eu>
Date: Sat, 25 Jul 2009 12:05:38 +0100
From: Elwyn Davies <elwynd@nomadic.n4c.eu>
User-Agent: Thunderbird 2.0.0.19 (X11/20081209)
MIME-Version: 1.0
To: Elwyn Davies <elwynd@folly.org.uk>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, alex.mcmahon@cs.tcd.ie, Eoin Meehan <eomeehan@cs.tcd.ie>, dtn-users@mailman.dtnrg.org
References: <1248518486.5940.329.camel@mightyatom.folly.org.uk>
In-Reply-To: <1248518486.5940.329.camel@mightyatom.folly.org.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [dtn-users] [Fwd:  Bundles stalling in dtnd]
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, 25 Jul 2009 11:08:28 -0000

(Just for the hell of it... sent over DTN)

I didn't encounter the stalling problem just now.

DTN2 did what I expected when my wifi net gave up the ghost (and I 
didn't immediately notice) when I was sending an email over my shiny new 
DTN mail system (just working!).  The bundle was given to the local DTN 
daemon and I was busy looking for it to come out the other end, but it 
didn't.  The bundle was in the local list and then I noticed, no wifi.  
After rebooting the wifi, the link came back up and the bundle went out 
the door.

BTW this mail came over two DTN hops  .. mail to xxx'nomadic.n4c.eu is 
SMTP routed to rosebud and then sent via DTN (through an SSH tunnel) 
back to the  Atom desktop machine in my house and then on a plain TCP 
hop to the eee pc where I am writing this mail.

Regards,
Elwyn

Elwyn Davies wrote:
> -------- Forwarded Message --------
>   
>> From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
>> To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
>> Subject: [dtn-users] Bundles stalling in dtnd
>> Date: Fri, 24 Jul 2009 13:57:45 +0100
>>
>> With DTN2 we're seeing some unexpected bundle stalls
>> in a data mule scenario.
>>
>> Situation seems to be:
>>
>> - bundle arrives at Alice and should be forwarded to
>>   Bob (the mule) whenever he's next connected
>> - Bob turns up and establishes a TCP CL connection as
>>   normal, Alice sees the TCP connection properly
>> - Alice doesn't forward the bundle when the new TCP
>>   connection is established
>>
>> On a restart of Alice's dntd, if the connection with
>> Bob is up at that time, then Alice does forward the
>> bundle as expected. If Bob's not about at that time
>> the bundle remains stalled.
>>
>> Haven't delved into the code yet but just wondering
>> if anyone's seen this and knows what's up and how to
>> fix it. Behaviour we'd like is that when Alice sees
>> Bob appearing she should go through her queued bundles
>> and forward any that should be forwarded via Bob.
>>
>> Ta,
>> Stephen.
>>
>> PS: some config info
>>
>> TCP links are on demand, static routing with only
>> one route configured
>>
>> _______________________________________________
>> dtn-users mailing list
>> dtn-users@maillists.intel-research.net
>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>     
>
>
>   



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 n6P2xYrc012317 for <dtn-users@mailman.dtnrg.org>; Fri, 24 Jul 2009 19:59:34 -0700
Received: from dyn98-b60-access.superdsl.com.sg ([202.73.60.98] helo=[192.9.200.138]) by sky.fastbighost.net with esmtpa (Exim 4.69) (envelope-from <Graham@LeonixSolutions.com>) id 1MUXRF-0005ik-98 for dtn-users@mailman.dtnrg.org; Fri, 24 Jul 2009 22:56:46 -0400
Message-ID: <4A6A744E.40609@LeonixSolutions.com>
Date: Sat, 25 Jul 2009 10:56:14 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
References: <4A69AFC9.1070802@cs.tcd.ie>	<BA74F34A-6A32-4FC9-A723-95A6D58E5800@mac.com> <4A6A6BB7.2080006@LeonixSolutions.com>
In-Reply-To: <4A6A6BB7.2080006@LeonixSolutions.com>
Content-Type: multipart/mixed; boundary="------------000608030506040209000009"
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 - mailman.dtnrg.org
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] Licensing question
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, 25 Jul 2009 02:59:34 -0000

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

I am a graham of very little brain, so have ad problems understanding 
the DTN license (it seems to be an Apache license, but whether modified 
or not, I am not sure).

Two simple questions:

1) can I use the source code in a commercial product?

2) if I do and add source code of my own (separate files, rather than 
modifications), do I have to provide my source code when distributing 
the product?

Thanks in advance for any clarification.

With bets wishes,

~graham();


--------------000608030506040209000009
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------000608030506040209000009--


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 n6P2MnMl010671 for <dtn-users@mailman.dtnrg.org>; Fri, 24 Jul 2009 19:22:49 -0700
Received: from dyn98-b60-access.superdsl.com.sg ([202.73.60.98] helo=[192.9.200.138]) by sky.fastbighost.net with esmtpa (Exim 4.69) (envelope-from <Graham@LeonixSolutions.com>) id 1MUWrh-00013c-Cu for dtn-users@mailman.dtnrg.org; Fri, 24 Jul 2009 22:20:01 -0400
Message-ID: <4A6A6BB7.2080006@LeonixSolutions.com>
Date: Sat, 25 Jul 2009 10:19:35 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
References: <4A69AFC9.1070802@cs.tcd.ie> <BA74F34A-6A32-4FC9-A723-95A6D58E5800@mac.com>
In-Reply-To: <BA74F34A-6A32-4FC9-A723-95A6D58E5800@mac.com>
Content-Type: multipart/mixed; boundary="------------060503070603090407060709"
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 - mailman.dtnrg.org
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] Problems with configure scripts for static build (TCL problem)
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, 25 Jul 2009 02:22:50 -0000

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

Until now I I have just made sure that I had all necessary packages on 
each machine and built locally. Now I want to pass someone just the 
executables of dtnd, dtnping, dtnsend, dtnrcv, etc

I started with osays with command

./configure --enable static

the script said that it could not find tcl.h, which was strange as it is 
installed. So, I tried,
./configure --enable static --with-tcl
and even
./configure --enable static --with-tcl=/usr
still can't find tcl.h

The I realised the script takes the parameter of the --with-tcl option 
and apapends /include, so that it was looking in /usr/include.

However, on Ubuntu 8.04, at least, the tcl headers are installed into 
/usr/inclue/tcl8.3, /usr/inclue/tcl8.4,  /usr/inclue/tcl8.5  ( ihave 
only 8.4 installed).  So, I cp /usr/include/tcl8.4/ /usr/iclue/ and this 
time the script says

configure: checking for tcl installation (version 8.4)
checking for tcl.h (version 8.4) in /usr/include... yes
checking for tcl library in /usr/lib: -ltcl8.4 ... no
checking for tcl library in /usr/lib: -ltcl84 ... no
checking for tcl library in /usr/lib: -ltcl ... no

configure: checking for tcl installation (version 8.3)
checking for tcl.h (version 8.3) in /usr/include... no

I cp /usr/lib/tcl8.4/* /usr/lib, but still have the same result.

I am not sure if the tcl install has the same directory structures on 
all distros; if so, make the script needs updating; if not, maybe the 
Ubuntu 8.04 install is wrong.
In either case, I can't understand why the script fails after I copy the 
files where it expects to see them.

Any ideas? I am stumped!


--------------060503070603090407060709
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------060503070603090407060709--


Received: from VA3EHSOBE005.bigfish.com (va3ehsobe005.messaging.microsoft.com [216.32.180.15]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6OEPQuj010789 for <dtn-users@mailman.dtnrg.org>; Fri, 24 Jul 2009 07:25:26 -0700
Received: from mail69-va3-R.bigfish.com (10.7.14.243) by VA3EHSOBE005.bigfish.com (10.7.40.25) with Microsoft SMTP Server id 8.1.340.0; Fri, 24 Jul 2009 14:22:44 +0000
Received: from mail69-va3 (localhost.localdomain [127.0.0.1])	by mail69-va3-R.bigfish.com (Postfix) with ESMTP id 55F7316B8403; Fri, 24 Jul 2009 14:22:44 +0000 (UTC)
X-SpamScore: -21
X-BigFish: VPS-21(zz1432R98dN140eMzz1202hzzz2dh6bh87h61h)
X-Spam-TCS-SCL: 0:0
X-FB-SS: 5,
X-FB-DOMAIN-IP-MATCH: fail
Received: by mail69-va3 (MessageSwitch) id 1248445352205045_1066; Fri, 24 Jul 2009 14:22:32 +0000 (UCT)
Received: from imx2.tcd.ie (imx2.tcd.ie [134.226.1.156])	by mail69-va3.bigfish.com (Postfix) with ESMTP id C80DDA380C1; Fri, 24 Jul 2009 14:22:27 +0000 (UTC)
Received: from Vams.imx2 (imx2.tcd.ie [134.226.1.156])	by imx2.tcd.ie (Postfix) with SMTP id 336B968004; Fri, 24 Jul 2009 15:22:27 +0100 (IST)
Received: from imx2.tcd.ie ([134.226.1.156])	by imx2.tcd.ie ([134.226.1.156]) with SMTP (gateway) id A07E3C2EEFB; Fri, 24 Jul 2009 15:22:27 +0100
Received: from [134.226.36.180] (sfarrell.dsg.cs.tcd.ie [134.226.36.180])	by imx2.tcd.ie (Postfix) with ESMTP id 1E08868004; Fri, 24 Jul 2009 15:22:27 +0100 (IST)
Message-ID: <4A69C3A5.9050006@cs.tcd.ie>
Date: Fri, 24 Jul 2009 15:22:29 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)
MIME-Version: 1.0
To: Darren Long <darren.long@mac.com>
References: <4A69AFC9.1070802@cs.tcd.ie> <BA74F34A-6A32-4FC9-A723-95A6D58E5800@mac.com>
In-Reply-To: <BA74F34A-6A32-4FC9-A723-95A6D58E5800@mac.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-AntiVirus-Status: MessageID = A17E3C2EEFB
X-AntiVirus-Status: Host: imx2.tcd.ie
X-AntiVirus-Status: Action Taken: 
X-AntiVirus-Status: NONE
X-AntiVirus-Status: Checked by TCD Vexira. (version=1.60.2 VDF=10.109.8)
Cc: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Bundles stalling in dtnd
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: Fri, 24 Jul 2009 14:25:27 -0000

Thanks Darren,

No we've not tried DTLSR and I don't think we've any issues
with EIDs (neither long nor conflicting). I guess we'll try
fix it next week in Stockholm, where there'll be loads of
help availble:-)

S.

Darren Long wrote:
> Although I'm using the DTLSR router (with bonjour and BT discovery)
> instead of the static router, it might help to confirm that I've not
> noticed a similar issue.
> 
> Have you tried using the dtlsr router to see if it acts differently?
> 
> The only odd quirk I've noticed is a possible issue with long(ish) EIDs
> that has affected my use of dtntunnel without overriding the default
> EIDs registered by an outbound tunnel.  I don't suppose your using a
> long(ish) EID are you?
> 
> Occasionally, I've been daft enough to run an app that registers the
> same EID as an app running on a remote node.  This sometimes effects
> forwarding of bundles destined for the remote app.  I suppose you could
> check your registrations to make sure this isn't the case.  I have only
> experienced this with the dtlsr router, as I haven't tried anything else
> recently.
> 
> Darren
> 
> On 24 Jul 2009, at 13:57, Stephen Farrell wrote:
> 
>>
>> With DTN2 we're seeing some unexpected bundle stalls
>> in a data mule scenario.
>>
>> Situation seems to be:
>>
>> - bundle arrives at Alice and should be forwarded to
>>  Bob (the mule) whenever he's next connected
>> - Bob turns up and establishes a TCP CL connection as
>>  normal, Alice sees the TCP connection properly
>> - Alice doesn't forward the bundle when the new TCP
>>  connection is established
>>
>> On a restart of Alice's dntd, if the connection with
>> Bob is up at that time, then Alice does forward the
>> bundle as expected. If Bob's not about at that time
>> the bundle remains stalled.
>>
>> Haven't delved into the code yet but just wondering
>> if anyone's seen this and knows what's up and how to
>> fix it. Behaviour we'd like is that when Alice sees
>> Bob appearing she should go through her queued bundles
>> and forward any that should be forwarded via Bob.
>>
>> Ta,
>> Stephen.
>>
>> PS: some config info
>>
>> TCP links are on demand, static routing with only
>> one route configured
>>
>> _______________________________________________
>> dtn-users mailing list
>> dtn-users@maillists.intel-research.net
>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
> 
> 



Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6OEG09F010372 for <dtn-users@mailman.dtnrg.org>; Fri, 24 Jul 2009 07:16:00 -0700
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Received: from [192.168.1.10] ([94.30.69.47]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KNA007THI63KG50@asmtp020.mac.com> for dtn-users@mailman.dtnrg.org; Fri, 24 Jul 2009 07:13:19 -0700 (PDT)
Message-id: <BA74F34A-6A32-4FC9-A723-95A6D58E5800@mac.com>
From: Darren Long <darren.long@mac.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, dtn-users mailing list <dtn-users@mailman.dtnrg.org>
In-reply-to: <4A69AFC9.1070802@cs.tcd.ie>
Date: Fri, 24 Jul 2009 15:13:15 +0100
References: <4A69AFC9.1070802@cs.tcd.ie>
X-Mailer: Apple Mail (2.935.3)
Subject: Re: [dtn-users] Bundles stalling in dtnd
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: Fri, 24 Jul 2009 14:16:01 -0000

Although I'm using the DTLSR router (with bonjour and BT discovery)  
instead of the static router, it might help to confirm that I've not  
noticed a similar issue.

Have you tried using the dtlsr router to see if it acts differently?

The only odd quirk I've noticed is a possible issue with long(ish)  
EIDs that has affected my use of dtntunnel without overriding the  
default EIDs registered by an outbound tunnel.  I don't suppose your  
using a long(ish) EID are you?

Occasionally, I've been daft enough to run an app that registers the  
same EID as an app running on a remote node.  This sometimes effects  
forwarding of bundles destined for the remote app.  I suppose you  
could check your registrations to make sure this isn't the case.  I  
have only experienced this with the dtlsr router, as I haven't tried  
anything else recently.

Darren

On 24 Jul 2009, at 13:57, Stephen Farrell wrote:

>
> With DTN2 we're seeing some unexpected bundle stalls
> in a data mule scenario.
>
> Situation seems to be:
>
> - bundle arrives at Alice and should be forwarded to
>  Bob (the mule) whenever he's next connected
> - Bob turns up and establishes a TCP CL connection as
>  normal, Alice sees the TCP connection properly
> - Alice doesn't forward the bundle when the new TCP
>  connection is established
>
> On a restart of Alice's dntd, if the connection with
> Bob is up at that time, then Alice does forward the
> bundle as expected. If Bob's not about at that time
> the bundle remains stalled.
>
> Haven't delved into the code yet but just wondering
> if anyone's seen this and knows what's up and how to
> fix it. Behaviour we'd like is that when Alice sees
> Bob appearing she should go through her queued bundles
> and forward any that should be forwarded via Bob.
>
> Ta,
> Stephen.
>
> PS: some config info
>
> TCP links are on demand, static routing with only
> one route configured
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users



Received: from SG2EHSOBE004.bigfish.com (sg2ehsobe004.messaging.microsoft.com [207.46.51.78]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6OD0VEW006954 for <dtn-users@mailman.dtnrg.org>; Fri, 24 Jul 2009 06:00:32 -0700
Received: from mail209-sin-R.bigfish.com (10.210.100.244) by SG2EHSOBE004.bigfish.com (10.210.112.24) with Microsoft SMTP Server id 8.1.340.0; Fri, 24 Jul 2009 12:57:47 +0000
Received: from mail209-sin (localhost.localdomain [127.0.0.1])	by mail209-sin-R.bigfish.com (Postfix) with ESMTP id A02B81860177	for <dtn-users@mailman.dtnrg.org>; Fri, 24 Jul 2009 12:57:41 +0000 (UTC)
X-SpamScore: -5
X-BigFish: VPS-5(zz140eMzz1202hzzz2dh6bh87h64h)
X-Spam-TCS-SCL: 3:0
X-FB-DOMAIN-IP-MATCH: fail
Received: by mail209-sin (MessageSwitch) id 1248440259712026_32396; Fri, 24 Jul 2009 12:57:39 +0000 (UCT)
Received: from imx2.tcd.ie (imx2.tcd.ie [134.226.1.156])	by mail209-sin.bigfish.com (Postfix) with ESMTP id 4ACE21278051	for <dtn-users@mailman.dtnrg.org>; Fri, 24 Jul 2009 12:57:39 +0000 (UTC)
Received: from Vams.imx2 (imx2.tcd.ie [134.226.1.156])	by imx2.tcd.ie (Postfix) with SMTP id 8EE0868003	for <dtn-users@mailman.dtnrg.org>; Fri, 24 Jul 2009 13:57:43 +0100 (IST)
Received: from imx2.tcd.ie ([134.226.1.156])	by imx2.tcd.ie ([134.226.1.156]) with SMTP (gateway) id A0653F8A8F2; Fri, 24 Jul 2009 13:57:43 +0100
Received: from [134.226.36.180] (sfarrell.dsg.cs.tcd.ie [134.226.36.180])	by imx2.tcd.ie (Postfix) with ESMTP id 7A64668003	for <dtn-users@mailman.dtnrg.org>; Fri, 24 Jul 2009 13:57:43 +0100 (IST)
Message-ID: <4A69AFC9.1070802@cs.tcd.ie>
Date: Fri, 24 Jul 2009 13:57:45 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)
MIME-Version: 1.0
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-AntiVirus-Status: MessageID = A1653F8A8F2
X-AntiVirus-Status: Host: imx2.tcd.ie
X-AntiVirus-Status: Action Taken: 
X-AntiVirus-Status: NONE
X-AntiVirus-Status: Checked by TCD Vexira. (version=1.60.2 VDF=10.109.8)
Subject: [dtn-users] Bundles stalling in dtnd
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: Fri, 24 Jul 2009 13:00:33 -0000

With DTN2 we're seeing some unexpected bundle stalls
in a data mule scenario.

Situation seems to be:

- bundle arrives at Alice and should be forwarded to
  Bob (the mule) whenever he's next connected
- Bob turns up and establishes a TCP CL connection as
  normal, Alice sees the TCP connection properly
- Alice doesn't forward the bundle when the new TCP
  connection is established

On a restart of Alice's dntd, if the connection with
Bob is up at that time, then Alice does forward the
bundle as expected. If Bob's not about at that time
the bundle remains stalled.

Haven't delved into the code yet but just wondering
if anyone's seen this and knows what's up and how to
fix it. Behaviour we'd like is that when Alice sees
Bob appearing she should go through her queued bundles
and forward any that should be forwarded via Bob.

Ta,
Stephen.

PS: some config info

TCP links are on demand, static routing with only
one route configured



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 n6M1t674008480 for <dtn-users@maillists.intel-research.net>; Tue, 21 Jul 2009 18:55:06 -0700
Received: from 250.254.187.81.in-addr.arpa ([81.187.254.250]) by b.painless.aaisp.net.uk with esmtp (Exim 4.69) (envelope-from <elwynd@folly.org.uk>) id 1MTR0c-0006MS-Er for dtn-users@maillists.intel-research.net; Wed, 22 Jul 2009 02:52:42 +0100
From: Elwyn Davies <elwynd@folly.org.uk>
To: DTN Users <dtn-users@maillists.intel-research.net>
Content-Type: text/plain
Organization: Folly Consulting
Date: Wed, 22 Jul 2009 02:52:38 +0100
Message-Id: <1248227558.5940.271.camel@mightyatom.folly.org.uk>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 7bit
Subject: [dtn-users] DTN2 incompatibility with v3 of xerces-c
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, 22 Jul 2009 01:55:07 -0000

Hi.

I just tried to compile the DTN2 with the external convergence interface
enabled and with the latest version of Xerces (v3/3.0.1).  Some major
surgery seems to have been done to Xerces resulting in the DOMBuilder.h
and some implementation header files disappearing since v2.8.0 and the
parser builder being significantly changed.  Also I suspect that XMLByte
has been changed from char to uchar but I haven't investigated exactly -
oasys/serialize/XMLSerialize.cc doesn't compile now because of signed->
unsigned casts in 4 places (I bodged these with reinterpret_cast<char
*>(reinterpret_cast<void *>(... etc before the DOMBuilder problem raised
its head).. 

This is not a show stopper for me (I turned it on for completeness sake)
so I have turned it off again for the time being.  Could somebody who
understands Xerces see if they can provide the necessary fixes please,
as I am not a Xerces expert.

Regards,
Elwyn



Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6LF8EU6011787 for <dtn-users@maillists.intel-research.net>; Tue, 21 Jul 2009 08:08:15 -0700
Received: by an-out-0708.google.com with SMTP id d40so1358525and.34 for <dtn-users@maillists.intel-research.net>; Tue, 21 Jul 2009 08:05:56 -0700 (PDT)
MIME-Version: 1.0
Sender: demmer@gmail.com
Received: by 10.100.48.17 with SMTP id v17mr7989332anv.135.1248188756185; Tue,  21 Jul 2009 08:05:56 -0700 (PDT)
In-Reply-To: <4A655EB6.2070506@LeonixSolutions.com>
References: <de96bd820907200752l48891724s360ff7f21c71ef43@mail.gmail.com>  <200907201059.45756.simon.perreault@viagenie.ca> <4A655EB6.2070506@LeonixSolutions.com>
From: Michael Demmer <demmer@cs.berkeley.edu>
Date: Tue, 21 Jul 2009 08:05:36 -0700
X-Google-Sender-Auth: 2a0e9edea35c2309
Message-ID: <59e8babf0907210805v49840afejb28c220e26bfb4fe@mail.gmail.com>
To: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@leonixsolutions.com>
Content-Type: multipart/alternative; boundary=0016e644dd466cd4de046f389782
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] who is responsible for DTLSRRouter.cc ?
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, 21 Jul 2009 15:08:15 -0000

--0016e644dd466cd4de046f389782
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I wrote all of the DTLSR code (as well as most of DTN2), but I am no longer
involved with DTN2 development, as I've graduated and moved on to other
pursuits.

My recommendation would be that if you found a bug, you should fix it and
then get your patch uploaded by joining the sourceforge project.

-m

On Mon, Jul 20, 2009 at 11:22 PM, Graham Keellings (Leonix Solutions Pte
Ltd) <Graham@leonixsolutions.com> wrote:

> I have a question about      servlib/routingDTLSRRouter.cc but don't know
> to whom to address it, as the header says only "Copyright 2007 Intel
> Corporation" and gives no contact info.
>
> I think that I see a problem, but don't want to bother the list with it,
> and would like to discuss it with the author.
>
>
> (as a general question, is there anywhere a list of who is responsible for
> what, in order to minimize posts like this to the entire list?)
>
> Thanks in advance for any help,
>
> ~graham();
>
>
>
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>

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

I wrote all of the DTLSR code (as well as most of DTN2), but I am no longer=
 involved with DTN2 development, as I&#39;ve graduated and moved on to othe=
r pursuits.<br><br>My recommendation would be that if you found a bug, you =
should fix it and then get your patch uploaded by joining the sourceforge p=
roject.<br>

<br>-m<br><br><div class=3D"gmail_quote">On Mon, Jul 20, 2009 at 11:22 PM, =
Graham Keellings (Leonix Solutions Pte Ltd) <span dir=3D"ltr">&lt;<a href=
=3D"mailto:Graham@leonixsolutions.com">Graham@leonixsolutions.com</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;">I have a question=
 about =A0 =A0 =A0servlib/routingDTLSRRouter.cc but don&#39;t know to whom =
to address it, as the header says only &quot;Copyright 2007 Intel Corporati=
on&quot; and gives no contact info.<br>


<br>
I think that I see a problem, but don&#39;t want to bother the list with it=
, and would like to discuss it with the author.<br>
<br>
<br>
(as a general question, is there anywhere a list of who is responsible for =
what, in order to minimize posts like this to the entire list?)<br>
<br>
Thanks in advance for any help,<br><font color=3D"#888888">
<br>
~graham();<br>
<br>
<br>
<br>
</font><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></blockquote></div><br>

--0016e644dd466cd4de046f389782--


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 n6L6PP4B018664 for <dtn-users@maillists.intel-research.net>; Mon, 20 Jul 2009 23:25:26 -0700
Received: from dyn98-b60-access.superdsl.com.sg ([202.73.60.98] helo=[192.9.200.138]) by sky.fastbighost.net with esmtpa (Exim 4.69) (envelope-from <Graham@LeonixSolutions.com>) id 1MT8kk-0003y3-MA for dtn-users@maillists.intel-research.net; Tue, 21 Jul 2009 02:23:06 -0400
Message-ID: <4A655EB6.2070506@LeonixSolutions.com>
Date: Tue, 21 Jul 2009 14:22:46 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: dtn-users@maillists.intel-research.net
References: <de96bd820907200752l48891724s360ff7f21c71ef43@mail.gmail.com> <200907201059.45756.simon.perreault@viagenie.ca>
In-Reply-To: <200907201059.45756.simon.perreault@viagenie.ca>
Content-Type: multipart/mixed; boundary="------------030602000000090707080600"
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] who is responsible for DTLSRRouter.cc ?
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, 21 Jul 2009 06:25:26 -0000

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

I have a question about      servlib/routingDTLSRRouter.cc but don't 
know to whom to address it, as the header says only "Copyright 2007 
Intel Corporation" and gives no contact info.

I think that I see a problem, but don't want to bother the list with it, 
and would like to discuss it with the author.


(as a general question, is there anywhere a list of who is responsible 
for what, in order to minimize posts like this to the entire list?)

Thanks in advance for any help,

~graham();




--------------030602000000090707080600
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------030602000000090707080600--


Received: from jazz.viagenie.ca (jazz.viagenie.ca [206.123.31.2]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6KF1xmM009451 for <dtn-users@maillists.intel-research.net>; Mon, 20 Jul 2009 08:02:00 -0700
Received: by jazz.viagenie.ca (Postfix, from userid 8) id E0A7D29E15ED; Mon, 20 Jul 2009 10:59:48 -0400 (EDT)
Received: from ringo.viagenie.ca (ringo.viagenie.ca [IPv6:2620:0:230:c000::67]) by jazz.viagenie.ca (Postfix) with ESMTP id D838F29E15B2 for <dtn-users@maillists.intel-research.net>; Mon, 20 Jul 2009 10:59:48 -0400 (EDT)
From: Simon Perreault <simon.perreault@viagenie.ca>
Organization: =?iso-8859-1?q?Viag=E9nie?=
To: dtn-users@maillists.intel-research.net
Date: Mon, 20 Jul 2009 10:59:45 -0400
User-Agent: KMail/1.11.4 (Linux/2.6.29.5-191.fc11.x86_64; KDE/4.2.4; x86_64; ; )
References: <de96bd820907200752l48891724s360ff7f21c71ef43@mail.gmail.com>
In-Reply-To: <de96bd820907200752l48891724s360ff7f21c71ef43@mail.gmail.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200907201059.45756.simon.perreault@viagenie.ca>
Subject: Re: [dtn-users] Current practice for assigning local EID
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, 20 Jul 2009 15:02:01 -0000

On Monday 20 July 2009 10:52:10 David Young wrote:
> dtn://<hostname>
> or
> dtn://<hostname>.dtn

Whichever you prefer. I don't think we can discuss "established practice" 
yet...

Simon
-- 
STUN/TURN server    --> http://numb.viagenie.ca
Interplanetary news --> http://reeves.viagenie.ca
vCard 4.0           --> http://www.vcarddav.org


Received: from mail-vw0-f193.google.com (mail-vw0-f193.google.com [209.85.212.193]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6KEsLZE009013 for <dtn-users@maillists.intel-research.net>; Mon, 20 Jul 2009 07:54:21 -0700
Received: by vwj31 with SMTP id 31so2710085vwj.6 for <dtn-users@maillists.intel-research.net>; Mon, 20 Jul 2009 07:52:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.94.133 with SMTP id z5mr6072925vcm.19.1248101530256; Mon,  20 Jul 2009 07:52:10 -0700 (PDT)
Date: Mon, 20 Jul 2009 10:52:10 -0400
Message-ID: <de96bd820907200752l48891724s360ff7f21c71ef43@mail.gmail.com>
From: David Young <david.a.young@gmail.com>
To: dtn-users@maillists.intel-research.net
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [dtn-users] Current practice for assigning local EID
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, 20 Jul 2009 14:54:21 -0000

What is the current practice for assigning an EID in dtn2?

dtn://<hostname>
or
dtn://<hostname>.dtn
?

-- 
David Young


Received: from mx3.bbn.com (mx3.bbn.com [128.33.1.81]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6GNGEx7031497 for <dtn-users@maillists.intel-research.net>; Thu, 16 Jul 2009 16:16:14 -0700
Received: from [128.89.253.192] (helo=senshu-wifi.snoodnet.net) by mx3.bbn.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from <dellard@bbn.com>) id 1MRa9k-0002pl-C3; Thu, 16 Jul 2009 19:14:29 -0400
Message-ID: <4A5FB450.5030305@bbn.com>
Date: Thu, 16 Jul 2009 19:14:24 -0400
From: Daniel Ellard <dellard@bbn.com>
Organization: BBN Technologies
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
MIME-Version: 1.0
To: "Moore, Brad" <Brad.Moore@gdcanada.com>
References: <0119B6D93B00714F84D6C33DBBA5E56F01513654@CGYSVW100.gdcan.com>	<4A5EB147.1090001@netlab.tkk.fi> <0119B6D93B00714F84D6C33DBBA5E56F048C8D9D@CGYSVW100.gdcan.com>
In-Reply-To: <0119B6D93B00714F84D6C33DBBA5E56F048C8D9D@CGYSVW100.gdcan.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: dtn-users@maillists.intel-research.net, Joerg Ott <jo@netlab.tkk.fi>
Subject: Re: [dtn-users] [SPAM] - Re: DTN2 client API - Email found in	subject
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, 16 Jul 2009 23:16:15 -0000

Moore, Brad wrote:
> I have a couple other API questions/suggestions. Delivery receipts
> include status reports
> that indicate the time when a message was received. It also includes the
> EID
> of the sender. Since the Sender and the Sender EID in the receipt should
> match, this seems to be of little use
> to me, since the Sender knows its own EID.

Not necessarily.  Receipts may be addressed to an arbitrary
EID; when a bundle is sent, the sender specifies the EID to
which receipts are to be sent.  This field is provided so
that receipts may be sent elsewhere.

-Dan


-- 
Daniel Ellard, Ph.D.
Senior Scientist, Network Research
BBN Technologies
10 Moulton Street
Cambridge, MA 02138
dellard@bbn.com


Received: from gdcanada.com (smtp2.gdcanada.com [209.29.4.40]) by maillists.intel-research.net (8.13.8/8.13.8) with SMTP id n6GMeTmY029916 for <dtn-users@maillists.intel-research.net>; Thu, 16 Jul 2009 15:40:30 -0700
Received: from gdcanada.com ([172.16.7.212]) by gdcanada.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 16 Jul 2009 18:39:25 -0400
Received: from CGYSVW100.gdcan.com ([172.31.27.211]) by gdcanada.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 16 Jul 2009 18:38:23 -0400
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 16 Jul 2009 16:38:19 -0600
Message-ID: <0119B6D93B00714F84D6C33DBBA5E56F048C8D9D@CGYSVW100.gdcan.com>
In-Reply-To: <4A5EB147.1090001@netlab.tkk.fi>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [SPAM] - Re: [dtn-users] DTN2 client API - Email found in subject
thread-index: AcoF0PgAeY+x6SVVRmqCpJBsXgxVmwAiavUA
References: <0119B6D93B00714F84D6C33DBBA5E56F01513654@CGYSVW100.gdcan.com> <4A5EB147.1090001@netlab.tkk.fi>
From: "Moore, Brad" <Brad.Moore@gdcanada.com>
To: "Joerg Ott" <jo@netlab.tkk.fi>
X-OriginalArrivalTime: 16 Jul 2009 22:38:23.0046 (UTC) FILETIME=[20381E60:01CA0666]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by maillists.intel-research.net id n6GMeTmY029916
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] [SPAM] - Re: DTN2 client API - Email found in subject
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, 16 Jul 2009 22:40:31 -0000

Joerg Ott wrote:
> > The other option would be to have the server send the file data as a
> > memory
> > payload, but this seemed problematic. I'm not sure is the XDR
> routines
> > would
> > handle a large file being sent that way for one thing.
> 
> XDR is not the problem.  Originally, the XDR interface was tied to
UDP,
> however, (I checked the DTN2 code) and if you want to allow for some
> larger DTN headers, you won't much beyond 50-60K of a payload.
> 
> Not sure whether the API changed to use TCP now.  In any case,
however,
> the important thing for the dtnd is that it gets done with the API
> call quickly and can return to other actions.  From what I read in
> the code (but this was a while ago), pacing the delivery of, say, a
> 2 GB bundle to a potentially slow applications is currently not
> foreseen.  This might take a moment to implement in the dtnd to avoid
> 'blocking' responses to API calls.

Makes sense.

I have a couple other API questions/suggestions. Delivery receipts
include status reports
that indicate the time when a message was received. It also includes the
EID
of the sender. Since the Sender and the Sender EID in the receipt should
match, this seems to be of little use
to me, since the Sender knows its own EID. I presume there are reasons
for this field, but it seems to me that
it would be useful to know the EID of the recipient. One application
would be to send out a wildcard EID,
eg. dtn://*/book_club, requesting delivery receipts. This would be a
handy way to find out the EID's of
everyone currently in the book club. Adding the EID of the recipient to
a delivery receipt would increase
the size of the delivery receipt. Is that the reason why such a
capability doesn't exist?
I suspect that implementing this suggestion would likely require changes
to the bundle protocol, so there may
not be sufficient reason to introduce this change.

Another API suggestion. It would be nice to have a blocking time on a
dtn send call, as well as an expected number Of recipients parameter. If
blocking time is greater than zero, the call could specify that delivery
receipts are to be included in the request. The call could return an
array of delivery receipts received. If the expected number of receipts
is received before the blocking time expires, the call returns,
otherwise it
continues to block until the blocking time expires. The blocking time
would typically be less than the time to live parameter. This could be
used to find out the number of endpoints that can be reached within a
certain
amount of time. Additional delivery receipts that arrive after the
timeout would be delivered in the normal
fashion. This capability can be achieved asynchronously with the current
API, but it would simplify apps
that want to do things in more of a synchronous fashion.

Brad Moore

The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by return e-mail and destroy all copies of this message. 
Thank you. 




Received: from gdcanada.com (smtp2.gdcanada.com [209.29.4.40]) by maillists.intel-research.net (8.13.8/8.13.8) with SMTP id n6G00YAp000604 for <dtn-users@maillists.intel-research.net>; Wed, 15 Jul 2009 17:00:35 -0700
Received: from gdcanada.com ([172.16.7.212]) by gdcanada.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 15 Jul 2009 19:59:28 -0400
Received: from CGYSVW100.gdcan.com ([172.31.27.211]) by gdcanada.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 15 Jul 2009 19:58:49 -0400
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 15 Jul 2009 17:58:48 -0600
Message-ID: <0119B6D93B00714F84D6C33DBBA5E56F01513654@CGYSVW100.gdcan.com>
In-Reply-To: <mailman.3.1247684402.19082.dtn-users@maillists.intel-research.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: DTN2 client API
thread-index: AcoFfwqKUROQb3suT/SbJyCZVnyWOQABvIZA
References: <mailman.3.1247684402.19082.dtn-users@maillists.intel-research.net>
From: "Moore, Brad" <Brad.Moore@gdcanada.com>
To: <dtn-users@maillists.intel-research.net>
X-OriginalArrivalTime: 15 Jul 2009 23:58:49.0372 (UTC) FILETIME=[328545C0:01CA05A8]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by maillists.intel-research.net id n6G00YAp000604
Subject: [dtn-users] DTN2 client API
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, 16 Jul 2009 00:00:36 -0000

Elwyn Davies wrote:
< It seems to me that it would be useful to have an alternative form of
< dtn_recv which could specify a file name  that the daemon should use. 
 ...
< Is this worth having?

Sounds reasonable to me.

Another suggestion in the same area has to do with an issue I ran into
when using the API remotely. Setting the DTNAPI_ADDR variable allows
an application running on a remote host to send and receive bundles to
a bundle agent running on another host.

The problem case is when dtn_recv specifies DTN_PAYLOAD_MEMORY, but the
received bundle is bigger than the maximum memory bundle (50K).
Currently the bundle agent will return a payload with DTN_PAYLOAD_FILE,
and
The dtn_api code running on the client node will attempt to read the
file, 
and load into memory in order to make it appear that the bundle actually
arrived in memory to match the clients request.

The problem is that the filename on the clients node may not be
accessible, 
or the filename path might not be compatible with the OS of the client.
Eg.
If the client is running windows, and the bundle agent is running on
Linux,
then there is an issue because Windows expects backslashes and Linux
expects
forward slashes, not to mention that the file systems may not be shared.

I modified our version of the API so that it returns DTN_PAYLOAD_FILE,
instead
Of DTN_PAYLOAD_MEMORY, then the client has to check to see if the
location 
request was honored or not. If not, then the client has to deal with
accessing
the file from the remote host. This makes sense because the client
already has
to do the same thing in reverse when sending a file. The client has to
somehow
place the file in a place that is accessible on Linux, and use the Linux
path
to name the file to be sent.

The other option would be to have the server send the file data as a
memory
payload, but this seemed problematic. I'm not sure is the XDR routines
would
handle a large file being sent that way for one thing.

I suppose another option would be to have some hook in the API code that
allows a means to override the method for generating the filenames which
would allow insertion of code to manage file transfers or file renaming.

Brad Moore

The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by return e-mail and destroy all copies of this message. 
Thank you. 




Received: from a.painless.aaisp.net.uk (a.painless.aaisp.net.uk [81.187.30.51]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6FIpRvE018682 for <dtn-users@maillists.intel-research.net>; Wed, 15 Jul 2009 11:51:27 -0700
Received: from 247.254.187.81.in-addr.arpa ([81.187.254.247]) by a.painless.aaisp.net.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <elwynd@folly.org.uk>) id 1MR9Y7-00088A-V7 for dtn-users@maillists.intel-research.net; Wed, 15 Jul 2009 19:49:52 +0100
Message-ID: <4A5E24FD.30102@folly.org.uk>
Date: Wed, 15 Jul 2009 19:50:37 +0100
From: Elwyn Davies <elwynd@folly.org.uk>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: dtn-users@maillists.intel-research.net
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [dtn-users] DTN2 client API
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: Wed, 15 Jul 2009 18:51:28 -0000

Hi.

While trying to build an application to transmit mail over DTN(2) I came
across a feature in the API.  The issue is with dtn_recv.

Checking the code it appears that asking for the bundle as a file
(DTN_PAYLOAD_FILE) always gets you a temporary file (actually it appears
that DTN_PAYLOAD_TEMP_FILE is illegal for dtn_recv). Now, at first sight
this doesn't seem to be a problem, but when thinking about using
end-to-end delivery notification, this can lead to a potential
opportunity where the DTN daemon acknowledges that it has delivered the
bundle but the application has crashed or exited before it knows what
file it has got.  Trying to make the end-to-end delivery properly
reliable is very difficult with this behaviour.

It seems to me that it would be useful to have an alternative form of
dtn_recv which could specify a file name  that the daemon should use. 
That way the application could remember what it was trying to do and
clear up after a restart since the DTN delivery notice isn't sent until
the file is written. Provided this combined with the daemon doing atomic
rename to give the file its final name, this would be a considerable
improvement.

Is this worth having?  I would be prepared to do the work in due course.

BTW There appear to be signs that there were to be application to
application delivery receipts in somebody's vision, but AFAICS this
hasn't been implemented.  Am i right?

Regards,
Elwyn


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 n6F3MG2i008617 for <dtn-users@maillists.intel-research.net>; Tue, 14 Jul 2009 20:22:16 -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 1MQv2k-0006Mp-E9; Tue, 14 Jul 2009 23:20:46 -0400
Message-ID: <4A5D4AF9.2050401@LeonixSolutions.com>
Date: Wed, 15 Jul 2009 11:20:25 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: Ian Glennon <ianglennon@googlemail.com>
References: <000001c9ffc5$8109c0b0$6801a8c0@D674VYB1>	<4A5A9EDD.70101@LeonixSolutions.com> <001e01ca03db$ff5df7f0$fe19e7d0$@com>
In-Reply-To: <001e01ca03db$ff5df7f0$fe19e7d0$@com>
Content-Type: multipart/mixed; boundary="------------050803060802040406060902"
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: 
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] DTN2 build errors - automated builds on various distros
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, 15 Jul 2009 03:22:17 -0000

This is a multi-part message in MIME format.
--------------050803060802040406060902
Content-Type: multipart/alternative;
	boundary="------------010409010805040302000905"


--------------010409010805040302000905
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Ian Glennon wrote:
> Graham,
>
> I am totally new to all this, but I have some virtual machine space spare -
> I use VMWare rather than VirtualBox 
That might possibly be a problem if you eventually 'retire' and someone 
else has to take over. I now that VmWare (lovely software, by teh way) 
is not Open Source. I think there might be free 'viewers' but someone 
still has to pay for a license to create Linux "images". Is that right, 
or am I mistaken?

VirtualBox at least has the benefit of being free (and OpeSource?), from 
Sun.


> - that I could run builds of
> freeze-candidates on.  I haven't actually built any code yet, I've just been
> prepping my Ubuntu VM ready for DTN and I've been trying to think of ways I
> can contribute.  This sounds like an ideal opportunity.
>   
Just what I was thinking :-) I'd love to help, wouldn't mind the kudos - 
and wonder if I have the time... whoever does it, I would suggest 
automating the build, using something like Hudson (qv). Long term, it 
might also be possible to throw together a CppUnit test suite for 
automated regression building but that seems like a lot of (worthwhile) 
effort.

> Having not used Mercurial before (I've always been a SVN/CVS guy) I would
> appreciate some pointers as to how to get a 'frozen' copy, and I'm guessing
> that freeze-candidates would mandate some new thinking around release/freeze
> versions.
>   
See http://www.dtnrg.org/wiki/Code - the "frozen"/official releases are 
hosted at http://dtn.sourceforge.net/hg/ and can be cloned using:

    *

      % hg clone http://dtn.sourceforge.net/hg/oasys

      % hg clone http://dtn.sourceforge.net/hg/DTN2

    *


    *

      You can also access the latest ("bleeding edge") version of the
      code using mercurial <http://www.selenic.com/mercurial>.

Let's not rush to volunteer - let's look into it and make sure we know 
what needs to be done first, then see who has time and server space to 
do it.

p.s if you want to contribute every time you face a problem and solve 
it, add the solution to the wiki at http://www.dtnrg.org/wiki/Home

For instance, the build will fail on several mainstream distros - unless 
you know which packages to install first. Tehre are solutions to these 
problems floating around the mailing list which ought to be on the 
distro (and probably linked right from the first page).



> Regards
> Ian
>
>   
>> -----Original Message-----
>> From: dtn-users-bounces@maillists.intel-research.net [mailto:dtn-users-
>> bounces@maillists.intel-research.net] On Behalf Of Graham Keellings
>> (Leonix Solutions Pte Ltd)
>> Sent: 13 July 2009 03:42
>> To: Victor
>> Cc: dtn-users@maillists.intel-research.net
>> Subject: Re: [dtn-users] DTN2 build errors
>>
>> Victor wrote:
>>     
>>> Graham,
>>>
>>> Thanks for the update, I've got the build working on Hardy Heron.
>>>
>>>       
>> I'm very glad to hear that.  Now the fun starts, when try to configure
>> it and get it running ;-)
>>
>>
>>     
>>> The path to the SafeRange.h seems to be incorrect in both 2.6 release
>>>       
>> and mercurial,
>>     
>> I can accept problems in Mercurial, but it surprises me that a "frozen"
>> version doesn't build - and we see a lot of mails about this; another
>> one this morning.
>>
>> I realize that it is all volunteer effort, but I wonder what we can do
>> to help - personally, I have been unable to get 2.6 to build "out of
>> the
>> box" on a fresh install of Ubuntu 9, Ubuntu 8, Fedora 11, Fedora 6 and
>> OpenSuse 11.
>>
>> If it would help any, I would volunteer to make one machine available
>> to
>> test "freeze candidates" and totally reformat and install a few
>> different Linuces to see whether the freeze candidate will build and
>> run.
>>
>> Alternatively, the build master could (or someone could help him to)
>> use
>> VirtualBox to create a bunch of virtual machines based on the current
>> release of the most popular distros and use those to try to build,
>> maybe
>> even run, freeze candidates (or even the nightly build?) With some
>> effort and some scripting, an automated build system like Hudson could
>> perhaps be used?  This might be  a better approach - just dedicate a
>> single PC with a bunch of virtual machines to the build.
>>
>> I am not trying to push work onto anyone here, just make suggestions
>> (like my suggestion that a wiki would be useful; I personally prefer a
>> forum to a mailing list (but Nabble will at least mirror your mailing
>> list for free and make it searchable - something which cannot easily be
>> done now).
>>
>> No, I'm not trying to push work at anyone - honest - and I'm willing to
>> volunteer some effort myself, since I realize that we are all pushed
>> for
>> time.
>>
>> I am just trying to make some - hopefully helpful - suggestions, based
>> on my surprise that there are so many "I can't build the "stable" 2.6
>> release" mails.
>>
>> With best wishes,
>>
>> Graham
>>
>>
>>     
>>>  ../oasys-1.3.0/util/SafeRange.h should have <cstring> header added,
>>>       
>> not
>>     
>>> ../oasys/util/SafeRange.h
>>>
>>> Anyway, what's the point of having both release and mercurial folders
>>>       
>> in
>>     
>>> DTN2 folder?
>>>
>>> Thanks again,
>>>
>>> -Victor
>>>
>>>
>>>
>>>
>>>
>>>   _____
>>>
>>> From: Graham Keellings (Leonix Solutions Pte Ltd)
>>> [mailto:Graham@LeonixSolutions.com]
>>> Sent: Friday, July 03, 2009 3:42 AM
>>> To: Victor
>>> Cc: dtn-users@maillists.intel-research.net
>>> Subject: Re: [dtn-users] DTN2 build errors
>>>
>>>
>>>
>>> Victor wrote:
>>>
>>> I have the following errors trying to build "servlib" for DTN2 2.6 on
>>>       
>> Ubuntu
>>     
>>> 8.04
>>>
>>>
>>> Victor, the "'size_t' does not name a type" is well documented on
>>>       
>> many
>>     
>>> builds, in previous mail. I will try to dig the solution out for you.
>>>
>>> In the meantime, I cannot get the official, frozen, 2.6 to build on
>>>       
>> Ubuntu 8
>>     
>>> or 9, or Fedora 10 or 11, or Suse 11 (can anyone?) .
>>>
>>> All that I can manage is to grab the latest nightly build from
>>>       
>> soureforge on
>>     
>>> Ubuntu 8 (it won't build on anything else which I tried) and follow
>>>       
>> this
>>     
>>> priceless advice from Jon Setzer
>>>
>>>
>>>
>>>
>>> Here is a list of things I had to do to get DTN to work on Ubuntu
>>>       
>> back
>>     
>>> in January.  This information is a little out of date and my system
>>>       
>> is
>>     
>>> different than yours, but it might give you some ideas:
>>>
>>> Enviroment:
>>> There are two ways to install DTN2: get the latest build from the
>>> mercurial repository or get the 2.6 build tarball from SourceForge.
>>>       
>> As
>>     
>>> of January 2009, the configure scripts would NOT run correctly if you
>>> attempted to install the 2.6 build from tarball on Ubuntu Ibex(8.10).
>>> The latest mercurial build has fixed the install issue that the 2.6
>>> build has and will install fine on Ubuntu Ibex(8.10). You can install
>>> the 2.6 tarball with only one problem on Ubuntu Heron(8.04), or you
>>>       
>> can
>>     
>>> see the section on additional steps to take to get the 2.6 tarball
>>> working on Ubuntu Ibex(8.10). The rest of this tutorial assumes you
>>>       
>> are
>>     
>>> installing DTN2 on two Ubuntu Heron virtual machines updated to Jan
>>> 2009(unless otherwise noted) with the following names and IP
>>>       
>> addresses:
>>     
>>> Install Procedure:
>>>
>>>    1. Install these packages and their dependencies    (note from
>>>       
>> Graham -
>>     
>>> grab the xxx-dev first and dependencies will usually grab the xxx)
>>>          1. build-essential
>>>          2. g++
>>>          3. libavahi-compact-libdnssd-dev
>>>          4. libdb4.6
>>>          5. libdb4.6-dev
>>>          6. libxerces-c2-dev
>>>          7. libxerces-c28
>>>          8. libexpat1-dev
>>>          9. mono-1.0-devel
>>>         10. tcl8.4
>>>         11. tcl8.4-dev
>>>         12. tcllib
>>>         13. tclreadline
>>>         14. tclx8.4-dev
>>>         15. tclx8.4
>>>         16. zlib1g-dev
>>>    2. cd /Some/Where/You/Want/To/Put/Install/Files
>>>    3. mkdir dtn2
>>>    4. cd dtn2
>>>    5. Download Oasys
>>>          1. Download tarball from SourceForge...OR:
>>>                1. Download oasys-1.3.0.tgz and dtn-2.6.0.tgz from
>>> http://sourceforge.net/project/showfiles.php?group_id=101657 into
>>>       
>> your
>>     
>>> dtn2 directory
>>>                2. tar xvf oasys-1.3.0.tgz
>>>          2. Download latest build from Mercurial: hg clone
>>> http://dtn.sourceforge.net/hg/oasys
>>>    6. Install OASYS
>>>          1. cd oasys-1.3.0/
>>>          2. ./build-configure.sh           <=========   Note from
>>>       
>> Graham,
>>     
>>> this gave me problems & I managed fine w/o it
>>>          3. CC=gcc CXX=g++ ./configure
>>>          4. make
>>>          5. sudo make install
>>>    7. cd to back to dtn2 if you are still in the oasys dir.
>>>    8. Download DTN2
>>>          1. Download 2.6 tarball from SourceForge...OR:
>>>                1. Download dtn-2.6.0.tgz from
>>> http://sourceforge.net/project/showfiles.php?group_id=101657 into
>>>       
>> your
>>     
>>> dtn2 directory if you haven't already.
>>>                2. tar xvf dtn-2.6.0.tgz
>>>          2. Download latest build from Mercurial...OR: hg clone
>>> http://dtn.sourceforge.net/hg/DTN2
>>>    9. At this point you may want to look at dtn-2.6.0/README and
>>> dtn-2.6.0/doc/manual/index.html
>>>   10. Install DTN2
>>>          1. cd dtn-2.6.0
>>>          2. ./build-configure.sh
>>>          4. CC=gcc CXX=g++ ./configure -C
>>>          5. Oasys seems to compile without any changes; however, when
>>> the DTN code is compiled it references the Oasys code and cannot
>>>       
>> resolve
>>     
>>> the symbole size_t. You need need to add the cstring library to the
>>> scope of SafeRange.h by adding this code after line 18 of
>>> oasys/util/SafeRange.h (I think this is fixed in the Mercurial build)
>>>
>>>                   #ifndef size_t
>>>                   #include <cstring>
>>>                   #endif
>>>
>>>
>>>          6. make
>>>          7. sudo make install
>>>
>>>
>>>
>>> Get DTN 2.6 tarball to work in Ubuntu 8.10:
>>>
>>>    1. In oasys/aclocal/gcc.ac replace both instances of this:
>>>
>>>          oasys_cv_prog_gccver=`$CC --version | head -n 1`
>>>          oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed
>>> 's/.*gcc.*(GCC) //'`
>>>          oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed 's/
>>> .*//'`
>>>
>>>
>>>       with this:
>>>
>>>          oasys_cv_prog_gxxver=`$CXX -dumpversion | cut -d. -f1-2`
>>>
>>>
>>>    2. Add #include <climits> to line 31 of oasys/utils/StringUtils.h
>>>    3. Add #include <climits> to line 20 of oasys/tclcmd/TclCommand.cc
>>>    4. Add #include <climits> to line 20 of oasys/thread/Timmer.cc
>>>    5. Add #include <cstring> and #include <cstdlib> to line 20 of
>>> =oasys/utils/Getopt.cc
>>>    6. Add #include <algorithm> to line 22 of
>>> oasys/utils/InitSequencer.cc
>>>    7. Add #include <cstring> to line 20 of oasys/utils/MD5.cc
>>>    8. Add #include <cstring> to line 20 of oasys/utils/OptParser.cc
>>>    9. Add #include <typeinfo> to line 19 or
>>> dtn/servlib/conv_layers/ECLModule.cc
>>>   10. Add #include <climits> to line 20 of
>>> =dtn/servlib/discovery/IPDiscovery.cc=0
>>>   11. Add #include <climits> to line 20 of
>>> dtn/servlib/cmd/DiscoveryCommand.cc,
>>>       
>> servlib/cmd/RegistrationCommand.cc,
>>     
>>> servlib/cmd/InterfaceCommand.cc, servlib/cmd/BundleCommand.cc
>>>   12. Add #include <sys/types.h> to line 21 of
>>>       
>> dtn/servlib/prophet/Ack.h
>>     
>>>   13. Add #include <cstring> to line 18 of
>>>       
>> dtn/servlib/prophet/RIBTLV.cc
>>     
>>>   14. Add #include <climits> to line 20 of
>>> dtn/servlib/reg/TclRegistration.cc
>>>
>>>
>>>
>>> I hope hat this helps - I used a virgin install of Ubuntu 8 on
>>>       
>> laptops which
>>     
>>> I will use only for DTN and no other porpoise; ymmv
>>>
>>> I have had wonderful help from the mailing lists, so if I can do
>>>       
>> anything to
>>     
>>> repay, I will try my bestest.
>>>
>>> have a great weekend.
>>>
>>> ~graham();
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Any idea what the problem is?
>>>
>>>
>>>
>>> g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT "bundling/SequenceID.o
>>>
>>> bundling/SequenceID.E"  -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE
>>>
>>> -D_FILE_OFFSET_BITS=64 -I.. -I.. -I/home/mzeal/oasys-1.3.0/include
>>> -I/home/mzeal/oasys-1.3.0/include/oasys/ext -I../servlib
>>>
>>> -I/usr/include/tcl8.4 -I/usr/local/BerkeleyDB.4.6/include  -Wall -W
>>> -Wcast-align  -c bundling/SequenceID.cc -o bundling/SequenceID.o In
>>>       
>> file
>>     
>>> included from bundling/SequenceID.cc:22:
>>>
>>> ../oasys/util/SafeRange.h:35: error: expected `)' before 'offset'
>>>
>>> ../oasys/util/SafeRange.h:36: error: 'size_t' does not name a type
>>>
>>> ../oasys/util/SafeRange.h:39: error: 'size_t' has not been declared
>>>
>>> ../oasys/util/SafeRange.h:42: error: declaration of 'operator[]' as
>>> non-function
>>>
>>> ../oasys/util/SafeRange.h:42: error: expected ';' before '(' token In
>>>       
>> file
>>     
>>> included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,
>>>
>>>                  from /usr/include/c++/4.2/iosfwd:46,
>>>
>>>                  from /usr/include/c++/4.2/ios:43,
>>>
>>>                  from /usr/include/c++/4.2/ostream:45,
>>>
>>>                  from /usr/include/c++/4.2/iostream:45,
>>>
>>>                  from ../oasys/util/../debug/Log.h:94,
>>>
>>>                  from ../oasys/util/StringAppender.h:22,
>>>
>>>                  from bundling/SequenceID.cc:23:
>>>
>>> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
>>>       
>> `;'
>>     
>>> before end of line
>>>
>>> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
>>>       
>> `}'
>>     
>>> before end of line In file included from bundling/SequenceID.cc:22:
>>>
>>> ../oasys/util/SafeRange.h: In constructor
>>> 'oasys::SafeRange<_Type>::SafeRange(_Type*, int)':
>>>
>>> ../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
>>>
>>> does not have any field named 'array_'
>>>
>>> ../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
>>>
>>> does not have any field named 'size_'
>>>
>>> In file included from /usr/include/c++/4.2/i486-linux-
>>>       
>> gnu/bits/c++io.h:43,
>>     
>>>                  from /usr/include/c++/4.2/iosfwd:46,
>>>
>>>                  from /usr/include/c++/4.2/ios:43,
>>>
>>>                  from /usr/include/c++/4.2/ostream:45,
>>>
>>>                  from /usr/include/c++/4.2/iostream:45,
>>>
>>>                  from ../oasys/util/../debug/Log.h:94,
>>>
>>>                  from ../oasys/util/StringAppender.h:22,
>>>
>>>                  from bundling/SequenceID.cc:23:
>>>
>>> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h: At global scope:
>>>
>>> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
>>> unqualified-id before end of line
>>>
>>> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
>>>       
>> `}'
>>     
>>> before end of line
>>>
>>> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
>>> declaration before end of line
>>>
>>> make[1]: *** [bundling/SequenceID.o] Error 1
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>   _____
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> dtn-users mailing list
>>> dtn-users@maillists.intel-research.net
>>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>       
>> --
>> Technical Director
>> Leonix Solutions (Pte) Ltd
>> 18 Boon Lay Way
>> #09-95 TradeHub 21
>> Singapore 609966
>> Telephone:+65 6316 9968
>> Fax: +65 6316 9208
>>     
>
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>   


-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208


--------------010409010805040302000905
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ian Glennon wrote:
<blockquote cite="mid:001e01ca03db$ff5df7f0$fe19e7d0$@com" type="cite">
  <pre wrap="">Graham,

I am totally new to all this, but I have some virtual machine space spare -
I use VMWare rather than VirtualBox </pre>
</blockquote>
That might possibly be a problem if you eventually 'retire' and someone
else has to take over. I now that VmWare (lovely software, by teh way)
is not Open Source. I think there might be free 'viewers' but someone
still has to pay for a license to create Linux "images". Is that right,
or am I mistaken?<br>
<br>
VirtualBox at least has the benefit of being free (and OpeSource?),
from Sun.<br>
<br>
<br>
<blockquote cite="mid:001e01ca03db$ff5df7f0$fe19e7d0$@com" type="cite">
  <pre wrap="">- that I could run builds of
freeze-candidates on.  I haven't actually built any code yet, I've just been
prepping my Ubuntu VM ready for DTN and I've been trying to think of ways I
can contribute.  This sounds like an ideal opportunity.
  </pre>
</blockquote>
Just what I was thinking :-)&nbsp; I'd love to help, wouldn't mind the kudos
- and wonder if I have the time... whoever does it, I would suggest
automating the build, using something like Hudson (qv).&nbsp; Long term, it
might also be possible to throw together a CppUnit test suite for
automated regression building but that seems like a lot of (worthwhile)
effort.<br>
<br>
<blockquote cite="mid:001e01ca03db$ff5df7f0$fe19e7d0$@com" type="cite">
  <pre wrap="">
Having not used Mercurial before (I've always been a SVN/CVS guy) I would
appreciate some pointers as to how to get a 'frozen' copy, and I'm guessing
that freeze-candidates would mandate some new thinking around release/freeze
versions.
  </pre>
</blockquote>
See <a class="moz-txt-link-freetext" href="http://www.dtnrg.org/wiki/Code">http://www.dtnrg.org/wiki/Code</a> - the "frozen"/official releases are
hosted at <a class="http" href="http://dtn.sourceforge.net/hg/">http://dtn.sourceforge.net/hg/</a>
and can be cloned using: <span class="anchor" id="line-42"></span><span
 class="anchor" id="line-43"></span>
<ul>
  <li style="list-style-type: none;">
    <p class="line862">% hg clone <a class="http"
 href="http://dtn.sourceforge.net/hg/oasys">http://dtn.sourceforge.net/hg/oasys</a>
    <span class="anchor" id="line-44"></span><span class="anchor"
 id="line-45"></span></p>
    <p class="line862">% hg clone <a class="http"
 href="http://dtn.sourceforge.net/hg/DTN2">http://dtn.sourceforge.net/hg/DTN2</a></p>
  </li>
  <li style="list-style-type: none;"><br>
  </li>
  <li style="list-style-type: none;">
    <p class="line862">You can also access the latest ("bleeding edge")
version of the code using <a class="http"
 href="http://www.selenic.com/mercurial">mercurial</a>.&nbsp; <span
 class="anchor" id="line-46"></span><span class="anchor" id="line-47"></span></p>
  </li>
</ul>
Let's not rush to volunteer - let's look into it and make sure we know
what needs to be done first, then see who has time and server space to
do it.<br>
<br>
p.s if you want to contribute&nbsp; every time you face a problem and solve
it, add the solution to the wiki at &nbsp; <a class="moz-txt-link-freetext" href="http://www.dtnrg.org/wiki/Home">http://www.dtnrg.org/wiki/Home</a><br>
<br>
For instance, the build will fail on several mainstream distros -
unless you know which packages to install first. Tehre are solutions to
these problems floating around the mailing list which ought to be on
the distro (and probably linked right from the first page). <br>
<br>
<br>
<br>
<blockquote cite="mid:001e01ca03db$ff5df7f0$fe19e7d0$@com" type="cite">
  <pre wrap="">
Regards
Ian

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:dtn-users-bounces@maillists.intel-research.net">dtn-users-bounces@maillists.intel-research.net</a> [<a class="moz-txt-link-freetext" href="mailto:dtn-users">mailto:dtn-users</a>-
<a class="moz-txt-link-abbreviated" href="mailto:bounces@maillists.intel-research.net">bounces@maillists.intel-research.net</a>] On Behalf Of Graham Keellings
(Leonix Solutions Pte Ltd)
Sent: 13 July 2009 03:42
To: Victor
Cc: <a class="moz-txt-link-abbreviated" href="mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.intel-research.net</a>
Subject: Re: [dtn-users] DTN2 build errors

Victor wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Graham,

Thanks for the update, I've got the build working on Hardy Heron.

      </pre>
    </blockquote>
    <pre wrap="">I'm very glad to hear that.  Now the fun starts, when try to configure
it and get it running ;-)


    </pre>
    <blockquote type="cite">
      <pre wrap="">The path to the SafeRange.h seems to be incorrect in both 2.6 release
      </pre>
    </blockquote>
    <pre wrap="">and mercurial,
    </pre>
    <pre wrap="">I can accept problems in Mercurial, but it surprises me that a "frozen"
version doesn't build - and we see a lot of mails about this; another
one this morning.

I realize that it is all volunteer effort, but I wonder what we can do
to help - personally, I have been unable to get 2.6 to build "out of
the
box" on a fresh install of Ubuntu 9, Ubuntu 8, Fedora 11, Fedora 6 and
OpenSuse 11.

If it would help any, I would volunteer to make one machine available
to
test "freeze candidates" and totally reformat and install a few
different Linuces to see whether the freeze candidate will build and
run.

Alternatively, the build master could (or someone could help him to)
use
VirtualBox to create a bunch of virtual machines based on the current
release of the most popular distros and use those to try to build,
maybe
even run, freeze candidates (or even the nightly build?) With some
effort and some scripting, an automated build system like Hudson could
perhaps be used?  This might be  a better approach - just dedicate a
single PC with a bunch of virtual machines to the build.

I am not trying to push work onto anyone here, just make suggestions
(like my suggestion that a wiki would be useful; I personally prefer a
forum to a mailing list (but Nabble will at least mirror your mailing
list for free and make it searchable - something which cannot easily be
done now).

No, I'm not trying to push work at anyone - honest - and I'm willing to
volunteer some effort myself, since I realize that we are all pushed
for
time.

I am just trying to make some - hopefully helpful - suggestions, based
on my surprise that there are so many "I can't build the "stable" 2.6
release" mails.

With best wishes,

Graham


    </pre>
    <blockquote type="cite">
      <pre wrap=""> ../oasys-1.3.0/util/SafeRange.h should have &lt;cstring&gt; header added,
      </pre>
    </blockquote>
    <pre wrap="">not
    </pre>
    <blockquote type="cite">
      <pre wrap="">../oasys/util/SafeRange.h

Anyway, what's the point of having both release and mercurial folders
      </pre>
    </blockquote>
    <pre wrap="">in
    </pre>
    <blockquote type="cite">
      <pre wrap="">DTN2 folder?

Thanks again,

-Victor





  _____

From: Graham Keellings (Leonix Solutions Pte Ltd)
[<a class="moz-txt-link-freetext" href="mailto:Graham@LeonixSolutions.com">mailto:Graham@LeonixSolutions.com</a>]
Sent: Friday, July 03, 2009 3:42 AM
To: Victor
Cc: <a class="moz-txt-link-abbreviated" href="mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.intel-research.net</a>
Subject: Re: [dtn-users] DTN2 build errors



Victor wrote:

I have the following errors trying to build "servlib" for DTN2 2.6 on
      </pre>
    </blockquote>
    <pre wrap="">Ubuntu
    </pre>
    <blockquote type="cite">
      <pre wrap="">8.04


Victor, the "'size_t' does not name a type" is well documented on
      </pre>
    </blockquote>
    <pre wrap="">many
    </pre>
    <blockquote type="cite">
      <pre wrap="">builds, in previous mail. I will try to dig the solution out for you.

In the meantime, I cannot get the official, frozen, 2.6 to build on
      </pre>
    </blockquote>
    <pre wrap="">Ubuntu 8
    </pre>
    <blockquote type="cite">
      <pre wrap="">or 9, or Fedora 10 or 11, or Suse 11 (can anyone?) .

All that I can manage is to grab the latest nightly build from
      </pre>
    </blockquote>
    <pre wrap="">soureforge on
    </pre>
    <blockquote type="cite">
      <pre wrap="">Ubuntu 8 (it won't build on anything else which I tried) and follow
      </pre>
    </blockquote>
    <pre wrap="">this
    </pre>
    <blockquote type="cite">
      <pre wrap="">priceless advice from Jon Setzer




Here is a list of things I had to do to get DTN to work on Ubuntu
      </pre>
    </blockquote>
    <pre wrap="">back
    </pre>
    <blockquote type="cite">
      <pre wrap="">in January.  This information is a little out of date and my system
      </pre>
    </blockquote>
    <pre wrap="">is
    </pre>
    <blockquote type="cite">
      <pre wrap="">different than yours, but it might give you some ideas:

Enviroment:
There are two ways to install DTN2: get the latest build from the
mercurial repository or get the 2.6 build tarball from SourceForge.
      </pre>
    </blockquote>
    <pre wrap="">As
    </pre>
    <blockquote type="cite">
      <pre wrap="">of January 2009, the configure scripts would NOT run correctly if you
attempted to install the 2.6 build from tarball on Ubuntu Ibex(8.10).
The latest mercurial build has fixed the install issue that the 2.6
build has and will install fine on Ubuntu Ibex(8.10). You can install
the 2.6 tarball with only one problem on Ubuntu Heron(8.04), or you
      </pre>
    </blockquote>
    <pre wrap="">can
    </pre>
    <blockquote type="cite">
      <pre wrap="">see the section on additional steps to take to get the 2.6 tarball
working on Ubuntu Ibex(8.10). The rest of this tutorial assumes you
      </pre>
    </blockquote>
    <pre wrap="">are
    </pre>
    <blockquote type="cite">
      <pre wrap="">installing DTN2 on two Ubuntu Heron virtual machines updated to Jan
2009(unless otherwise noted) with the following names and IP
      </pre>
    </blockquote>
    <pre wrap="">addresses:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Install Procedure:

   1. Install these packages and their dependencies    (note from
      </pre>
    </blockquote>
    <pre wrap="">Graham -
    </pre>
    <blockquote type="cite">
      <pre wrap="">grab the xxx-dev first and dependencies will usually grab the xxx)
         1. build-essential
         2. g++
         3. libavahi-compact-libdnssd-dev
         4. libdb4.6
         5. libdb4.6-dev
         6. libxerces-c2-dev
         7. libxerces-c28
         8. libexpat1-dev
         9. mono-1.0-devel
        10. tcl8.4
        11. tcl8.4-dev
        12. tcllib
        13. tclreadline
        14. tclx8.4-dev
        15. tclx8.4
        16. zlib1g-dev
   2. cd /Some/Where/You/Want/To/Put/Install/Files
   3. mkdir dtn2
   4. cd dtn2
   5. Download Oasys
         1. Download tarball from SourceForge...OR:
               1. Download oasys-1.3.0.tgz and dtn-2.6.0.tgz from
<a class="moz-txt-link-freetext" href="http://sourceforge.net/project/showfiles.php?group_id=101657">http://sourceforge.net/project/showfiles.php?group_id=101657</a> into
      </pre>
    </blockquote>
    <pre wrap="">your
    </pre>
    <blockquote type="cite">
      <pre wrap="">dtn2 directory
               2. tar xvf oasys-1.3.0.tgz
         2. Download latest build from Mercurial: hg clone
<a class="moz-txt-link-freetext" href="http://dtn.sourceforge.net/hg/oasys">http://dtn.sourceforge.net/hg/oasys</a>
   6. Install OASYS
         1. cd oasys-1.3.0/
         2. ./build-configure.sh           &lt;=========   Note from
      </pre>
    </blockquote>
    <pre wrap="">Graham,
    </pre>
    <blockquote type="cite">
      <pre wrap="">this gave me problems &amp; I managed fine w/o it
         3. CC=gcc CXX=g++ ./configure
         4. make
         5. sudo make install
   7. cd to back to dtn2 if you are still in the oasys dir.
   8. Download DTN2
         1. Download 2.6 tarball from SourceForge...OR:
               1. Download dtn-2.6.0.tgz from
<a class="moz-txt-link-freetext" href="http://sourceforge.net/project/showfiles.php?group_id=101657">http://sourceforge.net/project/showfiles.php?group_id=101657</a> into
      </pre>
    </blockquote>
    <pre wrap="">your
    </pre>
    <blockquote type="cite">
      <pre wrap="">dtn2 directory if you haven't already.
               2. tar xvf dtn-2.6.0.tgz
         2. Download latest build from Mercurial...OR: hg clone
<a class="moz-txt-link-freetext" href="http://dtn.sourceforge.net/hg/DTN2">http://dtn.sourceforge.net/hg/DTN2</a>
   9. At this point you may want to look at dtn-2.6.0/README and
dtn-2.6.0/doc/manual/index.html
  10. Install DTN2
         1. cd dtn-2.6.0
         2. ./build-configure.sh
         4. CC=gcc CXX=g++ ./configure -C
         5. Oasys seems to compile without any changes; however, when
the DTN code is compiled it references the Oasys code and cannot
      </pre>
    </blockquote>
    <pre wrap="">resolve
    </pre>
    <blockquote type="cite">
      <pre wrap="">the symbole size_t. You need need to add the cstring library to the
scope of SafeRange.h by adding this code after line 18 of
oasys/util/SafeRange.h (I think this is fixed in the Mercurial build)

                  #ifndef size_t
                  #include &lt;cstring&gt;
                  #endif


         6. make
         7. sudo make install



Get DTN 2.6 tarball to work in Ubuntu 8.10:

   1. In oasys/aclocal/gcc.ac replace both instances of this:

         oasys_cv_prog_gccver=`$CC --version | head -n 1`
         oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed
's/.*gcc.*(GCC) //'`
         oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed 's/
.*//'`


      with this:

         oasys_cv_prog_gxxver=`$CXX -dumpversion | cut -d. -f1-2`


   2. Add #include &lt;climits&gt; to line 31 of oasys/utils/StringUtils.h
   3. Add #include &lt;climits&gt; to line 20 of oasys/tclcmd/TclCommand.cc
   4. Add #include &lt;climits&gt; to line 20 of oasys/thread/Timmer.cc
   5. Add #include &lt;cstring&gt; and #include &lt;cstdlib&gt; to line 20 of
=oasys/utils/Getopt.cc
   6. Add #include &lt;algorithm&gt; to line 22 of
oasys/utils/InitSequencer.cc
   7. Add #include &lt;cstring&gt; to line 20 of oasys/utils/MD5.cc
   8. Add #include &lt;cstring&gt; to line 20 of oasys/utils/OptParser.cc
   9. Add #include &lt;typeinfo&gt; to line 19 or
dtn/servlib/conv_layers/ECLModule.cc
  10. Add #include &lt;climits&gt; to line 20 of
=dtn/servlib/discovery/IPDiscovery.cc=0
  11. Add #include &lt;climits&gt; to line 20 of
dtn/servlib/cmd/DiscoveryCommand.cc,
      </pre>
    </blockquote>
    <pre wrap="">servlib/cmd/RegistrationCommand.cc,
    </pre>
    <blockquote type="cite">
      <pre wrap="">servlib/cmd/InterfaceCommand.cc, servlib/cmd/BundleCommand.cc
  12. Add #include &lt;sys/types.h&gt; to line 21 of
      </pre>
    </blockquote>
    <pre wrap="">dtn/servlib/prophet/Ack.h
    </pre>
    <blockquote type="cite">
      <pre wrap="">  13. Add #include &lt;cstring&gt; to line 18 of
      </pre>
    </blockquote>
    <pre wrap="">dtn/servlib/prophet/RIBTLV.cc
    </pre>
    <blockquote type="cite">
      <pre wrap="">  14. Add #include &lt;climits&gt; to line 20 of
dtn/servlib/reg/TclRegistration.cc



I hope hat this helps - I used a virgin install of Ubuntu 8 on
      </pre>
    </blockquote>
    <pre wrap="">laptops which
    </pre>
    <blockquote type="cite">
      <pre wrap="">I will use only for DTN and no other porpoise; ymmv

I have had wonderful help from the mailing lists, so if I can do
      </pre>
    </blockquote>
    <pre wrap="">anything to
    </pre>
    <blockquote type="cite">
      <pre wrap="">repay, I will try my bestest.

have a great weekend.

~graham();







Any idea what the problem is?



g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT "bundling/SequenceID.o

bundling/SequenceID.E"  -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE

-D_FILE_OFFSET_BITS=64 -I.. -I.. -I/home/mzeal/oasys-1.3.0/include
-I/home/mzeal/oasys-1.3.0/include/oasys/ext -I../servlib

-I/usr/include/tcl8.4 -I/usr/local/BerkeleyDB.4.6/include  -Wall -W
-Wcast-align  -c bundling/SequenceID.cc -o bundling/SequenceID.o In
      </pre>
    </blockquote>
    <pre wrap="">file
    </pre>
    <blockquote type="cite">
      <pre wrap="">included from bundling/SequenceID.cc:22:

../oasys/util/SafeRange.h:35: error: expected `)' before 'offset'

../oasys/util/SafeRange.h:36: error: 'size_t' does not name a type

../oasys/util/SafeRange.h:39: error: 'size_t' has not been declared

../oasys/util/SafeRange.h:42: error: declaration of 'operator[]' as
non-function

../oasys/util/SafeRange.h:42: error: expected ';' before '(' token In
      </pre>
    </blockquote>
    <pre wrap="">file
    </pre>
    <blockquote type="cite">
      <pre wrap="">included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,

                 from /usr/include/c++/4.2/iosfwd:46,

                 from /usr/include/c++/4.2/ios:43,

                 from /usr/include/c++/4.2/ostream:45,

                 from /usr/include/c++/4.2/iostream:45,

                 from ../oasys/util/../debug/Log.h:94,

                 from ../oasys/util/StringAppender.h:22,

                 from bundling/SequenceID.cc:23:

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
      </pre>
    </blockquote>
    <pre wrap="">`;'
    </pre>
    <blockquote type="cite">
      <pre wrap="">before end of line

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
      </pre>
    </blockquote>
    <pre wrap="">`}'
    </pre>
    <blockquote type="cite">
      <pre wrap="">before end of line In file included from bundling/SequenceID.cc:22:

../oasys/util/SafeRange.h: In constructor
'oasys::SafeRange&lt;_Type&gt;::SafeRange(_Type*, int)':

../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange&lt;_Type&gt;'

does not have any field named 'array_'

../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange&lt;_Type&gt;'

does not have any field named 'size_'

In file included from /usr/include/c++/4.2/i486-linux-
      </pre>
    </blockquote>
    <pre wrap="">gnu/bits/c++io.h:43,
    </pre>
    <blockquote type="cite">
      <pre wrap="">                 from /usr/include/c++/4.2/iosfwd:46,

                 from /usr/include/c++/4.2/ios:43,

                 from /usr/include/c++/4.2/ostream:45,

                 from /usr/include/c++/4.2/iostream:45,

                 from ../oasys/util/../debug/Log.h:94,

                 from ../oasys/util/StringAppender.h:22,

                 from bundling/SequenceID.cc:23:

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h: At global scope:

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
unqualified-id before end of line

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
      </pre>
    </blockquote>
    <pre wrap="">`}'
    </pre>
    <blockquote type="cite">
      <pre wrap="">before end of line

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
declaration before end of line

make[1]: *** [bundling/SequenceID.o] Error 1















  _____




_______________________________________________
dtn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.intel-research.net</a>
<a class="moz-txt-link-freetext" href="http://maillists.intel-research.net/mailman/listinfo/dtn-users">http://maillists.intel-research.net/mailman/listinfo/dtn-users</a>








      </pre>
    </blockquote>
    <pre wrap="">
--
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208
    </pre>
  </blockquote>
  <pre wrap=""><!---->

_______________________________________________
dtn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.intel-research.net</a>
<a class="moz-txt-link-freetext" href="http://maillists.intel-research.net/mailman/listinfo/dtn-users">http://maillists.intel-research.net/mailman/listinfo/dtn-users</a>

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208
</pre>
</body>
</html>

--------------010409010805040302000905--

--------------050803060802040406060902
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------050803060802040406060902--


Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6EI3XrP015675 for <dtn-users@mailman.dtnrg.org>; Tue, 14 Jul 2009 11:03:33 -0700
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Received: from [192.168.1.10] (94-30-69-47.xdsl.murphx.net [94.30.69.47]) by asmtp022.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KMS008YCA3HTA90@asmtp022.mac.com> for dtn-users@mailman.dtnrg.org; Tue, 14 Jul 2009 11:02:08 -0700 (PDT)
Message-id: <33B5BF17-D144-4A28-9847-E7032E87BD68@mac.com>
From: Darren Long <darren.long@mac.com>
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
In-reply-to: <20090714160438.59685.qmail@mzeal.com>
Date: Tue, 14 Jul 2009 19:02:04 +0100
References: <20090714160438.59685.qmail@mzeal.com>
X-Mailer: Apple Mail (2.935.3)
Subject: Re: [dtn-users] Bundle Fragmentation and encryption
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, 14 Jul 2009 18:03:33 -0000

Re question 3, the TCP-CL implements reactive bundle fragmentation if  
you allow segment acks, which IIRC is the default.  The TCP-CL  
segments according to the interface MTU size, or as dictated by TCP-CL  
link params, as appropriate.  The UDP-CL does neither, and therefore  
can deliver bundles of sizes less than the maximum UDP payload size -  
64KB (less overheads).  Any UDP-CL bundles that exceed the interface  
MTU in size will be subjected to IP fragmentation, which is known to  
be problematic under certain circumstances.

Regarding your other questions, I'm also interested to know the  
answers, as I've never tried using BSP before.

Cheers,

Darren


On 14 Jul 2009, at 17:04, Sushil Chaudhari wrote:

> Hello everyone,
> Can somebody have any idea about the following:
>
> 1. I built DTND daemon with bsp support ( --with-bsp) and I am  
> trying to send the simple text file between 2 nodes. While observing  
> on wireshark, the bundle content appears to be unencrypted at all.  
> Are there some runtime options I have to set in conf file to make  
> the encryption work, or is there some code I have to add?
> 2. Are there any options to have some verbose information regarding  
> BSP, either in dtnd console output, or in log files?
> 3. While sending a same file (696 bytes size), the behavior is  
> different for TCP and UDP. In case of TCP, I received bundle with  
> fragmentation while with UDP its without any fragmentation. Where  
> can I find the DTN2 specific rules for
> the bundle fragmentation?
>
>
> Thanks
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users



Received: from mzeal.com (mzeal.com [199.237.228.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6EG64Kk010308 for <dtn-users@maillists.intel-research.net>; Tue, 14 Jul 2009 09:06:04 -0700
Received: (qmail 59686 invoked by uid 25671); 14 Jul 2009 16:04:38 -0000
Message-ID: <20090714160438.59685.qmail@mzeal.com>
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
MIME-Version: 1.0
X-Mailer: MIME::Lite 3.0104 (F2.72; T1.15; A1.47; B3.01; Q3.01)
Date: Tue, 14 Jul 2009 16:04:38 +0000
From: "Sushil Chaudhari" <schaudhari@mzeal.com>
To: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] Bundle Fragmentation and encryption
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, 14 Jul 2009 16:06:04 -0000

Hello everyone,
Can somebody have any idea about the following:

1. I built DTND daemon with bsp support ( --with-bsp) and I am trying to send the simple text file between 2 nodes. While observing on wireshark, the bundle content appears to be unencrypted at all. Are there some runtime options I have to set in conf file to make the encryption work, or is there some code I have to add?
2. Are there any options to have some verbose information regarding BSP, either in dtnd console output, or in log files?
3. While sending a same file (696 bytes size), the behavior is different for TCP and UDP. In case of TCP, I received bundle with fragmentation while with UDP its without any fragmentation. Where can I find the DTN2 specific rules for
the bundle fragmentation?


Thanks


Received: from mzeal.com (mzeal.com [199.237.228.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6DKQiqR020910 for <dtn-users@maillists.intel-research.net>; Mon, 13 Jul 2009 13:26:44 -0700
Received: (qmail 75257 invoked by uid 25671); 13 Jul 2009 20:25:24 -0000
Message-ID: <20090713202524.75256.qmail@mzeal.com>
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
MIME-Version: 1.0
X-Mailer: MIME::Lite 3.0104 (F2.72; T1.15; A1.47; B3.01; Q3.01)
Date: Mon, 13 Jul 2009 20:25:24 +0000
From: "Sushil Chaudhari" <schaudhari@mzeal.com>
To: dtn-users@maillists.intel-research.net
Subject: [dtn-users] Reg BSP
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, 13 Jul 2009 20:26:44 -0000

Hi All,

We plan to use DTN2 for the binary file transfer over the wireless links that are intermittent, have limited bandwidth and high BER ratio. The transfer must be secure (encrypted), and lossless.

Can someone advise: what should be implemented in addition to the existing functionality in DTN2/ BSP?

Thank you.


Received: from mail-ew0-f207.google.com (mail-ew0-f207.google.com [209.85.219.207]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6DH63Yl011641 for <dtn-users@maillists.intel-research.net>; Mon, 13 Jul 2009 10:06:04 -0700
Received: by ewy3 with SMTP id 3so2341809ewy.34 for <dtn-users@maillists.intel-research.net>; Mon, 13 Jul 2009 10:04:44 -0700 (PDT)
Received: by 10.211.179.6 with SMTP id g6mr5348869ebp.49.1247504683986; Mon, 13 Jul 2009 10:04:43 -0700 (PDT)
Received: from glennogsPC (staffsangel.plus.com [84.92.196.209]) by mx.google.com with ESMTPS id 7sm11253302ewy.34.2009.07.13.10.04.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Jul 2009 10:04:42 -0700 (PDT)
From: "Ian Glennon" <ianglennon@googlemail.com>
To: <dtn-users@maillists.intel-research.net>
References: <000001c9ffc5$8109c0b0$6801a8c0@D674VYB1> <4A5A9EDD.70101@LeonixSolutions.com>
In-Reply-To: <4A5A9EDD.70101@LeonixSolutions.com>
Date: Mon, 13 Jul 2009 18:04:33 +0100
Message-ID: <001e01ca03db$ff5df7f0$fe19e7d0$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AcoDY6w/r6dPtHY6SnmjTKCSSCYDrwAd7D7Q
Content-Language: en-gb
Subject: Re: [dtn-users] DTN2 build errors
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, 13 Jul 2009 17:06:05 -0000

Graham,

I am totally new to all this, but I have some virtual machine space spare -
I use VMWare rather than VirtualBox - that I could run builds of
freeze-candidates on.  I haven't actually built any code yet, I've just been
prepping my Ubuntu VM ready for DTN and I've been trying to think of ways I
can contribute.  This sounds like an ideal opportunity.

Having not used Mercurial before (I've always been a SVN/CVS guy) I would
appreciate some pointers as to how to get a 'frozen' copy, and I'm guessing
that freeze-candidates would mandate some new thinking around release/freeze
versions.

Regards
Ian

> -----Original Message-----
> From: dtn-users-bounces@maillists.intel-research.net [mailto:dtn-users-
> bounces@maillists.intel-research.net] On Behalf Of Graham Keellings
> (Leonix Solutions Pte Ltd)
> Sent: 13 July 2009 03:42
> To: Victor
> Cc: dtn-users@maillists.intel-research.net
> Subject: Re: [dtn-users] DTN2 build errors
> 
> Victor wrote:
> > Graham,
> >
> > Thanks for the update, I've got the build working on Hardy Heron.
> >
> I'm very glad to hear that.  Now the fun starts, when try to configure
> it and get it running ;-)
> 
> 
> > The path to the SafeRange.h seems to be incorrect in both 2.6 release
> and mercurial,
> >
> I can accept problems in Mercurial, but it surprises me that a "frozen"
> version doesn't build - and we see a lot of mails about this; another
> one this morning.
> 
> I realize that it is all volunteer effort, but I wonder what we can do
> to help - personally, I have been unable to get 2.6 to build "out of
> the
> box" on a fresh install of Ubuntu 9, Ubuntu 8, Fedora 11, Fedora 6 and
> OpenSuse 11.
> 
> If it would help any, I would volunteer to make one machine available
> to
> test "freeze candidates" and totally reformat and install a few
> different Linuces to see whether the freeze candidate will build and
> run.
> 
> Alternatively, the build master could (or someone could help him to)
> use
> VirtualBox to create a bunch of virtual machines based on the current
> release of the most popular distros and use those to try to build,
> maybe
> even run, freeze candidates (or even the nightly build?) With some
> effort and some scripting, an automated build system like Hudson could
> perhaps be used?  This might be  a better approach - just dedicate a
> single PC with a bunch of virtual machines to the build.
> 
> I am not trying to push work onto anyone here, just make suggestions
> (like my suggestion that a wiki would be useful; I personally prefer a
> forum to a mailing list (but Nabble will at least mirror your mailing
> list for free and make it searchable - something which cannot easily be
> done now).
> 
> No, I'm not trying to push work at anyone - honest - and I'm willing to
> volunteer some effort myself, since I realize that we are all pushed
> for
> time.
> 
> I am just trying to make some - hopefully helpful - suggestions, based
> on my surprise that there are so many "I can't build the "stable" 2.6
> release" mails.
> 
> With best wishes,
> 
> Graham
> 
> 
> >  ../oasys-1.3.0/util/SafeRange.h should have <cstring> header added,
> not
> > ../oasys/util/SafeRange.h
> >
> > Anyway, what's the point of having both release and mercurial folders
> in
> > DTN2 folder?
> >
> > Thanks again,
> >
> > -Victor
> >
> >
> >
> >
> >
> >   _____
> >
> > From: Graham Keellings (Leonix Solutions Pte Ltd)
> > [mailto:Graham@LeonixSolutions.com]
> > Sent: Friday, July 03, 2009 3:42 AM
> > To: Victor
> > Cc: dtn-users@maillists.intel-research.net
> > Subject: Re: [dtn-users] DTN2 build errors
> >
> >
> >
> > Victor wrote:
> >
> > I have the following errors trying to build "servlib" for DTN2 2.6 on
> Ubuntu
> > 8.04
> >
> >
> > Victor, the "'size_t' does not name a type" is well documented on
> many
> > builds, in previous mail. I will try to dig the solution out for you.
> >
> > In the meantime, I cannot get the official, frozen, 2.6 to build on
> Ubuntu 8
> > or 9, or Fedora 10 or 11, or Suse 11 (can anyone?) .
> >
> > All that I can manage is to grab the latest nightly build from
> soureforge on
> > Ubuntu 8 (it won't build on anything else which I tried) and follow
> this
> > priceless advice from Jon Setzer
> >
> >
> >
> >
> > Here is a list of things I had to do to get DTN to work on Ubuntu
> back
> > in January.  This information is a little out of date and my system
> is
> > different than yours, but it might give you some ideas:
> >
> > Enviroment:
> > There are two ways to install DTN2: get the latest build from the
> > mercurial repository or get the 2.6 build tarball from SourceForge.
> As
> > of January 2009, the configure scripts would NOT run correctly if you
> > attempted to install the 2.6 build from tarball on Ubuntu Ibex(8.10).
> > The latest mercurial build has fixed the install issue that the 2.6
> > build has and will install fine on Ubuntu Ibex(8.10). You can install
> > the 2.6 tarball with only one problem on Ubuntu Heron(8.04), or you
> can
> > see the section on additional steps to take to get the 2.6 tarball
> > working on Ubuntu Ibex(8.10). The rest of this tutorial assumes you
> are
> > installing DTN2 on two Ubuntu Heron virtual machines updated to Jan
> > 2009(unless otherwise noted) with the following names and IP
> addresses:
> >
> > Install Procedure:
> >
> >    1. Install these packages and their dependencies    (note from
> Graham -
> > grab the xxx-dev first and dependencies will usually grab the xxx)
> >          1. build-essential
> >          2. g++
> >          3. libavahi-compact-libdnssd-dev
> >          4. libdb4.6
> >          5. libdb4.6-dev
> >          6. libxerces-c2-dev
> >          7. libxerces-c28
> >          8. libexpat1-dev
> >          9. mono-1.0-devel
> >         10. tcl8.4
> >         11. tcl8.4-dev
> >         12. tcllib
> >         13. tclreadline
> >         14. tclx8.4-dev
> >         15. tclx8.4
> >         16. zlib1g-dev
> >    2. cd /Some/Where/You/Want/To/Put/Install/Files
> >    3. mkdir dtn2
> >    4. cd dtn2
> >    5. Download Oasys
> >          1. Download tarball from SourceForge...OR:
> >                1. Download oasys-1.3.0.tgz and dtn-2.6.0.tgz from
> > http://sourceforge.net/project/showfiles.php?group_id=101657 into
> your
> > dtn2 directory
> >                2. tar xvf oasys-1.3.0.tgz
> >          2. Download latest build from Mercurial: hg clone
> > http://dtn.sourceforge.net/hg/oasys
> >    6. Install OASYS
> >          1. cd oasys-1.3.0/
> >          2. ./build-configure.sh           <=========   Note from
> Graham,
> > this gave me problems & I managed fine w/o it
> >          3. CC=gcc CXX=g++ ./configure
> >          4. make
> >          5. sudo make install
> >    7. cd to back to dtn2 if you are still in the oasys dir.
> >    8. Download DTN2
> >          1. Download 2.6 tarball from SourceForge...OR:
> >                1. Download dtn-2.6.0.tgz from
> > http://sourceforge.net/project/showfiles.php?group_id=101657 into
> your
> > dtn2 directory if you haven't already.
> >                2. tar xvf dtn-2.6.0.tgz
> >          2. Download latest build from Mercurial...OR: hg clone
> > http://dtn.sourceforge.net/hg/DTN2
> >    9. At this point you may want to look at dtn-2.6.0/README and
> > dtn-2.6.0/doc/manual/index.html
> >   10. Install DTN2
> >          1. cd dtn-2.6.0
> >          2. ./build-configure.sh
> >          4. CC=gcc CXX=g++ ./configure -C
> >          5. Oasys seems to compile without any changes; however, when
> > the DTN code is compiled it references the Oasys code and cannot
> resolve
> > the symbole size_t. You need need to add the cstring library to the
> > scope of SafeRange.h by adding this code after line 18 of
> > oasys/util/SafeRange.h (I think this is fixed in the Mercurial build)
> >
> >                   #ifndef size_t
> >                   #include <cstring>
> >                   #endif
> >
> >
> >          6. make
> >          7. sudo make install
> >
> >
> >
> > Get DTN 2.6 tarball to work in Ubuntu 8.10:
> >
> >    1. In oasys/aclocal/gcc.ac replace both instances of this:
> >
> >          oasys_cv_prog_gccver=`$CC --version | head -n 1`
> >          oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed
> > 's/.*gcc.*(GCC) //'`
> >          oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed 's/
> > .*//'`
> >
> >
> >       with this:
> >
> >          oasys_cv_prog_gxxver=`$CXX -dumpversion | cut -d. -f1-2`
> >
> >
> >    2. Add #include <climits> to line 31 of oasys/utils/StringUtils.h
> >    3. Add #include <climits> to line 20 of oasys/tclcmd/TclCommand.cc
> >    4. Add #include <climits> to line 20 of oasys/thread/Timmer.cc
> >    5. Add #include <cstring> and #include <cstdlib> to line 20 of
> > =oasys/utils/Getopt.cc
> >    6. Add #include <algorithm> to line 22 of
> > oasys/utils/InitSequencer.cc
> >    7. Add #include <cstring> to line 20 of oasys/utils/MD5.cc
> >    8. Add #include <cstring> to line 20 of oasys/utils/OptParser.cc
> >    9. Add #include <typeinfo> to line 19 or
> > dtn/servlib/conv_layers/ECLModule.cc
> >   10. Add #include <climits> to line 20 of
> > =dtn/servlib/discovery/IPDiscovery.cc=0
> >   11. Add #include <climits> to line 20 of
> > dtn/servlib/cmd/DiscoveryCommand.cc,
> servlib/cmd/RegistrationCommand.cc,
> > servlib/cmd/InterfaceCommand.cc, servlib/cmd/BundleCommand.cc
> >   12. Add #include <sys/types.h> to line 21 of
> dtn/servlib/prophet/Ack.h
> >   13. Add #include <cstring> to line 18 of
> dtn/servlib/prophet/RIBTLV.cc
> >   14. Add #include <climits> to line 20 of
> > dtn/servlib/reg/TclRegistration.cc
> >
> >
> >
> > I hope hat this helps - I used a virgin install of Ubuntu 8 on
> laptops which
> > I will use only for DTN and no other porpoise; ymmv
> >
> > I have had wonderful help from the mailing lists, so if I can do
> anything to
> > repay, I will try my bestest.
> >
> > have a great weekend.
> >
> > ~graham();
> >
> >
> >
> >
> >
> >
> >
> > Any idea what the problem is?
> >
> >
> >
> > g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT "bundling/SequenceID.o
> >
> > bundling/SequenceID.E"  -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE
> >
> > -D_FILE_OFFSET_BITS=64 -I.. -I.. -I/home/mzeal/oasys-1.3.0/include
> > -I/home/mzeal/oasys-1.3.0/include/oasys/ext -I../servlib
> >
> > -I/usr/include/tcl8.4 -I/usr/local/BerkeleyDB.4.6/include  -Wall -W
> > -Wcast-align  -c bundling/SequenceID.cc -o bundling/SequenceID.o In
> file
> > included from bundling/SequenceID.cc:22:
> >
> > ../oasys/util/SafeRange.h:35: error: expected `)' before 'offset'
> >
> > ../oasys/util/SafeRange.h:36: error: 'size_t' does not name a type
> >
> > ../oasys/util/SafeRange.h:39: error: 'size_t' has not been declared
> >
> > ../oasys/util/SafeRange.h:42: error: declaration of 'operator[]' as
> > non-function
> >
> > ../oasys/util/SafeRange.h:42: error: expected ';' before '(' token In
> file
> > included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,
> >
> >                  from /usr/include/c++/4.2/iosfwd:46,
> >
> >                  from /usr/include/c++/4.2/ios:43,
> >
> >                  from /usr/include/c++/4.2/ostream:45,
> >
> >                  from /usr/include/c++/4.2/iostream:45,
> >
> >                  from ../oasys/util/../debug/Log.h:94,
> >
> >                  from ../oasys/util/StringAppender.h:22,
> >
> >                  from bundling/SequenceID.cc:23:
> >
> > /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
> `;'
> > before end of line
> >
> > /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
> `}'
> > before end of line In file included from bundling/SequenceID.cc:22:
> >
> > ../oasys/util/SafeRange.h: In constructor
> > 'oasys::SafeRange<_Type>::SafeRange(_Type*, int)':
> >
> > ../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
> >
> > does not have any field named 'array_'
> >
> > ../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
> >
> > does not have any field named 'size_'
> >
> > In file included from /usr/include/c++/4.2/i486-linux-
> gnu/bits/c++io.h:43,
> >
> >                  from /usr/include/c++/4.2/iosfwd:46,
> >
> >                  from /usr/include/c++/4.2/ios:43,
> >
> >                  from /usr/include/c++/4.2/ostream:45,
> >
> >                  from /usr/include/c++/4.2/iostream:45,
> >
> >                  from ../oasys/util/../debug/Log.h:94,
> >
> >                  from ../oasys/util/StringAppender.h:22,
> >
> >                  from bundling/SequenceID.cc:23:
> >
> > /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h: At global scope:
> >
> > /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
> > unqualified-id before end of line
> >
> > /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
> `}'
> > before end of line
> >
> > /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
> > declaration before end of line
> >
> > make[1]: *** [bundling/SequenceID.o] Error 1
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >   _____
> >
> >
> >
> >
> > _______________________________________________
> > dtn-users mailing list
> > dtn-users@maillists.intel-research.net
> > http://maillists.intel-research.net/mailman/listinfo/dtn-users
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> --
> Technical Director
> Leonix Solutions (Pte) Ltd
> 18 Boon Lay Way
> #09-95 TradeHub 21
> Singapore 609966
> Telephone:+65 6316 9968
> Fax: +65 6316 9208




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 n6DEX9kc004669 for <dtn-users@maillists.intel-research.net>; Mon, 13 Jul 2009 07:33:09 -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 n6DEVp12020566 for <dtn-users@maillists.intel-research.net>; Mon, 13 Jul 2009 10:31:51 -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 n6DEVonX020551 for <dtn-users@maillists.intel-research.net>; Mon, 13 Jul 2009 10:31:50 -0400
Received: from IMCMBX4.MITRE.ORG ([129.83.29.207]) by imchub2.MITRE.ORG ([129.83.29.74]) with mapi; Mon, 13 Jul 2009 10:31:50 -0400
From: "Chirieleison, Don M." <donc@mitre.org>
To: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Date: Mon, 13 Jul 2009 10:31:46 -0400
Thread-Topic: DTN Dissector for Wireshark
Thread-Index: AcoDxqa+yvVaZPmiT7KvQzs+x9Iwtw==
Message-ID: <29705F5F232FBC4C96D1CAE867538F0B0BB3F30303@IMCMBX4.MITRE.ORG>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-cr-puzzleid: {E17C553C-4A57-44C4-A4AF-00A10D8A8EEE}
x-cr-hashedpuzzle: BFv1 Cl0N C09A ErJJ E1Vi FcRL F8jQ GO2t HM7v HUz5 H6Vt IH/c Ig22 JTxe KIZf KnHP; 1; ZAB0AG4ALQB1AHMAZQByAHMAQABtAGEAaQBsAGwAaQBzAHQAcwAuAGkAbgB0AGUAbAAtAHIAZQBzAGUAYQByAGMAaAAuAG4AZQB0AA==; Sosha1_v1; 7; {E17C553C-4A57-44C4-A4AF-00A10D8A8EEE}; ZABvAG4AYwBAAG0AaQB0AHIAZQAuAG8AcgBnAA==; Mon, 13 Jul 2009 14:31:47 GMT; RABUAE4AIABEAGkAcwBzAGUAYwB0AG8AcgAgAGYAbwByACAAVwBpAHIAZQBzAGgAYQByAGsA
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 n6DEX9kc004669
Subject: [dtn-users] DTN Dissector for Wireshark
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, 13 Jul 2009 14:33:10 -0000

A DTN dissector is now included in the Wireshark source distribution.
It decodes the TCP and UDP convergence layers. Any version after
1.3-29010 should include the DTN dissector. A source code tar file
can be downloaded from http://www.wireshark.org/download/automatic/src.

Regards,
Don Chirieleison
MITRE Corporation



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 n6D2gsMF004534 for <dtn-users@maillists.intel-research.net>; Sun, 12 Jul 2009 19:42:54 -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 1MQBU0-0004sm-Et; Sun, 12 Jul 2009 22:41:37 -0400
Message-ID: <4A5A9EDD.70101@LeonixSolutions.com>
Date: Mon, 13 Jul 2009 10:41:33 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: Victor <vlyamtsev@mzeal.com>
References: <000001c9ffc5$8109c0b0$6801a8c0@D674VYB1>
In-Reply-To: <000001c9ffc5$8109c0b0$6801a8c0@D674VYB1>
Content-Type: multipart/mixed; boundary="------------000108090306030403030309"
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: 
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] DTN2 build errors
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, 13 Jul 2009 02:42:55 -0000

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

Victor wrote:
> Graham,
>
> Thanks for the update, I've got the build working on Hardy Heron.
>   
I'm very glad to hear that.  Now the fun starts, when try to configure 
it and get it running ;-)


> The path to the SafeRange.h seems to be incorrect in both 2.6 release and mercurial,
>   
I can accept problems in Mercurial, but it surprises me that a "frozen" 
version doesn't build - and we see a lot of mails about this; another 
one this morning.

I realize that it is all volunteer effort, but I wonder what we can do 
to help - personally, I have been unable to get 2.6 to build "out of the 
box" on a fresh install of Ubuntu 9, Ubuntu 8, Fedora 11, Fedora 6 and 
OpenSuse 11.

If it would help any, I would volunteer to make one machine available to 
test "freeze candidates" and totally reformat and install a few 
different Linuces to see whether the freeze candidate will build and run.

Alternatively, the build master could (or someone could help him to) use 
VirtualBox to create a bunch of virtual machines based on the current 
release of the most popular distros and use those to try to build, maybe 
even run, freeze candidates (or even the nightly build?) With some 
effort and some scripting, an automated build system like Hudson could 
perhaps be used?  This might be  a better approach - just dedicate a 
single PC with a bunch of virtual machines to the build.

I am not trying to push work onto anyone here, just make suggestions 
(like my suggestion that a wiki would be useful; I personally prefer a 
forum to a mailing list (but Nabble will at least mirror your mailing 
list for free and make it searchable - something which cannot easily be 
done now).

No, I'm not trying to push work at anyone - honest - and I'm willing to 
volunteer some effort myself, since I realize that we are all pushed for 
time.

I am just trying to make some - hopefully helpful - suggestions, based 
on my surprise that there are so many "I can't build the "stable" 2.6 
release" mails.

With best wishes,

Graham


>  ../oasys-1.3.0/util/SafeRange.h should have <cstring> header added, not
> ../oasys/util/SafeRange.h
>
> Anyway, what's the point of having both release and mercurial folders in
> DTN2 folder? 
>
> Thanks again,
>
> -Victor
>
>  
>
>  
>
>   _____  
>
> From: Graham Keellings (Leonix Solutions Pte Ltd)
> [mailto:Graham@LeonixSolutions.com] 
> Sent: Friday, July 03, 2009 3:42 AM
> To: Victor
> Cc: dtn-users@maillists.intel-research.net
> Subject: Re: [dtn-users] DTN2 build errors
>
>  
>
> Victor wrote: 
>
> I have the following errors trying to build "servlib" for DTN2 2.6 on Ubuntu
> 8.04
>   
>
> Victor, the "'size_t' does not name a type" is well documented on many
> builds, in previous mail. I will try to dig the solution out for you.
>
> In the meantime, I cannot get the official, frozen, 2.6 to build on Ubuntu 8
> or 9, or Fedora 10 or 11, or Suse 11 (can anyone?) .
>
> All that I can manage is to grab the latest nightly build from soureforge on
> Ubuntu 8 (it won't build on anything else which I tried) and follow this
> priceless advice from Jon Setzer
>
>
>
>
> Here is a list of things I had to do to get DTN to work on Ubuntu back
> in January.  This information is a little out of date and my system is
> different than yours, but it might give you some ideas:
>  
> Enviroment:
> There are two ways to install DTN2: get the latest build from the
> mercurial repository or get the 2.6 build tarball from SourceForge. As
> of January 2009, the configure scripts would NOT run correctly if you
> attempted to install the 2.6 build from tarball on Ubuntu Ibex(8.10).
> The latest mercurial build has fixed the install issue that the 2.6
> build has and will install fine on Ubuntu Ibex(8.10). You can install
> the 2.6 tarball with only one problem on Ubuntu Heron(8.04), or you can
> see the section on additional steps to take to get the 2.6 tarball
> working on Ubuntu Ibex(8.10). The rest of this tutorial assumes you are
> installing DTN2 on two Ubuntu Heron virtual machines updated to Jan
> 2009(unless otherwise noted) with the following names and IP addresses:
>  
> Install Procedure:
>  
>    1. Install these packages and their dependencies    (note from Graham -
> grab the xxx-dev first and dependencies will usually grab the xxx)
>          1. build-essential
>          2. g++
>          3. libavahi-compact-libdnssd-dev
>          4. libdb4.6
>          5. libdb4.6-dev
>          6. libxerces-c2-dev
>          7. libxerces-c28
>          8. libexpat1-dev
>          9. mono-1.0-devel
>         10. tcl8.4
>         11. tcl8.4-dev
>         12. tcllib
>         13. tclreadline
>         14. tclx8.4-dev
>         15. tclx8.4
>         16. zlib1g-dev 
>    2. cd /Some/Where/You/Want/To/Put/Install/Files
>    3. mkdir dtn2
>    4. cd dtn2
>    5. Download Oasys
>          1. Download tarball from SourceForge...OR:
>                1. Download oasys-1.3.0.tgz and dtn-2.6.0.tgz from
> http://sourceforge.net/project/showfiles.php?group_id=101657 into your
> dtn2 directory
>                2. tar xvf oasys-1.3.0.tgz 
>          2. Download latest build from Mercurial: hg clone
> http://dtn.sourceforge.net/hg/oasys
>    6. Install OASYS
>          1. cd oasys-1.3.0/
>          2. ./build-configure.sh           <=========   Note from Graham,
> this gave me problems & I managed fine w/o it
>          3. CC=gcc CXX=g++ ./configure
>          4. make
>          5. sudo make install 
>    7. cd to back to dtn2 if you are still in the oasys dir.
>    8. Download DTN2
>          1. Download 2.6 tarball from SourceForge...OR:
>                1. Download dtn-2.6.0.tgz from
> http://sourceforge.net/project/showfiles.php?group_id=101657 into your
> dtn2 directory if you haven't already.
>                2. tar xvf dtn-2.6.0.tgz 
>          2. Download latest build from Mercurial...OR: hg clone
> http://dtn.sourceforge.net/hg/DTN2
>    9. At this point you may want to look at dtn-2.6.0/README and
> dtn-2.6.0/doc/manual/index.html
>   10. Install DTN2
>          1. cd dtn-2.6.0
>          2. ./build-configure.sh
>          4. CC=gcc CXX=g++ ./configure -C
>          5. Oasys seems to compile without any changes; however, when
> the DTN code is compiled it references the Oasys code and cannot resolve
> the symbole size_t. You need need to add the cstring library to the
> scope of SafeRange.h by adding this code after line 18 of
> oasys/util/SafeRange.h (I think this is fixed in the Mercurial build)
>  
>                   #ifndef size_t
>                   #include <cstring>
>                   #endif 
>                   
>  
>          6. make
>          7. sudo make install 
>  
>  
>  
> Get DTN 2.6 tarball to work in Ubuntu 8.10:
>  
>    1. In oasys/aclocal/gcc.ac replace both instances of this:
>  
>          oasys_cv_prog_gccver=`$CC --version | head -n 1`
>          oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed
> 's/.*gcc.*(GCC) //'`
>          oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed 's/
> .*//'`
>          
>  
>       with this:
>  
>          oasys_cv_prog_gxxver=`$CXX -dumpversion | cut -d. -f1-2`
>          
>  
>    2. Add #include <climits> to line 31 of oasys/utils/StringUtils.h
>    3. Add #include <climits> to line 20 of oasys/tclcmd/TclCommand.cc
>    4. Add #include <climits> to line 20 of oasys/thread/Timmer.cc
>    5. Add #include <cstring> and #include <cstdlib> to line 20 of
> =oasys/utils/Getopt.cc
>    6. Add #include <algorithm> to line 22 of
> oasys/utils/InitSequencer.cc
>    7. Add #include <cstring> to line 20 of oasys/utils/MD5.cc
>    8. Add #include <cstring> to line 20 of oasys/utils/OptParser.cc
>    9. Add #include <typeinfo> to line 19 or
> dtn/servlib/conv_layers/ECLModule.cc
>   10. Add #include <climits> to line 20 of
> =dtn/servlib/discovery/IPDiscovery.cc=0
>   11. Add #include <climits> to line 20 of
> dtn/servlib/cmd/DiscoveryCommand.cc, servlib/cmd/RegistrationCommand.cc,
> servlib/cmd/InterfaceCommand.cc, servlib/cmd/BundleCommand.cc
>   12. Add #include <sys/types.h> to line 21 of dtn/servlib/prophet/Ack.h
>   13. Add #include <cstring> to line 18 of dtn/servlib/prophet/RIBTLV.cc
>   14. Add #include <climits> to line 20 of
> dtn/servlib/reg/TclRegistration.cc 
>  
>  
>
> I hope hat this helps - I used a virgin install of Ubuntu 8 on laptops which
> I will use only for DTN and no other porpoise; ymmv
>
> I have had wonderful help from the mailing lists, so if I can do anything to
> repay, I will try my bestest.
>
> have a great weekend.
>
> ~graham();
>
>
>
>
>
>
>  
> Any idea what the problem is?
>  
>  
>  
> g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT "bundling/SequenceID.o
>  
> bundling/SequenceID.E"  -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE
>  
> -D_FILE_OFFSET_BITS=64 -I.. -I.. -I/home/mzeal/oasys-1.3.0/include
> -I/home/mzeal/oasys-1.3.0/include/oasys/ext -I../servlib
>  
> -I/usr/include/tcl8.4 -I/usr/local/BerkeleyDB.4.6/include  -Wall -W
> -Wcast-align  -c bundling/SequenceID.cc -o bundling/SequenceID.o In file
> included from bundling/SequenceID.cc:22:
>  
> ../oasys/util/SafeRange.h:35: error: expected `)' before 'offset'
>  
> ../oasys/util/SafeRange.h:36: error: 'size_t' does not name a type
>  
> ../oasys/util/SafeRange.h:39: error: 'size_t' has not been declared
>  
> ../oasys/util/SafeRange.h:42: error: declaration of 'operator[]' as
> non-function
>  
> ../oasys/util/SafeRange.h:42: error: expected ';' before '(' token In file
> included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,
>  
>                  from /usr/include/c++/4.2/iosfwd:46,
>  
>                  from /usr/include/c++/4.2/ios:43,
>  
>                  from /usr/include/c++/4.2/ostream:45,
>  
>                  from /usr/include/c++/4.2/iostream:45,
>  
>                  from ../oasys/util/../debug/Log.h:94,
>  
>                  from ../oasys/util/StringAppender.h:22,
>  
>                  from bundling/SequenceID.cc:23:
>  
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `;'
> before end of line
>  
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
> before end of line In file included from bundling/SequenceID.cc:22:
>  
> ../oasys/util/SafeRange.h: In constructor
> 'oasys::SafeRange<_Type>::SafeRange(_Type*, int)':
>  
> ../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
>  
> does not have any field named 'array_'
>  
> ../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
>  
> does not have any field named 'size_'
>  
> In file included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,
>  
>                  from /usr/include/c++/4.2/iosfwd:46,
>  
>                  from /usr/include/c++/4.2/ios:43,
>  
>                  from /usr/include/c++/4.2/ostream:45,
>  
>                  from /usr/include/c++/4.2/iostream:45,
>  
>                  from ../oasys/util/../debug/Log.h:94,
>  
>                  from ../oasys/util/StringAppender.h:22,
>  
>                  from bundling/SequenceID.cc:23:
>  
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h: At global scope:
>  
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
> unqualified-id before end of line
>  
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
> before end of line
>  
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
> declaration before end of line
>  
> make[1]: *** [bundling/SequenceID.o] Error 1
>  
>  
>  
>  
>  
>  
>  
>  
>   
>  
>
>
>
>
>
>   _____  
>
>
>
>  
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>   
>
>
>
>
>
>
>   


-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208


--------------000108090306030403030309
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------000108090306030403030309--


Received: from a.painless.aaisp.net.uk (a.painless.aaisp.net.uk [81.187.30.51]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6D0pFx1031900 for <dtn-users@mailman.dtnrg.org>; Sun, 12 Jul 2009 17:51:16 -0700
Received: from study.folly.org.uk ([81.187.254.244] helo=[127.0.0.1]) by a.painless.aaisp.net.uk with esmtp (Exim 4.69) (envelope-from <elwynd@folly.org.uk>) id 1MQ9jy-0008Ps-8r; Mon, 13 Jul 2009 01:49:58 +0100
Message-ID: <4A5A84A7.5040602@folly.org.uk>
Date: Mon, 13 Jul 2009 01:49:43 +0100
From: Elwyn Davies <elwynd@folly.org.uk>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
References: <D5E8CAA9-9676-43B2-B291-6D3E2F74C5B4@mac.com> <4A58753C.704@cs.tcd.ie>
In-Reply-To: <4A58753C.704@cs.tcd.ie>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Can't build DTN2 tip on OS X (10.5.7 Intel, 10.4.11 PPC)
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, 13 Jul 2009 00:51:16 -0000

Check out if there is an xdr_hyper or an xdr_int64 routine defined.  The 
keyword used in xdr language is 'hyper' and the types.h file in 
/usr/include/rpc on my Linux box has all of xdr_int64,  xdr_quad and 
xdr_hyper - they have the same signature using quad_t for the parameter.

Hyper ints were a relatively late addition to Sun rpc.  I observe that 
rpcgen on NETBSD was only updated this year to allow for hyper and 
quad!  I say relatively because I see the keyword 'hyper' is in the 1990 
version of the XDR protocol spec (when it still belonged to Sun) - Sad 
git that I am, I have a copy of the Sun network programming guide from 
1990 about my person. However the RPC programming guide in this bundle 
doesn't document the xdr_en/decoding function for hyper (probably 
because it was not updated from the earlier version (pre-1985) which 
didn't have hyper - at least as far as I remember!).  Thus there is 
probably some disagreement about what this function is called.

Implementation of hyper ints in rpcgen seems to be somewhat haphazard.  
The version in the (official) nfs-utils code still doesn't support it at 
all.  The version in (Gentoo) Linux seems to come with glibc and 
generates the quad ouput.  What version OpenWRT and OSx are using is 
anybody's guess!

Regards,
Elwyn


Stephen Farrell wrote:
> Hit this yesterday doing an openwrt build. Those xdr funcs are in libc
> but apparently not on all platforms. No idea if this is a recent change
> to rpcgen or something.
>
> I hacked it for now by including some code from some version of libc (as
> per the attached, see SFHACK code). Not the right thing at all, but
> might get you ahead a bit until we figure this out.
>
> Note that I didn't have time to test this yet - Alex might get to that
> next week, not sure - so it might just not work at all but it might save
> you a bit of time.
>
> Cheers,
> S.
>
>
> Darren Long wrote:
>   
>> I'm trying to build on my Macs from the DTN2 sourceforge repo tip, and  
>> I'm getting build failures that seem to have been introduced in  
>> changeset 3440.
>>
>> http://dtn.sourceforge.net/cgi-bin/hgwebdir.cgi/DTN2/raw-rev/bdd57cc42b3b
>>
>> g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT ".o .E"  -DHAVE_CONFIG_H - 
>> D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -I.. -I/Users/darren/ 
>> source/oasys/include -I/Users/darren/source/oasys/include/oasys/ext - 
>> I../servlib -I/opt/local/include  -Wall -W -Wcast-align   
>> dtn_types_xdr.o dtn_api.o dtn_errno.o dtn_ipc.o sdnv-c.o ../dtn- 
>> version.o -dynamiclib -single_module -fPIC -DPIC -L.  -o  
>> libdtnapi-2.6.0.dylib
>> Undefined symbols:
>>    "_xdr_u_quad_t", referenced from:
>>        _xdr_dtn_timestamp_t in dtn_types_xdr.o
>>        _xdr_dtn_timestamp_t in dtn_types_xdr.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[1]: *** [libdtnapi-2.6.0.dylib] Error 1
>>
>> Does anyone know of a fix or workaround  for this?
>>
>> Cheers,
>>
>> Darren
>> _______________________________________________
>> 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 mail-gx0-f220.google.com (mail-gx0-f220.google.com [209.85.217.220]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6CKDdQI019450 for <dtn-users@maillists.intel-research.net>; Sun, 12 Jul 2009 13:13:39 -0700
Received: by gxk20 with SMTP id 20so11510820gxk.10 for <dtn-users@maillists.intel-research.net>; Sun, 12 Jul 2009 13:12:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.151.38.12 with SMTP id q12mr6841740ybj.166.1247429544536; Sun,  12 Jul 2009 13:12:24 -0700 (PDT)
Date: Sun, 12 Jul 2009 15:12:24 -0500
Message-ID: <103513710907121312q5798391cmfdda2c3ed4e2138c@mail.gmail.com>
From: Tony Petz <agoston.petz@gmail.com>
To: dtn-users@maillists.intel-research.net
Content-Type: multipart/alternative; boundary=001517511032e26ccc046e87d286
Subject: [dtn-users] External convergence layer support
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, 12 Jul 2009 20:13:39 -0000

--001517511032e26ccc046e87d286
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi, this is my first time posting to the list. I'm a grad student doing
DTN-related research at the University of Texas, and trying to get dtnd to
play nice with the click modular router
(link<http://read.cs.ucla.edu/click/>).
Basically I'm trying to to run the Bundle protocol over a custom convergence
layer that I am writing as a series of Click modules, and to do it I thought
the best method might be to make use of the XML based external convergence
layer. It seems like the cleanest way to interface dtnd and Click.

However, I'm having trouble understanding how exactly the ECL is supposed to
work and I was wondering if anybody had developed any code that uses it.
The only/best piece of documentation I've found is this (
http://www.dtnrg.org/docs/code/DTN2/doc/manual/cl-extcl.html) and I guess
I'm still lost on the specifics.  Anyone have any success getting ECL to
work?

Thanks a bunch,
-tony

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

Hi, this is my first time posting to the list. I&#39;m a grad student doing=
 DTN-related research at the University of Texas, and trying to get dtnd to=
 play nice with the click modular router (<a href=3D"http://read.cs.ucla.ed=
u/click/">link</a>).=A0 Basically I&#39;m trying to to run the Bundle proto=
col over a custom convergence layer that I am writing as a series of Click =
modules, and to do it I thought the best method might be to make use of the=
 XML based external convergence layer. It seems like the cleanest way to in=
terface dtnd and Click.<br>
<br>However, I&#39;m having trouble understanding how exactly the ECL is su=
pposed to work and I was wondering if anybody had developed any code that u=
ses it.=A0 The only/best piece of documentation I&#39;ve found is this (<a =
href=3D"http://www.dtnrg.org/docs/code/DTN2/doc/manual/cl-extcl.html">http:=
//www.dtnrg.org/docs/code/DTN2/doc/manual/cl-extcl.html</a>) and I guess I&=
#39;m still lost on the specifics.=A0 Anyone have any success getting ECL t=
o work?=A0 <br>
<br>Thanks a bunch,<br>-tony<br>

--001517511032e26ccc046e87d286--


Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6BD5JSH001507 for <dtn-users@mailman.dtnrg.org>; Sat, 11 Jul 2009 06:05:19 -0700
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Received: from [192.168.1.10] (94-30-69-47.xdsl.murphx.net [94.30.69.47]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KMM00J8YCB12D70@asmtp015.mac.com> for dtn-users@mailman.dtnrg.org; Sat, 11 Jul 2009 06:04:16 -0700 (PDT)
Message-id: <70CD9841-0F48-4D95-B25B-743D37FF934D@mac.com>
From: Darren Long <darren.long@mac.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
In-reply-to: <4A58753C.704@cs.tcd.ie>
Date: Sat, 11 Jul 2009 14:04:12 +0100
References: <D5E8CAA9-9676-43B2-B291-6D3E2F74C5B4@mac.com> <4A58753C.704@cs.tcd.ie>
X-Mailer: Apple Mail (2.935.3)
Cc: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Can't build DTN2 tip on OS X (10.5.7 Intel, 10.4.11 PPC)
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, 11 Jul 2009 13:05:20 -0000

Thanks Stephen,

That works for me on both machines.

Cheers,

Darren

On 11 Jul 2009, at 12:19, Stephen Farrell wrote:

>
> Hit this yesterday doing an openwrt build. Those xdr funcs are in libc
> but apparently not on all platforms. No idea if this is a recent  
> change
> to rpcgen or something.
>
> I hacked it for now by including some code from some version of libc  
> (as
> per the attached, see SFHACK code). Not the right thing at all, but
> might get you ahead a bit until we figure this out.
>
> Note that I didn't have time to test this yet - Alex might get to that
> next week, not sure - so it might just not work at all but it might  
> save
> you a bit of time.
>
> Cheers,
> S.
>



Received: from relay.imagine.ie (dns2.dns.imagine.ie [87.232.1.41]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6BBKbhs029261 for <dtn-users@mailman.dtnrg.org>; Sat, 11 Jul 2009 04:20:37 -0700
Received: from mail1.int.imagine.ie (mail1 [87.232.1.152]) by relay.imagine.ie (Postfix) with ESMTP id 2ADC45033; Sat, 11 Jul 2009 12:19:33 +0100 (IST)
Received: from [10.87.48.9] (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 n6BBJRl3004724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 11 Jul 2009 12:19:28 +0100
Message-ID: <4A58753C.704@cs.tcd.ie>
Date: Sat, 11 Jul 2009 12:19:24 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Thunderbird 2.0.0.22 (X11/20090605)
MIME-Version: 1.0
To: Darren Long <darren.long@mac.com>
References: <D5E8CAA9-9676-43B2-B291-6D3E2F74C5B4@mac.com>
In-Reply-To: <D5E8CAA9-9676-43B2-B291-6D3E2F74C5B4@mac.com>
X-Enigmail-Version: 0.95.7
Content-Type: multipart/mixed; boundary="------------030901030402020404040906"
X-Bayes-Prob: 0.0001 (Score 0)
X-Spam-Score: 0.00 () [Hold at 8.00] 
X-Canit-Stats-ID: 45768897 - 98e0f2d589c2 (trained as not-spam)
X-CanItPRO-Stream: outgoing
X-Scanned-By: CanIt (www . roaringpenguin . com) on 87.232.1.52
Cc: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Can't build DTN2 tip on OS X (10.5.7 Intel, 10.4.11 PPC)
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, 11 Jul 2009 11:20:38 -0000

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


Hit this yesterday doing an openwrt build. Those xdr funcs are in libc
but apparently not on all platforms. No idea if this is a recent change
to rpcgen or something.

I hacked it for now by including some code from some version of libc (as
per the attached, see SFHACK code). Not the right thing at all, but
might get you ahead a bit until we figure this out.

Note that I didn't have time to test this yet - Alex might get to that
next week, not sure - so it might just not work at all but it might save
you a bit of time.

Cheers,
S.


Darren Long wrote:
> I'm trying to build on my Macs from the DTN2 sourceforge repo tip, and  
> I'm getting build failures that seem to have been introduced in  
> changeset 3440.
> 
> http://dtn.sourceforge.net/cgi-bin/hgwebdir.cgi/DTN2/raw-rev/bdd57cc42b3b
> 
> g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT ".o .E"  -DHAVE_CONFIG_H - 
> D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -I.. -I/Users/darren/ 
> source/oasys/include -I/Users/darren/source/oasys/include/oasys/ext - 
> I../servlib -I/opt/local/include  -Wall -W -Wcast-align   
> dtn_types_xdr.o dtn_api.o dtn_errno.o dtn_ipc.o sdnv-c.o ../dtn- 
> version.o -dynamiclib -single_module -fPIC -DPIC -L.  -o  
> libdtnapi-2.6.0.dylib
> Undefined symbols:
>    "_xdr_u_quad_t", referenced from:
>        _xdr_dtn_timestamp_t in dtn_types_xdr.o
>        _xdr_dtn_timestamp_t in dtn_types_xdr.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [libdtnapi-2.6.0.dylib] Error 1
> 
> Does anyone know of a fix or workaround  for this?
> 
> Cheers,
> 
> Darren
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
> 

--------------030901030402020404040906
Content-Type: text/x-csrc;
 name="dtn_types_xdr.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dtn_types_xdr.c"

/*
 * Please do not edit this file.
 * It was generated using rpcgen.
 */

#include "dtn_types.h"
/*
 *    Copyright 2004-2006 Intel Corporation
 * 
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 * 
 *        http://www.apache.org/licenses/LICENSE-2.0
 * 
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
*/

/**********************************
 * This file defines the types used in the DTN client API. The structures are
 * autogenerated using rpcgen, as are the marshalling and unmarshalling
 * XDR routines.
 */

#include <limits.h>
#ifndef ARG_MAX
#define ARG_MAX _POSIX_ARG_MAX
#endif

/**********************************
 * Constants.
 * (Note that we use #defines to get the comments as well)
 */
#define DTN_MAX_ENDPOINT_ID 256 /* max endpoint_id size (bytes) */
#define DTN_MAX_PATH_LEN PATH_MAX /* max path length */
#define DTN_MAX_EXEC_LEN ARG_MAX /* length of string passed to exec() */
#define DTN_MAX_AUTHDATA 1024 /* length of auth/security data*/
#define DTN_MAX_REGION_LEN 64 /* 64 chars "should" be long enough */
#define DTN_MAX_BUNDLE_MEM 50000 /* biggest in-memory bundle is ~50K*/
#define DTN_MAX_BLOCK_LEN 1024 /* length of block data (currently 1K) */
#define DTN_MAX_BLOCKS 256 /* number of blocks in bundle */

/**
 * Specification of a dtn endpoint id, i.e. a URI, implemented as a
 * fixed-length char buffer. Note that for efficiency reasons, this
 * fixed length is relatively small (256 bytes). 
 * 
 * The alternative is to use the string XDR type but then all endpoint
 * ids would require malloc / free which is more prone to leaks / bugs.
 */

bool_t
xdr_dtn_endpoint_id_t (XDR *xdrs, dtn_endpoint_id_t *objp)
{
	register int32_t *buf;

	int i;
	 if (!xdr_opaque (xdrs, objp->uri, DTN_MAX_ENDPOINT_ID))
		 return FALSE;
	return TRUE;
}

/**
 * A registration cookie.
 */

bool_t
xdr_dtn_reg_id_t (XDR *xdrs, dtn_reg_id_t *objp)
{
	register int32_t *buf;

	 if (!xdr_u_int (xdrs, objp))
		 return FALSE;
	return TRUE;
}

/**
 * DTN timeouts are specified in seconds.
 */

bool_t
xdr_dtn_timeval_t (XDR *xdrs, dtn_timeval_t *objp)
{
	register int32_t *buf;

	 if (!xdr_u_int (xdrs, objp))
		 return FALSE;
	return TRUE;
}

/**
 * An infinite wait is a timeout of -1.
 */
#define DTN_TIMEOUT_INF ((dtn_timeval_t)-1)

#define SFHACK
#ifdef SFHACK

static bool_t my_fecker(XDR *xdrs, uint64_t *uip)
{
   uint32_t t1;
   uint32_t t2;
 
   switch (xdrs->x_op)
     {
     case XDR_ENCODE:
       t1 = (uint32_t) ((*uip) >> 32);
       t2 = (uint32_t) (*uip);
       return (XDR_PUTINT32 (xdrs, (int32_t *) &t1) &&
               XDR_PUTINT32(xdrs, (int32_t *) &t2));
     case XDR_DECODE:
       if (!XDR_GETINT32(xdrs, (int32_t *) &t1) ||
           !XDR_GETINT32(xdrs, (int32_t *) &t2))
         return FALSE;
       *uip = ((uint64_t) t1) << 32;
       *uip |= t2;
       return TRUE;
     case XDR_FREE:
       return TRUE;
     default:
       return FALSE;
     }
}
#endif

bool_t
xdr_dtn_timestamp_t (XDR *xdrs, dtn_timestamp_t *objp)
{
	register int32_t *buf;

#ifndef SFHACK
	 if (!xdr_u_quad_t (xdrs, &objp->secs))
		 return FALSE;
	 if (!xdr_u_quad_t (xdrs, &objp->seqno))
		 return FALSE;
#else
	// xdr_u_quad_t doesn't seem to be present in the OpenWRT libc
	// so we'll just include (hopefully) equivalent code
	// this is broken - probably crash FIXME TODO

	 if (!my_fecker (xdrs, &objp->secs))
		 return FALSE;
	 if (!my_fecker (xdrs, &objp->seqno))
		 return FALSE;

#endif
	return TRUE;
}

/**
 * Specification of a service tag used in building a local endpoint
 * identifier.
 * 
 * Note that the application cannot (in general) expect to be able to
 * use the full DTN_MAX_ENDPOINT_ID, as there is a chance of overflow
 * when the daemon concats the tag with its own local endpoint id.
 */

bool_t
xdr_dtn_service_tag_t (XDR *xdrs, dtn_service_tag_t *objp)
{
	register int32_t *buf;

	int i;
	 if (!xdr_vector (xdrs, (char *)objp->tag, DTN_MAX_ENDPOINT_ID,
		sizeof (char), (xdrproc_t) xdr_char))
		 return FALSE;
	return TRUE;
}

/**
 * Value for an unspecified registration cookie (i.e. indication that
 * the daemon should allocate a new unique id).
 */

/**
 * Registration flags are a bitmask of the following:

 * Delivery failure actions (exactly one must be selected):
 *     DTN_REG_DROP   - drop bundle if registration not active
 *     DTN_REG_DEFER  - spool bundle for later retrieval
 *     DTN_REG_EXEC   - exec program on bundle arrival
 *
 * Session flags:
 *     DTN_SESSION_CUSTODY   - app assumes custody for the session
 *     DTN_SESSION_PUBLISH   - creates a publication point
 *     DTN_SESSION_SUBSCRIBE - create subscription for the session
 */

bool_t
xdr_dtn_reg_flags_t (XDR *xdrs, dtn_reg_flags_t *objp)
{
	register int32_t *buf;

	 if (!xdr_enum (xdrs, (enum_t *) objp))
		 return FALSE;
	return TRUE;
}

/**
 * Registration state.
 */

bool_t
xdr_dtn_reg_info_t (XDR *xdrs, dtn_reg_info_t *objp)
{
	register int32_t *buf;

	 if (!xdr_dtn_endpoint_id_t (xdrs, &objp->endpoint))
		 return FALSE;
	 if (!xdr_dtn_reg_id_t (xdrs, &objp->regid))
		 return FALSE;
	 if (!xdr_u_int (xdrs, &objp->flags))
		 return FALSE;
	 if (!xdr_dtn_timeval_t (xdrs, &objp->expiration))
		 return FALSE;
	 if (!xdr_bool (xdrs, &objp->init_passive))
		 return FALSE;
	 if (!xdr_bytes (xdrs, (char **)&objp->script.script_val, (u_int *) &objp->script.script_len, DTN_MAX_EXEC_LEN))
		 return FALSE;
	return TRUE;
}

/**
 * Bundle priority specifier.
 *     COS_BULK      - lowest priority
 *     COS_NORMAL    - regular priority
 *     COS_EXPEDITED - important
 *     COS_RESERVED  - TBD
 */

bool_t
xdr_dtn_bundle_priority_t (XDR *xdrs, dtn_bundle_priority_t *objp)
{
	register int32_t *buf;

	 if (!xdr_enum (xdrs, (enum_t *) objp))
		 return FALSE;
	return TRUE;
}

/**
 * Bundle delivery option flags. Note that multiple options may be
 * selected for a given bundle.
 *     
 *     DOPTS_NONE            - no custody, etc
 *     DOPTS_CUSTODY         - custody xfer
 *     DOPTS_DELIVERY_RCPT   - end to end delivery (i.e. return receipt)
 *     DOPTS_RECEIVE_RCPT    - per hop arrival receipt
 *     DOPTS_FORWARD_RCPT    - per hop departure receipt
 *     DOPTS_CUSTODY_RCPT    - per custodian receipt
 *     DOPTS_DELETE_RCPT     - request deletion receipt
 *     DOPTS_SINGLETON_DEST  - destination is a singleton
 *     DOPTS_MULTINODE_DEST  - destination is not a singleton
 *     DOPTS_DO_NOT_FRAGMENT - set the do not fragment bit
 */

bool_t
xdr_dtn_bundle_delivery_opts_t (XDR *xdrs, dtn_bundle_delivery_opts_t *objp)
{
	register int32_t *buf;

	 if (!xdr_enum (xdrs, (enum_t *) objp))
		 return FALSE;
	return TRUE;
}

/**
 * Extension block flags. Note that multiple flags may be selected
 * for a given block.
 *
 *     BLOCK_FLAG_NONE          - no flags
 *     BLOCK_FLAG_REPLICATE     - block must be replicated in every fragment
 *     BLOCK_FLAG_REPORT        - transmit report if block can't be processed
 *     BLOCK_FLAG_DELETE_BUNDLE - delete bundle if block can't be processed
 *     BLOCK_FLAG_LAST          - last block
 *     BLOCK_FLAG_DISCARD_BLOCK - discard block if it can't be processed
 *     BLOCK_FLAG_UNPROCESSED   - block was forwarded without being processed
 */

bool_t
xdr_dtn_extension_block_flags_t (XDR *xdrs, dtn_extension_block_flags_t *objp)
{
	register int32_t *buf;

	 if (!xdr_enum (xdrs, (enum_t *) objp))
		 return FALSE;
	return TRUE;
}

/**
 * Extension block.
 */

bool_t
xdr_dtn_extension_block_t (XDR *xdrs, dtn_extension_block_t *objp)
{
	register int32_t *buf;

	 if (!xdr_u_int (xdrs, &objp->type))
		 return FALSE;
	 if (!xdr_u_int (xdrs, &objp->flags))
		 return FALSE;
	 if (!xdr_bytes (xdrs, (char **)&objp->data.data_val, (u_int *) &objp->data.data_len, DTN_MAX_BLOCK_LEN))
		 return FALSE;
	return TRUE;
}

/**
 * A Sequence ID is a vector of (EID, counter) values in the following
 * text format:
 *
 *    < (EID1 counter1) (EID2 counter2) ... >
 */

bool_t
xdr_dtn_sequence_id_t (XDR *xdrs, dtn_sequence_id_t *objp)
{
	register int32_t *buf;

	 if (!xdr_bytes (xdrs, (char **)&objp->data.data_val, (u_int *) &objp->data.data_len, DTN_MAX_BLOCK_LEN))
		 return FALSE;
	return TRUE;
}

/**
 * Bundle metadata. The delivery_regid is ignored when sending
 * bundles, but is filled in by the daemon with the registration
 * id where the bundle was received.
 */

bool_t
xdr_dtn_bundle_spec_t (XDR *xdrs, dtn_bundle_spec_t *objp)
{
	register int32_t *buf;

	 if (!xdr_dtn_endpoint_id_t (xdrs, &objp->source))
		 return FALSE;
	 if (!xdr_dtn_endpoint_id_t (xdrs, &objp->dest))
		 return FALSE;
	 if (!xdr_dtn_endpoint_id_t (xdrs, &objp->replyto))
		 return FALSE;
	 if (!xdr_dtn_bundle_priority_t (xdrs, &objp->priority))
		 return FALSE;
	 if (!xdr_int (xdrs, &objp->dopts))
		 return FALSE;
	 if (!xdr_dtn_timeval_t (xdrs, &objp->expiration))
		 return FALSE;
	 if (!xdr_dtn_timestamp_t (xdrs, &objp->creation_ts))
		 return FALSE;
	 if (!xdr_dtn_reg_id_t (xdrs, &objp->delivery_regid))
		 return FALSE;
	 if (!xdr_dtn_sequence_id_t (xdrs, &objp->sequence_id))
		 return FALSE;
	 if (!xdr_dtn_sequence_id_t (xdrs, &objp->obsoletes_id))
		 return FALSE;
	 if (!xdr_array (xdrs, (char **)&objp->blocks.blocks_val, (u_int *) &objp->blocks.blocks_len, DTN_MAX_BLOCKS,
		sizeof (dtn_extension_block_t), (xdrproc_t) xdr_dtn_extension_block_t))
		 return FALSE;
	 if (!xdr_array (xdrs, (char **)&objp->metadata.metadata_val, (u_int *) &objp->metadata.metadata_len, DTN_MAX_BLOCKS,
		sizeof (dtn_extension_block_t), (xdrproc_t) xdr_dtn_extension_block_t))
		 return FALSE;
	return TRUE;
}

/**
 * Type definition for a unique bundle identifier. Returned from dtn_send
 * after the daemon has assigned the creation_secs and creation_subsecs,
 * in which case orig_length and frag_offset are always zero, and also in
 * status report data in which case they may be set if the bundle is
 * fragmented.
 */

bool_t
xdr_dtn_bundle_id_t (XDR *xdrs, dtn_bundle_id_t *objp)
{
	register int32_t *buf;

	 if (!xdr_dtn_endpoint_id_t (xdrs, &objp->source))
		 return FALSE;
	 if (!xdr_dtn_timestamp_t (xdrs, &objp->creation_ts))
		 return FALSE;
	 if (!xdr_u_int (xdrs, &objp->frag_offset))
		 return FALSE;
	 if (!xdr_u_int (xdrs, &objp->orig_length))
		 return FALSE;
	return TRUE;
}
/**
 * Bundle Status Report "Reason Code" flags
 */

bool_t
xdr_dtn_status_report_reason_t (XDR *xdrs, dtn_status_report_reason_t *objp)
{
	register int32_t *buf;

	 if (!xdr_enum (xdrs, (enum_t *) objp))
		 return FALSE;
	return TRUE;
}
/**
 * Bundle Status Report status flags that indicate which timestamps in
 * the status report structure are valid.
 */

bool_t
xdr_dtn_status_report_flags_t (XDR *xdrs, dtn_status_report_flags_t *objp)
{
	register int32_t *buf;

	 if (!xdr_enum (xdrs, (enum_t *) objp))
		 return FALSE;
	return TRUE;
}

/**
 * Type definition for a bundle status report.
 */

bool_t
xdr_dtn_bundle_status_report_t (XDR *xdrs, dtn_bundle_status_report_t *objp)
{
	register int32_t *buf;

	 if (!xdr_dtn_bundle_id_t (xdrs, &objp->bundle_id))
		 return FALSE;
	 if (!xdr_dtn_status_report_reason_t (xdrs, &objp->reason))
		 return FALSE;
	 if (!xdr_dtn_status_report_flags_t (xdrs, &objp->flags))
		 return FALSE;
	 if (!xdr_dtn_timestamp_t (xdrs, &objp->receipt_ts))
		 return FALSE;
	 if (!xdr_dtn_timestamp_t (xdrs, &objp->custody_ts))
		 return FALSE;
	 if (!xdr_dtn_timestamp_t (xdrs, &objp->forwarding_ts))
		 return FALSE;
	 if (!xdr_dtn_timestamp_t (xdrs, &objp->delivery_ts))
		 return FALSE;
	 if (!xdr_dtn_timestamp_t (xdrs, &objp->deletion_ts))
		 return FALSE;
	 if (!xdr_dtn_timestamp_t (xdrs, &objp->ack_by_app_ts))
		 return FALSE;
	return TRUE;
}

/**
 * The payload of a bundle can be sent or received either in a file,
 * in which case the payload structure contains the filename, or in
 * memory where the struct contains the data in-band, in the 'buf'
 * field.
 *
 * When sending a bundle, if the location specifies that the payload
 * is in a temp file, then the daemon assumes ownership of the file
 * and should have sufficient permissions to move or rename it.
 *
 * When receiving a bundle that is a status report, then the
 * status_report pointer will be non-NULL and will point to a
 * dtn_bundle_status_report_t structure which contains the parsed fields
 * of the status report.
 *
 *     DTN_PAYLOAD_MEM         - payload contents in memory
 *     DTN_PAYLOAD_FILE        - payload contents in file
 *     DTN_PAYLOAD_TEMP_FILE   - in file, assume ownership (send only)
 */

bool_t
xdr_dtn_bundle_payload_location_t (XDR *xdrs, dtn_bundle_payload_location_t *objp)
{
	register int32_t *buf;

	 if (!xdr_enum (xdrs, (enum_t *) objp))
		 return FALSE;
	return TRUE;
}

bool_t
xdr_dtn_bundle_payload_t (XDR *xdrs, dtn_bundle_payload_t *objp)
{
	register int32_t *buf;

	 if (!xdr_dtn_bundle_payload_location_t (xdrs, &objp->location))
		 return FALSE;
	 if (!xdr_bytes (xdrs, (char **)&objp->filename.filename_val, (u_int *) &objp->filename.filename_len, DTN_MAX_PATH_LEN))
		 return FALSE;
	 if (!xdr_bytes (xdrs, (char **)&objp->buf.buf_val, (u_int *) &objp->buf.buf_len, DTN_MAX_BUNDLE_MEM))
		 return FALSE;
	 if (!xdr_pointer (xdrs, (char **)&objp->status_report, sizeof (dtn_bundle_status_report_t), (xdrproc_t) xdr_dtn_bundle_status_report_t))
		 return FALSE;
	return TRUE;
}

--------------030901030402020404040906--


Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6B9hM6S024366 for <dtn-users@mailman.dtnrg.org>; Sat, 11 Jul 2009 02:43:22 -0700
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Received: from [192.168.1.10] (94-30-69-47.xdsl.murphx.net [94.30.69.47]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KMM001LA2WDJ380@asmtp015.mac.com> for dtn-users@mailman.dtnrg.org; Sat, 11 Jul 2009 02:41:03 -0700 (PDT)
Message-id: <D5E8CAA9-9676-43B2-B291-6D3E2F74C5B4@mac.com>
From: Darren Long <darren.long@mac.com>
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
Date: Sat, 11 Jul 2009 10:41:00 +0100
X-Mailer: Apple Mail (2.935.3)
Subject: [dtn-users] Can't build DTN2 tip on OS X (10.5.7 Intel, 10.4.11 PPC)
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, 11 Jul 2009 09:43:22 -0000

I'm trying to build on my Macs from the DTN2 sourceforge repo tip, and  
I'm getting build failures that seem to have been introduced in  
changeset 3440.

http://dtn.sourceforge.net/cgi-bin/hgwebdir.cgi/DTN2/raw-rev/bdd57cc42b3b

g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT ".o .E"  -DHAVE_CONFIG_H - 
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.. -I.. -I/Users/darren/ 
source/oasys/include -I/Users/darren/source/oasys/include/oasys/ext - 
I../servlib -I/opt/local/include  -Wall -W -Wcast-align   
dtn_types_xdr.o dtn_api.o dtn_errno.o dtn_ipc.o sdnv-c.o ../dtn- 
version.o -dynamiclib -single_module -fPIC -DPIC -L.  -o  
libdtnapi-2.6.0.dylib
Undefined symbols:
   "_xdr_u_quad_t", referenced from:
       _xdr_dtn_timestamp_t in dtn_types_xdr.o
       _xdr_dtn_timestamp_t in dtn_types_xdr.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [libdtnapi-2.6.0.dylib] Error 1

Does anyone know of a fix or workaround  for this?

Cheers,

Darren


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 n6ADv175003024 for <dtn-users@maillists.intel-research.net>; Fri, 10 Jul 2009 06:57:01 -0700
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApoEAE/lVkqE6wiX/2dsb2JhbAC/TQEJBId8iEyCTIE8BQ
X-IronPort-AV: E=Sophos;i="4.42,378,1243828800";  d="scan'208";a="4390748"
Received: from oak3a.cats.ohiou.edu (HELO oak.cats.ohiou.edu) ([132.235.8.151]) by smtpout4.oit.ohio.edu with ESMTP; 10 Jul 2009 09:56:04 -0400
Received: from [10.10.0.2] (dpc6747227166.direcpc.com [67.47.227.166]) (authenticated bits=0) by oak.cats.ohiou.edu (8.13.1/8.13.1) with ESMTP id n6ADstSi1716758 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 10 Jul 2009 09:55:03 -0400 (EDT)
Message-Id: <32AEF335-788D-4DB5-91B1-CA0AC21E88F2@ohiou.edu>
From: Hans Kruse <kruse@ohiou.edu>
To: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@leonixsolutions.com>
In-Reply-To: <CCF06624-2DB1-4808-A6F4-804E18141DA7@surrey.ac.uk>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Fri, 10 Jul 2009 09:54:53 -0400
References: <20090708144712.92189.qmail@mzeal.com> <59e8babf0907080828r5c83d169p5f13f95f0860104e@mail.gmail.com> <4A5702EA.4030304@LeonixSolutions.com> <CCF06624-2DB1-4808-A6F4-804E18141DA7@surrey.ac.uk>
X-Mailer: Apple Mail (2.935.3)
Cc: dtn-users@maillists.intel-research.net, Lloyd Wood <L.Wood@surrey.ac.uk>
Subject: Re: [dtn-users] Half-duplex woes?
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: Fri, 10 Jul 2009 13:57:02 -0000

On Jul 10, 2009, at 5:32 AM, Lloyd Wood wrote:

>
> On 10 Jul 2009, at 09:59, Graham Keellings (Leonix Solutions Pte Ltd)
> wrote:
>>
>> He says that wifi is half-duplex - is it?
>
> The 802.11 protocols use the same channel to send and receive. So, in
> that sense, it's half duplex. But since it's a broadcast medium and
> not a point-to-point link, this means collision detection and
> avoidance, with complex attendant algorithms to provide this (CSMA/CA
> - Carrier Sense Multiple Access/Collision Avoidance), are involved.

Agreed.

>
>> If so, that means that in an ad-hoc, hop by hop network, each hop
>> efficiently arithmetically halves the bandwidth, so that it might
>> take 10ms for the first hop, 20ms for the second, 40ms for the third
>> and so on .. is that so (on a purely ad-hoc wifi network)?
>
> No. That kind of backoff sounds like behaviour of TCP slow start
> (which might be visible when using Bundling over a TCP convergence
> layer), and not necessarily what the CSMA/CA algorithms will do. If
> it's not a point-to-point dedicated symmetrical half-duplex link you
> can't just halve the bandwidth.

Graham, can you define ad-hoc hop by hop?   In the unlikely case that  
nodes 1-10, say, all share
the same 802.11 channel in the same physical location, and node 1  
sends to 10 by going through
2-9 in turn, then -- as Lloyd points out -- CSMA/CA will in a fairly  
complex way divide the channel
between all the transmissions going on.  Question is, why would one do  
that?

>
>
>> Furthermore, he says that he has made competitive measurements and
>> this does not happen when using DTN. Can that be so? I am confused,
>> as surely it is just sitting atop the same TCP/IP as the non-DTN
>> network?
>
> I can't see Bundling running over IP changing the underlying CSMA/CA
> algorithms in 802.11 hardware.
>
> We've run Bundling at link speed using a UDP-based convergence layer
> (Saratoga). Bundling over TCP will have this slow start behaviour.

The DTN stack does not have to be on top of TCP/IP (but in non-space  
cases it usually is).  However,
if WiFi is used, it is running over 802.11 whether TCP, UDP, or  
something else is used,
and so DTN cannot change the behavior of the CSMA/CA network.

>
> L.
>
> DTN work: http://info.ee.surrey.ac.uk/Personal/L.Wood/saratoga/
>
> <http://info.surrey.ac.uk/Personal/L.Wood/><L.Wood@surrey.ac.uk>
>
>
>
>
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users

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




Received: from mail133.messagelabs.com (mail133.messagelabs.com [195.245.230.179]) by maillists.intel-research.net (8.13.8/8.13.8) with SMTP id n6A9XvYS022988 for <dtn-users@maillists.intel-research.net>; Fri, 10 Jul 2009 02:33:58 -0700
X-VirusChecked: Checked
X-Env-Sender: L.Wood@surrey.ac.uk
X-Msg-Ref: server-14.tower-133.messagelabs.com!1247218379!33054001!3
X-StarScan-Version: 6.1.2; banners=-,-,-
X-Originating-IP: [131.227.102.140]
Received: (qmail 14884 invoked from network); 10 Jul 2009 09:33:00 -0000
Received: from ads40.surrey.ac.uk (HELO ads40.surrey.ac.uk) (131.227.102.140) by server-14.tower-133.messagelabs.com with SMTP; 10 Jul 2009 09:33:00 -0000
Received: from ads31.surrey.ac.uk ([131.227.120.131]) by ads40.surrey.ac.uk with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 10 Jul 2009 10:33:00 +0100
Received: from [192.168.1.208] ([86.3.114.249]) by ads31.surrey.ac.uk over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 10 Jul 2009 10:32:59 +0100
Message-Id: <CCF06624-2DB1-4808-A6F4-804E18141DA7@surrey.ac.uk>
From: Lloyd Wood <L.Wood@surrey.ac.uk>
To: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@leonixsolutions.com>
In-Reply-To: <4A5702EA.4030304@LeonixSolutions.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Fri, 10 Jul 2009 10:32:59 +0100
References: <20090708144712.92189.qmail@mzeal.com> <59e8babf0907080828r5c83d169p5f13f95f0860104e@mail.gmail.com> <4A5702EA.4030304@LeonixSolutions.com>
X-Mailer: Apple Mail (2.935.3)
X-OriginalArrivalTime: 10 Jul 2009 09:33:00.0031 (UTC) FILETIME=[6A3C28F0:01CA0141]
Cc: dtn-users@maillists.intel-research.net, Lloyd Wood <L.Wood@surrey.ac.uk>
Subject: Re: [dtn-users] Half-duplex woes?
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: Fri, 10 Jul 2009 09:33:59 -0000

On 10 Jul 2009, at 09:59, Graham Keellings (Leonix Solutions Pte Ltd)  
wrote:
>
> He says that wifi is half-duplex - is it?

The 802.11 protocols use the same channel to send and receive. So, in  
that sense, it's half duplex. But since it's a broadcast medium and  
not a point-to-point link, this means collision detection and  
avoidance, with complex attendant algorithms to provide this (CSMA/CA  
- Carrier Sense Multiple Access/Collision Avoidance), are involved.

> If so, that means that in an ad-hoc, hop by hop network, each hop  
> efficiently arithmetically halves the bandwidth, so that it might  
> take 10ms for the first hop, 20ms for the second, 40ms for the third  
> and so on .. is that so (on a purely ad-hoc wifi network)?

No. That kind of backoff sounds like behaviour of TCP slow start  
(which might be visible when using Bundling over a TCP convergence  
layer), and not necessarily what the CSMA/CA algorithms will do. If  
it's not a point-to-point dedicated symmetrical half-duplex link you  
can't just halve the bandwidth.


> Furthermore, he says that he has made competitive measurements and  
> this does not happen when using DTN. Can that be so? I am confused,  
> as surely it is just sitting atop the same TCP/IP as the non-DTN  
> network?

I can't see Bundling running over IP changing the underlying CSMA/CA  
algorithms in 802.11 hardware.

We've run Bundling at link speed using a UDP-based convergence layer  
(Saratoga). Bundling over TCP will have this slow start behaviour.

L.

DTN work: http://info.ee.surrey.ac.uk/Personal/L.Wood/saratoga/

<http://info.surrey.ac.uk/Personal/L.Wood/><L.Wood@surrey.ac.uk>







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 n6A90N5s021383 for <dtn-users@maillists.intel-research.net>; Fri, 10 Jul 2009 02:00:23 -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 1MPBx0-0001Iz-3x for dtn-users@maillists.intel-research.net; Fri, 10 Jul 2009 04:59:26 -0400
Message-ID: <4A5702EA.4030304@LeonixSolutions.com>
Date: Fri, 10 Jul 2009 16:59:22 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: dtn-users@maillists.intel-research.net
References: <20090708144712.92189.qmail@mzeal.com> <59e8babf0907080828r5c83d169p5f13f95f0860104e@mail.gmail.com>
In-Reply-To: <59e8babf0907080828r5c83d169p5f13f95f0860104e@mail.gmail.com>
Content-Type: multipart/mixed; boundary="------------080506090601090408070603"
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] Half-duplex woes?
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: Fri, 10 Jul 2009 09:00:23 -0000

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

Delay tolerant? I hope the group is n00b tolerant :-/

I have 25+ years telecoms s/w development under my belt, mostly Layer 3 
and some Layer 2 - and now I am stumbling half blind into DTN. It 
doesn't help any that I have an aversion to hardware, even to Layer 1, 
and only a broad overview of TCP/IP.

Anyhoo, I have been talking DTN to someone who ought to know what he is 
talking about and wonder if anyone can verify what he says...

He says that wifi is half-duplex - is it? If so, that means that in an 
ad-hoc, hop by hop network, each hop efficiently arithmetically halves 
the bandwidth, so that it might take 10ms for the first hop, 20ms for 
the second, 40ms for the third and so on .. is that so (on a purely 
ad-hoc wifi network)?

Furthermore, he says that he has made competitive measurements and this 
does not happen when using DTN. Can that be so? I am confused, as surely 
it is just sitting atop the same TCP/IP as the non-DTN network?

So, I just wondered if I had gotten hold of the wrong end of the stick 
or if anyone can confirm or deny ehat I thought that I heard him say.

Thanks in advance for any help.

With best wishes,

Graham

--------------080506090601090408070603
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------080506090601090408070603--


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 n693J5Ul005347 for <dtn-users@mailman.dtnrg.org>; Wed, 8 Jul 2009 20:19:05 -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 1MOk9I-0002MN-M1; Wed, 08 Jul 2009 23:18:17 -0400
Message-ID: <4A556176.9080907@LeonixSolutions.com>
Date: Thu, 09 Jul 2009 11:18:14 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: Darren Long <darren.long@mac.com>
References: <74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com> <4A546248.3000008@LeonixSolutions.com> <16332D8B-8D9B-4169-BF17-A2976A0738B9@mac.com>
In-Reply-To: <16332D8B-8D9B-4169-BF17-A2976A0738B9@mac.com>
Content-Type: multipart/mixed; boundary="------------080700050501050809010901"
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 - mailman.dtnrg.org
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: 
Cc: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Problem with "route set type dtlsr"
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, 09 Jul 2009 03:19:06 -0000

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

Darren, I can't thank you enough. Your advice was spot on the nose and 
everything is now working just as I want it. Thank you !!

Sorry for "spamming" the list, but it's best to record for posterity 
what did and didn't work (which is why I prefer a forum to a mailing list).




Darren Long wrote:
> Hi Graham,
>
> The relevant lines from my dtn.conf for a dtlsr router with bonjour 
> discovery are as below:
>
>
>     route set type dtlsr
>     interface add tcp0  tcp local_port=4556
>     discovery add discovery_bonjour bonjour
>
> You shouldn't need explicit routes or links.  You shouldn't need to 
> specify the ip address for the interface, or override the port for the 
> bonjour discovery.
>
> The bonjour discovery mechanism should add and open opportunistic 
> links when bonjour announcements are heard from peers, and populate 
> the routing table automatically.
>
> One thing to check is that the mDNS responder (avahi-daemon if you are 
> using avahi) is still running if you cycle the wifi interface. 
> Sometimes it goes down and needs to be restarted, or you could do some 
> scripting to make sure it restarts when a wifi interface is brought 
> up, perhaps.
>
> You could try running
>     avahi-browse -a
> to see all the announcments.
>
> Hope this helps.
>
> Darren
>
> On 8 Jul 2009, at 10:09, Graham Keellings (Leonix Solutions Pte Ltd) 
> wrote:
>
>> Hi,
>>
>>  I now have a 3 node DTN wifi network and hope to add a fourth node 
>> today or tomorrow.
>>
>> Unfortunately, that was done with static routing, not DTLSR, as I 
>> wanted to start out simpel and work my way up..
>>
>> But when I change "route set type static" tp "route set type dtlsr" 
>> in my config files the DTN console says "sendto failed: Network is 
>> unreachable".
>>
>> Does anyone see anything wrong with the config file below? The only 
>> line that I intend to change is "route set type static" to "route set 
>> type dtlsr"
>>
>> Thanks in advance for any help ...
>>
>>
>> log /dtnd info "dtnd parsing configuration..."
>>
>> console set addr 127.0.0.1
>> console set port 5050
>>
>>
>> set shorthostname [lindex [split [info hostname] .] 0]
>> console set prompt "$shorthostname dtn% "
>>
>> storage set type berkeleydb
>> storage set schema /etc/DS.xsd
>>
>> set dbdir ""
>> foreach dir {/var/dtn /var/tmp/dtn} {
>>    if {[file isdirectory $dir]} {
>>        set dbdir $dir
>>        break
>>    }
>> }
>> if {$dbdir == ""} {
>>    puts stderr "Must create /var/dtn or /var/tmp/dtn storage directory"
>>    exit 1
>> }
>> storage set payloaddir $dbdir/bundles
>> storage set dbname     DTN
>> storage set dbdir      $dbdir/db
>>
>> param set accept_custody true
>> param set reactive_frag_enabled true
>> param set link_max_retry_interval 5
>>
>> interface add tcp0 tcp local_addr=192.9.200.106
>> link add acer_two_link_tcp acer-two ONDEMAND tcp
>> link add asus_link_tcp asus ONDEMAND tcp
>>
>> route set type dtlsr
>> route local_eid dtn://acer.one.dtn
>>
>> discovery add discovery_bonjour ip port=2000
>> discovery announce tcp0 discovery_bonjour tcp interval=5
>>
>> route add dtn://acer.two.dtn/* acer_two_link_tcp
>> route add dtn://asus.dtn/* asus_link_tcp
>>
>> log /dtnd info "dtnd configuration parsing complete"
>>
>> <Graham.vcf>_______________________________________________
>> dtn-users mailing list
>> dtn-users@maillists.intel-research.net
>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>


-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208


--------------080700050501050809010901
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------080700050501050809010901--


Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com [209.85.210.178]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n68FTcCD005538 for <dtn-users@maillists.intel-research.net>; Wed, 8 Jul 2009 08:29:38 -0700
Received: by yxe8 with SMTP id 8so259708yxe.6 for <dtn-users@maillists.intel-research.net>; Wed, 08 Jul 2009 08:28:55 -0700 (PDT)
MIME-Version: 1.0
Sender: demmer@gmail.com
Received: by 10.100.12.1 with SMTP id 1mr12552127anl.107.1247066935152; Wed,  08 Jul 2009 08:28:55 -0700 (PDT)
In-Reply-To: <20090708144712.92189.qmail@mzeal.com>
References: <20090708144712.92189.qmail@mzeal.com>
From: Michael Demmer <demmer@cs.berkeley.edu>
Date: Wed, 8 Jul 2009 08:28:35 -0700
X-Google-Sender-Auth: d8d3c2eda9889a97
Message-ID: <59e8babf0907080828r5c83d169p5f13f95f0860104e@mail.gmail.com>
To: vlyamtsev@mzeal.com
Content-Type: multipart/alternative; boundary=0016e644ddeaae4fc9046e3365fd
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] two different Daemons and EID's
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, 08 Jul 2009 15:29:39 -0000

--0016e644ddeaae4fc9046e3365fd
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

You need to clone the test-utils repository from mercurial and put it at the
same top-level as DTN2 and oasys.

-m

On Wed, Jul 8, 2009 at 7:47 AM, <vlyamtsev@mzeal.com> wrote:

>
> Then run the following
>
> cd <path-to-DTN2>
> test-utils/run-dtn.tcl -v test/send-one-bundle.tcl
>
> We tried to run, tcl can't find the script
> $base_test_dir/../test-utils/import.tcl
>
> Tnamks,
>
>
>
> ------- Original Message ------- On 7/6/2009 6:55 PM 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. Re: two different Daemons and EID's (Sushil Chaudhari)
> 2. Re: two different Daemons and EID's (Kurtis Heimerl)
> 3. Re: two different Daemons and EID's (Andresen, Jason R.)
> 4. Building --with-norm (Darren Long)
> 5. Re: two different Daemons and EID's (Michael Demmer)
> 6. Bug in DTN2 API library (Moore, Brad)
> 7. Time units bug in APIServer (Moore, Brad)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 6 Jul 2009 10:05:03 -0400
> From: "Sushil Chaudhari"
> Subject: Re: [dtn-users] two different Daemons and EID's
> To:
> Message-ID: <000501c9fe42$c220dcc0$46629640$@com>
> Content-Type: text/plain; charset="us-ascii"
>
> Can anybody tell me,
>
> 1. how is it possible to run two daemons by using same configuration file
> or
> on the same machine??
>
> 2. How the assignment of EID's is done? Is it with configuration file or
> with directly with DTN.
>
>
>
>
>
> Thanks.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://maillists.intel-research.net/pipermail/dtn-users/attachments/20090706/cdf97ac4/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 6 Jul 2009 07:15:40 -0700
> From: Kurtis Heimerl
> Subject: Re: [dtn-users] two different Daemons and EID's
> To: Sushil Chaudhari
> Cc: dtn-users@maillists.intel-research.net
> Message-ID:
> <9a4753250907060715r1cfd05esc8a7b63a444ac9c4@mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> 1-> I could be mistaken, but I don't think you can do that. The config
> file specifies ports and, and as such they cannot be shared. It's a
> TCL script t! ho ugh (I think), so I suppose it may be possible. You can
> tell DTND to use a different script than the default, so that seems
> like a much easier way to run two daemons on the same machine.
>
> 2-> Yes, the conf file specifies the EID for that DTN router. The
> route local_eid "dtn://[info hostname].dtn"
> field is where it's set. In this instance, it's being named
> dtn://$HOSTNAME.dtn
>
> On Mon, Jul 6, 2009 at 7:05 AM, Sushil Chaudhari wrote:
> > Can anybody tell me,
> >
> > 1. how is it possible to run two daemons by using same configuration file
> or
> > on the same machine??
> >
> > 2.?? How the assignment of EID?s is done? Is it with configuration file
> or
> > with directly with DTN.
> >
> >
> >
> >
> >
> > Thanks.
> >
> > _______________________________________________
> > dtn-users mailing list
> >! d tn-users@maillists.intel-research.net
> > http://maillists.intel-research.net/mailman/listinfo/dtn-users
> >
> >
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 6 Jul 2009 11:50:16 -0400
> From: "Andresen, Jason R."
> Subject: Re: [dtn-users] two different Daemons and EID's
> To: Sushil Chaudhari ,
> "dtn-users@maillists.intel-research.net"
>
> Message-ID:
> <600C0C33850FFE49B76BDD81AED4D25801293EB431@IMCMBX3.MITRE.ORG>
> Content-Type: text/plain; charset="Windows-1252"
>
> The only problem with running two daemons is that the XDR API doesn't have
> a mechanism to specifiy an alternate port when it connects. If you wanted to
> run two daemons only one of them could have the XDR API enabled. The other
> would have to use the XML API or something else. You would obviously have to
> specify different working directories fo! r the database as well, but that
> should be easy enough to do with a second configuration file.
> ________________________________________
> From: dtn-users-bounces@maillists.intel-research.net [
> dtn-users-bounces@maillists.intel-research.net] On Behalf Of Sushil
> Chaudhari [schaudhari@mzeal.com]
> Sent: Monday, July 06, 2009 10:05 AM
> To: dtn-users@maillists.intel-research.net
> Subject: Re: [dtn-users] two different Daemons and EID's
>
> Can anybody tell me,
>
> 1. how is it possible to run two daemons by using same configuration file
> or on the same machine??
> 2. How the assignment of EID?s is done? Is it with configuration file or
> with directly with DTN.
>
>
> Thanks.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 06 Jul 2009 17:05:30 +0100
> From: Darren Long
> Subject: [dtn-users] Building --with-norm
> To: dtn-users mailing list
> Message-I! D: <74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hi,
>
> I've been happily using an old-ish build of DTN2 with norm on x86 for
> a while for experimental purposes, and have just managed to cross-
> compile both of them for arch PPC, but so far just with most recent
> sources.
>
> Now I've got both to cross-compile, I'm trying to build DTN2 --with-
> norm, but I'm getting compiler errors in the norm CL. Its been a
> while since I built DTN2 with norm, and I'm having difficulties
> finding the latest versions of the two that build together. I know I
> have the source for the successful DTN2/norm build stashed away
> somewhere, but I'd like to get a view on what the best combination is.
>
> I've been using the svn snapshot of norm and the mercurial tip of DTN2
> for my cross-c! om piling antics. I'm assuming that I'm going to have to
> roll back to an old nightly build of norm and/or an old commit of DTN2
> in order to get them to build together, although I'd really like to
> get code from both tips. Even so, I'm currently finding it hard to
> come up with a buildable combination, even for a simple native build
> on Intel.
>
> I'm also using norm independently of DTN, so it would be good to keep
> up to date with norm. I'm starting to think that I'll need to cross-
> compile two versions of norm, one for DTN2 to link against and another
> to build the norm and raft binaries from.
>
> Is there a easy way forward, or should I go for the version "mix and
> match" solution.
>
> Cheers,
>
> Darren
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 6 Jul 2009 09:06:08 -0700 ! *From: Michael Demmer
> Subject: Re: [dtn-users] two different Daemons and EID's
> To: Kurtis Heimerl
> Cc: Sushil Chaudhari ,
> dtn-users@maillists.intel-research.net
> Message-ID:
> <59e8babf0907060906x292c779csd49d2e8351d0538c@mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> It's definitely possible to do -- I used to do it all the time for testing
> purposes and there are a whole slew of support scripts in DTN2/test-utils
> and DTN2/test that do this.
>
> First make sure you have a copy of the "test-utils" repository checked out
> from mercurial at the same directory level as DTN2 and oasys. In other
> words
> you should have some directory with oasys, DTN2, and test-utils all at the
> same directory level.
>
> Then run the following
>
> cd
> test-utils/run-dtn.tcl -v test/send-one-bundle.tcl
>
> That will first s! pi t out a bunch of info to the console, including
> configuration files needed to run two dtnd instances on the same machine
> (using different ports) and will also then run a test script in which it
> sends a single bundle from one daemon to the other to verify connectivity.
>
> Then it should be a simple matter of tweaking the config file tcl script to
>
> combine them into one, which hopefully will get you started.
>
> -m
>
>
> On Mon, Jul 6, 2009 at 7:15 AM, Kurtis Heimerl
> wrote:
>
> > 1-> I could be mistaken, but I don't think you can do that. The config
> > file specifies ports and, and as such they cannot be shared. It's a
> > TCL script though (I think), so I suppose it may be possible. You can
> > tell DTND to use a different script than the default, so that seems
> > like a much easier way to run two daemons on the same machine.
> >
> > 2-> Yes, th! e conf file specifies the EID for that DTN router. The
> > route local_eid "dtn://[info hostname].dtn"
> > field is where it's set. In this instance, it's being named
> > dtn://$HOSTNAME.dtn
> >
> > On Mon, Jul 6, 2009 at 7:05 AM, Sushil Chaudhari
> > wrote:
> > > Can anybody tell me,
> > >
> > > 1. how is it possible to run two daemons by using same configuration
> file
> > or
> > > on the same machine??
> > >
> > > 2. How the assignment of EID?s is done? Is it with configuration file
> > or
> > > with directly with DTN.
> > >
> > >
> > >
> > >
> > >
> > > Thanks.
> > >
> > > _______________________________________________
> > > dtn-users mailing list
> > > dtn-users@maillists.intel-research.net
> > > http://maillists.intel-r! es earch.net/mailman/listinfo/dtn-users
> > >
> > >
> >
> > _______________________________________________
> > dtn-users mailing list
> > dtn-users@maillists.intel-research.net
> > http://maillists.intel-research.net/mailman/listinfo/dtn-users
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://maillists.intel-research.net/pipermail/dtn-users/attachments/20090706/105f3d36/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Mon, 6 Jul 2009 10:41:52 -0600
> From: "Moore, Brad"
> Subject: [dtn-users] Bug in DTN2 API library
> To:
> Message-ID:
> <0119B6D93B00714F84D6C33DBBA5E56F0151362B@CGYSVW100.gdcan.com>
> Content-Type: text/plain; charset="us-ascii"
>
> I have ported the DTN2 API library to Windows, Visual Studio, but have
> discovered a bug
> relating to the dtn_cancel_poll call.
>
>
>
> dtn_api.c, line 664-665 reads
>
>
>
> poll_status = dtnipc_send_recv(handle, DTN_CANCEL_POLL);
>
> if (poll_status != DTN_SUCCESS && poll_status != DTN_ETIMEOUT) {
>
>
>
>
>
> it should read
>
>
>
> poll_status = dtnipc_send_recv(handle, DTN_CANCEL_POLL);
>
> if (poll_status != DTN_SUCCESS && handle->err != DTN_ETIMEOUT) {
>
>
>
> dtnipc_send_recv never will return DTN_ETIMEOUT, currently.
>
> It returns DTN_SUCCESS or -1. You have to look at handle-err to
>
> determine why the call failed. This bug causes a response not
>
> to be read from the socket, which lead to failures in my application.
>
>
>
> Brad Moore
>
>
> The information contained in this e-mail message is PRIVATE. It may contain
> confid! en tial information and may be legally privileged. It is intended
> for the exclusive use of the addressee(s). If you are not the intended
> recipient, you are hereby notified that any dissemination, distribution or
> reproduction of this communication is strictly prohibited. If the intended
> recipient(s) cannot be reached or if a transmission problem has occurred,
> please notify the sender immediately by return e-mail and destroy all copies
> of this message.
> Thank you.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://maillists.intel-research.net/pipermail/dtn-users/attachments/20090706/b135d24b/attachment-0001.html
>
> ------------------------------
>
> Message: 7
> Date: Mon, 6 Jul 2009 12:54:17 -0600
> From: "Moore, Brad"
> Subject: [dtn-users] Time units bug in APIServer
> To:
> Message-ID:
> <0119B6D93B00714F84D6C33DBBA5E56F0151362D@CGYSVW100.gdcan.com&! gt ;
> Content-Type: text/plain; charset="us-ascii"
>
> The units for dtn_timeval_t are documented in dtn_types.h as being in
> seconds.
>
> However, the timeout parameter for the dtn_begin_poll api call is passed
>
> directly to oasys::IO::poll_multiple() on line 1733 of APIServer.cc.
>
>
>
> The Oasys call documents and interprets this value in milliseconds, not
> seconds.
>
>
>
> To fix this bug, line 1733 of APIServer should be modified as;
>
>
>
> Int nready = oasys::IO::poll_multiple(&pollfds[0], npollfds,
> timeout*1000,
>
>
> NULL, logpath_);
>
>
>
> Brad Moore
>
>
> The information contained in this e-mail message is PRIVATE. It may contain
> confidential information and may be legally privileged. It is intended for
> the exclusive use of the addressee(s). If you are not the intended
> recipient, you are hereb! y notified that any dissemination, distribution or
> reproduction of this communication is strictly prohibited. If the intended
> recipient(s) cannot be reached or if a transmission problem has occurred,
> please notify the sender immediately by return e-mail and destroy all copies
> of this message.
> Thank you.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://maillists.intel-research.net/pipermail/dtn-users/attachments/20090706/6b8011e1/attachment.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 21, Issue 6
> **************************************** *

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

You need to clone the test-utils repository from mercurial and put it at th=
e same top-level as DTN2 and oasys.<br><br>-m<br><br><div class=3D"gmail_qu=
ote">On Wed, Jul 8, 2009 at 7:47 AM,  <span dir=3D"ltr">&lt;<a href=3D"mail=
to:vlyamtsev@mzeal.com">vlyamtsev@mzeal.com</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 class=3D"im"=
><br><pre>Then run the following<br><br>cd &lt;path-to-DTN2&gt;<br>test-uti=
ls/run-dtn.tcl -v test/send-one-bundle.tcl<br>

</pre></div><p>We tried to run, tcl can&#39;t find the script $base_test_di=
r/../test-utils/import.tcl</p><p>Tnamks,</p><p><br><br>------- Original Mes=
sage ------- On 7/6/2009 6:55 PM  wrote:<br>Send dtn-users mailing list sub=
missions to <br>

</p><div class=3D"im">	<a href=3D"mailto:dtn-users@maillists.intel-research=
.net" target=3D"_blank">dtn-users@maillists.intel-research.net</a> <br> <br=
></div>To subscribe or unsubscribe via the World Wide Web, visit <br><div c=
lass=3D"im">

	<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></div>or, via email, send a message with subject or body &#3=
9;help&#39; to <br>

	<a href=3D"mailto:dtn-users-request@maillists.intel-research.net" target=
=3D"_blank">dtn-users-request@maillists.intel-research.net</a> <br> <br>You=
 can reach the person managing the list at <br>	<a href=3D"mailto:dtn-users=
-owner@maillists.intel-research.net" target=3D"_blank">dtn-users-owner@mail=
lists.intel-research.net</a> <br>

 <br>When replying, please edit your Subject line so it is more specific <b=
r>than &quot;Re: Contents of dtn-users digest...&quot; <br> <br> <br>Today&=
#39;s Topics: <br> <br>  =20
=20
1. Re: two different Daemons and EID&#39;s (Sushil Chaudhari) <br>   2. Re:=
 two different Daemons and EID&#39;s (Kurtis Heimerl) <br>   3. Re: two dif=
ferent Daemons and EID&#39;s (Andresen, Jason R.) <br>   4. Building --with=
-norm (Darren Long) <br>

   5. Re: two different Daemons and EID&#39;s (Michael Demmer) <br>   6. Bu=
g in DTN2 API library (Moore, Brad) <br>   7. Time units bug in APIServer (=
Moore, Brad) <br> <br> <br>------------------------------------------------=
---------------------- <br>

 <br>Message: 1 <br>Date: Mon, 6 Jul 2009 10:05:03 -0400 <br>From: &quot;Su=
shil Chaudhari&quot;  <br><div class=3D"im">Subject: Re: [dtn-users] two di=
fferent Daemons and EID&#39;s <br></div>To:  <br>Message-ID: &lt;000501c9fe=
42$c220dcc0$46629640$@com&gt; <br>

Content-Type: text/plain; charset=3D&quot;us-ascii&quot; <br><div class=3D"=
im"> <br>Can anybody tell me, <br> <br>1. how is it possible to run two dae=
mons by using same configuration file or <br>on the same machine?? <br> <br=
>


 2.   How the assignment of EID&#39;s is done? Is it with configuration fil=
e or <br>with directly with DTN. <br> <br>  <br> <br>  <br> <br>Thanks. <br=
> <br></div>-------------- next part -------------- <br>An HTML attachment =
was scrubbed... <br>

URL: <a href=3D"http://maillists.intel-research.net/pipermail/dtn-users/att=
achments/20090706/cdf97ac4/attachment-0001.html" target=3D"_blank">http://m=
aillists.intel-research.net/pipermail/dtn-users/attachments/20090706/cdf97a=
c4/attachment-0001.html</a>  <br>

 <br>------------------------------ <br> <br>Message: 2 <br>Date: Mon, 6 Ju=
l 2009 07:15:40 -0700 <br>From: Kurtis Heimerl  <br><div class=3D"im">Subje=
ct: Re: [dtn-users] two different Daemons and EID&#39;s <br></div>To: Sushi=
l Chaudhari  <br>

Cc: <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>	&lt;<a=
 href=3D"mailto:9a4753250907060715r1cfd05esc8a7b63a444ac9c4@mail.gmail.com"=
 target=3D"_blank">9a4753250907060715r1cfd05esc8a7b63a444ac9c4@mail.gmail.c=
om</a>&gt; <br>

Content-Type: text/plain; charset=3Dwindows-1252 <br><div class=3D"im"> <br=
>1-&gt; I could be mistaken, but I don&#39;t think you can do that. The con=
fig <br>file specifies ports and, and as such they cannot be shared. It&#39=
;s a <br>

</div>TCL script t!
 ho
 ugh (I think), so I suppose it may be possible. You can <br><div class=3D"=
im">tell DTND to use a different script than the default, so that seems <br=
>like a much easier way to run two daemons on the same machine. <br> <br>

2-&gt; Yes, the conf file specifies the EID for that DTN router. The <br>ro=
ute local_eid &quot;dtn://[info hostname].dtn&quot; <br>field is where it&#=
39;s set. In this instance, it&#39;s being named dtn://$HOSTNAME.dtn <br>

 <br></div><div class=3D"im">On Mon, Jul 6, 2009 at 7:05 AM, Sushil Chaudha=
ri wrote: <br>&gt; Can anybody tell me, <br>&gt; <br>&gt; 1. how is it poss=
ible to run two daemons by using same configuration file or <br>&gt; on the=
 same machine?? <br>

&gt; <br>&gt; 2.?? How the assignment of EID?s is done? Is it with configur=
ation file or <br>&gt; with directly with DTN. <br>&gt; <br>&gt; <br>&gt; <=
br>&gt; <br>&gt; <br>&gt; Thanks. <br>&gt; <br>&gt; _______________________=
________________________ <br>

&gt; dtn-users mailing list <br></div>&gt;!
  d
 <a href=3D"mailto:tn-users@maillists.intel-research.net" target=3D"_blank"=
>tn-users@maillists.intel-research.net</a> <br><div class=3D"im">&gt; <a hr=
ef=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users" targe=
t=3D"_blank">http://maillists.intel-research.net/mailman/listinfo/dtn-users=
</a> <br>

&gt; <br>&gt; <br> <br> <br> <br></div>------------------------------ <br> =
<br>Message: 3 <br>Date: Mon, 6 Jul 2009 11:50:16 -0400 <br>From: &quot;And=
resen, Jason R.&quot;  <br><div class=3D"im">Subject: Re: [dtn-users] two d=
ifferent Daemons and EID&#39;s <br>

</div>To: Sushil Chaudhari , <br><div class=3D"im">	&quot;<a href=3D"mailto=
:dtn-users@maillists.intel-research.net" target=3D"_blank">dtn-users@mailli=
sts.intel-research.net</a>&quot; <br>	 <br></div>Message-ID: <br>	&lt;<a hr=
ef=3D"mailto:600C0C33850FFE49B76BDD81AED4D25801293EB431@IMCMBX3.MITRE.ORG" =
target=3D"_blank">600C0C33850FFE49B76BDD81AED4D25801293EB431@IMCMBX3.MITRE.=
ORG</a>&gt; <br>

Content-Type: text/plain; charset=3D&quot;Windows-1252&quot; <br> <br>The o=
nly problem with running two daemons is that the XDR API doesn&#39;t have a=
 mechanism to specifiy an alternate port when it connects.  If you wanted t=
o run two daemons only one of them could have the XDR API enabled.  The oth=
er would have to use the XML API or something else.  You would obviously ha=
ve to specify different working directories fo!
 r=20
 the database as well, but that should be easy enough to do with a second c=
onfiguration file.  <br>________________________________________ <br>From: =
<a href=3D"mailto:dtn-users-bounces@maillists.intel-research.net" target=3D=
"_blank">dtn-users-bounces@maillists.intel-research.net</a> [<a href=3D"mai=
lto:dtn-users-bounces@maillists.intel-research.net" target=3D"_blank">dtn-u=
sers-bounces@maillists.intel-research.net</a>] On Behalf Of Sushil Chaudhar=
i [<a href=3D"mailto:schaudhari@mzeal.com" target=3D"_blank">schaudhari@mze=
al.com</a>] <br>

<div class=3D"im">Sent: Monday, July 06, 2009 10:05 AM <br></div>To: <a hre=
f=3D"mailto:dtn-users@maillists.intel-research.net" target=3D"_blank">dtn-u=
sers@maillists.intel-research.net</a> <br><div class=3D"im">Subject: Re: [d=
tn-users] two different Daemons and EID&#39;s <br>

 <br></div><div class=3D"im">Can anybody tell me, <br> <br>1. how is it pos=
sible to run two daemons by using same configuration file or on the same ma=
chine?? <br>2.   How the assignment of EID?s is done? Is it with configurat=
ion file or with directly with DTN. <br>

 <br> <br>Thanks. <br> <br> <br> <br></div>------------------------------ <=
br> <br>Message: 4 <br>Date: Mon, 06 Jul 2009 17:05:30 +0100 <br>From: Darr=
en Long  <br>Subject: [dtn-users] Building --with-norm <br>To: dtn-users ma=
iling list  <br>

Message-I!
 D:
  &lt;<a href=3D"mailto:74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com" targe=
t=3D"_blank">74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com</a>&gt; <br>Conte=
nt-Type: text/plain; charset=3DUS-ASCII; format=3Dflowed; delsp=3Dyes <br> =
<br>Hi, <br>

 <br>I&#39;ve been happily using an old-ish build of DTN2 with norm on x86 =
for   <br>a while for experimental purposes, and have just managed to  cros=
s-  <br>compile both of them for arch PPC, but so far just with most recent=
   <br>

sources. <br> <br>Now I&#39;ve got both to cross-compile,  I&#39;m trying t=
o build DTN2 --with-  <br>norm, but I&#39;m getting compiler errors in the =
norm CL.  Its been a   <br>while since I built DTN2 with norm, and I&#39;m =
having difficulties   <br>

finding the latest versions of the two that build together.  I know I   <br=
>have the source for the successful DTN2/norm build stashed away   <br>some=
where, but I&#39;d like to get a view on what the best combination is. <br>

 <br>I&#39;ve been using the svn snapshot of norm and the mercurial tip of =
DTN2   <br>for my cross-c!
 om
 piling antics.  I&#39;m assuming that I&#39;m going to have to   <br>roll =
back to an old nightly build of norm and/or an old commit of DTN2   <br>in =
order to get them to build together, although I&#39;d really like to   <br>

get code from both tips.  Even so, I&#39;m currently finding it hard to   <=
br>come up with a buildable combination, even for a simple native build   <=
br>on Intel. <br> <br>I&#39;m also using norm independently of DTN, so it w=
ould be good to keep   <br>

up to date with norm.  I&#39;m starting to think that I&#39;ll need to cros=
s-  <br>compile two versions of norm, one for DTN2 to link against and anot=
her   <br>to build the norm and raft binaries from. <br> <br>Is there a eas=
y way forward, or should I go for the version &quot;mix and   <br>

match&quot; solution. <br> <br>Cheers, <br> <br>Darren <br> <br> <br> <br> =
<br>------------------------------ <br> <br>Message: 5 <br>Date: Mon, 6 Jul=
 2009 09:06:08 -0700 !
 <b>From: Michael Demmer  <br><div class=3D"im">Subject: Re: [dtn-users] tw=
o different Daemons and EID&#39;s <br></div>To: Kurtis Heimerl  <br>Cc: Sus=
hil Chaudhari , <br><div class=3D"im">	<a href=3D"mailto:dtn-users@maillist=
s.intel-research.net" target=3D"_blank">dtn-users@maillists.intel-research.=
net</a> <br>

</div>Message-ID: <br>	&lt;<a href=3D"mailto:59e8babf0907060906x292c779csd4=
9d2e8351d0538c@mail.gmail.com" target=3D"_blank">59e8babf0907060906x292c779=
csd49d2e8351d0538c@mail.gmail.com</a>&gt; <br>Content-Type: text/plain; cha=
rset=3D&quot;windows-1252&quot; <br>

<div class=3D"im"> <br>It&#39;s definitely possible to do -- I used to do i=
t all the time for testing <br>purposes and there are a whole slew of suppo=
rt scripts in DTN2/test-utils <br>and DTN2/test that do this. <br> <br>Firs=
t make sure you have a copy of the &quot;test-utils&quot; repository checke=
d out <br>

from mercurial at the same directory level as DTN2 and oasys. In other word=
s <br>you should have some directory with oasys, DTN2, and test-utils all a=
t the <br>same directory level. <br> <br>Then run the following <br> <br>

cd  <br>test-utils/run-dtn.tcl -v test/send-one-bundle.tcl <br> <br></div>T=
hat will first s!
 pi
 t out a bunch of info to the console, including <br><div class=3D"im">conf=
iguration files needed to run two dtnd instances on the same machine <br>(u=
sing different ports) and will also then run a test script in which it <br>

sends a single bundle from one daemon to the other to verify connectivity. =
<br> <br>Then it should be a simple matter of tweaking the config file tcl =
script to <br>combine them into one, which hopefully will get you started. =
<br>

 <br>-m <br> <br> <br>On Mon, Jul 6, 2009 at 7:15 AM, Kurtis Heimerl <br></=
div><div class=3D"im">wrote: <br> <br>&gt; 1-&gt; I could be mistaken, but =
I don&#39;t think you can do that. The config <br>&gt; file specifies ports=
 and, and as such they cannot be shared. It&#39;s a <br>

&gt; TCL script though (I think), so I suppose it may be possible. You can =
<br>&gt; tell DTND to use a different script than the default, so that seem=
s <br>&gt; like a much easier way to run two daemons on the same machine. <=
br>

&gt; <br></div>&gt; 2-&gt; Yes, th!
 e=20
 conf file specifies the EID for that DTN router. The <br><div class=3D"im"=
>&gt; route local_eid &quot;dtn://[info hostname].dtn&quot; <br>&gt; field =
is where it&#39;s set. In this instance, it&#39;s being named <br>&gt; dtn:=
//$HOSTNAME.dtn <br>

&gt; <br>&gt; On Mon, Jul 6, 2009 at 7:05 AM, Sushil Chaudhari <br></div><d=
iv class=3D"im">&gt; wrote: <br>&gt; &gt; Can anybody tell me, <br>&gt; &gt=
; <br>&gt; &gt; 1. how is it possible to run two daemons by using same conf=
iguration file <br>

&gt; or <br>&gt; &gt; on the same machine?? <br>&gt; &gt; <br>&gt; &gt; 2. =
  How the assignment of EID?s is done? Is it with configuration file <br>&g=
t; or <br>&gt; &gt; with directly with DTN. <br>&gt; &gt; <br>&gt; &gt; <br=
>

&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Thanks. <br>&gt; &gt; <=
br>&gt; &gt; _______________________________________________ <br>&gt; &gt; =
dtn-users mailing list <br>&gt; &gt; <a href=3D"mailto:dtn-users@maillists.=
intel-research.net" target=3D"_blank">dtn-users@maillists.intel-research.ne=
t</a> <br>

</div>&gt; &gt; <a href=3D"http://maillists.intel-r" target=3D"_blank">http=
://maillists.intel-r</a>!
 es
 <a href=3D"http://earch.net/mailman/listinfo/dtn-users" target=3D"_blank">=
earch.net/mailman/listinfo/dtn-users</a> <br>&gt; &gt; <br>&gt; &gt; <br>&g=
t; <br>&gt; _______________________________________________ <br><div class=
=3D"im">

&gt; dtn-users mailing list <br>&gt; <a href=3D"mailto:dtn-users@maillists.=
intel-research.net" target=3D"_blank">dtn-users@maillists.intel-research.ne=
t</a> <br>&gt; <a href=3D"http://maillists.intel-research.net/mailman/listi=
nfo/dtn-users" target=3D"_blank">http://maillists.intel-research.net/mailma=
n/listinfo/dtn-users</a> <br>

&gt; <br></div>-------------- next part -------------- <br>An HTML attachme=
nt was scrubbed... <br>URL: <a href=3D"http://maillists.intel-research.net/=
pipermail/dtn-users/attachments/20090706/105f3d36/attachment-0001.html" tar=
get=3D"_blank">http://maillists.intel-research.net/pipermail/dtn-users/atta=
chments/20090706/105f3d36/attachment-0001.html</a>  <br>

 <br>------------------------------ <br> <br>Message: 6 <br>Date: Mon, 6 Ju=
l 2009 10:41:52 -0600 <br>From: &quot;Moore, Brad&quot;  <br>Subject: [dtn-=
users] Bug in DTN2 API library <br>To:  <br>Message-ID: <br>	&lt;<a href=3D=
"mailto:0119B6D93B00714F84D6C33DBBA5E56F0151362B@CGYSVW100.gdcan.com" targe=
t=3D"_blank">0119B6D93B00714F84D6C33DBBA5E56F0151362B@CGYSVW100.gdcan.com</=
a>&gt; <br>

Content-Type: text/plain; charset=3D&quot;us-ascii&quot; <br> <br>I have po=
rted the DTN2 API library to Windows, Visual Studio, but have <br>discovere=
d a bug  <br>relating to the dtn_cancel_poll call. <br> <br>  <br> <br>dtn_=
api.c, line 664-665 reads <br>

 <br>  <br> <br>    poll_status =3D dtnipc_send_recv(handle, DTN_CANCEL_POL=
L); <br> <br>    if (poll_status !=3D DTN_SUCCESS &amp;&amp; poll_status !=
=3D DTN_ETIMEOUT) { <br> <br>  <br> <br>  <br> <br>it should read <br> <br>=
  <br>

 <br>    poll_status =3D dtnipc_send_recv(handle, DTN_CANCEL_POLL); <br> <b=
r>    if (poll_status !=3D DTN_SUCCESS &amp;&amp; handle-&gt;err !=3D DTN_E=
TIMEOUT) { <br> <br>  <br> <br>dtnipc_send_recv never will return DTN_ETIME=
OUT, currently. <br>

 <br>It returns DTN_SUCCESS or -1. You have to look at handle-err to <br> <=
br>determine why the call failed. This bug causes a response not <br> <br>t=
o be read from the socket, which lead to failures in my application. <br>

 <br>  <br> <br>Brad Moore <br> <br> <br>The information contained in this =
e-mail message is PRIVATE. It may contain confid!
 en
 tial information and may be legally privileged. It is intended for the exc=
lusive use of the addressee(s). If you are not the intended recipient, you =
are hereby notified that any dissemination, distribution or reproduction of=
 this communication is strictly prohibited. If the intended recipient(s) ca=
nnot be reached or if a transmission problem has occurred, please notify th=
e sender immediately by return e-mail and destroy all copies of this messag=
e.  <br>

Thank you.  <br> <br>-------------- next part -------------- <br>An HTML at=
tachment was scrubbed... <br>URL: <a href=3D"http://maillists.intel-researc=
h.net/pipermail/dtn-users/attachments/20090706/b135d24b/attachment-0001.htm=
l" target=3D"_blank">http://maillists.intel-research.net/pipermail/dtn-user=
s/attachments/20090706/b135d24b/attachment-0001.html</a>  <br>

 <br>------------------------------ <br> <br>Message: 7 <br>Date: Mon, 6 Ju=
l 2009 12:54:17 -0600 <br>From: &quot;Moore, Brad&quot;  <br>Subject: [dtn-=
users] Time units bug in APIServer <br>To:  <br>Message-ID: <br>	&lt;<a hre=
f=3D"mailto:0119B6D93B00714F84D6C33DBBA5E56F0151362D@CGYSVW100.gdcan.com" t=
arget=3D"_blank">0119B6D93B00714F84D6C33DBBA5E56F0151362D@CGYSVW100.gdcan.c=
om</a>&amp;!
 gt
 ; <br>Content-Type: text/plain; charset=3D&quot;us-ascii&quot; <br> <br>Th=
e units for dtn_timeval_t are documented in dtn_types.h as being in <br>sec=
onds. <br> <br>However, the timeout parameter for the dtn_begin_poll api ca=
ll is passed <br>

 <br>directly to oasys::IO::poll_multiple() on line 1733 of APIServer.cc.  =
<br> <br>  <br> <br>The Oasys call documents and interprets this value in m=
illiseconds, not <br>seconds. <br> <br>  <br> <br>To fix this bug, line 173=
3 of APIServer should be modified as; <br>

 <br>  <br> <br>Int nready =3D oasys::IO::poll_multiple(&amp;pollfds[0], np=
ollfds, <br>timeout*1000, <br> <br>  <br>NULL, logpath_); <br> <br>  <br> <=
br>Brad Moore <br> <br> <br>The information contained in this e-mail messag=
e is PRIVATE. It may contain confidential information and may be legally pr=
ivileged. It is intended for the exclusive use of the addressee(s). If you =
are not the intended recipient, you are hereb!
 y=20
 notified that any dissemination, distribution or reproduction of this comm=
unication is strictly prohibited. If the intended recipient(s) cannot be re=
ached or if a transmission problem has occurred, please notify the sender i=
mmediately by return e-mail and destroy all copies of this message.  <br>

Thank you.  <br> <br>-------------- next part -------------- <br>An HTML at=
tachment was scrubbed... <br>URL: <a href=3D"http://maillists.intel-researc=
h.net/pipermail/dtn-users/attachments/20090706/6b8011e1/attachment.html" ta=
rget=3D"_blank">http://maillists.intel-research.net/pipermail/dtn-users/att=
achments/20090706/6b8011e1/attachment.html</a>  <br>

 <br>------------------------------ <br> <br>______________________________=
_________________ <br><div class=3D"im">dtn-users mailing list <br><a href=
=3D"mailto:dtn-users@maillists.intel-research.net" target=3D"_blank">dtn-us=
ers@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></div>End of dtn-users Digest, Vol 21, Issue 6 <br>

**************************************** </b>
</blockquote></div><br>

--0016e644ddeaae4fc9046e3365fd--


Received: from mzeal.com (mzeal.com [199.237.228.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n68EltgR003624 for <dtn-users@maillists.intel-research.net>; Wed, 8 Jul 2009 07:47:55 -0700
Received: (qmail 92190 invoked by uid 25671); 8 Jul 2009 14:47:12 -0000
Message-ID: <20090708144712.92189.qmail@mzeal.com>
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset="US-ASCII"; format="flowed"
MIME-Version: 1.0
X-Mailer: MIME::Lite 3.0104 (F2.72; T1.15; A1.47; B3.01; Q3.01)
Date: Wed, 8 Jul 2009 14:47:12 +0000
From: vlyamtsev@mzeal.com
To: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] two different Daemons and EID's
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, 08 Jul 2009 14:47:56 -0000

<br /><pre>Then run the following<br /><br />cd &lt;path-to-DTN2&gt;<br />test-utils/run-dtn.tcl -v test/send-one-bundle.tcl<br /></pre><p>We tried to run, tcl can&#39;t find the script $base_test_dir/../test-utils/import.tcl</p><p>Tnamks,</p><p><br /><br />------- Original Message ------- On 7/6/2009 6:55 PM  wrote:<br />Send dtn-users mailing list submissions to <br />	dtn-users@maillists.intel-research.net <br /> <br />To subscribe or unsubscribe via the World Wide Web, visit <br />	http://maillists.intel-research.net/mailman/listinfo/dtn-users <br />or, via email, send a message with subject or body &#39;help&#39; to <br />	dtn-users-request@maillists.intel-research.net <br /> <br />You can reach the person managing the list at <br />	dtn-users-owner@maillists.intel-research.net <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 />   
1. Re: two different Daemons and EID&#39;s (Sushil Chaudhari) <br />   2. Re: two different Daemons and EID&#39;s (Kurtis Heimerl) <br />   3. Re: two different Daemons and EID&#39;s (Andresen, Jason R.) <br />   4. Building --with-norm (Darren Long) <br />   5. Re: two different Daemons and EID&#39;s (Michael Demmer) <br />   6. Bug in DTN2 API library (Moore, Brad) <br />   7. Time units bug in APIServer (Moore, Brad) <br /> <br /> <br />---------------------------------------------------------------------- <br /> <br />Message: 1 <br />Date: Mon, 6 Jul 2009 10:05:03 -0400 <br />From: &quot;Sushil Chaudhari&quot;  <br />Subject: Re: [dtn-users] two different Daemons and EID&#39;s <br />To:  <br />Message-ID: &lt;000501c9fe42$c220dcc0$46629640$@com&gt; <br />Content-Type: text/plain; charset=&quot;us-ascii&quot; <br /> <br />Can anybody tell me, <br /> <br />1. how is it possible to run two daemons by using same configuration file or <br />on the same machine?? <br /> <br />2.   How the assignment of EID&#39;s is done? Is it with configuration file or <br />with directly with DTN. <br /> <br />  <br /> <br />  <br /> <br />Thanks. <br /> <br />-------------- next part -------------- <br />An HTML attachment was scrubbed... <br />URL: http://maillists.intel-research.net/pipermail/dtn-users/attachments/20090706/cdf97ac4/attachment-0001.html  <br /> <br />------------------------------ <br /> <br />Message: 2 <br />Date: Mon, 6 Jul 2009 07:15:40 -0700 <br />From: Kurtis Heimerl  <br />Subject: Re: [dtn-users] two different Daemons and EID&#39;s <br />To: Sushil Chaudhari  <br />Cc: dtn-users@maillists.intel-research.net <br />Message-ID: <br />	&lt;9a4753250907060715r1cfd05esc8a7b63a444ac9c4@mail.gmail.com&gt; <br />Content-Type: text/plain; charset=windows-1252 <br /> <br />1-&gt; I could be mistaken, but I don&#39;t think you can do that. The config <br />file specifies ports and, and as such they cannot be shared. It&#39;s a <br />TCL script though (I think), so I suppose it may be possible. You can <br />tell 
DTND to use a different script than the default, so that seems <br />like a much easier way to run two daemons on the same machine. <br /> <br />2-&gt; Yes, the conf file specifies the EID for that DTN router. The <br />route local_eid &quot;dtn://[info hostname].dtn&quot; <br />field is where it&#39;s set. In this instance, it&#39;s being named dtn://$HOSTNAME.dtn <br /> <br />On Mon, Jul 6, 2009 at 7:05 AM, Sushil Chaudhari wrote: <br />&gt; Can anybody tell me, <br />&gt; <br />&gt; 1. how is it possible to run two daemons by using same configuration file or <br />&gt; on the same machine?? <br />&gt; <br />&gt; 2.?? How the assignment of EID?s is done? Is it with configuration file or <br />&gt; with directly with DTN. <br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; Thanks. <br />&gt; <br />&gt; _______________________________________________ <br />&gt; dtn-users mailing list <br />&gt; dtn-users@maillists.intel-research.net <br />&gt; http://maillists.intel-research.net/mailman/listinfo/dtn-users <br />&gt; <br />&gt; <br /> <br /> <br /> <br />------------------------------ <br /> <br />Message: 3 <br />Date: Mon, 6 Jul 2009 11:50:16 -0400 <br />From: &quot;Andresen, Jason R.&quot;  <br />Subject: Re: [dtn-users] two different Daemons and EID&#39;s <br />To: Sushil Chaudhari , <br />	&quot;dtn-users@maillists.intel-research.net&quot; <br />	 <br />Message-ID: <br />	&lt;600C0C33850FFE49B76BDD81AED4D25801293EB431@IMCMBX3.MITRE.ORG&gt; <br />Content-Type: text/plain; charset=&quot;Windows-1252&quot; <br /> <br />The only problem with running two daemons is that the XDR API doesn&#39;t have a mechanism to specifiy an alternate port when it connects.  If you wanted to run two daemons only one of them could have the XDR API enabled.  The other would have to use the XML API or something else.  You would obviously have to specify different working directories for the database as well, but that should be easy enough to do with a second configuration file.  <br />__________________________________
______ <br />From: dtn-users-bounces@maillists.intel-research.net [dtn-users-bounces@maillists.intel-research.net] On Behalf Of Sushil Chaudhari [schaudhari@mzeal.com] <br />Sent: Monday, July 06, 2009 10:05 AM <br />To: dtn-users@maillists.intel-research.net <br />Subject: Re: [dtn-users] two different Daemons and EID&#39;s <br /> <br />Can anybody tell me, <br /> <br />1. how is it possible to run two daemons by using same configuration file or on the same machine?? <br />2.   How the assignment of EID?s is done? Is it with configuration file or with directly with DTN. <br /> <br /> <br />Thanks. <br /> <br /> <br /> <br />------------------------------ <br /> <br />Message: 4 <br />Date: Mon, 06 Jul 2009 17:05:30 +0100 <br />From: Darren Long  <br />Subject: [dtn-users] Building --with-norm <br />To: dtn-users mailing list  <br />Message-ID: &lt;74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com&gt; <br />Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes <br /> <br />Hi, <br /> <br />I&#39;ve been happily using an old-ish build of DTN2 with norm on x86 for   <br />a while for experimental purposes, and have just managed to  cross-  <br />compile both of them for arch PPC, but so far just with most recent   <br />sources. <br /> <br />Now I&#39;ve got both to cross-compile,  I&#39;m trying to build DTN2 --with-  <br />norm, but I&#39;m getting compiler errors in the norm CL.  Its been a   <br />while since I built DTN2 with norm, and I&#39;m having difficulties   <br />finding the latest versions of the two that build together.  I know I   <br />have the source for the successful DTN2/norm build stashed away   <br />somewhere, but I&#39;d like to get a view on what the best combination is. <br /> <br />I&#39;ve been using the svn snapshot of norm and the mercurial tip of DTN2   <br />for my cross-compiling antics.  I&#39;m assuming that I&#39;m going to have to   <br />roll back to an old nightly build of norm and/or an old commit of DTN2   <br />in order to get them to build together, although I&
#39;d really like to   <br />get code from both tips.  Even so, I&#39;m currently finding it hard to   <br />come up with a buildable combination, even for a simple native build   <br />on Intel. <br /> <br />I&#39;m also using norm independently of DTN, so it would be good to keep   <br />up to date with norm.  I&#39;m starting to think that I&#39;ll need to cross-  <br />compile two versions of norm, one for DTN2 to link against and another   <br />to build the norm and raft binaries from. <br /> <br />Is there a easy way forward, or should I go for the version &quot;mix and   <br />match&quot; solution. <br /> <br />Cheers, <br /> <br />Darren <br /> <br /> <br /> <br /> <br />------------------------------ <br /> <br />Message: 5 <br />Date: Mon, 6 Jul 2009 09:06:08 -0700 <br />From: Michael Demmer  <br />Subject: Re: [dtn-users] two different Daemons and EID&#39;s <br />To: Kurtis Heimerl  <br />Cc: Sushil Chaudhari , <br />	dtn-users@maillists.intel-research.net <br />Message-ID: <br />	&lt;59e8babf0907060906x292c779csd49d2e8351d0538c@mail.gmail.com&gt; <br />Content-Type: text/plain; charset=&quot;windows-1252&quot; <br /> <br />It&#39;s definitely possible to do -- I used to do it all the time for testing <br />purposes and there are a whole slew of support scripts in DTN2/test-utils <br />and DTN2/test that do this. <br /> <br />First make sure you have a copy of the &quot;test-utils&quot; repository checked out <br />from mercurial at the same directory level as DTN2 and oasys. In other words <br />you should have some directory with oasys, DTN2, and test-utils all at the <br />same directory level. <br /> <br />Then run the following <br /> <br />cd  <br />test-utils/run-dtn.tcl -v test/send-one-bundle.tcl <br /> <br />That will first spit out a bunch of info to the console, including <br />configuration files needed to run two dtnd instances on the same machine <br />(using different ports) and will also then run a test script in which it <br />sends a single bundle from one daemon to the other to ve
rify connectivity. <br /> <br />Then it should be a simple matter of tweaking the config file tcl script to <br />combine them into one, which hopefully will get you started. <br /> <br />-m <br /> <br /> <br />On Mon, Jul 6, 2009 at 7:15 AM, Kurtis Heimerl <br />wrote: <br /> <br />&gt; 1-&gt; I could be mistaken, but I don&#39;t think you can do that. The config <br />&gt; file specifies ports and, and as such they cannot be shared. It&#39;s a <br />&gt; TCL script though (I think), so I suppose it may be possible. You can <br />&gt; tell DTND to use a different script than the default, so that seems <br />&gt; like a much easier way to run two daemons on the same machine. <br />&gt; <br />&gt; 2-&gt; Yes, the conf file specifies the EID for that DTN router. The <br />&gt; route local_eid &quot;dtn://[info hostname].dtn&quot; <br />&gt; field is where it&#39;s set. In this instance, it&#39;s being named <br />&gt; dtn://$HOSTNAME.dtn <br />&gt; <br />&gt; On Mon, Jul 6, 2009 at 7:05 AM, Sushil Chaudhari <br />&gt; wrote: <br />&gt; &gt; Can anybody tell me, <br />&gt; &gt; <br />&gt; &gt; 1. how is it possible to run two daemons by using same configuration file <br />&gt; or <br />&gt; &gt; on the same machine?? <br />&gt; &gt; <br />&gt; &gt; 2.   How the assignment of EID?s is done? Is it with configuration file <br />&gt; or <br />&gt; &gt; with directly with DTN. <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; <br />&gt; &gt; Thanks. <br />&gt; &gt; <br />&gt; &gt; _______________________________________________ <br />&gt; &gt; dtn-users mailing list <br />&gt; &gt; dtn-users@maillists.intel-research.net <br />&gt; &gt; http://maillists.intel-research.net/mailman/listinfo/dtn-users <br />&gt; &gt; <br />&gt; &gt; <br />&gt; <br />&gt; _______________________________________________ <br />&gt; dtn-users mailing list <br />&gt; dtn-users@maillists.intel-research.net <br />&gt; http://maillists.intel-research.net/mailman/listinfo/dtn-users <br />&gt; <br />-------------- next p
art -------------- <br />An HTML attachment was scrubbed... <br />URL: http://maillists.intel-research.net/pipermail/dtn-users/attachments/20090706/105f3d36/attachment-0001.html  <br /> <br />------------------------------ <br /> <br />Message: 6 <br />Date: Mon, 6 Jul 2009 10:41:52 -0600 <br />From: &quot;Moore, Brad&quot;  <br />Subject: [dtn-users] Bug in DTN2 API library <br />To:  <br />Message-ID: <br />	&lt;0119B6D93B00714F84D6C33DBBA5E56F0151362B@CGYSVW100.gdcan.com&gt; <br />Content-Type: text/plain; charset=&quot;us-ascii&quot; <br /> <br />I have ported the DTN2 API library to Windows, Visual Studio, but have <br />discovered a bug <br /> <br />relating to the dtn_cancel_poll call. <br /> <br />  <br /> <br />dtn_api.c, line 664-665 reads <br /> <br />  <br /> <br />    poll_status = dtnipc_send_recv(handle, DTN_CANCEL_POLL); <br /> <br />    if (poll_status != DTN_SUCCESS &amp;&amp; poll_status != DTN_ETIMEOUT) { <br /> <br />  <br /> <br />  <br /> <br />it should read <br /> <br />  <br /> <br />    poll_status = dtnipc_send_recv(handle, DTN_CANCEL_POLL); <br /> <br />    if (poll_status != DTN_SUCCESS &amp;&amp; handle-&gt;err != DTN_ETIMEOUT) { <br /> <br />  <br /> <br />dtnipc_send_recv never will return DTN_ETIMEOUT, currently. <br /> <br />It returns DTN_SUCCESS or -1. You have to look at handle-err to <br /> <br />determine why the call failed. This bug causes a response not <br /> <br />to be read from the socket, which lead to failures in my application. <br /> <br />  <br /> <br />Brad Moore <br /> <br /> <br />The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by retu
rn e-mail and destroy all copies of this message.  <br />Thank you.  <br /> <br />-------------- next part -------------- <br />An HTML attachment was scrubbed... <br />URL: http://maillists.intel-research.net/pipermail/dtn-users/attachments/20090706/b135d24b/attachment-0001.html  <br /> <br />------------------------------ <br /> <br />Message: 7 <br />Date: Mon, 6 Jul 2009 12:54:17 -0600 <br />From: &quot;Moore, Brad&quot;  <br />Subject: [dtn-users] Time units bug in APIServer <br />To:  <br />Message-ID: <br />	&lt;0119B6D93B00714F84D6C33DBBA5E56F0151362D@CGYSVW100.gdcan.com&gt; <br />Content-Type: text/plain; charset=&quot;us-ascii&quot; <br /> <br />The units for dtn_timeval_t are documented in dtn_types.h as being in <br />seconds. <br /> <br />However, the timeout parameter for the dtn_begin_poll api call is passed <br /> <br />directly to oasys::IO::poll_multiple() on line 1733 of APIServer.cc.  <br /> <br />  <br /> <br />The Oasys call documents and interprets this value in milliseconds, not <br />seconds. <br /> <br />  <br /> <br />To fix this bug, line 1733 of APIServer should be modified as; <br /> <br />  <br /> <br />Int nready = oasys::IO::poll_multiple(&amp;pollfds[0], npollfds, <br />timeout*1000, <br /> <br />  <br />NULL, logpath_); <br /> <br />  <br /> <br />Brad Moore <br /> <br /> <br />The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by return e-mail and destroy all copies of this message.  <br />Thank you.  <br /> <br />-------------- next part -------------- <br />An HTML attachment was scrubbed... <br />URL: http://maillists.intel-research.net/pipermail/dtn-use
rs/attachments/20090706/6b8011e1/attachment.html  <br /> <br />------------------------------ <br /> <br />_______________________________________________ <br />dtn-users mailing list <br />dtn-users@maillists.intel-research.net <br />http://maillists.intel-research.net/mailman/listinfo/dtn-users <br /> <br /> <br />End of dtn-users Digest, Vol 21, Issue 6 <br />**************************************** </p>


Received: from mzeal.com (mzeal.com [199.237.228.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n68CEC6j028920 for <dtn-users@maillists.intel-research.net>; Wed, 8 Jul 2009 05:14:13 -0700
Received: (qmail 9992 invoked by uid 25671); 8 Jul 2009 12:13:26 -0000
Received: from unknown (HELO D674VYB1) ([72.93.166.74]) (envelope-sender <vlyamtsev@mzeal.com>) by 199.237.228.71 (qmail-ldap-1.03) with SMTP for <dtn-users@maillists.intel-research.net>; 8 Jul 2009 12:13:26 -0000
From: "Victor" <vlyamtsev@mzeal.com>
To: "'Graham Keellings \(Leonix Solutions Pte Ltd\)'" <Graham@LeonixSolutions.com>
Date: Wed, 8 Jul 2009 08:13:25 -0400
Message-ID: <000001c9ffc5$8109c0b0$6801a8c0@D674VYB1>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C9FFA3.F9F820B0"
X-Mailer: Microsoft Office Outlook 11
Thread-Index: Acn7scFxtJ0+pQwATGadrNCr4IW2KwDkG+1w
In-Reply-To: <4A4DB63E.7030606@LeonixSolutions.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] DTN2 build errors
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, 08 Jul 2009 12:14:14 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C9FFA3.F9F820B0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Graham,

Thanks for the update, I've got the build working on Hardy Heron.

The path to the SafeRange.h seems to be incorrect in both 2.6 release and
mercurial,

 ../oasys-1.3.0/util/SafeRange.h should have <cstring> header added, not
../oasys/util/SafeRange.h

Anyway, what's the point of having both release and mercurial folders in
DTN2 folder? 

Thanks again,

-Victor

 

 

  _____  

From: Graham Keellings (Leonix Solutions Pte Ltd)
[mailto:Graham@LeonixSolutions.com] 
Sent: Friday, July 03, 2009 3:42 AM
To: Victor
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] DTN2 build errors

 

Victor wrote: 

I have the following errors trying to build "servlib" for DTN2 2.6 on Ubuntu
8.04
  

Victor, the "'size_t' does not name a type" is well documented on many
builds, in previous mail. I will try to dig the solution out for you.

In the meantime, I cannot get the official, frozen, 2.6 to build on Ubuntu 8
or 9, or Fedora 10 or 11, or Suse 11 (can anyone?) .

All that I can manage is to grab the latest nightly build from soureforge on
Ubuntu 8 (it won't build on anything else which I tried) and follow this
priceless advice from Jon Setzer




Here is a list of things I had to do to get DTN to work on Ubuntu back
in January.  This information is a little out of date and my system is
different than yours, but it might give you some ideas:
 
Enviroment:
There are two ways to install DTN2: get the latest build from the
mercurial repository or get the 2.6 build tarball from SourceForge. As
of January 2009, the configure scripts would NOT run correctly if you
attempted to install the 2.6 build from tarball on Ubuntu Ibex(8.10).
The latest mercurial build has fixed the install issue that the 2.6
build has and will install fine on Ubuntu Ibex(8.10). You can install
the 2.6 tarball with only one problem on Ubuntu Heron(8.04), or you can
see the section on additional steps to take to get the 2.6 tarball
working on Ubuntu Ibex(8.10). The rest of this tutorial assumes you are
installing DTN2 on two Ubuntu Heron virtual machines updated to Jan
2009(unless otherwise noted) with the following names and IP addresses:
 
Install Procedure:
 
   1. Install these packages and their dependencies    (note from Graham -
grab the xxx-dev first and dependencies will usually grab the xxx)
         1. build-essential
         2. g++
         3. libavahi-compact-libdnssd-dev
         4. libdb4.6
         5. libdb4.6-dev
         6. libxerces-c2-dev
         7. libxerces-c28
         8. libexpat1-dev
         9. mono-1.0-devel
        10. tcl8.4
        11. tcl8.4-dev
        12. tcllib
        13. tclreadline
        14. tclx8.4-dev
        15. tclx8.4
        16. zlib1g-dev 
   2. cd /Some/Where/You/Want/To/Put/Install/Files
   3. mkdir dtn2
   4. cd dtn2
   5. Download Oasys
         1. Download tarball from SourceForge...OR:
               1. Download oasys-1.3.0.tgz and dtn-2.6.0.tgz from
http://sourceforge.net/project/showfiles.php?group_id=101657 into your
dtn2 directory
               2. tar xvf oasys-1.3.0.tgz 
         2. Download latest build from Mercurial: hg clone
http://dtn.sourceforge.net/hg/oasys
   6. Install OASYS
         1. cd oasys-1.3.0/
         2. ./build-configure.sh           <=========   Note from Graham,
this gave me problems & I managed fine w/o it
         3. CC=gcc CXX=g++ ./configure
         4. make
         5. sudo make install 
   7. cd to back to dtn2 if you are still in the oasys dir.
   8. Download DTN2
         1. Download 2.6 tarball from SourceForge...OR:
               1. Download dtn-2.6.0.tgz from
http://sourceforge.net/project/showfiles.php?group_id=101657 into your
dtn2 directory if you haven't already.
               2. tar xvf dtn-2.6.0.tgz 
         2. Download latest build from Mercurial...OR: hg clone
http://dtn.sourceforge.net/hg/DTN2
   9. At this point you may want to look at dtn-2.6.0/README and
dtn-2.6.0/doc/manual/index.html
  10. Install DTN2
         1. cd dtn-2.6.0
         2. ./build-configure.sh
         4. CC=gcc CXX=g++ ./configure -C
         5. Oasys seems to compile without any changes; however, when
the DTN code is compiled it references the Oasys code and cannot resolve
the symbole size_t. You need need to add the cstring library to the
scope of SafeRange.h by adding this code after line 18 of
oasys/util/SafeRange.h (I think this is fixed in the Mercurial build)
 
                  #ifndef size_t
                  #include <cstring>
                  #endif 
                  
 
         6. make
         7. sudo make install 
 
 
 
Get DTN 2.6 tarball to work in Ubuntu 8.10:
 
   1. In oasys/aclocal/gcc.ac replace both instances of this:
 
         oasys_cv_prog_gccver=`$CC --version | head -n 1`
         oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed
's/.*gcc.*(GCC) //'`
         oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed 's/
.*//'`
         
 
      with this:
 
         oasys_cv_prog_gxxver=`$CXX -dumpversion | cut -d. -f1-2`
         
 
   2. Add #include <climits> to line 31 of oasys/utils/StringUtils.h
   3. Add #include <climits> to line 20 of oasys/tclcmd/TclCommand.cc
   4. Add #include <climits> to line 20 of oasys/thread/Timmer.cc
   5. Add #include <cstring> and #include <cstdlib> to line 20 of
=oasys/utils/Getopt.cc
   6. Add #include <algorithm> to line 22 of
oasys/utils/InitSequencer.cc
   7. Add #include <cstring> to line 20 of oasys/utils/MD5.cc
   8. Add #include <cstring> to line 20 of oasys/utils/OptParser.cc
   9. Add #include <typeinfo> to line 19 or
dtn/servlib/conv_layers/ECLModule.cc
  10. Add #include <climits> to line 20 of
=dtn/servlib/discovery/IPDiscovery.cc=0
  11. Add #include <climits> to line 20 of
dtn/servlib/cmd/DiscoveryCommand.cc, servlib/cmd/RegistrationCommand.cc,
servlib/cmd/InterfaceCommand.cc, servlib/cmd/BundleCommand.cc
  12. Add #include <sys/types.h> to line 21 of dtn/servlib/prophet/Ack.h
  13. Add #include <cstring> to line 18 of dtn/servlib/prophet/RIBTLV.cc
  14. Add #include <climits> to line 20 of
dtn/servlib/reg/TclRegistration.cc 
 
 

I hope hat this helps - I used a virgin install of Ubuntu 8 on laptops which
I will use only for DTN and no other porpoise; ymmv

I have had wonderful help from the mailing lists, so if I can do anything to
repay, I will try my bestest.

have a great weekend.

~graham();






 
Any idea what the problem is?
 
 
 
g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT "bundling/SequenceID.o
 
bundling/SequenceID.E"  -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE
 
-D_FILE_OFFSET_BITS=64 -I.. -I.. -I/home/mzeal/oasys-1.3.0/include
-I/home/mzeal/oasys-1.3.0/include/oasys/ext -I../servlib
 
-I/usr/include/tcl8.4 -I/usr/local/BerkeleyDB.4.6/include  -Wall -W
-Wcast-align  -c bundling/SequenceID.cc -o bundling/SequenceID.o In file
included from bundling/SequenceID.cc:22:
 
../oasys/util/SafeRange.h:35: error: expected `)' before 'offset'
 
../oasys/util/SafeRange.h:36: error: 'size_t' does not name a type
 
../oasys/util/SafeRange.h:39: error: 'size_t' has not been declared
 
../oasys/util/SafeRange.h:42: error: declaration of 'operator[]' as
non-function
 
../oasys/util/SafeRange.h:42: error: expected ';' before '(' token In file
included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,
 
                 from /usr/include/c++/4.2/iosfwd:46,
 
                 from /usr/include/c++/4.2/ios:43,
 
                 from /usr/include/c++/4.2/ostream:45,
 
                 from /usr/include/c++/4.2/iostream:45,
 
                 from ../oasys/util/../debug/Log.h:94,
 
                 from ../oasys/util/StringAppender.h:22,
 
                 from bundling/SequenceID.cc:23:
 
/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `;'
before end of line
 
/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
before end of line In file included from bundling/SequenceID.cc:22:
 
../oasys/util/SafeRange.h: In constructor
'oasys::SafeRange<_Type>::SafeRange(_Type*, int)':
 
../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
 
does not have any field named 'array_'
 
../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
 
does not have any field named 'size_'
 
In file included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,
 
                 from /usr/include/c++/4.2/iosfwd:46,
 
                 from /usr/include/c++/4.2/ios:43,
 
                 from /usr/include/c++/4.2/ostream:45,
 
                 from /usr/include/c++/4.2/iostream:45,
 
                 from ../oasys/util/../debug/Log.h:94,
 
                 from ../oasys/util/StringAppender.h:22,
 
                 from bundling/SequenceID.cc:23:
 
/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h: At global scope:
 
/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
unqualified-id before end of line
 
/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
before end of line
 
/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
declaration before end of line
 
make[1]: *** [bundling/SequenceID.o] Error 1
 
 
 
 
 
 
 
 
  
 





  _____  



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






-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208

------=_NextPart_000_0001_01C9FFA3.F9F820B0
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-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"country-region"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"Street"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @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";
	color:black;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
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 bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Graham,<o:p></o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for the update, I&#8217;ve =
got the
build working on Hardy Heron&#8230;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The path to the SafeRange.h seems =
to be
incorrect in both 2.6 release and =
mercurial,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;../oasys-1.3.0/util/SafeRange.=
h should
have &lt;cstring&gt; header added, not&nbsp; =
../oasys/util/SafeRange.h<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Anyway, what&#8217;s the point of =
having
both release and mercurial folders in DTN2 folder? =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks =
again,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>-Victor</span></font><font =
color=3Dblack><span
style=3D'color:windowtext'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:windowtext'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 color=3Dblack face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight=
:bold'>From:</span></font></b><font
size=3D2 color=3Dblack face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:windowtext'> Graham Keellings (Leonix Solutions Pte Ltd)
[mailto:Graham@LeonixSolutions.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, July 03, =
2009 3:42
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Victor<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b>
dtn-users@maillists.intel-research.net<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [dtn-users] =
DTN2
build errors</span></font><font color=3Dblack><span =
style=3D'color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Victor wrote: <o:p></o:p></span></font></p>

<pre wrap=3D""><font size=3D2 color=3Dblack face=3D"Courier New"><span
style=3D'font-size:10.0pt'>I have the following errors trying to build =
&quot;servlib&quot; for DTN2 2.6 on =
Ubuntu<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>8.04<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; <o:p></o:p></span></font></pre>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Victor, the &quot;'size_t' does not name a =
type&quot;
is well documented on many builds, in previous mail. I will try to dig =
the
solution out for you.<br>
<br>
In the meantime, I cannot get the official, frozen, 2.6 to build on =
Ubuntu 8 or
9, or Fedora 10 or 11, or Suse 11 (can anyone?) .<br>
<br>
All that I can manage is to grab the latest nightly build from =
soureforge on
Ubuntu 8 (it won't build on anything else which I tried) and follow this
priceless advice from Jon Setzer<br>
<br>
<br>
<o:p></o:p></span></font></p>

<pre><font size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Here is a list of things I had to do to get =
DTN to work on Ubuntu back<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>in January.&nbsp; This information is a =
little out of date and my system =
is<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>different than yours, but it might give you =
some ideas:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Enviroment:<o:p></o:p></span></font></pre><pre=
><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>There are two ways to install DTN2: get the =
latest build from the<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>mercurial repository or get the 2.6 build =
tarball from SourceForge. As<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>of January 2009, the configure scripts would =
NOT run correctly if you<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>attempted to install the 2.6 build from =
tarball on Ubuntu Ibex(8.10).<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>The latest mercurial build has fixed the =
install issue that the 2.6<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>build has and will install fine on Ubuntu =
Ibex(8.10). You can install<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>the 2.6 tarball with only one problem on =
Ubuntu Heron(8.04), or you can<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>see the section on additional steps to take =
to get the 2.6 tarball<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>working on Ubuntu Ibex(8.10). The rest of =
this tutorial assumes you are<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>installing DTN2 on two Ubuntu Heron virtual =
machines updated to Jan<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>2009(unless otherwise noted) with the =
following names and IP =
addresses:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Install =
Procedure:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 1. Install these packages and =
their dependencies&nbsp;&nbsp;&nbsp; (note from Graham - grab the =
xxx-dev first and dependencies will usually grab the =
xxx)<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 1. build-essential<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 2. g++<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 3. =
libavahi-compact-libdnssd-dev<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 4. libdb4.6<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 5. libdb4.6-dev<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 6. libxerces-c2-dev<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 7. libxerces-c28<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 8. libexpat1-dev<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 9. mono-1.0-devel<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
10. tcl8.4<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
11. tcl8.4-dev<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
12. tcllib<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
13. tclreadline<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
14. tclx8.4-dev<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
15. tclx8.4<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
16. zlib1g-dev <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;2. cd =
/Some/Where/You/Want/To/Put/Install/Files<o:p></o:p></span></font></pre><=
pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 3. mkdir =
dtn2<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 4. cd =
dtn2<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 5. Download =
Oasys<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 1. Download tarball from =
SourceForge...OR:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Download oasys-1.3.0.tgz and =
dtn-2.6.0.tgz from<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><a
href=3D"http://sourceforge.net/project/showfiles.php?group_id=3D101657">h=
ttp://sourceforge.net/project/showfiles.php?group_id=3D101657</a> into =
your<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>dtn2 =
directory<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. tar xvf oasys-1.3.0.tgz =
<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;2. Download latest build from Mercurial: hg =
clone<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><a
href=3D"http://dtn.sourceforge.net/hg/oasys">http://dtn.sourceforge.net/h=
g/oasys</a><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 6. Install =
OASYS<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 1. cd oasys-1.3.0/<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 2. =
./build-configure.sh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; &lt;=3D=3D=3D=3D=3D=3D=3D=3D=3D&nbsp;&nbsp; Note from Graham, =
this gave me problems &amp; I managed fine w/o =
it<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 3. CC=3Dgcc CXX=3Dg++ =
./configure<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 4. make<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 5. sudo make install <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;7. cd to back to dtn2 if =
you are still in the oasys dir.<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 8. Download =
DTN2<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 1. Download 2.6 tarball from =
SourceForge...OR:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Download dtn-2.6.0.tgz =
from<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><a
href=3D"http://sourceforge.net/project/showfiles.php?group_id=3D101657">h=
ttp://sourceforge.net/project/showfiles.php?group_id=3D101657</a> into =
your<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>dtn2 directory if you haven't =
already.<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. tar xvf dtn-2.6.0.tgz =
<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;2. Download latest build from Mercurial...OR: hg =
clone<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><a
href=3D"http://dtn.sourceforge.net/hg/DTN2">http://dtn.sourceforge.net/hg=
/DTN2</a><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 9. At this point you may want to =
look at dtn-2.6.0/README and<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>dtn-2.6.0/doc/manual/index.html<o:p></o:p></sp=
an></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; 10. Install =
DTN2<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 1. cd dtn-2.6.0<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 2. ./build-configure.sh<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 4. CC=3Dgcc CXX=3Dg++ ./configure =
-C<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 5. Oasys seems to compile without any changes; however, =
when<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>the DTN code is compiled it references the =
Oasys code and cannot resolve<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>the symbole size_t. You need need to add the =
cstring library to the<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>scope of SafeRange.h by adding this code =
after line 18 of<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>oasys/util/SafeRange.h (I think this is fixed =
in the Mercurial build)<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #ifndef =
size_t<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #include =
&lt;cstring&gt;<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #endif =
<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p>=
</span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 6. make<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 7. sudo make install <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Get DTN 2.6 tarball to work in Ubuntu =
8.10:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 1. In oasys/aclocal/gcc.ac =
replace both instances of this:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; oasys_cv_prog_gccver=3D`$CC --version | head -n =
1`<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; oasys_cv_prog_gccver=3D`echo $oasys_cv_prog_gccver | =
sed<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>'s/.*gcc.*(GCC) =
//'`<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; oasys_cv_prog_gccver=3D`echo $oasys_cv_prog_gccver | sed =
's/<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>.*//'`<o:p></o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; with =
this:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; oasys_cv_prog_gxxver=3D`$CXX -dumpversion | cut -d. =
-f1-2`<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 2. Add #include &lt;climits&gt; =
to line 31 of =
oasys/utils/StringUtils.h<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 3. Add #include &lt;climits&gt; =
to line 20 of =
oasys/tclcmd/TclCommand.cc<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 4. Add #include &lt;climits&gt; =
to line 20 of =
oasys/thread/Timmer.cc<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 5. Add #include &lt;cstring&gt; =
and #include &lt;cstdlib&gt; to line 20 =
of<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>=3Doasys/utils/Getopt.cc<o:p></o:p></span></fo=
nt></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 6. Add #include =
&lt;algorithm&gt; to line 22 of<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>oasys/utils/InitSequencer.cc<o:p></o:p></span>=
</font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 7. Add #include &lt;cstring&gt; =
to line 20 of =
oasys/utils/MD5.cc<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 8. Add #include &lt;cstring&gt; =
to line 20 of =
oasys/utils/OptParser.cc<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp; 9. Add #include &lt;typeinfo&gt; =
to line 19 or<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>dtn/servlib/conv_layers/ECLModule.cc<o:p></o:p=
></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; 10. Add #include &lt;climits&gt; to =
line 20 of<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>=3Ddtn/servlib/discovery/IPDiscovery.cc=3D0<o:=
p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; 11. Add #include &lt;climits&gt; to =
line 20 of<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>dtn/servlib/cmd/DiscoveryCommand.cc, =
servlib/cmd/RegistrationCommand.cc,<o:p></o:p></span></font></pre><pre><f=
ont
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>servlib/cmd/InterfaceCommand.cc, =
servlib/cmd/BundleCommand.cc<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; 12. Add #include &lt;sys/types.h&gt; =
to line 21 of =
dtn/servlib/prophet/Ack.h<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; 13. Add #include &lt;cstring&gt; to =
line 18 of =
dtn/servlib/prophet/RIBTLV.cc<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; 14. Add #include &lt;climits&gt; to =
line 20 of<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>dtn/servlib/reg/TclRegistration.cc =
<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>I hope hat this helps - I used a virgin =
install of
Ubuntu 8 on laptops which I will use only for DTN and no other porpoise; =
ymmv<br>
<br>
I have had wonderful help from the mailing lists, so if I can do =
anything to
repay, I will try my bestest.<br>
<br>
have a great weekend.<br>
<br>
~graham();<br>
<br>
<br>
<br>
<br>
<o:p></o:p></span></font></p>

<pre wrap=3D""><font size=3D2 color=3Dblack face=3D"Courier New"><span
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Any idea what the problem =
is?<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>g++ -g -fno-inline&nbsp; -fPIC -DPIC -MMD -MP =
-MT &quot;bundling/SequenceID.o<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>bundling/SequenceID.E&quot;&nbsp; =
-DHAVE_CONFIG_H =
-D_LARGEFILE_SOURCE<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>-D_FILE_OFFSET_BITS=3D64 -I.. -I.. =
-I/home/mzeal/oasys-1.3.0/include<o:p></o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>-I/home/mzeal/oasys-1.3.0/include/oasys/ext =
-I../servlib<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>-I/usr/include/tcl8.4 =
-I/usr/local/BerkeleyDB.4.6/include&nbsp; -Wall =
-W<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>-Wcast-align&nbsp; -c bundling/SequenceID.cc =
-o bundling/SequenceID.o In =
file<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>included from =
bundling/SequenceID.cc:22:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>../oasys/util/SafeRange.h:35: error: expected =
`)' before 'offset'<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>../oasys/util/SafeRange.h:36: error: 'size_t' =
does not name a type<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>../oasys/util/SafeRange.h:39: error: 'size_t' =
has not been declared<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>../oasys/util/SafeRange.h:42: error: =
declaration of 'operator[]' as<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>non-function<o:p></o:p></span></font></pre><pr=
e><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>../oasys/util/SafeRange.h:42: error: expected =
';' before '(' token In file<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>included from =
/usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,<o:p></o:p></span></f=
ont></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
/usr/include/c++/4.2/iosfwd:46,<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
/usr/include/c++/4.2/ios:43,<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
/usr/include/c++/4.2/ostream:45,<o:p></o:p></span></font></pre><pre><font=

size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
/usr/include/c++/4.2/iostream:45,<o:p></o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
../oasys/util/../debug/Log.h:94,<o:p></o:p></span></font></pre><pre><font=

size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
../oasys/util/StringAppender.h:22,<o:p></o:p></span></font></pre><pre><fo=
nt
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
bundling/SequenceID.cc:23:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.=
h:33: error: expected `;'<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>before end of =
line<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.=
h:33: error: expected `}'<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>before end of line In file included from =
bundling/SequenceID.cc:22:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>../oasys/util/SafeRange.h: In =
constructor<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>'oasys::SafeRange&lt;_Type&gt;::SafeRange(_Typ=
e*, int)':<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>../oasys/util/SafeRange.h:40: error: class =
'oasys::SafeRange&lt;_Type&gt;'<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>does not have any field named =
'array_'<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>../oasys/util/SafeRange.h:40: error: class =
'oasys::SafeRange&lt;_Type&gt;'<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>does not have any field named =
'size_'<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>In file included from =
/usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,<o:p></o:p></span></f=
ont></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
/usr/include/c++/4.2/iosfwd:46,<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
/usr/include/c++/4.2/ios:43,<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
/usr/include/c++/4.2/ostream:45,<o:p></o:p></span></font></pre><pre><font=

size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
/usr/include/c++/4.2/iostream:45,<o:p></o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
../oasys/util/../debug/Log.h:94,<o:p></o:p></span></font></pre><pre><font=

size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from =
../oasys/util/StringAppender.h:22,<o:p></o:p></span></font></pre><pre><fo=
nt
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
bundling/SequenceID.cc:23:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.=
h: At global scope:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.=
h:33: error: expected<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>unqualified-id before end of =
line<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.=
h:33: error: expected `}'<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>before end of =
line<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.=
h:33: error: expected<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>declaration before end of =
line<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>make[1]: *** [bundling/SequenceID.o] Error =
1<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'> <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; <o:p></o:p></span></font></pre><pre
wrap=3D""><font size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre =
style=3D'text-align:center'><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>

<hr size=3D4 width=3D"90%" align=3Dcenter>

</span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>______________________________________________=
_<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>dtn-users mailing =
list<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><a
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillist=
s.intel-research.net</a><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><a
href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users">h=
ttp://maillists.intel-research.net/mailman/listinfo/dtn-users</a><o:p></o=
:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; <o:p></o:p></span></font></pre>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><br>
<br>
<br>
<o:p></o:p></span></font></p>

<pre><font size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>-- <o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Technical =
Director<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Leonix Solutions (Pte) =
Ltd<o:p></o:p></span></font></pre><pre><st1:Street
w:st=3D"on"><st1:address w:st=3D"on"><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
  style=3D'font-size:10.0pt'>18 Boon Lay =
Way</span></font></st1:address></st1:Street><o:p></o:p></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>#09-95 TradeHub =
21<o:p></o:p></span></font></pre><pre><st1:country-region
w:st=3D"on"><st1:place w:st=3D"on"><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
  =
style=3D'font-size:10.0pt'>Singapore</span></font></st1:place></st1:count=
ry-region> 609966<o:p></o:p></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Telephone:+65 6316 =
9968<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Fax: +65 6316 =
9208<o:p></o:p></span></font></pre></div>

</body>

</html>

------=_NextPart_000_0001_01C9FFA3.F9F820B0--



Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n68ARsOl023688 for <dtn-users@mailman.dtnrg.org>; Wed, 8 Jul 2009 03:27:54 -0700
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_QAvdvStKwQZwnuaYnoFmbw)"
Received: from host97.msm.che.vodafone ([212.183.134.130]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KMG00C0HL17WT60@asmtp020.mac.com> for dtn-users@mailman.dtnrg.org; Wed, 08 Jul 2009 03:27:13 -0700 (PDT)
Message-id: <16332D8B-8D9B-4169-BF17-A2976A0738B9@mac.com>
From: Darren Long <darren.long@mac.com>
To: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@leonixsolutions.com>
In-reply-to: <4A546248.3000008@LeonixSolutions.com>
Date: Wed, 08 Jul 2009 11:27:07 +0100
References: <74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com> <4A546248.3000008@LeonixSolutions.com>
X-Mailer: Apple Mail (2.935.3)
Cc: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
Subject: Re: [dtn-users] Problem with "route set type dtlsr"
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, 08 Jul 2009 10:27:55 -0000

--Boundary_(ID_QAvdvStKwQZwnuaYnoFmbw)
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-transfer-encoding: 7BIT

Hi Graham,

The relevant lines from my dtn.conf for a dtlsr router with bonjour  
discovery are as below:


	route set type dtlsr
	interface add tcp0  tcp local_port=4556
	discovery add discovery_bonjour bonjour

You shouldn't need explicit routes or links.  You shouldn't need to  
specify the ip address for the interface, or override the port for the  
bonjour discovery.

The bonjour discovery mechanism should add and open opportunistic  
links when bonjour announcements are heard from peers, and populate  
the routing table automatically.

One thing to check is that the mDNS responder (avahi-daemon if you are  
using avahi) is still running if you cycle the wifi interface.  
Sometimes it goes down and needs to be restarted, or you could do some  
scripting to make sure it restarts when a wifi interface is brought  
up, perhaps.

You could try running
	avahi-browse -a
to see all the announcments.

Hope this helps.

Darren

On 8 Jul 2009, at 10:09, Graham Keellings (Leonix Solutions Pte Ltd)  
wrote:

> Hi,
>
>  I now have a 3 node DTN wifi network and hope to add a fourth node  
> today or tomorrow.
>
> Unfortunately, that was done with static routing, not DTLSR, as I  
> wanted to start out simpel and work my way up..
>
> But when I change "route set type static" tp "route set type dtlsr"  
> in my config files the DTN console says "sendto failed: Network is  
> unreachable".
>
> Does anyone see anything wrong with the config file below? The only  
> line that I intend to change is "route set type static" to "route  
> set type dtlsr"
>
> Thanks in advance for any help ...
>
>
> log /dtnd info "dtnd parsing configuration..."
>
> console set addr 127.0.0.1
> console set port 5050
>
>
> set shorthostname [lindex [split [info hostname] .] 0]
> console set prompt "$shorthostname dtn% "
>
> storage set type berkeleydb
> storage set schema /etc/DS.xsd
>
> set dbdir ""
> foreach dir {/var/dtn /var/tmp/dtn} {
>    if {[file isdirectory $dir]} {
>        set dbdir $dir
>        break
>    }
> }
> if {$dbdir == ""} {
>    puts stderr "Must create /var/dtn or /var/tmp/dtn storage  
> directory"
>    exit 1
> }
> storage set payloaddir $dbdir/bundles
> storage set dbname     DTN
> storage set dbdir      $dbdir/db
>
> param set accept_custody true
> param set reactive_frag_enabled true
> param set link_max_retry_interval 5
>
> interface add tcp0 tcp local_addr=192.9.200.106
> link add acer_two_link_tcp acer-two ONDEMAND tcp
> link add asus_link_tcp asus ONDEMAND tcp
>
> route set type dtlsr
> route local_eid dtn://acer.one.dtn
>
> discovery add discovery_bonjour ip port=2000
> discovery announce tcp0 discovery_bonjour tcp interval=5
>
> route add dtn://acer.two.dtn/* acer_two_link_tcp
> route add dtn://asus.dtn/* asus_link_tcp
>
> log /dtnd info "dtnd configuration parsing complete"
>
> <Graham.vcf>_______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users


--Boundary_(ID_QAvdvStKwQZwnuaYnoFmbw)
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; ">Hi =
Graham,<div><br></div><div>The relevant lines from my dtn.conf for a =
dtlsr router with bonjour discovery are as =
below:</div><div><br></div><div><br></div><div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>route set =
type dtlsr</div><div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>interface add tcp0 &nbsp;tcp =
local_port=3D4556</div><div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>discovery add discovery_bonjour =
bonjour</div><div><br></div></div></div></div><div>You shouldn't need =
explicit routes or links. &nbsp;You shouldn't need to specify the ip =
address for the interface, or override the port for the bonjour =
discovery.</div><div><br></div><div>The bonjour discovery mechanism =
should add and open opportunistic links when bonjour announcements are =
heard from peers, and populate the routing table =
automatically.&nbsp;</div><div><br></div><div>One thing to check is that =
the mDNS responder (avahi-daemon if you are using avahi) is still =
running if you cycle the wifi interface. Sometimes it goes down and =
needs to be restarted, or you could do some scripting to make sure it =
restarts when a wifi interface is brought up, =
perhaps.</div><div><br></div><div>You could try =
running&nbsp;</div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>avahi-browse -a</div><div>to see =
all the announcments.</div><div><br></div><div>Hope this =
helps.</div><div><br></div><div>Darren</div><div><br><div><div>On 8 Jul =
2009, at 10:09, Graham Keellings (Leonix Solutions Pte Ltd) =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"> <div bgcolor=3D"#ffffff" text=3D"#000000"> <div =
class=3D"moz-text-flowed" style=3D"font-family: -moz-fixed; font-size: =
12px;" lang=3D"x-western">Hi, <br> <br> &nbsp;I now have a 3 node DTN =
wifi network and hope to add a fourth node today or tomorrow. <br> <br> =
Unfortunately, that was done with static routing, not DTLSR, as I wanted =
to start out simpel and work my way up.. <br> <br> But when I change =
"route set type static" tp "route set type dtlsr" in my config files the =
DTN console says "sendto failed: Network is unreachable". <br> <br> Does =
anyone see anything wrong with the config file below? The only line that =
I intend to change is "route set type static" to "route set type =
dtlsr"<br> <br> Thanks in advance for any help ...<br> <br> <br> log =
/dtnd info "dtnd parsing configuration..." <br> <br> console set addr =
127.0.0.1 <br> console set port 5050 <br> <br> <br> set shorthostname =
[lindex [split [info hostname] .] 0] <br> console set prompt =
"$shorthostname dtn% " <br> <br> storage set type berkeleydb <br> =
storage set schema /etc/DS.xsd <br> <br> set dbdir "" <br> foreach dir =
{/var/dtn /var/tmp/dtn} { <br> &nbsp;&nbsp; if {[file isdirectory $dir]} =
{ <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set dbdir $dir <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break <br> &nbsp;&nbsp; } <br> } =
<br> if {$dbdir =3D=3D ""} { <br> &nbsp;&nbsp; puts stderr "Must create =
/var/dtn or /var/tmp/dtn storage directory" <br> &nbsp;&nbsp; exit 1 =
<br> } <br> storage set payloaddir $dbdir/bundles <br> storage set =
dbname&nbsp;&nbsp;&nbsp;&nbsp; DTN <br> storage set =
dbdir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $dbdir/db <br> <br> param set =
accept_custody true <br> param set reactive_frag_enabled true <br> param =
set link_max_retry_interval 5 <br> <br> interface add tcp0 tcp =
local_addr=3D192.9.200.106 <br> link add acer_two_link_tcp acer-two =
ONDEMAND tcp <br> link add asus_link_tcp asus ONDEMAND tcp <br> <br> =
route set type dtlsr <br> route local_eid dtn://acer.one.dtn <br> <br> =
discovery add discovery_bonjour ip port=3D2000 <br> discovery announce =
tcp0 discovery_bonjour tcp interval=3D5 <br> <br> route add =
dtn://acer.two.dtn/* acer_two_link_tcp <br> route add dtn://asus.dtn/* =
asus_link_tcp <br> <br> log /dtnd info "dtnd configuration parsing =
complete" <br> <br> </div> </div>  =
<span>&lt;Graham.vcf&gt;</span>___________________________________________=
____<br>dtn-users mailing list<br><a =
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists=
.intel-research.net</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></body></html>=

--Boundary_(ID_QAvdvStKwQZwnuaYnoFmbw)--


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 n689ADH9020128 for <dtn-users@maillists.intel-research.net>; Wed, 8 Jul 2009 02:10:14 -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 1MOT9e-0002yy-WF for dtn-users@maillists.intel-research.net; Wed, 08 Jul 2009 05:09:31 -0400
Message-ID: <4A546248.3000008@LeonixSolutions.com>
Date: Wed, 08 Jul 2009 17:09:28 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: dtn-users <dtn-users@maillists.intel-research.net>
References: <74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com>
In-Reply-To: <74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com>
Content-Type: multipart/mixed; boundary="------------050202040900000302080500"
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] Problem with "route set type dtlsr"
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, 08 Jul 2009 09:10:14 -0000

This is a multi-part message in MIME format.
--------------050202040900000302080500
Content-Type: multipart/alternative;
	boundary="------------010101030504050101010607"


--------------010101030504050101010607
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

 I now have a 3 node DTN wifi network and hope to add a fourth node 
today or tomorrow.

Unfortunately, that was done with static routing, not DTLSR, as I wanted 
to start out simpel and work my way up..

But when I change "route set type static" tp "route set type dtlsr" in 
my config files the DTN console says "sendto failed: Network is 
unreachable".

Does anyone see anything wrong with the config file below? The only line 
that I intend to change is "route set type static" to "route set type dtlsr"

Thanks in advance for any help ...


log /dtnd info "dtnd parsing configuration..."

console set addr 127.0.0.1
console set port 5050


set shorthostname [lindex [split [info hostname] .] 0]
console set prompt "$shorthostname dtn% "

storage set type berkeleydb
storage set schema /etc/DS.xsd

set dbdir ""
foreach dir {/var/dtn /var/tmp/dtn} {
   if {[file isdirectory $dir]} {
       set dbdir $dir
       break
   }
}
if {$dbdir == ""} {
   puts stderr "Must create /var/dtn or /var/tmp/dtn storage directory"
   exit 1
}
storage set payloaddir $dbdir/bundles
storage set dbname     DTN
storage set dbdir      $dbdir/db

param set accept_custody true
param set reactive_frag_enabled true
param set link_max_retry_interval 5

interface add tcp0 tcp local_addr=192.9.200.106
link add acer_two_link_tcp acer-two ONDEMAND tcp
link add asus_link_tcp asus ONDEMAND tcp

route set type dtlsr
route local_eid dtn://acer.one.dtn

discovery add discovery_bonjour ip port=2000
discovery announce tcp0 discovery_bonjour tcp interval=5

route add dtn://acer.two.dtn/* acer_two_link_tcp
route add dtn://asus.dtn/* asus_link_tcp

log /dtnd info "dtnd configuration parsing complete"


--------------010101030504050101010607
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed"
 style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">Hi,
<br>
<br>
&nbsp;I now have a 3 node DTN wifi network and hope to add a fourth node
today or tomorrow.
<br>
<br>
Unfortunately, that was done with static routing, not DTLSR, as I
wanted to start out simpel and work my way up..
<br>
<br>
But when I change "route set type static" tp "route set type dtlsr" in
my config files the DTN console says "sendto failed: Network is
unreachable".
<br>
<br>
Does anyone see anything wrong with the config file below? The only
line that I intend to change is "route set type static" to "route set
type dtlsr"<br>
<br>
Thanks in advance for any help ...<br>
<br>
<br>
log /dtnd info "dtnd parsing configuration..."
<br>
<br>
console set addr 127.0.0.1
<br>
console set port 5050
<br>
<br>
<br>
set shorthostname [lindex [split [info hostname] .] 0]
<br>
console set prompt "$shorthostname dtn% "
<br>
<br>
storage set type berkeleydb
<br>
storage set schema /etc/DS.xsd
<br>
<br>
set dbdir ""
<br>
foreach dir {/var/dtn /var/tmp/dtn} {
<br>
&nbsp;&nbsp; if {[file isdirectory $dir]} {
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set dbdir $dir
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break
<br>
&nbsp;&nbsp; }
<br>
}
<br>
if {$dbdir == ""} {
<br>
&nbsp;&nbsp; puts stderr "Must create /var/dtn or /var/tmp/dtn storage directory"
<br>
&nbsp;&nbsp; exit 1
<br>
}
<br>
storage set payloaddir $dbdir/bundles
<br>
storage set dbname&nbsp;&nbsp;&nbsp;&nbsp; DTN
<br>
storage set dbdir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $dbdir/db
<br>
<br>
param set accept_custody true
<br>
param set reactive_frag_enabled true
<br>
param set link_max_retry_interval 5
<br>
<br>
interface add tcp0 tcp local_addr=192.9.200.106
<br>
link add acer_two_link_tcp acer-two ONDEMAND tcp
<br>
link add asus_link_tcp asus ONDEMAND tcp
<br>
<br>
route set type dtlsr
<br>
route local_eid dtn://acer.one.dtn
<br>
<br>
discovery add discovery_bonjour ip port=2000
<br>
discovery announce tcp0 discovery_bonjour tcp interval=5
<br>
<br>
route add dtn://acer.two.dtn/* acer_two_link_tcp
<br>
route add dtn://asus.dtn/* asus_link_tcp
<br>
<br>
log /dtnd info "dtnd configuration parsing complete"
<br>
<br>
</div>
</body>
</html>

--------------010101030504050101010607--

--------------050202040900000302080500
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------050202040900000302080500--


Received: from EXCAS01.olin.edu (excas01.olin.edu [209.94.128.49]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n680KFSF028526 for <dtn-users@maillists.intel-research.net>; Tue, 7 Jul 2009 17:20:15 -0700
Received: from EXVS01.olin.edu ([fe80::a081:cee5:bb29:ebf]) by EXCAS01.olin.edu ([::1]) with mapi; Tue, 7 Jul 2009 20:19:36 -0400
From: Katarina Miller <Katarina.Miller@students.olin.edu>
To: "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Date: Tue, 7 Jul 2009 20:15:19 -0400
Thread-Topic: Routing algorithms in DTN2
Thread-Index: AQHJ/2HGzKN2y4C+I0SezVIf+PBsUw==
Message-ID: <DA80C3E6C10BE94E8FCACEB239C2FEE45DA5431684@EXVS01.olin.edu>
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 n680KFSF028526
Subject: [dtn-users] Routing algorithms in DTN2
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, 08 Jul 2009 00:20:16 -0000

We're new to using DTN2 and are experimenting with the different routing algorithms (static, flood, etc.) and were wondering if there's any documentation available for how these algorithms work?

Also, we were wondering if anyone had implemented the Epidemic protocol with DTN2.

Thanks for your time,
Katie


Received: from asmtpout021.mac.com (asmtpout021.mac.com [17.148.16.96]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n67F7a4D003498 for <dtn-users@mailman.dtnrg.org>; Tue, 7 Jul 2009 08:07:36 -0700
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Received: from host95.msm.che.vodafone ([212.183.136.194]) by asmtp021.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KMF00G133B2RY10@asmtp021.mac.com> for dtn-users@mailman.dtnrg.org; Tue, 07 Jul 2009 08:06:47 -0700 (PDT)
Message-id: <6FE71E1F-3201-449E-A43C-14DB5915D614@mac.com>
From: Darren Long <darren.long@mac.com>
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
In-reply-to: <495BEAE6-5B52-4A93-9767-1A13F8E6371D@cs.berkeley.edu>
Date: Tue, 07 Jul 2009 16:06:37 +0100
References: <1211202441.15273.6.camel@pc20.ad.netlab.hut.fi> <48317FF4.8090404@netlab.tkk.fi> <495BEAE6-5B52-4A93-9767-1A13F8E6371D@cs.berkeley.edu>
X-Mailer: Apple Mail (2.935.3)
Subject: [dtn-users] Problem with storage system, with cross-compiled build for arch PPC
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, 07 Jul 2009 15:07:38 -0000

Hi all

I've got a build of DTN2 cross-compiled for an embedded Linux target  
on arch PPC and seem to have some issues getting any type of store to  
work.

I'd originally built for a berkeleydb store, but that fails.  I've  
tried a filesysdb and memorydb but all of these configurations fail  
with the following kind of output from dtnd (the error messages are  
identical except for the storage type value, which reflects that set  
in the dtn.conf file, as expected).

root@localhost:/root/nfstest/ppc_rpm> dtnd --init-db
[1246976385.894450 /dtnd notice] random seed is 894331
[1246976385.896514 /dtnd notice] DTN daemon starting up... (pid 2294)
[1246976385.940748 /command/api warning] warning, binding for  
local_port already exists
[1246976385.946207 /command/param warning] warning, binding for  
link_max_retry_interval already exists
[1246976385.948069 /command/param warning] warning, binding for  
custody_timer_max already exists
[1246976385.952149 /command/route warning] warning, binding for  
dtlsr_recompute_delay already exists
[1246976385.953940 /command/route warning] warning, binding for  
dtlsr_lsa_interval already exists
[1246976385.955292 /command/route warning] warning, binding for  
dtlsr_lsa_lifetime already exists
[1246976385.958893 /command/prophet warning] warning, binding for  
min_forward already exists
[1246976385.962595 /command/storage warning] warning, binding for tidy  
already exists
[1246976385.964579 /command/storage warning] warning, binding for  
db_log already exists
[1246976385.965998 /command/storage warning] warning, binding for  
db_txn already exists
[1246976385.967941 /command/storage warning] warning, binding for  
db_max_locks already exists
[1246976385.986219 /dtn/tclcmd error] error: line 56: 'storage set  
type: invalid value 'berkeleydb'':
storage set type: invalid value 'berkeleydb'
    while executing
"storage set type berkeleydb"
    (file "/etc/dtn.conf" line 56)
[1246976385.987488 /dtnd error] error in configuration file, exiting...

I'm not sure of the significance of all of the warnings, or if they  
are related to the problem with the storage.  The DTN2 code is from  
the hg repo at sourceforge.

I have db4.3 and tcl8.4 installed from RPMs I've built, on the target.  
I installed the tcl-devel RPM I'd built to see if that helped, but it  
didn't.

I'm not currently sure how to proceed. I wonder if anyone might have  
some clues as to what is going on.

Cheers,

Darren



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 n67Ec3al002013 for <dtn-users@mailman.dtnrg.org>; Tue, 7 Jul 2009 07:38:04 -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 n67EbRHZ014933 for <dtn-users@mailman.dtnrg.org>; Tue, 7 Jul 2009 10:37:28 -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 n67EbRcS014925;  Tue, 7 Jul 2009 10:37:27 -0400
Received: from IMCMBX4.MITRE.ORG ([129.83.29.207]) by imchub2.MITRE.ORG ([129.83.29.74]) with mapi; Tue, 7 Jul 2009 10:37:27 -0400
From: "Bush, Jeff" <jbush@mitre.org>
To: Darren Long <darren.long@mac.com>, dtn-users mailing list <dtn-users@mailman.dtnrg.org>
Date: Tue, 7 Jul 2009 10:37:26 -0400
Thread-Topic: Building --with-norm
Thread-Index: Acn+U7bhNhWer4RySo+THrtCIOTOPAAsfUrw
Message-ID: <29705F5F232FBC4C96D1CAE867538F0B0BB3E4AD96@IMCMBX4.MITRE.ORG>
References: <74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com>
In-Reply-To: <74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_000C_01C9FEEE.EB620170"
MIME-Version: 1.0
Subject: Re: [dtn-users] Building --with-norm
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, 07 Jul 2009 14:38:04 -0000

------=_NextPart_000_000C_01C9FEEE.EB620170
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Darren,

The compiler errors you're seeing are most likely related to recent NORM API
changes.  I just committed a fix to sourceforge that should allow you to
move forward.  Let me know...

We continue to make improvements to the NORM CL and will push these to
sourceforge once they're stable.

Thanks,
-Jeff  

>-----Original Message-----
>From: Darren Long [mailto:darren.long@mac.com]
>Sent: Monday, July 06, 2009 12:06 PM
>To: dtn-users mailing list
>Cc: Bush, Jeff
>Subject: Building --with-norm
>
>Hi,
>
>I've been happily using an old-ish build of DTN2 with norm on x86 for
>a while for experimental purposes, and have just managed to  cross-
>compile both of them for arch PPC, but so far just with most recent
>sources.
>
>Now I've got both to cross-compile,  I'm trying to build DTN2 --with-
>norm, but I'm getting compiler errors in the norm CL.  Its been a
>while since I built DTN2 with norm, and I'm having difficulties
>finding the latest versions of the two that build together.  I know I
>have the source for the successful DTN2/norm build stashed away
>somewhere, but I'd like to get a view on what the best combination is.
>
>I've been using the svn snapshot of norm and the mercurial tip of DTN2
>for my cross-compiling antics.  I'm assuming that I'm going to have to
>roll back to an old nightly build of norm and/or an old commit of DTN2
>in order to get them to build together, although I'd really like to
>get code from both tips.  Even so, I'm currently finding it hard to
>come up with a buildable combination, even for a simple native build
>on Intel.
>
>I'm also using norm independently of DTN, so it would be good to keep
>up to date with norm.  I'm starting to think that I'll need to cross-
>compile two versions of norm, one for DTN2 to link against and another
>to build the norm and raft binaries from.
>
>Is there a easy way forward, or should I go for the version "mix and
>match" solution.
>
>Cheers,
>
>Darren
>


------=_NextPart_000_000C_01C9FEEE.EB620170
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKtTCCA2Ew
ggJJoAMCAQICAhwzMA0GCSqGSIb3DQEBBQUAMF0xEjAQBgNVBAoTCW1pdHJlLm9yZzEeMBwGA1UE
CxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQDEx5NSVRSRSBDb3Jwb3JhdGlvbiBQcmlt
YXJ5IENBLTEwHhcNMDgwNjI3MjA0NTEyWhcNMDkxMjE5MjA0NTEyWjBWMRIwEAYDVQQKEwltaXRy
ZS5vcmcxDzANBgNVBAsTBnBlb3BsZTEVMBMGCgmSJomT8ixkAQETBWpidXNoMRgwFgYDVQQDEw9C
dXNoIEplZmZyZXkgRC4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKIAhldyfonlF/aWaHLg
Fqhw1QV2YBkox11Fw98vgjGvJTfsdwwSnP6mxH5HLiDAcpv3FTTQnC2SB/YxeAegPoqIktceA2Ww
2acTpQLp1DHulcxtnEG3pmv6AwpGO77hUcVVF2lC7czF5j9t/m3H9hnYxmqcBx77JGyES060+7MZ
AgMBAAGjgbUwgbIwDgYDVR0PAQH/BAQDAgXgMB0GA1UdDgQWBBTLCLnhPmFRXByDup1S/jysjuv4
VzAfBgNVHSMEGDAWgBSHtA9IjWIzQsEtURpIHsKeuwqxrTBEBgNVHR8EPTA7MDmgN6A1hjNodHRw
Oi8vd3d3Lm1pdHJlLm9yZy90ZWNoL21paS9wa2kvY2ExX21pdHJlX29yZy5jcmwwGgYDVR0RBBMw
EYEPamJ1c2hAbWl0cmUub3JnMA0GCSqGSIb3DQEBBQUAA4IBAQAoqGuAriAsuQmR98gd5/VVc15H
D579SdtvzosVljwgZXX9FI/aniCw1rt7cryWIVbblk5gteOPWiUAR2XVA0M+FLA0TWOz9bDxJZlh
CJ/tGTXIMrnlO5Ea2cTTviNH4s9uvNwp53u//U3pcuciVW5xPS+Y8vlB87oSkHI73uJYk2nfzNUB
/kvMj8oLVkElyBWAUvdvG+B4aJL6WVoI3OJAQjx9UnSWDooqSVIhc9kdDRzx4Kt6IsXqwYWmj1OZ
qQaYmJY3b2s45zd/rBlFjIyVpyyi2G3xhgQTlubDg5QiSCJQrpqA/G8cbydsNBquRM3o/0QyQgML
vn5N4D905dzlMIIDZDCCAkygAwIBAgIBATANBgkqhkiG9w0BAQUFADBaMRIwEAYDVQQKEwltaXRy
ZS5vcmcxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhvcml0eTEkMCIGA1UEAxMbTUlUUkUgQ29y
cG9yYXRpb24gUm9vdCBDQS0xMB4XDTA2MDYwMTA0MDAwMFoXDTE4MDYwMTA0MDAwMFowWjESMBAG
A1UEChMJbWl0cmUub3JnMR4wHAYDVQQLExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJDAiBgNVBAMT
G01JVFJFIENvcnBvcmF0aW9uIFJvb3QgQ0EtMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAK9rWpY9mIQm/m8y0JuO3RxO7Q1ufXlDVwqpAFcqLxVIf3Nk+Y/F9aLMknslKoUnn+wtTPc2
ydRWOktgF0VzE1ec4uNe2YM8U57CblP3w1lz3BFEKIPO3h/yqwcUjX1KE+Irdw3lSq0l/6LrpBUs
DVLoI0vqjZ4YCwCXlafHA6HYF9xZTl82UcNVz0ooCUMNakeMLYsscBRss/hnMwgkpwuAsoUy2AzY
AR9pIfOaLtZR1QdEK0JuWsXurM+zL+MEsWuvxVxf6Zvuxqr3mkQ6KWByLHT+dpbuQl8zmmHtQEH5
LU786Ef5mNDgyNafATwD9gOtDHU5UsA6Lb0GyGj+XyUCAwEAAaM1MDMwEgYDVR0TAQH/BAgwBgEB
/wIBAzAdBgNVHQ4EFgQUx3BRANhN/uQB1GiWxT2fmpf+dC8wDQYJKoZIhvcNAQEFBQADggEBABr5
9V8KWOKYGVx9bCR8le5c0pa6f3GWgUqOerpI8aAAgqLktQOKXrRrQ1o0agZI7cjXHNi3udxrKHbW
pe6VxVMMWq5tIl2/nVodO4lhxhRfvYs3+BKrTdRUsEInNibtktSWRvZgujvFR5ndygsVxPkAdHfq
SMbhxgepeAfSWIGXyPGk3SDCBpyLiyA8tSPXDi3zOgof7PEYXBfBM/8/561CqIlnlPTR8submTP2
aafHGaYi9QY12wICEaF2cXbilytHjcs2DI4En0M9QcE2reRRBE7jxYErEHF+U60rOwgLH8cS0gAF
xmft14AMdxj2ylQtl8GdBh0SnLPm2CHtjaowggPkMIICzKADAgECAgEFMA0GCSqGSIb3DQEBBQUA
MFoxEjAQBgNVBAoTCW1pdHJlLm9yZzEeMBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MSQw
IgYDVQQDExtNSVRSRSBDb3Jwb3JhdGlvbiBSb290IENBLTEwHhcNMDYwNjAzMTcxMzIyWhcNMTIw
NjAzMTcxMzIyWjBdMRIwEAYDVQQKEwltaXRyZS5vcmcxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1
dGhvcml0eTEnMCUGA1UEAxMeTUlUUkUgQ29ycG9yYXRpb24gUHJpbWFyeSBDQS0xMIIBIjANBgkq
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyPB7Vl0QgqgQt0u8Q2duRs7eZUPnhlflKPFPMXGG+iqG
pImYs6nfbFPsn0q8FqklFsm/UEV2JJQ3c7Srwfrqe9CrCbVFh761OxZI7fnUWiUasNP2ING19aAf
rQ8IoJsAEtGzHeIacS+M5CN4C0yfUC6CpBZTc9ZldjLUatvJr407K1i+7WnrRsMVKhICfgmiO/Xi
VR9YeXyzeRqFrLy6YtJCJuJd0QRfwKtKRpek5oU67Izr7ClHDtPJs7UOTjMYBS2fTzztC+wwOTp6
+A3ZbEymuQcAZRwmGkjVBe2R8MiX26R02Iigz+903ZAL/6bpvx0DnkrlR2UFr1KBGfBqmQIDAQAB
o4GxMIGuMBIGA1UdEwEB/wQIMAYBAf8CAQIwDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSHtA9I
jWIzQsEtURpIHsKeuwqxrTAfBgNVHSMEGDAWgBTHcFEA2E3+5AHUaJbFPZ+al/50LzBIBgNVHR8E
QTA/MD2gO6A5hjdodHRwOi8vd3d3Lm1pdHJlLm9yZy90ZWNoL21paS9wa2kvcm9vdGNhMV9taXRy
ZV9vcmcuY3JsMA0GCSqGSIb3DQEBBQUAA4IBAQBNbm7rrins3SICPbteX9qSN1+RJClqix/pw3IA
e7u60LK0V9jVZ9E2a+c0MZiSojdcwU5rXxI2OI2wwIf6wVBo76jIOc+IiQRlC+V8YatGmoibqP/8
WDPzlud/WQAzkjrU2nuh8KdyJG+n1kH/6772Lbra2CIk8mu8FypeaB5P2uIJzdE+PGo82ZiyU680
ukiJ9yF6UmEXuciB77tGQBRxMl6ePzIrArQnf48SmBhFD5XYLraueOiG7E+AzD99ig1M6WHcxWXt
p3DIrVqE/DZr146NJaCWqg9NoE14cmpEllnpWLtLnn5UBYJ+QCozmbe1SJXOOynZ0VxMnGdh7Nqg
MYICvTCCArkCAQEwYzBdMRIwEAYDVQQKEwltaXRyZS5vcmcxHjAcBgNVBAsTFUNlcnRpZmljYXRl
IEF1dGhvcml0eTEnMCUGA1UEAxMeTUlUUkUgQ29ycG9yYXRpb24gUHJpbWFyeSBDQS0xAgIcMzAJ
BgUrDgMCGgUAoIIBsDAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0w
OTA3MDcxNDM3MjZaMCMGCSqGSIb3DQEJBDEWBBTgtUPuJ13BZ35NIZPjaXn065Em7DBnBgkqhkiG
9w0BCQ8xWjBYMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUr
DgMCBzANBggqhkiG9w0DAgIBKDAHBgUrDgMCGjAKBggqhkiG9w0CBTByBgkrBgEEAYI3EAQxZTBj
MF0xEjAQBgNVBAoTCW1pdHJlLm9yZzEeMBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScw
JQYDVQQDEx5NSVRSRSBDb3Jwb3JhdGlvbiBQcmltYXJ5IENBLTECAhwzMHQGCyqGSIb3DQEJEAIL
MWWgYzBdMRIwEAYDVQQKEwltaXRyZS5vcmcxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhvcml0
eTEnMCUGA1UEAxMeTUlUUkUgQ29ycG9yYXRpb24gUHJpbWFyeSBDQS0xAgIcMzANBgkqhkiG9w0B
AQEFAASBgGIs6Mr6KJ0TfcFSbt2VNmqrSe7BeQfIvzeQzZqJhwHUTN4juamGKFyDpY3CRuiuU18H
d+UK1G0xcED7DQSQdCGGKrq/EF0NjSG4an64E6LHDAPZORNJFd1ugeCc7rr37AamhikvqqW6UVDO
wVVBoc6OqWXFHSTMbqFC/utEaexZAAAAAAAA

------=_NextPart_000_000C_01C9FEEE.EB620170--


Received: from mzeal.com (mzeal.com [199.237.228.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n67DIjHK030869 for <dtn-users@maillists.intel-research.net>; Tue, 7 Jul 2009 06:18:45 -0700
Received: (qmail 46370 invoked by uid 25671); 7 Jul 2009 13:18:10 -0000
Received: from unknown (HELO D674VYB1) ([72.93.155.238]) (envelope-sender <vlyamtsev@mzeal.com>) by 199.237.228.71 (qmail-ldap-1.03) with SMTP for <dtn-users@maillists.intel-research.net>; 7 Jul 2009 13:18:10 -0000
From: "Victor" <vlyamtsev@mzeal.com>
To: <dtn-users@maillists.intel-research.net>
Date: Tue, 7 Jul 2009 09:18:09 -0400
Message-ID: <000901c9ff05$5fb3ad60$6801a8c0@D674VYB1>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C9FEE3.D8A20D60"
X-Mailer: Microsoft Office Outlook 11
Thread-Index: Acn/BV8DQF61maYLTY+Mco13KUXJ7w==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Subject: [dtn-users] dtn 2.6 tutorial questions
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, 07 Jul 2009 13:18:46 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C9FEE3.D8A20D60
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi All,

I am trying to follow dtn 2.6 tutorial example for using dtnsend/ dtnrecv.

Seems, the example is using applications to send bundles from the directory
"me" to 

The directory "testing" on the same node ( EID = dtn://dtn-a.dtn).

Can someone explain how to set the root directory for "me" and "testing" in
the "dtn.conf" file ?

Thanks,

-V


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

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
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 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

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

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi All,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am trying to follow dtn 2.6 tutorial example for =
using dtnsend/
dtnrecv.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Seems, the example is using applications to send =
bundles from
the directory &#8220;me&#8221; to <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The directory &#8220;testing&#8221; on the same node =
( EID =3D
dtn://dtn-a.dtn).<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Can someone explain how to set the root directory for =
&#8220;me&#8221;
and &#8220;testing&#8221; in the &#8220;dtn.conf&#8221; file =
?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>-V<o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_000A_01C9FEE3.D8A20D60--



Received: from mzeal.com (mzeal.com [199.237.228.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n66M3pAt021802 for <dtn-users@maillists.intel-research.net>; Mon, 6 Jul 2009 15:03:52 -0700
Received: (qmail 69032 invoked by uid 25671); 6 Jul 2009 22:03:21 -0000
Message-ID: <20090706220321.69031.qmail@mzeal.com>
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset="US-ASCII"; format="flowed"
MIME-Version: 1.0
X-Mailer: MIME::Lite 3.0104 (F2.72; T1.15; A1.47; B3.01; Q3.01)
Date: Mon, 6 Jul 2009 22:03:20 +0000
From: schaudhari@mzeal.com
To: dtn-users@maillists.intel-research.net
Subject: [dtn-users] Receiving Bundles..
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, 06 Jul 2009 22:03:52 -0000

<p>Hi,</p><p>&nbsp;I was referring the tutorial 2 of DTN2 application. While using the sending commands works but I am not able to recive it on the other end (other daemon). I am getting message as: received DTN_CLOSE message; closing API handle. I have also checked if the bundles are pending on the oher side or not but it shows zero pending bundles. </p><p>&nbsp;Can anybody help me out why I am not able to receive my messages.</p><p>&nbsp;</p><p>Thanks </p>


Received: from smtp.gdcanada.com (smtp.gdcanada.com [209.29.4.39]) by maillists.intel-research.net (8.13.8/8.13.8) with SMTP id n66ItVAA013216 for <dtn-users@mailman.dtnrg.org>; Mon, 6 Jul 2009 11:55:32 -0700
Received: from gdcanada.com ([172.16.7.212]) by smtp.gdcanada.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Jul 2009 14:51:28 -0400
Received: from CGYSVW100.gdcan.com ([172.31.27.211]) by gdcanada.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Jul 2009 14:54:19 -0400
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9FE6B.2A35FC0D"
Date: Mon, 6 Jul 2009 12:54:17 -0600
Message-ID: <0119B6D93B00714F84D6C33DBBA5E56F0151362D@CGYSVW100.gdcan.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Time units bug in APIServer
thread-index: Acn+aynhALrm13eESwyFtLqdXNsfYg==
From: "Moore, Brad" <Brad.Moore@gdcanada.com>
To: <dtn-users@mailman.dtnrg.org>
X-OriginalArrivalTime: 06 Jul 2009 18:54:19.0251 (UTC) FILETIME=[2AF64C30:01C9FE6B]
Subject: [dtn-users] Time units bug in APIServer
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, 06 Jul 2009 18:55:33 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C9FE6B.2A35FC0D
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The units for dtn_timeval_t are documented in dtn_types.h as being in
seconds.

However, the timeout parameter for the dtn_begin_poll api call is passed

directly to oasys::IO::poll_multiple() on line 1733 of APIServer.cc.=20

=20

The Oasys call documents and interprets this value in milliseconds, not
seconds.

=20

To fix this bug, line 1733 of APIServer should be modified as;

=20

Int nready =3D oasys::IO::poll_multiple(&pollfds[0], npollfds,
timeout*1000,

=20
NULL, logpath_);

=20

Brad Moore


The information contained in this e-mail message is PRIVATE. It may =
contain confidential information and may be legally privileged. It is =
intended for the exclusive use of the addressee(s). If you are not the =
intended recipient, you are hereby notified that any dissemination, =
distribution or reproduction of this communication is strictly =
prohibited. If the intended recipient(s) cannot be reached or if a =
transmission problem has occurred, please notify the sender immediately =
by return e-mail and destroy all copies of this message.=20
Thank you.=20


------_=_NextPart_001_01C9FE6B.2A35FC0D
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-microsoft-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:"Cambria Math";
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-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-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.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>The units for dtn_timeval_t are documented in =
dtn_types.h as
being in seconds.<o:p></o:p></p>

<p class=3DMsoNormal>However, the timeout parameter for the =
dtn_begin_poll api
call is passed<o:p></o:p></p>

<p class=3DMsoNormal>directly to oasys::IO::poll_multiple() on line 1733 =
of
APIServer.cc. <o:p></o:p></p>

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

<p class=3DMsoNormal>The Oasys call documents and interprets this value =
in
milliseconds, not seconds.<o:p></o:p></p>

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

<p class=3DMsoNormal>To fix this bug, line 1733 of APIServer should be =
modified as;<o:p></o:p></p>

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

<p class=3DMsoNormal>Int nready =3D =
oasys::IO::poll_multiple(&amp;pollfds[0],
npollfds, timeout<span style=3D'color:red'>*1000</span>,<o:p></o:p></p>

<p =
class=3DMsoNormal>&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;&nb=
sp;&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;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
NULL, logpath_);<o:p></o:p></p>

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

<p class=3DMsoNormal>Brad Moore<o:p></o:p></p>

</div>

</body>

<!--[object_id=3D#gdcanada.com#]--><FONT face=3DTahoma><FONT =
color=3D#0000ff><SPAN style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; =
FONT-FAMILY: Arial"><FONT color=3D#000000>
<P align=3Dleft><FONT face=3DTahoma size=3D2><FONT color=3D#0000ff><FONT =
face=3DArial color=3D#000000 size=3D1>The information contained in this =
e-mail message is PRIVATE. It may contain confidential information and =
may be legally privileged. It is intended for the exclusive use of the =
addressee(s). If you are not the intended recipient, you are hereby =
notified that any dissemination, distribution or reproduction of this =
communication is strictly prohibited. If the intended recipient(s) =
cannot be reached or if a transmission problem has occurred, please =
notify the sender immediately by return e-mail and destroy all copies of =
this message. <BR>Thank you.</FONT> =
</FONT></FONT></P></FONT></SPAN><FONT =
size=3D2></FONT></FONT></FONT></html>

------_=_NextPart_001_01C9FE6B.2A35FC0D--


Received: from smtp.gdcanada.com (smtp.gdcanada.com [209.29.4.39]) by maillists.intel-research.net (8.13.8/8.13.8) with SMTP id n66Grngx007663 for <dtn-users@mailman.dtnrg.org>; Mon, 6 Jul 2009 09:53:52 -0700
Received: from gdcanada.com ([172.16.7.212]) by smtp.gdcanada.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Jul 2009 12:39:02 -0400
Received: from CGYSVW100.gdcan.com ([172.31.27.211]) by gdcanada.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 6 Jul 2009 12:41:53 -0400
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9FE58.AA303140"
Date: Mon, 6 Jul 2009 10:41:52 -0600
Message-ID: <0119B6D93B00714F84D6C33DBBA5E56F0151362B@CGYSVW100.gdcan.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Bug in DTN2 API library
thread-index: Acn+WKpCCwNFUOz9Tk2eJMu7Q5cYnQ==
From: "Moore, Brad" <Brad.Moore@gdcanada.com>
To: <dtn-users@mailman.dtnrg.org>
X-OriginalArrivalTime: 06 Jul 2009 16:41:53.0408 (UTC) FILETIME=[AADEE000:01C9FE58]
Subject: [dtn-users] Bug in DTN2 API library
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, 06 Jul 2009 16:53:53 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C9FE58.AA303140
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I have ported the DTN2 API library to Windows, Visual Studio, but have
discovered a bug

relating to the dtn_cancel_poll call.

=20

dtn_api.c, line 664-665 reads

=20

    poll_status =3D dtnipc_send_recv(handle, DTN_CANCEL_POLL);

    if (poll_status !=3D DTN_SUCCESS && poll_status !=3D DTN_ETIMEOUT) {

=20

=20

it should read

=20

    poll_status =3D dtnipc_send_recv(handle, DTN_CANCEL_POLL);

    if (poll_status !=3D DTN_SUCCESS && handle->err !=3D DTN_ETIMEOUT) {

=20

dtnipc_send_recv never will return DTN_ETIMEOUT, currently.

It returns DTN_SUCCESS or -1. You have to look at handle-err to

determine why the call failed. This bug causes a response not

to be read from the socket, which lead to failures in my application.

=20

Brad Moore


The information contained in this e-mail message is PRIVATE. It may =
contain confidential information and may be legally privileged. It is =
intended for the exclusive use of the addressee(s). If you are not the =
intended recipient, you are hereby notified that any dissemination, =
distribution or reproduction of this communication is strictly =
prohibited. If the intended recipient(s) cannot be reached or if a =
transmission problem has occurred, please notify the sender immediately =
by return e-mail and destroy all copies of this message.=20
Thank you.=20


------_=_NextPart_001_01C9FE58.AA303140
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-microsoft-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:"Cambria Math";
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-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-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.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>I have ported the DTN2 API library to Windows, =
Visual
Studio, but have discovered a bug<o:p></o:p></p>

<p class=3DMsoNormal>relating to the dtn_cancel_poll =
call.<o:p></o:p></p>

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

<p class=3DMsoNormal>dtn_api.c, line 664-665 reads<o:p></o:p></p>

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

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; poll_status =3D =
dtnipc_send_recv(handle,
DTN_CANCEL_POLL);<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; if (poll_status !=3D DTN_SUCCESS =
&amp;&amp;
poll_status !=3D DTN_ETIMEOUT) {<o:p></o:p></p>

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

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

<p class=3DMsoNormal>it should read<o:p></o:p></p>

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

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; poll_status =3D =
dtnipc_send_recv(handle,
DTN_CANCEL_POLL);<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp; if (poll_status !=3D DTN_SUCCESS =
&amp;&amp;
<span style=3D'color:red'>handle-&gt;err</span> !=3D DTN_ETIMEOUT) =
{<o:p></o:p></p>

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

<p class=3DMsoNormal>dtnipc_send_recv never will return DTN_ETIMEOUT, =
currently.<o:p></o:p></p>

<p class=3DMsoNormal>It returns DTN_SUCCESS or -1. You have to look at =
handle-err
to<o:p></o:p></p>

<p class=3DMsoNormal>determine why the call failed. This bug causes a =
response
not<o:p></o:p></p>

<p class=3DMsoNormal>to be read from the socket, which lead to failures =
in my
application.<o:p></o:p></p>

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

<p class=3DMsoNormal>Brad Moore<o:p></o:p></p>

</div>

</body>

<!--[object_id=3D#gdcanada.com#]--><FONT face=3DTahoma><FONT =
color=3D#0000ff><SPAN style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; =
FONT-FAMILY: Arial"><FONT color=3D#000000>
<P align=3Dleft><FONT face=3DTahoma size=3D2><FONT color=3D#0000ff><FONT =
face=3DArial color=3D#000000 size=3D1>The information contained in this =
e-mail message is PRIVATE. It may contain confidential information and =
may be legally privileged. It is intended for the exclusive use of the =
addressee(s). If you are not the intended recipient, you are hereby =
notified that any dissemination, distribution or reproduction of this =
communication is strictly prohibited. If the intended recipient(s) =
cannot be reached or if a transmission problem has occurred, please =
notify the sender immediately by return e-mail and destroy all copies of =
this message. <BR>Thank you.</FONT> =
</FONT></FONT></P></FONT></SPAN><FONT =
size=3D2></FONT></FONT></FONT></html>

------_=_NextPart_001_01C9FE58.AA303140--


Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n66G6vu8005541 for <dtn-users@maillists.intel-research.net>; Mon, 6 Jul 2009 09:06:58 -0700
Received: by an-out-0708.google.com with SMTP id d40so67164and.34 for <dtn-users@maillists.intel-research.net>; Mon, 06 Jul 2009 09:06:28 -0700 (PDT)
MIME-Version: 1.0
Sender: demmer@gmail.com
Received: by 10.100.212.5 with SMTP id k5mr8721462ang.158.1246896388203; Mon,  06 Jul 2009 09:06:28 -0700 (PDT)
In-Reply-To: <9a4753250907060715r1cfd05esc8a7b63a444ac9c4@mail.gmail.com>
References: <000501c9fe42$c220dcc0$46629640$@com> <9a4753250907060715r1cfd05esc8a7b63a444ac9c4@mail.gmail.com>
From: Michael Demmer <demmer@cs.berkeley.edu>
Date: Mon, 6 Jul 2009 09:06:08 -0700
X-Google-Sender-Auth: 362bba2dce4fd063
Message-ID: <59e8babf0907060906x292c779csd49d2e8351d0538c@mail.gmail.com>
To: Kurtis Heimerl <kheimerl@eecs.berkeley.edu>
Content-Type: multipart/alternative; boundary=0016368e1c314a678c046e0bb090
Cc: Sushil Chaudhari <schaudhari@mzeal.com>, dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] two different Daemons and EID's
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, 06 Jul 2009 16:06:58 -0000

--0016368e1c314a678c046e0bb090
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

It's definitely possible to do -- I used to do it all the time for testing
purposes and there are a whole slew of support scripts in DTN2/test-utils
and DTN2/test that do this.

First make sure you have a copy of the "test-utils" repository checked out
from mercurial at the same directory level as DTN2 and oasys. In other word=
s
you should have some directory with oasys, DTN2, and test-utils all at the
same directory level.

Then run the following

cd <path-to-DTN2>
test-utils/run-dtn.tcl -v test/send-one-bundle.tcl

That will first spit out a bunch of info to the console, including
configuration files needed to run two dtnd instances on the same machine
(using different ports) and will also then run a test script in which it
sends a single bundle from one daemon to the other to verify connectivity.

Then it should be a simple matter of tweaking the config file tcl script to
combine them into one, which hopefully will get you started.

-m


On Mon, Jul 6, 2009 at 7:15 AM, Kurtis Heimerl
<kheimerl@eecs.berkeley.edu>wrote:

> 1-> I could be mistaken, but I don't think you can do that. The config
> file specifies ports and, and as such they cannot be shared. It's a
> TCL script though (I think), so I suppose it may be possible. You can
> tell DTND to use a different script than the default, so that seems
> like a much easier way to run two daemons on the same machine.
>
> 2-> Yes, the conf file specifies the EID for that DTN router. The
> route local_eid "dtn://[info hostname].dtn"
> field is where it's set. In this instance, it's being named
> dtn://$HOSTNAME.dtn
>
> On Mon, Jul 6, 2009 at 7:05 AM, Sushil Chaudhari<schaudhari@mzeal.com>
> wrote:
> > Can anybody tell me,
> >
> > 1. how is it possible to run two daemons by using same configuration fi=
le
> or
> > on the same machine??
> >
> > 2.   How the assignment of EID=92s is done? Is it with configuration fi=
le
> or
> > with directly with DTN.
> >
> >
> >
> >
> >
> > Thanks.
> >
> > _______________________________________________
> > 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
>

--0016368e1c314a678c046e0bb090
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

It&#39;s definitely possible to do -- I used to do it all the time for test=
ing purposes and there are a whole slew of support scripts in DTN2/test-uti=
ls and DTN2/test that do this.<br><br> First make sure you have a copy of t=
he &quot;test-utils&quot; repository checked out from mercurial at the same=
 directory level as DTN2 and oasys. In other words you should have some dir=
ectory with oasys, DTN2, and test-utils all at the same directory level.<br=
>

<br>Then run the following<br><br>cd &lt;path-to-DTN2&gt;<br>test-utils/run=
-dtn.tcl -v test/send-one-bundle.tcl<br><br>That will first spit out a bunc=
h of info to the console, including configuration files needed to run two d=
tnd instances on the same machine (using different ports) and will also the=
n run a test script in which it sends a single bundle from one daemon to th=
e other to verify connectivity.<br>

<br>Then it should be a simple matter of tweaking the config file tcl scrip=
t to combine them into one, which hopefully will get you started.<br><br>-m=
<br><br><br><div class=3D"gmail_quote">On Mon, Jul 6, 2009 at 7:15 AM, Kurt=
is Heimerl <span dir=3D"ltr">&lt;<a href=3D"mailto:kheimerl@eecs.berkeley.e=
du">kheimerl@eecs.berkeley.edu</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;">1-&gt; I could be=
 mistaken, but I don&#39;t think you can do that. The config<br>
file specifies ports and, and as such they cannot be shared. It&#39;s a<br>
TCL script though (I think), so I suppose it may be possible. You can<br>
tell DTND to use a different script than the default, so that seems<br>
like a much easier way to run two daemons on the same machine.<br>
<br>
2-&gt; Yes, the conf file specifies the EID for that DTN router. The<br>
route local_eid &quot;dtn://[info hostname].dtn&quot;<br>
field is where it&#39;s set. In this instance, it&#39;s being named dtn://$=
HOSTNAME.dtn<br>
<div><div></div><div class=3D"h5"><br>
On Mon, Jul 6, 2009 at 7:05 AM, Sushil Chaudhari&lt;<a href=3D"mailto:schau=
dhari@mzeal.com">schaudhari@mzeal.com</a>&gt; wrote:<br>
&gt; Can anybody tell me,<br>
&gt;<br>
&gt; 1. how is it possible to run two daemons by using same configuration f=
ile or<br>
&gt; on the same machine??<br>
&gt;<br>
&gt; 2.=A0=A0 How the assignment of EID=92s is done? Is it with configurati=
on file or<br>
&gt; with directly with DTN.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
</div></div>&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>
&gt;<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>
</blockquote></div><br>

--0016368e1c314a678c046e0bb090--


Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n66G6dot005528 for <dtn-users@mailman.dtnrg.org>; Mon, 6 Jul 2009 09:06:40 -0700
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Received: from [192.168.1.10] (94-30-69-47.xdsl.murphx.net [94.30.69.47]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KMD00CKFBD7N510@asmtp014.mac.com> for dtn-users@mailman.dtnrg.org; Mon, 06 Jul 2009 09:06:11 -0700 (PDT)
Message-id: <74F7EB08-FF23-48B9-8DB5-09303297ABBA@mac.com>
From: Darren Long <darren.long@mac.com>
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
Date: Mon, 06 Jul 2009 17:05:30 +0100
X-Mailer: Apple Mail (2.935.3)
Subject: [dtn-users] Building --with-norm
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, 06 Jul 2009 16:06:40 -0000

Hi,

I've been happily using an old-ish build of DTN2 with norm on x86 for  
a while for experimental purposes, and have just managed to  cross- 
compile both of them for arch PPC, but so far just with most recent  
sources.

Now I've got both to cross-compile,  I'm trying to build DTN2 --with- 
norm, but I'm getting compiler errors in the norm CL.  Its been a  
while since I built DTN2 with norm, and I'm having difficulties  
finding the latest versions of the two that build together.  I know I  
have the source for the successful DTN2/norm build stashed away  
somewhere, but I'd like to get a view on what the best combination is.

I've been using the svn snapshot of norm and the mercurial tip of DTN2  
for my cross-compiling antics.  I'm assuming that I'm going to have to  
roll back to an old nightly build of norm and/or an old commit of DTN2  
in order to get them to build together, although I'd really like to  
get code from both tips.  Even so, I'm currently finding it hard to  
come up with a buildable combination, even for a simple native build  
on Intel.

I'm also using norm independently of DTN, so it would be good to keep  
up to date with norm.  I'm starting to think that I'll need to cross- 
compile two versions of norm, one for DTN2 to link against and another  
to build the norm and raft binaries from.

Is there a easy way forward, or should I go for the version "mix and  
match" solution.

Cheers,

Darren




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 n66Fqj3N004882 for <dtn-users@maillists.intel-research.net>; Mon, 6 Jul 2009 08:52:45 -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 n66FqGa4005277 for <dtn-users@maillists.intel-research.net>; Mon, 6 Jul 2009 11:52:16 -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 n66FqFZ8005273;  Mon, 6 Jul 2009 11:52:15 -0400
Received: from IMCMBX3.MITRE.ORG ([129.83.29.206]) by imchub2.MITRE.ORG ([129.83.29.74]) with mapi; Mon, 6 Jul 2009 11:52:15 -0400
From: "Andresen, Jason R." <jandrese@mitre.org>
To: Sushil Chaudhari <schaudhari@mzeal.com>, "dtn-users@maillists.intel-research.net" <dtn-users@maillists.intel-research.net>
Date: Mon, 6 Jul 2009 11:50:16 -0400
Thread-Topic: [dtn-users] two different Daemons and EID's
Thread-Index: Acn+QsGr3o1PwPk0SL2v2e5Q1E6GigADrNVD
Message-ID: <600C0C33850FFE49B76BDD81AED4D25801293EB431@IMCMBX3.MITRE.ORG>
References: <000501c9fe42$c220dcc0$46629640$@com>
In-Reply-To: <000501c9fe42$c220dcc0$46629640$@com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="Windows-1252"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by maillists.intel-research.net id n66Fqj3N004882
Subject: Re: [dtn-users] two different Daemons and EID's
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, 06 Jul 2009 15:52:46 -0000

The only problem with running two daemons is that the XDR API doesn't have a mechanism to specifiy an alternate port when it connects.  If you wanted to run two daemons only one of them could have the XDR API enabled.  The other would have to use the XML API or something else.  You would obviously have to specify different working directories for the database as well, but that should be easy enough to do with a second configuration file. 
________________________________________
From: dtn-users-bounces@maillists.intel-research.net [dtn-users-bounces@maillists.intel-research.net] On Behalf Of Sushil Chaudhari [schaudhari@mzeal.com]
Sent: Monday, July 06, 2009 10:05 AM
To: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] two different Daemons and EID's

Can anybody tell me,

1. how is it possible to run two daemons by using same configuration file or on the same machine??
2.   How the assignment of EID’s is done? Is it with configuration file or with directly with DTN.


Thanks.



Received: from mail-vw0-f193.google.com (mail-vw0-f193.google.com [209.85.212.193]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n66EG9DH000362 for <dtn-users@maillists.intel-research.net>; Mon, 6 Jul 2009 07:16:09 -0700
Received: by vwj31 with SMTP id 31so3901627vwj.6 for <dtn-users@maillists.intel-research.net>; Mon, 06 Jul 2009 07:15:41 -0700 (PDT)
MIME-Version: 1.0
Sender: munncha@gmail.com
Received: by 10.220.97.13 with SMTP id j13mr9758669vcn.35.1246889740905; Mon,  06 Jul 2009 07:15:40 -0700 (PDT)
In-Reply-To: <000501c9fe42$c220dcc0$46629640$@com>
References: <000501c9fe42$c220dcc0$46629640$@com>
Date: Mon, 6 Jul 2009 07:15:40 -0700
X-Google-Sender-Auth: e416433e8901551a
Message-ID: <9a4753250907060715r1cfd05esc8a7b63a444ac9c4@mail.gmail.com>
From: Kurtis Heimerl <kheimerl@eecs.berkeley.edu>
To: Sushil Chaudhari <schaudhari@mzeal.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by maillists.intel-research.net id n66EG9DH000362
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] two different Daemons and EID's
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, 06 Jul 2009 14:16:10 -0000

1-> I could be mistaken, but I don't think you can do that. The config
file specifies ports and, and as such they cannot be shared. It's a
TCL script though (I think), so I suppose it may be possible. You can
tell DTND to use a different script than the default, so that seems
like a much easier way to run two daemons on the same machine.

2-> Yes, the conf file specifies the EID for that DTN router. The
route local_eid "dtn://[info hostname].dtn"
field is where it's set. In this instance, it's being named dtn://$HOSTNAME.dtn

On Mon, Jul 6, 2009 at 7:05 AM, Sushil Chaudhari<schaudhari@mzeal.com> wrote:
> Can anybody tell me,
>
> 1. how is it possible to run two daemons by using same configuration file or
> on the same machine??
>
> 2.   How the assignment of EID’s is done? Is it with configuration file or
> with directly with DTN.
>
>
>
>
>
> Thanks.
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>



Received: from mzeal.com (mzeal.com [199.237.228.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n66E5VGP032320 for <dtn-users@maillists.intel-research.net>; Mon, 6 Jul 2009 07:05:31 -0700
Received: (qmail 2070 invoked by uid 25671); 6 Jul 2009 14:05:03 -0000
Received: from unknown (HELO SushilDesktop) ([72.93.159.178]) (envelope-sender <schaudhari@mzeal.com>) by 199.237.228.71 (qmail-ldap-1.03) with SMTP for <dtn-users@maillists.intel-research.net>; 6 Jul 2009 14:05:03 -0000
From: "Sushil Chaudhari" <schaudhari@mzeal.com>
To: <dtn-users@maillists.intel-research.net>
Date: Mon, 6 Jul 2009 10:05:03 -0400
Message-ID: <000501c9fe42$c220dcc0$46629640$@com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C9FE21.3B0F3CC0"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Acn+QsGr3o1PwPk0SL2v2e5Q1E6Gig==
Content-Language: en-us
Subject: Re: [dtn-users] two different Daemons and EID's
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, 06 Jul 2009 14:05:32 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0006_01C9FE21.3B0F3CC0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Can anybody tell me,

1. how is it possible to run two daemons by using same configuration file or
on the same machine??

2.   How the assignment of EID's is done? Is it with configuration file or
with directly with DTN.

 

 

Thanks.


------=_NextPart_000_0006_01C9FE21.3B0F3CC0
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-microsoft-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=3D"Content-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:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.5pt;
	font-family:Consolas;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:Consolas;}
.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=3DMsoPlainText>Can anybody tell me,<o:p></o:p></p>

<p class=3DMsoPlainText>1. how is it possible to run two daemons by =
using same
configuration file or on the same machine??<o:p></o:p></p>

<p class=3DMsoNormal>2.&nbsp;&nbsp; How the assignment of EID&#8217;s is =
done? Is it with configuration
file or with directly with DTN.<o:p></o:p></p>

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

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

<p class=3DMsoNormal>Thanks.<o:p></o:p></p>

</div>

</body>

</html>

------=_NextPart_000_0006_01C9FE21.3B0F3CC0--



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 n637g8M3014138 for <dtn-users@maillists.intel-research.net>; Fri, 3 Jul 2009 00:42:08 -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 1MMdPE-0005XQ-D8; Fri, 03 Jul 2009 03:42:01 -0400
Message-ID: <4A4DB63E.7030606@LeonixSolutions.com>
Date: Fri, 03 Jul 2009 15:41:50 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: Victor <vlyamtsev@mzeal.com>
References: <000901c9fb31$67275510$6801a8c0@D674VYB1>
In-Reply-To: <000901c9fb31$67275510$6801a8c0@D674VYB1>
Content-Type: multipart/mixed; boundary="------------000704030302040701080103"
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: 
Cc: dtn-users@maillists.intel-research.net
Subject: Re: [dtn-users] DTN2 build errors
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: Fri, 03 Jul 2009 07:42:09 -0000

This is a multi-part message in MIME format.
--------------000704030302040701080103
Content-Type: multipart/alternative;
	boundary="------------040607020503070309090803"


--------------040607020503070309090803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Victor wrote:
> I have the following errors trying to build "servlib" for DTN2 2.6 on Ubuntu
> 8.04
>   
Victor, the "'size_t' does not name a type" is well documented on many 
builds, in previous mail. I will try to dig the solution out for you.

In the meantime, I cannot get the official, frozen, 2.6 to build on 
Ubuntu 8 or 9, or Fedora 10 or 11, or Suse 11 (can anyone?) .

All that I can manage is to grab the latest nightly build from 
soureforge on Ubuntu 8 (it won't build on anything else which I tried) 
and follow this priceless advice from Jon Setzer

Here is a list of things I had to do to get DTN to work on Ubuntu back
in January.  This information is a little out of date and my system is
different than yours, but it might give you some ideas:

Enviroment:
There are two ways to install DTN2: get the latest build from the
mercurial repository or get the 2.6 build tarball from SourceForge. As
of January 2009, the configure scripts would NOT run correctly if you
attempted to install the 2.6 build from tarball on Ubuntu Ibex(8.10).
The latest mercurial build has fixed the install issue that the 2.6
build has and will install fine on Ubuntu Ibex(8.10). You can install
the 2.6 tarball with only one problem on Ubuntu Heron(8.04), or you can
see the section on additional steps to take to get the 2.6 tarball
working on Ubuntu Ibex(8.10). The rest of this tutorial assumes you are
installing DTN2 on two Ubuntu Heron virtual machines updated to Jan
2009(unless otherwise noted) with the following names and IP addresses:

Install Procedure:

   1. Install these packages and their dependencies    (note from Graham - grab the xxx-dev first and dependencies will usually grab the xxx)
         1. build-essential
         2. g++
         3. libavahi-compact-libdnssd-dev
         4. libdb4.6
         5. libdb4.6-dev
         6. libxerces-c2-dev
         7. libxerces-c28
         8. libexpat1-dev
         9. mono-1.0-devel
        10. tcl8.4
        11. tcl8.4-dev
        12. tcllib
        13. tclreadline
        14. tclx8.4-dev
        15. tclx8.4
        16. zlib1g-dev 
   2. cd /Some/Where/You/Want/To/Put/Install/Files
   3. mkdir dtn2
   4. cd dtn2
   5. Download Oasys
         1. Download tarball from SourceForge...OR:
               1. Download oasys-1.3.0.tgz and dtn-2.6.0.tgz from
http://sourceforge.net/project/showfiles.php?group_id=101657 into your
dtn2 directory
               2. tar xvf oasys-1.3.0.tgz 
         2. Download latest build from Mercurial: hg clone
http://dtn.sourceforge.net/hg/oasys
   6. Install OASYS
         1. cd oasys-1.3.0/
         2. ./build-configure.sh           <=========   Note from Graham, this gave me problems & I managed fine w/o it
         3. CC=gcc CXX=g++ ./configure
         4. make
         5. sudo make install 
   7. cd to back to dtn2 if you are still in the oasys dir.
   8. Download DTN2
         1. Download 2.6 tarball from SourceForge...OR:
               1. Download dtn-2.6.0.tgz from
http://sourceforge.net/project/showfiles.php?group_id=101657 into your
dtn2 directory if you haven't already.
               2. tar xvf dtn-2.6.0.tgz 
         2. Download latest build from Mercurial...OR: hg clone
http://dtn.sourceforge.net/hg/DTN2
   9. At this point you may want to look at dtn-2.6.0/README and
dtn-2.6.0/doc/manual/index.html
  10. Install DTN2
         1. cd dtn-2.6.0
         2. ./build-configure.sh
         4. CC=gcc CXX=g++ ./configure -C
         5. Oasys seems to compile without any changes; however, when
the DTN code is compiled it references the Oasys code and cannot resolve
the symbole size_t. You need need to add the cstring library to the
scope of SafeRange.h by adding this code after line 18 of
oasys/util/SafeRange.h (I think this is fixed in the Mercurial build)

                  #ifndef size_t
                  #include <cstring>
                  #endif 
                  

         6. make
         7. sudo make install 



Get DTN 2.6 tarball to work in Ubuntu 8.10:

   1. In oasys/aclocal/gcc.ac replace both instances of this:

         oasys_cv_prog_gccver=`$CC --version | head -n 1`
         oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed
's/.*gcc.*(GCC) //'`
         oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed 's/
.*//'`
         

      with this:

         oasys_cv_prog_gxxver=`$CXX -dumpversion | cut -d. -f1-2`
         

   2. Add #include <climits> to line 31 of oasys/utils/StringUtils.h
   3. Add #include <climits> to line 20 of oasys/tclcmd/TclCommand.cc
   4. Add #include <climits> to line 20 of oasys/thread/Timmer.cc
   5. Add #include <cstring> and #include <cstdlib> to line 20 of
=oasys/utils/Getopt.cc
   6. Add #include <algorithm> to line 22 of
oasys/utils/InitSequencer.cc
   7. Add #include <cstring> to line 20 of oasys/utils/MD5.cc
   8. Add #include <cstring> to line 20 of oasys/utils/OptParser.cc
   9. Add #include <typeinfo> to line 19 or
dtn/servlib/conv_layers/ECLModule.cc
  10. Add #include <climits> to line 20 of
=dtn/servlib/discovery/IPDiscovery.cc=0
  11. Add #include <climits> to line 20 of
dtn/servlib/cmd/DiscoveryCommand.cc, servlib/cmd/RegistrationCommand.cc,
servlib/cmd/InterfaceCommand.cc, servlib/cmd/BundleCommand.cc
  12. Add #include <sys/types.h> to line 21 of dtn/servlib/prophet/Ack.h
  13. Add #include <cstring> to line 18 of dtn/servlib/prophet/RIBTLV.cc
  14. Add #include <climits> to line 20 of
dtn/servlib/reg/TclRegistration.cc 



I hope hat this helps - I used a virgin install of Ubuntu 8 on laptops 
which I will use only for DTN and no other porpoise; ymmv

I have had wonderful help from the mailing lists, so if I can do 
anything to repay, I will try my bestest.

have a great weekend.

~graham();



> Any idea what the problem is?
>
>  
>
> g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT "bundling/SequenceID.o
>
> bundling/SequenceID.E"  -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE
>
> -D_FILE_OFFSET_BITS=64 -I.. -I.. -I/home/mzeal/oasys-1.3.0/include
> -I/home/mzeal/oasys-1.3.0/include/oasys/ext -I../servlib
>
> -I/usr/include/tcl8.4 -I/usr/local/BerkeleyDB.4.6/include  -Wall -W
> -Wcast-align  -c bundling/SequenceID.cc -o bundling/SequenceID.o In file
> included from bundling/SequenceID.cc:22:
>
> ../oasys/util/SafeRange.h:35: error: expected `)' before 'offset'
>
> ../oasys/util/SafeRange.h:36: error: 'size_t' does not name a type
>
> ../oasys/util/SafeRange.h:39: error: 'size_t' has not been declared
>
> ../oasys/util/SafeRange.h:42: error: declaration of 'operator[]' as
> non-function
>
> ../oasys/util/SafeRange.h:42: error: expected ';' before '(' token In file
> included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,
>
>                  from /usr/include/c++/4.2/iosfwd:46,
>
>                  from /usr/include/c++/4.2/ios:43,
>
>                  from /usr/include/c++/4.2/ostream:45,
>
>                  from /usr/include/c++/4.2/iostream:45,
>
>                  from ../oasys/util/../debug/Log.h:94,
>
>                  from ../oasys/util/StringAppender.h:22,
>
>                  from bundling/SequenceID.cc:23:
>
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `;'
> before end of line
>
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
> before end of line In file included from bundling/SequenceID.cc:22:
>
> ../oasys/util/SafeRange.h: In constructor
> 'oasys::SafeRange<_Type>::SafeRange(_Type*, int)':
>
> ../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
>
> does not have any field named 'array_'
>
> ../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'
>
> does not have any field named 'size_'
>
> In file included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,
>
>                  from /usr/include/c++/4.2/iosfwd:46,
>
>                  from /usr/include/c++/4.2/ios:43,
>
>                  from /usr/include/c++/4.2/ostream:45,
>
>                  from /usr/include/c++/4.2/iostream:45,
>
>                  from ../oasys/util/../debug/Log.h:94,
>
>                  from ../oasys/util/StringAppender.h:22,
>
>                  from bundling/SequenceID.cc:23:
>
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h: At global scope:
>
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
> unqualified-id before end of line
>
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
> before end of line
>
> /usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
> declaration before end of line
>
> make[1]: *** [bundling/SequenceID.o] Error 1
>
>  
>
>  
>
>  
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>   


-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208


--------------040607020503070309090803
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Victor wrote:
<blockquote cite="mid:000901c9fb31$67275510$6801a8c0@D674VYB1"
 type="cite">
  <pre wrap="">I have the following errors trying to build "servlib" for DTN2 2.6 on Ubuntu
8.04
  </pre>
</blockquote>
Victor, the "'size_t' does not name a type" is well documented on many
builds, in previous mail. I will try to dig the solution out for you.<br>
<br>
In the meantime, I cannot get the official, frozen, 2.6 to build on
Ubuntu 8 or 9, or Fedora 10 or 11, or Suse 11 (can anyone?) .<br>
<br>
All that I can manage is to grab the latest nightly build from
soureforge on Ubuntu 8 (it won't build on anything else which I tried)
and follow this priceless advice from Jon Setzer<br>
<br>
<pre wrap="">Here is a list of things I had to do to get DTN to work on Ubuntu back
in January.  This information is a little out of date and my system is
different than yours, but it might give you some ideas:

Enviroment:
There are two ways to install DTN2: get the latest build from the
mercurial repository or get the 2.6 build tarball from SourceForge. As
of January 2009, the configure scripts would NOT run correctly if you
attempted to install the 2.6 build from tarball on Ubuntu Ibex(8.10).
The latest mercurial build has fixed the install issue that the 2.6
build has and will install fine on Ubuntu Ibex(8.10). You can install
the 2.6 tarball with only one problem on Ubuntu Heron(8.04), or you can
see the section on additional steps to take to get the 2.6 tarball
working on Ubuntu Ibex(8.10). The rest of this tutorial assumes you are
installing DTN2 on two Ubuntu Heron virtual machines updated to Jan
2009(unless otherwise noted) with the following names and IP addresses:

Install Procedure:

   1. Install these packages and their dependencies    (note from Graham - grab the xxx-dev first and dependencies will usually grab the xxx)
         1. build-essential
         2. g++
         3. libavahi-compact-libdnssd-dev
         4. libdb4.6
         5. libdb4.6-dev
         6. libxerces-c2-dev
         7. libxerces-c28
         8. libexpat1-dev
         9. mono-1.0-devel
        10. tcl8.4
        11. tcl8.4-dev
        12. tcllib
        13. tclreadline
        14. tclx8.4-dev
        15. tclx8.4
        16. zlib1g-dev 
   2. cd /Some/Where/You/Want/To/Put/Install/Files
   3. mkdir dtn2
   4. cd dtn2
   5. Download Oasys
         1. Download tarball from SourceForge...OR:
               1. Download oasys-1.3.0.tgz and dtn-2.6.0.tgz from
<a class="moz-txt-link-freetext"
 href="http://sourceforge.net/project/showfiles.php?group_id=101657">http://sourceforge.net/project/showfiles.php?group_id=101657</a> into your
dtn2 directory
               2. tar xvf oasys-1.3.0.tgz 
         2. Download latest build from Mercurial: hg clone
<a class="moz-txt-link-freetext"
 href="http://dtn.sourceforge.net/hg/oasys">http://dtn.sourceforge.net/hg/oasys</a>
   6. Install OASYS
         1. cd oasys-1.3.0/
         2. ./build-configure.sh           &lt;=========   Note from Graham, this gave me problems &amp; I managed fine w/o it
         3. CC=gcc CXX=g++ ./configure
         4. make
         5. sudo make install 
   7. cd to back to dtn2 if you are still in the oasys dir.
   8. Download DTN2
         1. Download 2.6 tarball from SourceForge...OR:
               1. Download dtn-2.6.0.tgz from
<a class="moz-txt-link-freetext"
 href="http://sourceforge.net/project/showfiles.php?group_id=101657">http://sourceforge.net/project/showfiles.php?group_id=101657</a> into your
dtn2 directory if you haven't already.
               2. tar xvf dtn-2.6.0.tgz 
         2. Download latest build from Mercurial...OR: hg clone
<a class="moz-txt-link-freetext"
 href="http://dtn.sourceforge.net/hg/DTN2">http://dtn.sourceforge.net/hg/DTN2</a>
   9. At this point you may want to look at dtn-2.6.0/README and
dtn-2.6.0/doc/manual/index.html
  10. Install DTN2
         1. cd dtn-2.6.0
         2. ./build-configure.sh
         4. CC=gcc CXX=g++ ./configure -C
         5. Oasys seems to compile without any changes; however, when
the DTN code is compiled it references the Oasys code and cannot resolve
the symbole size_t. You need need to add the cstring library to the
scope of SafeRange.h by adding this code after line 18 of
oasys/util/SafeRange.h (I think this is fixed in the Mercurial build)

                  #ifndef size_t
                  #include &lt;cstring&gt;
                  #endif 
                  

         6. make
         7. sudo make install 



Get DTN 2.6 tarball to work in Ubuntu 8.10:

   1. In oasys/aclocal/gcc.ac replace both instances of this:

         oasys_cv_prog_gccver=`$CC --version | head -n 1`
         oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed
's/.*gcc.*(GCC) //'`
         oasys_cv_prog_gccver=`echo $oasys_cv_prog_gccver | sed 's/
.*//'`
         

      with this:

         oasys_cv_prog_gxxver=`$CXX -dumpversion | cut -d. -f1-2`
         

   2. Add #include &lt;climits&gt; to line 31 of oasys/utils/StringUtils.h
   3. Add #include &lt;climits&gt; to line 20 of oasys/tclcmd/TclCommand.cc
   4. Add #include &lt;climits&gt; to line 20 of oasys/thread/Timmer.cc
   5. Add #include &lt;cstring&gt; and #include &lt;cstdlib&gt; to line 20 of
=oasys/utils/Getopt.cc
   6. Add #include &lt;algorithm&gt; to line 22 of
oasys/utils/InitSequencer.cc
   7. Add #include &lt;cstring&gt; to line 20 of oasys/utils/MD5.cc
   8. Add #include &lt;cstring&gt; to line 20 of oasys/utils/OptParser.cc
   9. Add #include &lt;typeinfo&gt; to line 19 or
dtn/servlib/conv_layers/ECLModule.cc
  10. Add #include &lt;climits&gt; to line 20 of
=dtn/servlib/discovery/IPDiscovery.cc=0
  11. Add #include &lt;climits&gt; to line 20 of
dtn/servlib/cmd/DiscoveryCommand.cc, servlib/cmd/RegistrationCommand.cc,
servlib/cmd/InterfaceCommand.cc, servlib/cmd/BundleCommand.cc
  12. Add #include &lt;sys/types.h&gt; to line 21 of dtn/servlib/prophet/Ack.h
  13. Add #include &lt;cstring&gt; to line 18 of dtn/servlib/prophet/RIBTLV.cc
  14. Add #include &lt;climits&gt; to line 20 of
dtn/servlib/reg/TclRegistration.cc 


</pre>
I hope hat this helps - I used a virgin install of Ubuntu 8 on laptops
which I will use only for DTN and no other porpoise; ymmv<br>
<br>
I have had wonderful help from the mailing lists, so if I can do
anything to repay, I will try my bestest.<br>
<br>
have a great weekend.<br>
<br>
~graham();<br>
<br>
<br>
<br>
<blockquote cite="mid:000901c9fb31$67275510$6801a8c0@D674VYB1"
 type="cite">
  <pre wrap="">
Any idea what the problem is?

 

g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT "bundling/SequenceID.o

bundling/SequenceID.E"  -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE

-D_FILE_OFFSET_BITS=64 -I.. -I.. -I/home/mzeal/oasys-1.3.0/include
-I/home/mzeal/oasys-1.3.0/include/oasys/ext -I../servlib

-I/usr/include/tcl8.4 -I/usr/local/BerkeleyDB.4.6/include  -Wall -W
-Wcast-align  -c bundling/SequenceID.cc -o bundling/SequenceID.o In file
included from bundling/SequenceID.cc:22:

../oasys/util/SafeRange.h:35: error: expected `)' before 'offset'

../oasys/util/SafeRange.h:36: error: 'size_t' does not name a type

../oasys/util/SafeRange.h:39: error: 'size_t' has not been declared

../oasys/util/SafeRange.h:42: error: declaration of 'operator[]' as
non-function

../oasys/util/SafeRange.h:42: error: expected ';' before '(' token In file
included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,

                 from /usr/include/c++/4.2/iosfwd:46,

                 from /usr/include/c++/4.2/ios:43,

                 from /usr/include/c++/4.2/ostream:45,

                 from /usr/include/c++/4.2/iostream:45,

                 from ../oasys/util/../debug/Log.h:94,

                 from ../oasys/util/StringAppender.h:22,

                 from bundling/SequenceID.cc:23:

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `;'
before end of line

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
before end of line In file included from bundling/SequenceID.cc:22:

../oasys/util/SafeRange.h: In constructor
'oasys::SafeRange&lt;_Type&gt;::SafeRange(_Type*, int)':

../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange&lt;_Type&gt;'

does not have any field named 'array_'

../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange&lt;_Type&gt;'

does not have any field named 'size_'

In file included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,

                 from /usr/include/c++/4.2/iosfwd:46,

                 from /usr/include/c++/4.2/ios:43,

                 from /usr/include/c++/4.2/ostream:45,

                 from /usr/include/c++/4.2/iostream:45,

                 from ../oasys/util/../debug/Log.h:94,

                 from ../oasys/util/StringAppender.h:22,

                 from bundling/SequenceID.cc:23:

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h: At global scope:

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
unqualified-id before end of line

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
before end of line

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
declaration before end of line

make[1]: *** [bundling/SequenceID.o] Error 1

 

 

 


  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
dtn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.intel-research.net</a>
<a class="moz-txt-link-freetext" href="http://maillists.intel-research.net/mailman/listinfo/dtn-users">http://maillists.intel-research.net/mailman/listinfo/dtn-users</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208
</pre>
</body>
</html>

--------------040607020503070309090803--

--------------000704030302040701080103
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------000704030302040701080103--


Received: from mzeal.com (mzeal.com [199.237.228.71]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n62GNIHQ005420 for <dtn-users@maillists.intel-research.net>; Thu, 2 Jul 2009 09:23:18 -0700
Received: (qmail 12322 invoked by uid 25671); 2 Jul 2009 16:23:17 -0000
Received: from unknown (HELO D674VYB1) ([72.93.159.178]) (envelope-sender <vlyamtsev@mzeal.com>) by 199.237.228.71 (qmail-ldap-1.03) with SMTP for <dtn-users@maillists.intel-research.net>; 2 Jul 2009 16:23:17 -0000
From: "Victor" <vlyamtsev@mzeal.com>
To: <dtn-users@maillists.intel-research.net>
Date: Thu, 2 Jul 2009 12:23:15 -0400
Message-ID: <000901c9fb31$67275510$6801a8c0@D674VYB1>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C9FB0F.E015B510"
X-Mailer: Microsoft Office Outlook 11
Thread-Index: Acn7MWaCKGAKNCm6QqCpx9Z3Pg+tbQ==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Subject: [dtn-users] DTN2 build errors
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, 02 Jul 2009 16:23:19 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C9FB0F.E015B510
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I have the following errors trying to build "servlib" for DTN2 2.6 on Ubuntu
8.04

Any idea what the problem is?

 

g++ -g -fno-inline  -fPIC -DPIC -MMD -MP -MT "bundling/SequenceID.o

bundling/SequenceID.E"  -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE

-D_FILE_OFFSET_BITS=64 -I.. -I.. -I/home/mzeal/oasys-1.3.0/include
-I/home/mzeal/oasys-1.3.0/include/oasys/ext -I../servlib

-I/usr/include/tcl8.4 -I/usr/local/BerkeleyDB.4.6/include  -Wall -W
-Wcast-align  -c bundling/SequenceID.cc -o bundling/SequenceID.o In file
included from bundling/SequenceID.cc:22:

../oasys/util/SafeRange.h:35: error: expected `)' before 'offset'

../oasys/util/SafeRange.h:36: error: 'size_t' does not name a type

../oasys/util/SafeRange.h:39: error: 'size_t' has not been declared

../oasys/util/SafeRange.h:42: error: declaration of 'operator[]' as
non-function

../oasys/util/SafeRange.h:42: error: expected ';' before '(' token In file
included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,

                 from /usr/include/c++/4.2/iosfwd:46,

                 from /usr/include/c++/4.2/ios:43,

                 from /usr/include/c++/4.2/ostream:45,

                 from /usr/include/c++/4.2/iostream:45,

                 from ../oasys/util/../debug/Log.h:94,

                 from ../oasys/util/StringAppender.h:22,

                 from bundling/SequenceID.cc:23:

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `;'
before end of line

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
before end of line In file included from bundling/SequenceID.cc:22:

../oasys/util/SafeRange.h: In constructor
'oasys::SafeRange<_Type>::SafeRange(_Type*, int)':

../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'

does not have any field named 'array_'

../oasys/util/SafeRange.h:40: error: class 'oasys::SafeRange<_Type>'

does not have any field named 'size_'

In file included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,

                 from /usr/include/c++/4.2/iosfwd:46,

                 from /usr/include/c++/4.2/ios:43,

                 from /usr/include/c++/4.2/ostream:45,

                 from /usr/include/c++/4.2/iostream:45,

                 from ../oasys/util/../debug/Log.h:94,

                 from ../oasys/util/StringAppender.h:22,

                 from bundling/SequenceID.cc:23:

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h: At global scope:

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
unqualified-id before end of line

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected `}'
before end of line

/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33: error: expected
declaration before end of line

make[1]: *** [bundling/SequenceID.o] Error 1

 

 

 


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

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

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

<div class=3DSection1>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>I have the =
following errors
trying to build &#8220;servlib&#8221; for DTN2 2.6 on Ubuntu =
8.04<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>Any idea what the =
problem
is?<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>g++ -g =
-fno-inline&nbsp; -fPIC
-DPIC -MMD -MP -MT =
&quot;bundling/SequenceID.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>bundling/SequenceID.E&quot;&nbsp;
-DHAVE_CONFIG_H -D_LARGEFILE_SOURCE<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>-D_FILE_OFFSET_BITS=3D64 -I..
-I.. -I/home/mzeal/oasys-1.3.0/include
-I/home/mzeal/oasys-1.3.0/include/oasys/ext =
-I../servlib<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>-I/usr/include/tcl8.4
-I/usr/local/BerkeleyDB.4.6/include&nbsp; -Wall -W -Wcast-align&nbsp; -c
bundling/SequenceID.cc -o bundling/SequenceID.o In file included from
bundling/SequenceID.cc:22:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../oasys/util/SafeRange.h:35:
error: expected `)' before =
&#8216;offset&#8217;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../oasys/util/SafeRange.h:36:
error: &#8216;size_t&#8217; does not name a =
type<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../oasys/util/SafeRange.h:39:
error: &#8216;size_t&#8217; has not been =
declared<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../oasys/util/SafeRange.h:42:
error: declaration of &#8216;operator[]&#8217; as =
non-function<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../oasys/util/SafeRange.h:42:
error: expected &#8216;;&#8217; before &#8216;(&#8217; token In file =
included
from =
/usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,<o:p></o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
/usr/include/c++/4.2/iosfwd:46,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
/usr/include/c++/4.2/ios:43,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
/usr/include/c++/4.2/ostream:45,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
/usr/include/c++/4.2/iostream:45,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
../oasys/util/../debug/Log.h:94,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
../oasys/util/StringAppender.h:22,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
bundling/SequenceID.cc:23:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33:
error: expected `;' before end of line<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33:
error: expected `}' before end of line In file included from
bundling/SequenceID.cc:22:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../oasys/util/SafeRange.h:
In constructor &#8216;oasys::SafeRange&lt;_Type&gt;::SafeRange(_Type*,
int)&#8217;:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../oasys/util/SafeRange.h:40:
error: class =
&#8216;oasys::SafeRange&lt;_Type&gt;&#8217;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>does not have any =
field
named &#8216;array_&#8217;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>../oasys/util/SafeRange.h:40:
error: class =
&#8216;oasys::SafeRange&lt;_Type&gt;&#8217;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>does not have any =
field
named &#8216;size_&#8217;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>In file included =
from
/usr/include/c++/4.2/i486-linux-gnu/bits/c++io.h:43,<o:p></o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
/usr/include/c++/4.2/iosfwd:46,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
/usr/include/c++/4.2/ios:43,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
/usr/include/c++/4.2/ostream:45,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
/usr/include/c++/4.2/iostream:45,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
../oasys/util/../debug/Log.h:94,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
../oasys/util/StringAppender.h:22,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
bundling/SequenceID.cc:23:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:
At global scope:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33:
error: expected unqualified-id before end of =
line<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33:
error: expected `}' before end of line<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>/usr/include/c++/4.2/i486-linux-gnu/bits/gthr.h:33:
error: expected declaration before end of =
line<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>make[1]: ***
[bundling/SequenceID.o] Error 1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_000A_01C9FB0F.E015B510--



Received: from smtp.netlab.hut.fi (keskus.netlab.hut.fi [130.233.154.176]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n61AnsUM031175 for <dtn-users@maillists.intel-research.net>; Wed, 1 Jul 2009 03:49:55 -0700
Received: from mailsrv.netlab.hut.fi (mailsrv.netlab.hut.fi [130.233.154.190]) by smtp.netlab.hut.fi (Postfix) with ESMTP id 61001C5100; Wed,  1 Jul 2009 13:47:49 +0300 (EET DST)
Received: from [192.168.2.150] (pc94.netlab.hut.fi [130.233.154.94]) by mailsrv.netlab.hut.fi (Postfix) with ESMTP id 9B417120050; Wed,  1 Jul 2009 13:47:47 +0300 (EEST)
User-Agent: Microsoft-Entourage/12.17.0.090302
Date: Wed, 01 Jul 2009 13:47:33 +0300
From: Teemu <teemuk@netlab.tkk.fi>
To: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@leonixsolutions.com>, Kurtis Heimerl <kheimerl@eecs.berkeley.edu>
Message-ID: <C6711975.6C9D%teemuk@netlab.tkk.fi>
Thread-Topic: [dtn-users] Config for two node, fixed IP, DTN (?)
Thread-Index: Acn6OVadczYL+/38B0+NoAi/tWswPw==
In-Reply-To: <4A4B0123.9010706@LeonixSolutions.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Cc: DTN Users <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] Config for two node, fixed IP, DTN (?)
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, 01 Jul 2009 10:49:56 -0000

Hi,

"fatal error opening DTN handle: error in ipc communication" is usually
caused by either using the wrong API port (i.e., dtnd is listening for API
connections on a different port than the app is trying to use, or another
process has already bound to that port), or by having compiled the apps and
dtnd with different versions of the API lib. IIRC, dtnsend can also give
that error if you try to send a bundle with a source EID other than the EID
of the dtnd instance.

Setting the dtnd log level to debug and looking at what you get when dtnping
fails usually shows exactly why it's not working.

Cheers,
-Teemu


On 1.7.2009 9.24, "Graham Keellings (Leonix Solutions Pte Ltd)"
<Graham@leonixsolutions.com> wrote:

> Kurtis Heimerl wrote:
>>  
>> "[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE
>> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp
>> state=AVAILABLE]"
>> 
>> This says to me that they're talking.
> whoo ho!  Great news!
> 
>>  
>> You have to run the DTN ping app
>> to have the two nodes actually ping each other. Have you tried this?
>>   
> yes, and it eventually times out with the error:
> "fatal error opening DTN handle: error in ipc communication"
> 
> Any idea how to debug this?
> 
> Thanks *very* much for your quick response.
> 
> 
> 
> 
>>  
>> 
>> On Tue, Jun 30, 2009 at 10:58 PM, Graham Keellings (Leonix Solutions
>> Pte Ltd)<Graham@leonixsolutions.com> <mailto:Graham@leonixsolutions.com>
>> wrote:
>>   
>>  
>>>  
>>> Does anyone have such a config file? Can anyone comment on mine (one shown
>>> below, the other is mirror-image)?
>>> 
>>> All that I want is two laptops with no Etehrnet, wif only, to be able to
>>> communicate with DTN.
>>> 
>>> I have ifconfig * down except for eth1 which is the wireless card and can
>>> successfully ping each laptop from the other
>>> 
>>> When I started the DTN daemon, I got ...
>>> 
>>> root@acer-one:/dtn/DTN2# daemon/dtnd -linfo
>>> [1246427387.564048 /dtnd notice] random seed is 564037
>>> [1246427387.564196 /dtnd notice] DTN daemon starting up... (pid 9127)
>>> [1246427387.580481 /dtnd info] parsing configuration file /etc/dtn.conf...
>>> [1246427387.580724 /dtnd info] dtnd parsing configuration...
>>> [1246427387.580849 /dtn/interface/table info] adding interface tcp0 (tcp)
>>> [1246427387.581110 /dtn/interface/table info] adding interface udp0 (udp)
>>> [1246427387.596918 /dtn/link/acer_two_link_tcp info] new link
>>> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>>> [1246427387.597121 /dtnd info] dtnd configuration parsing complete
>>> [1246427387.597236 /dtn/storage info] initializing db name=DTN (not shared),
>>> dir=/var/dtn/db
>>> [1246427387.631572 /dtn/storage info] datastore /var/dtn/db was not cleanly
>>> shut down
>>> [1246427387.669037 /dtn/bundle/daemon info] REGISTRATION_ADDED 0
>>> dtn://acer.one.dtn
>>> [1246427387.669911 /dtn/bundle/daemon info] REGISTRATION_ADDED 2
>>> dtn://acer.one.dtn/ping
>>> [1246427387.670039 /dtn/bundle/daemon notice] loading bundles from data
>>> store
>>> [1246427387.670104 /dtn/bundle/daemon info] LINK_CREATED acer_two_link_tcp
>>> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>>> [1246427387.670169 /dtn/bundle/daemon info] ROUTE_ADD dtn://acer.two.dtn/*
>>> -> acer_two_link_tcp (FORWARD)
>>> [1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE acer_two_link_tcp
>>> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>>> [1246427388.176273 /dtnd info] starting console on 127.0.0.1:5050
>>> [1246427388.236350 /dtn/tclcmd info] can't load oasys_tclreadline: can't
>>> find package oasys_tclreadline
>>> [1246427388.236437 /dtn/tclcmd info] fall back to simple command loop
>>> acer-one dtn%
>>> 
>>> 
>>> Here is one of the config files
>>> 
>>> log /dtnd info "dtnd parsing configuration..."
>>> 
>>> console set addr 127.0.0.1
>>> console set port 5050
>>> 
>>> interface add tcp0 tcp local_addr=192.9.200.106
>>> interface add udp0 udp local_addr=192.9.200.106
>>> 
>>> set shorthostname [lindex [split [info hostname] .] 0]
>>> console set prompt "$shorthostname dtn% "
>>> 
>>> storage set type berkeleydb
>>> storage set schema /etc/DS.xsd
>>> 
>>> set dbdir ""
>>> foreach dir {/var/dtn /var/tmp/dtn} {
>>>   if {[file isdirectory $dir]} {
>>>       set dbdir $dir
>>>       break
>>>   }
>>> }
>>> if {$dbdir == ""} {
>>>   puts stderr "Must create /var/dtn or /var/tmp/dtn storage directory"
>>>   exit 1
>>> }
>>> storage set payloaddir $dbdir/bundles
>>> storage set dbname     DTN
>>> storage set dbdir      $dbdir/db
>>> 
>>> param set accept_custody true
>>> param set reactive_frag_enabled true
>>> param set link_max_retry_interval 5
>>> 
>>> link add acer_two_link_tcp 192.9.200.107:5000 ONDEMAND tcp
>>> ## link add acer_two_link_udp 192.9.200.107:5001 ALWAYSON udp
>>> 
>>> route set type static
>>> route local_eid dtn://acer.one.dtn
>>> 
>>> route add dtn://acer.two.dtn/* acer_two_link_tcp
>>> ##  route add dtn://acer.two.dtn/* acer_two_link_udp
>>> 
>>> log /dtnd info "dtnd configuration parsing complete"
>>> 
>>> Thanks in advance for any help with this very basic question.
>>> 
>>> With best wishes
>>> 
>>> graham
>>> 
>>> 
>>> _______________________________________________
>>> dtn-users mailing list
>>> dtn-users@maillists.intel-research.net
>>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>> 
>>> 
>>>     
>>>  
>>  
>> 
>>   
> 




Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6189tmk024007 for <dtn-users@mailman.dtnrg.org>; Wed, 1 Jul 2009 01:09:55 -0700
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_5UwPNAMwpCYvV6dILnJvvQ)"
Received: from [192.168.1.10] (94-30-69-47.xdsl.murphx.net [94.30.69.47]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KM30031VFX0UP20@asmtp020.mac.com> for dtn-users@mailman.dtnrg.org; Wed, 01 Jul 2009 01:07:52 -0700 (PDT)
Message-id: <1BFBBE44-2E36-4467-AF5C-29A9ACC790D7@mac.com>
From: Darren Long <darren.long@mac.com>
To: dtn-users mailing list <dtn-users@mailman.dtnrg.org>
In-reply-to: <4A4B1466.1000308@LeonixSolutions.com>
Date: Wed, 01 Jul 2009 09:07:48 +0100
References: <1245073778.17666.6.camel@mightyatom.folly.org.uk> <59e8babf0906151052s6ca43e7ep6dd43fd9220b7602@mail.gmail.com> <4A371393.6000005@cs.wisc.edu> <29705F5F232FBC4C96D1CAE867538F0B0BB1DC4ADB@IMCMBX4.MITRE.ORG> <4A3B01FB.1040204@LeonixSolutions.com> <4A4AFB07.7090501@LeonixSolutions.com> <9a4753250906302304h51edb987if559286f62ad1862@mail.gmail.com> <4A4B0123.9010706@LeonixSolutions.com> <9a4753250906302342i4de3c083n342a597b5d3c4fb0@mail.gmail.com> <4A4B0853.4020003@LeonixSolutions.com> <9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com> <4A4B1466.1000308@LeonixSolutions.com>
X-Mailer: Apple Mail (2.935.3)
Subject: Re: [dtn-users] Config for two node, fixed IP, DTN (?)
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, 01 Jul 2009 08:09:56 -0000

--Boundary_(ID_5UwPNAMwpCYvV6dILnJvvQ)
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-transfer-encoding: 7BIT

A quick suggestion, as I'm off to work - try dtnpinging to self on  
each host

	dtnping localhost

to check that the dtnds are functional.  Also, the biggest problem  
I've observed s time sync.  dtnping defaults to 30 secs expiry time on  
bundles, so check that the laptops are within 30 secs of each others  
time.

Also, for local LAN stuff, I've had more joy using bonjour discovery  
(apple's mDNS-SD or avahi-daemon will do the trick).

Cheers,

Darren

On 1 Jul 2009, at 08:46, Graham Keellings (Leonix Solutions Pte Ltd)  
wrote:

> Kurtis Heimerl wrote:
>>
>> Are you sure that dtnd is still running when you try to ping? There's
>> a chance that it's crashing without sending any appropriate
>> information to the log.
>>
>> Try checking that before and after you run the DTN ping app. In case
>> you don't know...
>>
>> ps auwxxf | grep dtnd
>>
>> should tell you if dtnd is running.
>>
>> My intuition is that it's some dumb issue like this rather than
>> anything more complicated.
> Hmmm, but I can ping normally, so basically networking should be  
> ok ...
>
>
>
>> Your config file looks find by me.
>>
>> On Tue, Jun 30, 2009 at 11:55 PM, Graham Keellings (Leonix Solutions
>> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>>
>>> Kurtis Heimerl wrote:
>>>
>>> Ah. IPC communications means your DTN client (the ping app) can't  
>>> talk
>>> to the server (the thing you've got running there). It looks like  
>>> the
>>> servers are up and talking though, which is good.
>>>
>>>
>>> Well some cause for happiness, at least :-/
>>>
>>> This is a somewhat hairy problem, I've never gotten it before.
>>>
>>> Me neither. I had it working wired. Tried it wireless and was  
>>> getting
>>> timeouts on the dtnping, edited my dtn.conf and now this .... what  
>>> do you
>>> think of the dtn.con? Any obvious errors?
>>>
>>>
>>> Are you
>>> sure you're running this locally on the same machine dtnd is running
>>> on?
>>>
>>>
>>> yes.
>>>
>>> Thanks again for your help
>>>
>>> (p.s same thing with dtnsend (or course))
>>>
>>>
>>> On Tue, Jun 30, 2009 at 11:24 PM, Graham Keellings (Leonix Solutions
>>> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>>>
>>>
>>> Kurtis Heimerl wrote:
>>>
>>> "[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE
>>> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp
>>> state=AVAILABLE]"
>>>
>>> This says to me that they're talking.
>>>
>>> whoo ho!  Great news!
>>>
>>> You have to run the DTN ping app
>>> to have the two nodes actually ping each other. Have you tried this?
>>>
>>>
>>> yes, and it eventually times out with the error:
>>> "fatal error opening DTN handle: error in ipc communication"
>>>
>>> Any idea how to debug this?
>>>
>>> Thanks *very* much for your quick response.
>>>
>>>
>>>
>>>
>>> On Tue, Jun 30, 2009 at 10:58 PM, Graham Keellings (Leonix Solutions
>>> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>>>
>>>
>>> Does anyone have such a config file? Can anyone comment on mine  
>>> (one shown
>>> below, the other is mirror-image)?
>>>
>>> All that I want is two laptops with no Etehrnet, wif only, to be  
>>> able to
>>> communicate with DTN.
>>>
>>> I have ifconfig * down except for eth1 which is the wireless card  
>>> and can
>>> successfully ping each laptop from the other
>>>
>>> When I started the DTN daemon, I got ...
>>>
>>> root@acer-one:/dtn/DTN2# daemon/dtnd -linfo
>>> [1246427387.564048 /dtnd notice] random seed is 564037
>>> [1246427387.564196 /dtnd notice] DTN daemon starting up... (pid  
>>> 9127)
>>> [1246427387.580481 /dtnd info] parsing configuration file /etc/ 
>>> dtn.conf...
>>> [1246427387.580724 /dtnd info] dtnd parsing configuration...
>>> [1246427387.580849 /dtn/interface/table info] adding interface  
>>> tcp0 (tcp)
>>> [1246427387.581110 /dtn/interface/table info] adding interface  
>>> udp0 (udp)
>>> [1246427387.596918 /dtn/link/acer_two_link_tcp info] new link
>>> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp  
>>> state=AVAILABLE]
>>> [1246427387.597121 /dtnd info] dtnd configuration parsing complete
>>> [1246427387.597236 /dtn/storage info] initializing db name=DTN  
>>> (not shared),
>>> dir=/var/dtn/db
>>> [1246427387.631572 /dtn/storage info] datastore /var/dtn/db was  
>>> not cleanly
>>> shut down
>>> [1246427387.669037 /dtn/bundle/daemon info] REGISTRATION_ADDED 0
>>> dtn://acer.one.dtn
>>> [1246427387.669911 /dtn/bundle/daemon info] REGISTRATION_ADDED 2
>>> dtn://acer.one.dtn/ping
>>> [1246427387.670039 /dtn/bundle/daemon notice] loading bundles from  
>>> data
>>> store
>>> [1246427387.670104 /dtn/bundle/daemon info] LINK_CREATED  
>>> acer_two_link_tcp
>>> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>>> [1246427387.670169 /dtn/bundle/daemon info] ROUTE_ADD dtn:// 
>>> acer.two.dtn/*
>>> -> acer_two_link_tcp (FORWARD)
>>> [1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE  
>>> acer_two_link_tcp
>>> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>>> [1246427388.176273 /dtnd info] starting console on 127.0.0.1:5050
>>> [1246427388.236350 /dtn/tclcmd info] can't load oasys_tclreadline:  
>>> can't
>>> find package oasys_tclreadline
>>> [1246427388.236437 /dtn/tclcmd info] fall back to simple command  
>>> loop
>>> acer-one dtn%
>>>
>>>
>>> Here is one of the config files
>>>
>>> log /dtnd info "dtnd parsing configuration..."
>>>
>>> console set addr 127.0.0.1
>>> console set port 5050
>>>
>>> interface add tcp0 tcp local_addr=192.9.200.106
>>> interface add udp0 udp local_addr=192.9.200.106
>>>
>>> set shorthostname [lindex [split [info hostname] .] 0]
>>> console set prompt "$shorthostname dtn% "
>>>
>>> storage set type berkeleydb
>>> storage set schema /etc/DS.xsd
>>>
>>> set dbdir ""
>>> foreach dir {/var/dtn /var/tmp/dtn} {
>>>   if {[file isdirectory $dir]} {
>>>       set dbdir $dir
>>>       break
>>>   }
>>> }
>>> if {$dbdir == ""} {
>>>   puts stderr "Must create /var/dtn or /var/tmp/dtn storage  
>>> directory"
>>>   exit 1
>>> }
>>> storage set payloaddir $dbdir/bundles
>>> storage set dbname     DTN
>>> storage set dbdir      $dbdir/db
>>>
>>> param set accept_custody true
>>> param set reactive_frag_enabled true
>>> param set link_max_retry_interval 5
>>>
>>> link add acer_two_link_tcp 192.9.200.107:5000 ONDEMAND tcp
>>> ## link add acer_two_link_udp 192.9.200.107:5001 ALWAYSON udp
>>>
>>> route set type static
>>> route local_eid dtn://acer.one.dtn
>>>
>>> route add dtn://acer.two.dtn/* acer_two_link_tcp
>>> ##  route add dtn://acer.two.dtn/* acer_two_link_udp
>>>
>>> log /dtnd info "dtnd configuration parsing complete"
>>>
>>> Thanks in advance for any help with this very basic question.
>>>
>>> With best wishes
>>>
>>> graham
>>>
>>>
>>> _______________________________________________
>>> dtn-users mailing list
>>> dtn-users@maillists.intel-research.net
>>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Technical Director
>>> Leonix Solutions (Pte) Ltd
>>> 18 Boon Lay Way
>>> #09-95 TradeHub 21
>>> Singapore 609966
>>> Telephone:+65 6316 9968
>>> Fax: +65 6316 9208
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Technical Director
>>> Leonix Solutions (Pte) Ltd
>>> 18 Boon Lay Way
>>> #09-95 TradeHub 21
>>> Singapore 609966
>>> Telephone:+65 6316 9968
>>> Fax: +65 6316 9208
>>>
>>>
>>
>>
>
>
> -- 
> Technical Director
> Leonix Solutions (Pte) Ltd
> 18 Boon Lay Way
> #09-95 TradeHub 21
> Singapore 609966
> Telephone:+65 6316 9968
> Fax: +65 6316 9208
> <Graham.vcf>_______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users


--Boundary_(ID_5UwPNAMwpCYvV6dILnJvvQ)
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; ">A quick suggestion, as I'm off =
to work - try dtnpinging to self on each host<div><br></div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>dtnping =
localhost</div><div><br></div><div>to check that the dtnds are =
functional. &nbsp;Also, the biggest problem I've observed s time sync. =
&nbsp;dtnping defaults to 30 secs expiry time on bundles, so check that =
the laptops are within 30 secs of each others =
time.</div><div><br></div><div>Also, for local LAN stuff, I've had more =
joy using bonjour discovery (apple's mDNS-SD or avahi-daemon will do the =
trick).</div><div><br></div><div>Cheers,</div><div><br></div><div>Darren</=
div><div><br><div><div>On 1 Jul 2009, at 08:46, Graham Keellings (Leonix =
Solutions Pte Ltd) wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"> <div =
bgcolor=3D"#ffffff" text=3D"#000000"> Kurtis Heimerl wrote: <blockquote =
cite=3D"mid:9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com" =
type=3D"cite">  <pre wrap=3D"">Are you sure that dtnd is still running =
when you try to ping? There's
a chance that it's crashing without sending any appropriate
information to the log.

Try checking that before and after you run the DTN ping app. In case
you don't know...

ps auwxxf | grep dtnd

should tell you if dtnd is running.

My intuition is that it's some dumb issue like this rather than
anything more complicated. </pre> </blockquote> Hmmm, but I can ping =
normally, so basically networking should be ok ...<br> <br> <br> <br> =
<blockquote =
cite=3D"mid:9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com" =
type=3D"cite">  <pre wrap=3D"">Your config file looks find by me.

On Tue, Jun 30, 2009 at 11:55 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<a class=3D"moz-txt-link-rfc2396E" =
href=3D"mailto:Graham@leonixsolutions.com">&lt;Graham@leonixsolutions.com&=
gt;</a> wrote:
  </pre>  <blockquote type=3D"cite">    <pre wrap=3D"">Kurtis Heimerl =
wrote:

Ah. IPC communications means your DTN client (the ping app) can't talk
to the server (the thing you've got running there). It looks like the
servers are up and talking though, which is good.


Well some cause for happiness, at least :-/

This is a somewhat hairy problem, I've never gotten it before.

Me neither. I had it working wired. Tried it wireless and was getting
timeouts on the dtnping, edited my dtn.conf and now this .... what do =
you
think of the dtn.con? Any obvious errors?


Are you
sure you're running this locally on the same machine dtnd is running
on?


yes.

Thanks again for your help

(p.s same thing with dtnsend (or course))


On Tue, Jun 30, 2009 at 11:24 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<a class=3D"moz-txt-link-rfc2396E" =
href=3D"mailto:Graham@leonixsolutions.com">&lt;Graham@leonixsolutions.com&=
gt;</a> wrote:


Kurtis Heimerl wrote:

"[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE
acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp
state=3DAVAILABLE]"

This says to me that they're talking.

whoo ho!&nbsp; Great news!

You have to run the DTN ping app
to have the two nodes actually ping each other. Have you tried this?


yes, and it eventually times out with the error:
"fatal error opening DTN handle: error in ipc communication"

Any idea how to debug this?

Thanks *very* much for your quick response.




On Tue, Jun 30, 2009 at 10:58 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<a class=3D"moz-txt-link-rfc2396E" =
href=3D"mailto:Graham@leonixsolutions.com">&lt;Graham@leonixsolutions.com&=
gt;</a> wrote:


Does anyone have such a config file? Can anyone comment on mine (one =
shown
below, the other is mirror-image)?

All that I want is two laptops with no Etehrnet, wif only, to be able to
communicate with DTN.

I have ifconfig * down except for eth1 which is the wireless card and =
can
successfully ping each laptop from the other

When I started the DTN daemon, I got ...

root@acer-one:/dtn/DTN2# daemon/dtnd -linfo
[1246427387.564048 /dtnd notice] random seed is 564037
[1246427387.564196 /dtnd notice] DTN daemon starting up... (pid 9127)
[1246427387.580481 /dtnd info] parsing configuration file =
/etc/dtn.conf...
[1246427387.580724 /dtnd info] dtnd parsing configuration...
[1246427387.580849 /dtn/interface/table info] adding interface tcp0 =
(tcp)
[1246427387.581110 /dtn/interface/table info] adding interface udp0 =
(udp)
[1246427387.596918 /dtn/link/acer_two_link_tcp info] new link
acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp =
state=3DAVAILABLE]
[1246427387.597121 /dtnd info] dtnd configuration parsing complete
[1246427387.597236 /dtn/storage info] initializing db name=3DDTN (not =
shared),
dir=3D/var/dtn/db
[1246427387.631572 /dtn/storage info] datastore /var/dtn/db was not =
cleanly
shut down
[1246427387.669037 /dtn/bundle/daemon info] REGISTRATION_ADDED 0
dtn://acer.one.dtn
[1246427387.669911 /dtn/bundle/daemon info] REGISTRATION_ADDED 2
dtn://acer.one.dtn/ping
[1246427387.670039 /dtn/bundle/daemon notice] loading bundles from data
store
[1246427387.670104 /dtn/bundle/daemon info] LINK_CREATED =
acer_two_link_tcp
[192.9.200.107:5000 dtn:none ONDEMAND tcp state=3DAVAILABLE]
[1246427387.670169 /dtn/bundle/daemon info] ROUTE_ADD =
dtn://acer.two.dtn/*
-&gt; acer_two_link_tcp (FORWARD)
[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE =
acer_two_link_tcp
[192.9.200.107:5000 dtn:none ONDEMAND tcp state=3DAVAILABLE]
[1246427388.176273 /dtnd info] starting console on 127.0.0.1:5050
[1246427388.236350 /dtn/tclcmd info] can't load oasys_tclreadline: can't
find package oasys_tclreadline
[1246427388.236437 /dtn/tclcmd info] fall back to simple command loop
acer-one dtn%


Here is one of the config files

log /dtnd info "dtnd parsing configuration..."

console set addr 127.0.0.1
console set port 5050

interface add tcp0 tcp local_addr=3D192.9.200.106
interface add udp0 udp local_addr=3D192.9.200.106

set shorthostname [lindex [split [info hostname] .] 0]
console set prompt "$shorthostname dtn% "

storage set type berkeleydb
storage set schema /etc/DS.xsd

set dbdir ""
foreach dir {/var/dtn /var/tmp/dtn} {
&nbsp; if {[file isdirectory $dir]} {
&nbsp; &nbsp; &nbsp; set dbdir $dir
&nbsp; &nbsp; &nbsp; break
&nbsp; }
}
if {$dbdir =3D=3D ""} {
&nbsp; puts stderr "Must create /var/dtn or /var/tmp/dtn storage =
directory"
&nbsp; exit 1
}
storage set payloaddir $dbdir/bundles
storage set dbname &nbsp; &nbsp; DTN
storage set dbdir &nbsp; &nbsp; &nbsp;$dbdir/db

param set accept_custody true
param set reactive_frag_enabled true
param set link_max_retry_interval 5

link add acer_two_link_tcp 192.9.200.107:5000 ONDEMAND tcp
## link add acer_two_link_udp 192.9.200.107:5001 ALWAYSON udp

route set type static
route local_eid dtn://acer.one.dtn

route add dtn://acer.two.dtn/* acer_two_link_tcp
## &nbsp;route add dtn://acer.two.dtn/* acer_two_link_udp

log /dtnd info "dtnd configuration parsing complete"

Thanks in advance for any help with this very basic question.

With best wishes

graham


_______________________________________________
dtn-users mailing list
<a class=3D"moz-txt-link-abbreviated" =
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists=
.intel-research.net</a>
<a class=3D"moz-txt-link-freetext" =
href=3D"http://maillists.intel-research.net/mailman/listinfo/dtn-users">ht=
tp://maillists.intel-research.net/mailman/listinfo/dtn-users</a>






--
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208





--
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208

    </pre>  </blockquote>  <pre wrap=3D""><!---->
  </pre> </blockquote> <br> <br> <pre class=3D"moz-signature" =
cols=3D"80">--=20
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208
</pre> </div>  =
<span>&lt;Graham.vcf&gt;</span>___________________________________________=
____<br>dtn-users mailing list<br><a =
href=3D"mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists=
.intel-research.net</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></body></html>=

--Boundary_(ID_5UwPNAMwpCYvV6dILnJvvQ)--


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 n617mkgq023060 for <dtn-users@maillists.intel-research.net>; Wed, 1 Jul 2009 00:48:46 -0700
Received: from dyn98-b60-access.superdsl.com.sg ([202.73.60.98] helo=[192.9.200.138]) by sky.fastbighost.net with esmtpa (Exim 4.69) (envelope-from <Graham@LeonixSolutions.com>) id 1MLuWe-0003XP-Fc; Wed, 01 Jul 2009 03:46:41 -0400
Message-ID: <4A4B1466.1000308@LeonixSolutions.com>
Date: Wed, 01 Jul 2009 15:46:46 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: Kurtis Heimerl <kheimerl@eecs.berkeley.edu>
References: <1245073778.17666.6.camel@mightyatom.folly.org.uk>	 <59e8babf0906151052s6ca43e7ep6dd43fd9220b7602@mail.gmail.com>	 <4A371393.6000005@cs.wisc.edu>	 <29705F5F232FBC4C96D1CAE867538F0B0BB1DC4ADB@IMCMBX4.MITRE.ORG>	 <4A3B01FB.1040204@LeonixSolutions.com>	 <4A4AFB07.7090501@LeonixSolutions.com>	 <9a4753250906302304h51edb987if559286f62ad1862@mail.gmail.com>	 <4A4B0123.9010706@LeonixSolutions.com>	 <9a4753250906302342i4de3c083n342a597b5d3c4fb0@mail.gmail.com>	 <4A4B0853.4020003@LeonixSolutions.com> <9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com>
In-Reply-To: <9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com>
Content-Type: multipart/mixed; boundary="------------040202000006070307040105"
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: 
Cc: DTN Users <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] Config for two node, fixed IP, DTN (?)
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, 01 Jul 2009 07:48:46 -0000

This is a multi-part message in MIME format.
--------------040202000006070307040105
Content-Type: multipart/alternative;
	boundary="------------080907020809000500010005"


--------------080907020809000500010005
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Kurtis Heimerl wrote:
> Are you sure that dtnd is still running when you try to ping? There's
> a chance that it's crashing without sending any appropriate
> information to the log.
>
> Try checking that before and after you run the DTN ping app. In case
> you don't know...
>
> ps auwxxf | grep dtnd
>
> should tell you if dtnd is running.
>
> My intuition is that it's some dumb issue like this rather than
> anything more complicated. 
Hmmm, but I can ping normally, so basically networking should be ok ...



> Your config file looks find by me.
>
> On Tue, Jun 30, 2009 at 11:55 PM, Graham Keellings (Leonix Solutions
> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>   
>> Kurtis Heimerl wrote:
>>
>> Ah. IPC communications means your DTN client (the ping app) can't talk
>> to the server (the thing you've got running there). It looks like the
>> servers are up and talking though, which is good.
>>
>>
>> Well some cause for happiness, at least :-/
>>
>> This is a somewhat hairy problem, I've never gotten it before.
>>
>> Me neither. I had it working wired. Tried it wireless and was getting
>> timeouts on the dtnping, edited my dtn.conf and now this .... what do you
>> think of the dtn.con? Any obvious errors?
>>
>>
>> Are you
>> sure you're running this locally on the same machine dtnd is running
>> on?
>>
>>
>> yes.
>>
>> Thanks again for your help
>>
>> (p.s same thing with dtnsend (or course))
>>
>>
>> On Tue, Jun 30, 2009 at 11:24 PM, Graham Keellings (Leonix Solutions
>> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>>
>>
>> Kurtis Heimerl wrote:
>>
>> "[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE
>> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp
>> state=AVAILABLE]"
>>
>> This says to me that they're talking.
>>
>> whoo ho!  Great news!
>>
>> You have to run the DTN ping app
>> to have the two nodes actually ping each other. Have you tried this?
>>
>>
>> yes, and it eventually times out with the error:
>> "fatal error opening DTN handle: error in ipc communication"
>>
>> Any idea how to debug this?
>>
>> Thanks *very* much for your quick response.
>>
>>
>>
>>
>> On Tue, Jun 30, 2009 at 10:58 PM, Graham Keellings (Leonix Solutions
>> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>>
>>
>> Does anyone have such a config file? Can anyone comment on mine (one shown
>> below, the other is mirror-image)?
>>
>> All that I want is two laptops with no Etehrnet, wif only, to be able to
>> communicate with DTN.
>>
>> I have ifconfig * down except for eth1 which is the wireless card and can
>> successfully ping each laptop from the other
>>
>> When I started the DTN daemon, I got ...
>>
>> root@acer-one:/dtn/DTN2# daemon/dtnd -linfo
>> [1246427387.564048 /dtnd notice] random seed is 564037
>> [1246427387.564196 /dtnd notice] DTN daemon starting up... (pid 9127)
>> [1246427387.580481 /dtnd info] parsing configuration file /etc/dtn.conf...
>> [1246427387.580724 /dtnd info] dtnd parsing configuration...
>> [1246427387.580849 /dtn/interface/table info] adding interface tcp0 (tcp)
>> [1246427387.581110 /dtn/interface/table info] adding interface udp0 (udp)
>> [1246427387.596918 /dtn/link/acer_two_link_tcp info] new link
>> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>> [1246427387.597121 /dtnd info] dtnd configuration parsing complete
>> [1246427387.597236 /dtn/storage info] initializing db name=DTN (not shared),
>> dir=/var/dtn/db
>> [1246427387.631572 /dtn/storage info] datastore /var/dtn/db was not cleanly
>> shut down
>> [1246427387.669037 /dtn/bundle/daemon info] REGISTRATION_ADDED 0
>> dtn://acer.one.dtn
>> [1246427387.669911 /dtn/bundle/daemon info] REGISTRATION_ADDED 2
>> dtn://acer.one.dtn/ping
>> [1246427387.670039 /dtn/bundle/daemon notice] loading bundles from data
>> store
>> [1246427387.670104 /dtn/bundle/daemon info] LINK_CREATED acer_two_link_tcp
>> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>> [1246427387.670169 /dtn/bundle/daemon info] ROUTE_ADD dtn://acer.two.dtn/*
>> -> acer_two_link_tcp (FORWARD)
>> [1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE acer_two_link_tcp
>> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>> [1246427388.176273 /dtnd info] starting console on 127.0.0.1:5050
>> [1246427388.236350 /dtn/tclcmd info] can't load oasys_tclreadline: can't
>> find package oasys_tclreadline
>> [1246427388.236437 /dtn/tclcmd info] fall back to simple command loop
>> acer-one dtn%
>>
>>
>> Here is one of the config files
>>
>> log /dtnd info "dtnd parsing configuration..."
>>
>> console set addr 127.0.0.1
>> console set port 5050
>>
>> interface add tcp0 tcp local_addr=192.9.200.106
>> interface add udp0 udp local_addr=192.9.200.106
>>
>> set shorthostname [lindex [split [info hostname] .] 0]
>> console set prompt "$shorthostname dtn% "
>>
>> storage set type berkeleydb
>> storage set schema /etc/DS.xsd
>>
>> set dbdir ""
>> foreach dir {/var/dtn /var/tmp/dtn} {
>>   if {[file isdirectory $dir]} {
>>       set dbdir $dir
>>       break
>>   }
>> }
>> if {$dbdir == ""} {
>>   puts stderr "Must create /var/dtn or /var/tmp/dtn storage directory"
>>   exit 1
>> }
>> storage set payloaddir $dbdir/bundles
>> storage set dbname     DTN
>> storage set dbdir      $dbdir/db
>>
>> param set accept_custody true
>> param set reactive_frag_enabled true
>> param set link_max_retry_interval 5
>>
>> link add acer_two_link_tcp 192.9.200.107:5000 ONDEMAND tcp
>> ## link add acer_two_link_udp 192.9.200.107:5001 ALWAYSON udp
>>
>> route set type static
>> route local_eid dtn://acer.one.dtn
>>
>> route add dtn://acer.two.dtn/* acer_two_link_tcp
>> ##  route add dtn://acer.two.dtn/* acer_two_link_udp
>>
>> log /dtnd info "dtnd configuration parsing complete"
>>
>> Thanks in advance for any help with this very basic question.
>>
>> With best wishes
>>
>> graham
>>
>>
>> _______________________________________________
>> dtn-users mailing list
>> dtn-users@maillists.intel-research.net
>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>
>>
>>
>>
>>
>>
>> --
>> Technical Director
>> Leonix Solutions (Pte) Ltd
>> 18 Boon Lay Way
>> #09-95 TradeHub 21
>> Singapore 609966
>> Telephone:+65 6316 9968
>> Fax: +65 6316 9208
>>
>>
>>
>>
>>
>> --
>> Technical Director
>> Leonix Solutions (Pte) Ltd
>> 18 Boon Lay Way
>> #09-95 TradeHub 21
>> Singapore 609966
>> Telephone:+65 6316 9968
>> Fax: +65 6316 9208
>>
>>     
>
>   


-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208


--------------080907020809000500010005
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kurtis Heimerl wrote:
<blockquote
 cite="mid:9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com"
 type="cite">
  <pre wrap="">Are you sure that dtnd is still running when you try to ping? There's
a chance that it's crashing without sending any appropriate
information to the log.

Try checking that before and after you run the DTN ping app. In case
you don't know...

ps auwxxf | grep dtnd

should tell you if dtnd is running.

My intuition is that it's some dumb issue like this rather than
anything more complicated. </pre>
</blockquote>
Hmmm, but I can ping normally, so basically networking should be ok ...<br>
<br>
<br>
<br>
<blockquote
 cite="mid:9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com"
 type="cite">
  <pre wrap="">Your config file looks find by me.

On Tue, Jun 30, 2009 at 11:55 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<a class="moz-txt-link-rfc2396E" href="mailto:Graham@leonixsolutions.com">&lt;Graham@leonixsolutions.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Kurtis Heimerl wrote:

Ah. IPC communications means your DTN client (the ping app) can't talk
to the server (the thing you've got running there). It looks like the
servers are up and talking though, which is good.


Well some cause for happiness, at least :-/

This is a somewhat hairy problem, I've never gotten it before.

Me neither. I had it working wired. Tried it wireless and was getting
timeouts on the dtnping, edited my dtn.conf and now this .... what do you
think of the dtn.con? Any obvious errors?


Are you
sure you're running this locally on the same machine dtnd is running
on?


yes.

Thanks again for your help

(p.s same thing with dtnsend (or course))


On Tue, Jun 30, 2009 at 11:24 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<a class="moz-txt-link-rfc2396E" href="mailto:Graham@leonixsolutions.com">&lt;Graham@leonixsolutions.com&gt;</a> wrote:


Kurtis Heimerl wrote:

"[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE
acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp
state=AVAILABLE]"

This says to me that they're talking.

whoo ho!&nbsp; Great news!

You have to run the DTN ping app
to have the two nodes actually ping each other. Have you tried this?


yes, and it eventually times out with the error:
"fatal error opening DTN handle: error in ipc communication"

Any idea how to debug this?

Thanks *very* much for your quick response.




On Tue, Jun 30, 2009 at 10:58 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<a class="moz-txt-link-rfc2396E" href="mailto:Graham@leonixsolutions.com">&lt;Graham@leonixsolutions.com&gt;</a> wrote:


Does anyone have such a config file? Can anyone comment on mine (one shown
below, the other is mirror-image)?

All that I want is two laptops with no Etehrnet, wif only, to be able to
communicate with DTN.

I have ifconfig * down except for eth1 which is the wireless card and can
successfully ping each laptop from the other

When I started the DTN daemon, I got ...

root@acer-one:/dtn/DTN2# daemon/dtnd -linfo
[1246427387.564048 /dtnd notice] random seed is 564037
[1246427387.564196 /dtnd notice] DTN daemon starting up... (pid 9127)
[1246427387.580481 /dtnd info] parsing configuration file /etc/dtn.conf...
[1246427387.580724 /dtnd info] dtnd parsing configuration...
[1246427387.580849 /dtn/interface/table info] adding interface tcp0 (tcp)
[1246427387.581110 /dtn/interface/table info] adding interface udp0 (udp)
[1246427387.596918 /dtn/link/acer_two_link_tcp info] new link
acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
[1246427387.597121 /dtnd info] dtnd configuration parsing complete
[1246427387.597236 /dtn/storage info] initializing db name=DTN (not shared),
dir=/var/dtn/db
[1246427387.631572 /dtn/storage info] datastore /var/dtn/db was not cleanly
shut down
[1246427387.669037 /dtn/bundle/daemon info] REGISTRATION_ADDED 0
dtn://acer.one.dtn
[1246427387.669911 /dtn/bundle/daemon info] REGISTRATION_ADDED 2
dtn://acer.one.dtn/ping
[1246427387.670039 /dtn/bundle/daemon notice] loading bundles from data
store
[1246427387.670104 /dtn/bundle/daemon info] LINK_CREATED acer_two_link_tcp
[192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
[1246427387.670169 /dtn/bundle/daemon info] ROUTE_ADD dtn://acer.two.dtn/*
-&gt; acer_two_link_tcp (FORWARD)
[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE acer_two_link_tcp
[192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
[1246427388.176273 /dtnd info] starting console on 127.0.0.1:5050
[1246427388.236350 /dtn/tclcmd info] can't load oasys_tclreadline: can't
find package oasys_tclreadline
[1246427388.236437 /dtn/tclcmd info] fall back to simple command loop
acer-one dtn%


Here is one of the config files

log /dtnd info "dtnd parsing configuration..."

console set addr 127.0.0.1
console set port 5050

interface add tcp0 tcp local_addr=192.9.200.106
interface add udp0 udp local_addr=192.9.200.106

set shorthostname [lindex [split [info hostname] .] 0]
console set prompt "$shorthostname dtn% "

storage set type berkeleydb
storage set schema /etc/DS.xsd

set dbdir ""
foreach dir {/var/dtn /var/tmp/dtn} {
&nbsp; if {[file isdirectory $dir]} {
&nbsp; &nbsp; &nbsp; set dbdir $dir
&nbsp; &nbsp; &nbsp; break
&nbsp; }
}
if {$dbdir == ""} {
&nbsp; puts stderr "Must create /var/dtn or /var/tmp/dtn storage directory"
&nbsp; exit 1
}
storage set payloaddir $dbdir/bundles
storage set dbname &nbsp; &nbsp; DTN
storage set dbdir &nbsp; &nbsp; &nbsp;$dbdir/db

param set accept_custody true
param set reactive_frag_enabled true
param set link_max_retry_interval 5

link add acer_two_link_tcp 192.9.200.107:5000 ONDEMAND tcp
## link add acer_two_link_udp 192.9.200.107:5001 ALWAYSON udp

route set type static
route local_eid dtn://acer.one.dtn

route add dtn://acer.two.dtn/* acer_two_link_tcp
## &nbsp;route add dtn://acer.two.dtn/* acer_two_link_udp

log /dtnd info "dtnd configuration parsing complete"

Thanks in advance for any help with this very basic question.

With best wishes

graham


_______________________________________________
dtn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.intel-research.net</a>
<a class="moz-txt-link-freetext" href="http://maillists.intel-research.net/mailman/listinfo/dtn-users">http://maillists.intel-research.net/mailman/listinfo/dtn-users</a>






--
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208





--
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208

    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208
</pre>
</body>
</html>

--------------080907020809000500010005--

--------------040202000006070307040105
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------040202000006070307040105--


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 n617NXYG021892 for <dtn-users@maillists.intel-research.net>; Wed, 1 Jul 2009 00:23:33 -0700
Received: from dyn98-b60-access.superdsl.com.sg ([202.73.60.98] helo=[192.9.200.138]) by sky.fastbighost.net with esmtpa (Exim 4.69) (envelope-from <Graham@LeonixSolutions.com>) id 1MLu8F-0002po-LW; Wed, 01 Jul 2009 03:21:28 -0400
Message-ID: <4A4B0E79.7020700@LeonixSolutions.com>
Date: Wed, 01 Jul 2009 15:21:29 +0800
From: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@LeonixSolutions.com>
Organization: Leonix Solutions Pte Ltd
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: Kurtis Heimerl <kheimerl@eecs.berkeley.edu>
References: <1245073778.17666.6.camel@mightyatom.folly.org.uk>	 <59e8babf0906151052s6ca43e7ep6dd43fd9220b7602@mail.gmail.com>	 <4A371393.6000005@cs.wisc.edu>	 <29705F5F232FBC4C96D1CAE867538F0B0BB1DC4ADB@IMCMBX4.MITRE.ORG>	 <4A3B01FB.1040204@LeonixSolutions.com>	 <4A4AFB07.7090501@LeonixSolutions.com>	 <9a4753250906302304h51edb987if559286f62ad1862@mail.gmail.com>	 <4A4B0123.9010706@LeonixSolutions.com>	 <9a4753250906302342i4de3c083n342a597b5d3c4fb0@mail.gmail.com>	 <4A4B0853.4020003@LeonixSolutions.com> <9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com>
In-Reply-To: <9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com>
Content-Type: multipart/mixed; boundary="------------090506040004010206070107"
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: 
Cc: DTN Users <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] Config for two node, fixed IP, DTN (?)
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, 01 Jul 2009 07:23:33 -0000

This is a multi-part message in MIME format.
--------------090506040004010206070107
Content-Type: multipart/alternative;
	boundary="------------080609010207060604000400"


--------------080609010207060604000400
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Kurtis Heimerl wrote:
> Are you sure that dtnd is still running when you try to ping? There's
> a chance that it's crashing without sending any appropriate
> information to the log.
>
> Try checking that before and after you run the DTN ping app. In case
> you don't know...
>
> ps auwxxf | grep dtnd
>
> should tell you if dtnd is running.
>   
Sorry to say,the dtn daemon was running before .. and after :-(


> My intuition is that it's some dumb issue like this rather than
> anything more complicated. 
I do hope so. I am proceeding step by baby step and this doesn't seem 
like a complicated setup to me (those come later :-)

~graham();




> Your config file looks find by me.
>
> On Tue, Jun 30, 2009 at 11:55 PM, Graham Keellings (Leonix Solutions
> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>   
>> Kurtis Heimerl wrote:
>>
>> Ah. IPC communications means your DTN client (the ping app) can't talk
>> to the server (the thing you've got running there). It looks like the
>> servers are up and talking though, which is good.
>>
>>
>> Well some cause for happiness, at least :-/
>>
>> This is a somewhat hairy problem, I've never gotten it before.
>>
>> Me neither. I had it working wired. Tried it wireless and was getting
>> timeouts on the dtnping, edited my dtn.conf and now this .... what do you
>> think of the dtn.con? Any obvious errors?
>>
>>
>> Are you
>> sure you're running this locally on the same machine dtnd is running
>> on?
>>
>>
>> yes.
>>
>> Thanks again for your help
>>
>> (p.s same thing with dtnsend (or course))
>>
>>
>> On Tue, Jun 30, 2009 at 11:24 PM, Graham Keellings (Leonix Solutions
>> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>>
>>
>> Kurtis Heimerl wrote:
>>
>> "[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE
>> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp
>> state=AVAILABLE]"
>>
>> This says to me that they're talking.
>>
>> whoo ho!  Great news!
>>
>> You have to run the DTN ping app
>> to have the two nodes actually ping each other. Have you tried this?
>>
>>
>> yes, and it eventually times out with the error:
>> "fatal error opening DTN handle: error in ipc communication"
>>
>> Any idea how to debug this?
>>
>> Thanks *very* much for your quick response.
>>
>>
>>
>>
>> On Tue, Jun 30, 2009 at 10:58 PM, Graham Keellings (Leonix Solutions
>> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>>
>>
>> Does anyone have such a config file? Can anyone comment on mine (one shown
>> below, the other is mirror-image)?
>>
>> All that I want is two laptops with no Etehrnet, wif only, to be able to
>> communicate with DTN.
>>
>> I have ifconfig * down except for eth1 which is the wireless card and can
>> successfully ping each laptop from the other
>>
>> When I started the DTN daemon, I got ...
>>
>> root@acer-one:/dtn/DTN2# daemon/dtnd -linfo
>> [1246427387.564048 /dtnd notice] random seed is 564037
>> [1246427387.564196 /dtnd notice] DTN daemon starting up... (pid 9127)
>> [1246427387.580481 /dtnd info] parsing configuration file /etc/dtn.conf...
>> [1246427387.580724 /dtnd info] dtnd parsing configuration...
>> [1246427387.580849 /dtn/interface/table info] adding interface tcp0 (tcp)
>> [1246427387.581110 /dtn/interface/table info] adding interface udp0 (udp)
>> [1246427387.596918 /dtn/link/acer_two_link_tcp info] new link
>> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>> [1246427387.597121 /dtnd info] dtnd configuration parsing complete
>> [1246427387.597236 /dtn/storage info] initializing db name=DTN (not shared),
>> dir=/var/dtn/db
>> [1246427387.631572 /dtn/storage info] datastore /var/dtn/db was not cleanly
>> shut down
>> [1246427387.669037 /dtn/bundle/daemon info] REGISTRATION_ADDED 0
>> dtn://acer.one.dtn
>> [1246427387.669911 /dtn/bundle/daemon info] REGISTRATION_ADDED 2
>> dtn://acer.one.dtn/ping
>> [1246427387.670039 /dtn/bundle/daemon notice] loading bundles from data
>> store
>> [1246427387.670104 /dtn/bundle/daemon info] LINK_CREATED acer_two_link_tcp
>> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>> [1246427387.670169 /dtn/bundle/daemon info] ROUTE_ADD dtn://acer.two.dtn/*
>> -> acer_two_link_tcp (FORWARD)
>> [1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE acer_two_link_tcp
>> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
>> [1246427388.176273 /dtnd info] starting console on 127.0.0.1:5050
>> [1246427388.236350 /dtn/tclcmd info] can't load oasys_tclreadline: can't
>> find package oasys_tclreadline
>> [1246427388.236437 /dtn/tclcmd info] fall back to simple command loop
>> acer-one dtn%
>>
>>
>> Here is one of the config files
>>
>> log /dtnd info "dtnd parsing configuration..."
>>
>> console set addr 127.0.0.1
>> console set port 5050
>>
>> interface add tcp0 tcp local_addr=192.9.200.106
>> interface add udp0 udp local_addr=192.9.200.106
>>
>> set shorthostname [lindex [split [info hostname] .] 0]
>> console set prompt "$shorthostname dtn% "
>>
>> storage set type berkeleydb
>> storage set schema /etc/DS.xsd
>>
>> set dbdir ""
>> foreach dir {/var/dtn /var/tmp/dtn} {
>>   if {[file isdirectory $dir]} {
>>       set dbdir $dir
>>       break
>>   }
>> }
>> if {$dbdir == ""} {
>>   puts stderr "Must create /var/dtn or /var/tmp/dtn storage directory"
>>   exit 1
>> }
>> storage set payloaddir $dbdir/bundles
>> storage set dbname     DTN
>> storage set dbdir      $dbdir/db
>>
>> param set accept_custody true
>> param set reactive_frag_enabled true
>> param set link_max_retry_interval 5
>>
>> link add acer_two_link_tcp 192.9.200.107:5000 ONDEMAND tcp
>> ## link add acer_two_link_udp 192.9.200.107:5001 ALWAYSON udp
>>
>> route set type static
>> route local_eid dtn://acer.one.dtn
>>
>> route add dtn://acer.two.dtn/* acer_two_link_tcp
>> ##  route add dtn://acer.two.dtn/* acer_two_link_udp
>>
>> log /dtnd info "dtnd configuration parsing complete"
>>
>> Thanks in advance for any help with this very basic question.
>>
>> With best wishes
>>
>> graham
>>
>>
>> _______________________________________________
>> dtn-users mailing list
>> dtn-users@maillists.intel-research.net
>> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>>
>>
>>
>>
>>
>>
>> --
>> Technical Director
>> Leonix Solutions (Pte) Ltd
>> 18 Boon Lay Way
>> #09-95 TradeHub 21
>> Singapore 609966
>> Telephone:+65 6316 9968
>> Fax: +65 6316 9208
>>
>>
>>
>>
>>
>> --
>> Technical Director
>> Leonix Solutions (Pte) Ltd
>> 18 Boon Lay Way
>> #09-95 TradeHub 21
>> Singapore 609966
>> Telephone:+65 6316 9968
>> Fax: +65 6316 9208
>>
>>     
>
>   


-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208


--------------080609010207060604000400
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kurtis Heimerl wrote:
<blockquote
 cite="mid:9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com"
 type="cite">
  <pre wrap="">Are you sure that dtnd is still running when you try to ping? There's
a chance that it's crashing without sending any appropriate
information to the log.

Try checking that before and after you run the DTN ping app. In case
you don't know...

ps auwxxf | grep dtnd

should tell you if dtnd is running.
  </pre>
</blockquote>
Sorry to say,the dtn daemon was running before .. and after :-(<br>
<br>
<br>
<blockquote
 cite="mid:9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com"
 type="cite">
  <pre wrap="">
My intuition is that it's some dumb issue like this rather than
anything more complicated. </pre>
</blockquote>
I do hope so. I am proceeding step by baby step and this doesn't seem
like a complicated setup to me (those come later :-)<br>
<br>
~graham();<br>
<br>
<br>
<br>
<br>
<blockquote
 cite="mid:9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com"
 type="cite">
  <pre wrap="">Your config file looks find by me.

On Tue, Jun 30, 2009 at 11:55 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<a class="moz-txt-link-rfc2396E" href="mailto:Graham@leonixsolutions.com">&lt;Graham@leonixsolutions.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Kurtis Heimerl wrote:

Ah. IPC communications means your DTN client (the ping app) can't talk
to the server (the thing you've got running there). It looks like the
servers are up and talking though, which is good.


Well some cause for happiness, at least :-/

This is a somewhat hairy problem, I've never gotten it before.

Me neither. I had it working wired. Tried it wireless and was getting
timeouts on the dtnping, edited my dtn.conf and now this .... what do you
think of the dtn.con? Any obvious errors?


Are you
sure you're running this locally on the same machine dtnd is running
on?


yes.

Thanks again for your help

(p.s same thing with dtnsend (or course))


On Tue, Jun 30, 2009 at 11:24 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<a class="moz-txt-link-rfc2396E" href="mailto:Graham@leonixsolutions.com">&lt;Graham@leonixsolutions.com&gt;</a> wrote:


Kurtis Heimerl wrote:

"[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE
acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp
state=AVAILABLE]"

This says to me that they're talking.

whoo ho!&nbsp; Great news!

You have to run the DTN ping app
to have the two nodes actually ping each other. Have you tried this?


yes, and it eventually times out with the error:
"fatal error opening DTN handle: error in ipc communication"

Any idea how to debug this?

Thanks *very* much for your quick response.




On Tue, Jun 30, 2009 at 10:58 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<a class="moz-txt-link-rfc2396E" href="mailto:Graham@leonixsolutions.com">&lt;Graham@leonixsolutions.com&gt;</a> wrote:


Does anyone have such a config file? Can anyone comment on mine (one shown
below, the other is mirror-image)?

All that I want is two laptops with no Etehrnet, wif only, to be able to
communicate with DTN.

I have ifconfig * down except for eth1 which is the wireless card and can
successfully ping each laptop from the other

When I started the DTN daemon, I got ...

root@acer-one:/dtn/DTN2# daemon/dtnd -linfo
[1246427387.564048 /dtnd notice] random seed is 564037
[1246427387.564196 /dtnd notice] DTN daemon starting up... (pid 9127)
[1246427387.580481 /dtnd info] parsing configuration file /etc/dtn.conf...
[1246427387.580724 /dtnd info] dtnd parsing configuration...
[1246427387.580849 /dtn/interface/table info] adding interface tcp0 (tcp)
[1246427387.581110 /dtn/interface/table info] adding interface udp0 (udp)
[1246427387.596918 /dtn/link/acer_two_link_tcp info] new link
acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
[1246427387.597121 /dtnd info] dtnd configuration parsing complete
[1246427387.597236 /dtn/storage info] initializing db name=DTN (not shared),
dir=/var/dtn/db
[1246427387.631572 /dtn/storage info] datastore /var/dtn/db was not cleanly
shut down
[1246427387.669037 /dtn/bundle/daemon info] REGISTRATION_ADDED 0
dtn://acer.one.dtn
[1246427387.669911 /dtn/bundle/daemon info] REGISTRATION_ADDED 2
dtn://acer.one.dtn/ping
[1246427387.670039 /dtn/bundle/daemon notice] loading bundles from data
store
[1246427387.670104 /dtn/bundle/daemon info] LINK_CREATED acer_two_link_tcp
[192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
[1246427387.670169 /dtn/bundle/daemon info] ROUTE_ADD dtn://acer.two.dtn/*
-&gt; acer_two_link_tcp (FORWARD)
[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE acer_two_link_tcp
[192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
[1246427388.176273 /dtnd info] starting console on 127.0.0.1:5050
[1246427388.236350 /dtn/tclcmd info] can't load oasys_tclreadline: can't
find package oasys_tclreadline
[1246427388.236437 /dtn/tclcmd info] fall back to simple command loop
acer-one dtn%


Here is one of the config files

log /dtnd info "dtnd parsing configuration..."

console set addr 127.0.0.1
console set port 5050

interface add tcp0 tcp local_addr=192.9.200.106
interface add udp0 udp local_addr=192.9.200.106

set shorthostname [lindex [split [info hostname] .] 0]
console set prompt "$shorthostname dtn% "

storage set type berkeleydb
storage set schema /etc/DS.xsd

set dbdir ""
foreach dir {/var/dtn /var/tmp/dtn} {
&nbsp; if {[file isdirectory $dir]} {
&nbsp; &nbsp; &nbsp; set dbdir $dir
&nbsp; &nbsp; &nbsp; break
&nbsp; }
}
if {$dbdir == ""} {
&nbsp; puts stderr "Must create /var/dtn or /var/tmp/dtn storage directory"
&nbsp; exit 1
}
storage set payloaddir $dbdir/bundles
storage set dbname &nbsp; &nbsp; DTN
storage set dbdir &nbsp; &nbsp; &nbsp;$dbdir/db

param set accept_custody true
param set reactive_frag_enabled true
param set link_max_retry_interval 5

link add acer_two_link_tcp 192.9.200.107:5000 ONDEMAND tcp
## link add acer_two_link_udp 192.9.200.107:5001 ALWAYSON udp

route set type static
route local_eid dtn://acer.one.dtn

route add dtn://acer.two.dtn/* acer_two_link_tcp
## &nbsp;route add dtn://acer.two.dtn/* acer_two_link_udp

log /dtnd info "dtnd configuration parsing complete"

Thanks in advance for any help with this very basic question.

With best wishes

graham


_______________________________________________
dtn-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dtn-users@maillists.intel-research.net">dtn-users@maillists.intel-research.net</a>
<a class="moz-txt-link-freetext" href="http://maillists.intel-research.net/mailman/listinfo/dtn-users">http://maillists.intel-research.net/mailman/listinfo/dtn-users</a>






--
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208





--
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208

    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">-- 
Technical Director
Leonix Solutions (Pte) Ltd
18 Boon Lay Way
#09-95 TradeHub 21
Singapore 609966
Telephone:+65 6316 9968
Fax: +65 6316 9208
</pre>
</body>
</html>

--------------080609010207060604000400--

--------------090506040004010206070107
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
n:Keellings;Graham
org:Leonix Solutions Pte Ltd
adr:TradeHub 21;;18 Boon Lay Way #09-95;;;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
x-mozilla-html:FALSE
url:http://leonixsolutions.com/
version:2.1
end:vcard


--------------090506040004010206070107--


Received: from mail-vw0-f198.google.com (mail-vw0-f198.google.com [209.85.212.198]) by maillists.intel-research.net (8.13.8/8.13.8) with ESMTP id n6177uT7021160 for <dtn-users@maillists.intel-research.net>; Wed, 1 Jul 2009 00:07:56 -0700
Received: by vwj36 with SMTP id 36so372329vwj.6 for <dtn-users@maillists.intel-research.net>; Wed, 01 Jul 2009 00:05:52 -0700 (PDT)
MIME-Version: 1.0
Sender: munncha@gmail.com
Received: by 10.220.76.21 with SMTP id a21mr8238060vck.114.1246431952153; Wed,  01 Jul 2009 00:05:52 -0700 (PDT)
In-Reply-To: <4A4B0853.4020003@LeonixSolutions.com>
References: <1245073778.17666.6.camel@mightyatom.folly.org.uk> <59e8babf0906151052s6ca43e7ep6dd43fd9220b7602@mail.gmail.com> <4A371393.6000005@cs.wisc.edu> <29705F5F232FBC4C96D1CAE867538F0B0BB1DC4ADB@IMCMBX4.MITRE.ORG> <4A3B01FB.1040204@LeonixSolutions.com> <4A4AFB07.7090501@LeonixSolutions.com> <9a4753250906302304h51edb987if559286f62ad1862@mail.gmail.com> <4A4B0123.9010706@LeonixSolutions.com> <9a4753250906302342i4de3c083n342a597b5d3c4fb0@mail.gmail.com> <4A4B0853.4020003@LeonixSolutions.com>
Date: Wed, 1 Jul 2009 00:05:52 -0700
X-Google-Sender-Auth: 0db022111b50bb34
Message-ID: <9a4753250907010005y64b00c3alde05b8560cc729c6@mail.gmail.com>
From: Kurtis Heimerl <kheimerl@eecs.berkeley.edu>
To: "Graham Keellings (Leonix Solutions Pte Ltd)" <Graham@leonixsolutions.com>
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 n6177uT7021160
Cc: DTN Users <dtn-users@maillists.intel-research.net>
Subject: Re: [dtn-users] Config for two node, fixed IP, DTN (?)
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, 01 Jul 2009 07:07:57 -0000

Are you sure that dtnd is still running when you try to ping? There's
a chance that it's crashing without sending any appropriate
information to the log.

Try checking that before and after you run the DTN ping app. In case
you don't know...

ps auwxxf | grep dtnd

should tell you if dtnd is running.

My intuition is that it's some dumb issue like this rather than
anything more complicated. Your config file looks find by me.

On Tue, Jun 30, 2009 at 11:55 PM, Graham Keellings (Leonix Solutions
Pte Ltd)<Graham@leonixsolutions.com> wrote:
> Kurtis Heimerl wrote:
>
> Ah. IPC communications means your DTN client (the ping app) can't talk
> to the server (the thing you've got running there). It looks like the
> servers are up and talking though, which is good.
>
>
> Well some cause for happiness, at least :-/
>
> This is a somewhat hairy problem, I've never gotten it before.
>
> Me neither. I had it working wired. Tried it wireless and was getting
> timeouts on the dtnping, edited my dtn.conf and now this .... what do you
> think of the dtn.con? Any obvious errors?
>
>
> Are you
> sure you're running this locally on the same machine dtnd is running
> on?
>
>
> yes.
>
> Thanks again for your help
>
> (p.s same thing with dtnsend (or course))
>
>
> On Tue, Jun 30, 2009 at 11:24 PM, Graham Keellings (Leonix Solutions
> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>
>
> Kurtis Heimerl wrote:
>
> "[1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE
> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp
> state=AVAILABLE]"
>
> This says to me that they're talking.
>
> whoo ho!  Great news!
>
> You have to run the DTN ping app
> to have the two nodes actually ping each other. Have you tried this?
>
>
> yes, and it eventually times out with the error:
> "fatal error opening DTN handle: error in ipc communication"
>
> Any idea how to debug this?
>
> Thanks *very* much for your quick response.
>
>
>
>
> On Tue, Jun 30, 2009 at 10:58 PM, Graham Keellings (Leonix Solutions
> Pte Ltd)<Graham@leonixsolutions.com> wrote:
>
>
> Does anyone have such a config file? Can anyone comment on mine (one shown
> below, the other is mirror-image)?
>
> All that I want is two laptops with no Etehrnet, wif only, to be able to
> communicate with DTN.
>
> I have ifconfig * down except for eth1 which is the wireless card and can
> successfully ping each laptop from the other
>
> When I started the DTN daemon, I got ...
>
> root@acer-one:/dtn/DTN2# daemon/dtnd -linfo
> [1246427387.564048 /dtnd notice] random seed is 564037
> [1246427387.564196 /dtnd notice] DTN daemon starting up... (pid 9127)
> [1246427387.580481 /dtnd info] parsing configuration file /etc/dtn.conf...
> [1246427387.580724 /dtnd info] dtnd parsing configuration...
> [1246427387.580849 /dtn/interface/table info] adding interface tcp0 (tcp)
> [1246427387.581110 /dtn/interface/table info] adding interface udp0 (udp)
> [1246427387.596918 /dtn/link/acer_two_link_tcp info] new link
> acer_two_link_tcp [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
> [1246427387.597121 /dtnd info] dtnd configuration parsing complete
> [1246427387.597236 /dtn/storage info] initializing db name=DTN (not shared),
> dir=/var/dtn/db
> [1246427387.631572 /dtn/storage info] datastore /var/dtn/db was not cleanly
> shut down
> [1246427387.669037 /dtn/bundle/daemon info] REGISTRATION_ADDED 0
> dtn://acer.one.dtn
> [1246427387.669911 /dtn/bundle/daemon info] REGISTRATION_ADDED 2
> dtn://acer.one.dtn/ping
> [1246427387.670039 /dtn/bundle/daemon notice] loading bundles from data
> store
> [1246427387.670104 /dtn/bundle/daemon info] LINK_CREATED acer_two_link_tcp
> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
> [1246427387.670169 /dtn/bundle/daemon info] ROUTE_ADD dtn://acer.two.dtn/*
> -> acer_two_link_tcp (FORWARD)
> [1246427387.670231 /dtn/bundle/daemon info] LINK_AVAILABLE acer_two_link_tcp
> [192.9.200.107:5000 dtn:none ONDEMAND tcp state=AVAILABLE]
> [1246427388.176273 /dtnd info] starting console on 127.0.0.1:5050
> [1246427388.236350 /dtn/tclcmd info] can't load oasys_tclreadline: can't
> find package oasys_tclreadline
> [1246427388.236437 /dtn/tclcmd info] fall back to simple command loop
> acer-one dtn%
>
>
> Here is one of the config files
>
> log /dtnd info "dtnd parsing configuration..."
>
> console set addr 127.0.0.1
> console set port 5050
>
> interface add tcp0 tcp local_addr=192.9.200.106
> interface add udp0 udp local_addr=192.9.200.106
>
> set shorthostname [lindex [split [info hostname] .] 0]
> console set prompt "$shorthostname dtn% "
>
> storage set type berkeleydb
> storage set schema /etc/DS.xsd
>
> set dbdir ""
> foreach dir {/var/dtn /var/tmp/dtn} {
>   if {[file isdirectory $dir]} {
>       set dbdir $dir
>       break
>   }
> }
> if {$dbdir == ""} {
>   puts stderr "Must create /var/dtn or /var/tmp/dtn storage directory"
>   exit 1
> }
> storage set payloaddir $dbdir/bundles
> storage set dbname     DTN
> storage set dbdir      $dbdir/db
>
> param set accept_custody true
> param set reactive_frag_enabled true
> param set link_max_retry_interval 5
>
> link add acer_two_link_tcp 192.9.200.107:5000 ONDEMAND tcp
> ## link add acer_two_link_udp 192.9.200.107:5001 ALWAYSON udp
>
> route set type static
> route local_eid dtn://acer.one.dtn
>
> route add dtn://acer.two.dtn/* acer_two_link_tcp
> ##  route add dtn://acer.two.dtn/* acer_two_link_udp
>
> log /dtnd info "dtnd configuration parsing complete"
>
> Thanks in advance for any help with this very basic question.
>
> With best wishes
>
> graham
>
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@maillists.intel-research.net
> http://maillists.intel-research.net/mailman/listinfo/dtn-users
>
>
>
>
>
>
> --
> Technical Director
> Leonix Solutions (Pte) Ltd
> 18 Boon Lay Way
> #09-95 TradeHub 21
> Singapore 609966
> Telephone:+65 6316 9968
> Fax: +65 6316 9208
>
>
>
>
>
> --
> Technical Director
> Leonix Solutions (Pte) Ltd
> 18 Boon Lay Way
> #09-95 TradeHub 21
> Singapore 609966
> Telephone:+65 6316 9968
> Fax: +65 6316 9208
>


