
Received: from web15814.mail.cnb.yahoo.com (web15814.mail.cnb.yahoo.com [202.165.103.121]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with SMTP id k8S1PWY03343 for <dtn-users@mailman.dtnrg.org>; Wed, 27 Sep 2006 18:25:32 -0700
Received: (qmail 93540 invoked by uid 60001); 28 Sep 2006 01:25:20 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WCiPjHaGqOJpqzc60ImwWftKouvT3qh1nqt/GJWAROzPxnyR9j0EdX0pQ8pFpsw1Kt649Sexpz5hmw1SX+O6L9ufF+FHReirbrs/3wcWtT4fdMqvxkw/vjXeyO/3AkQITm7KD6boHELyMW4QiOvqGD7aWPq7miBktgpH5vPIdHM=  ;
Message-ID: <20060928012520.93537.qmail@web15814.mail.cnb.yahoo.com>
Received: from [61.157.97.84] by web15814.mail.cnb.yahoo.com via HTTP; Thu, 28 Sep 2006 09:25:19 CST
Date: Thu, 28 Sep 2006 09:25:19 +0800 (CST)
From: =?gb2312?q?=BA=E7=20=BD=AD?= <hongjiang133@yahoo.com.cn>
Subject: HongJiang Re: [dtn-users] the problem of dtnping between A and B
To: dtn-users@mailman.dtnrg.org, demmer@cs.berkeley.edu
In-Reply-To: <9658D022-8D25-4B46-BC62-160D5BD08CD7@cs.berkeley.edu>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-158601696-1159406719=:93412"
Content-Transfer-Encoding: 8bit
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

--0-158601696-1159406719=:93412
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit

dear Michael Demmer:
  Thank you very much, under your guide, i solved the problem with "dtnd -l debug and info", thanks again
  hongjiang

Michael Demmer <demmer@cs.berkeley.edu> Ð´µÀ£º
    

  At first glance your configuration files look fine.Â 
  

  Try re-running both dtnd executables with '-l debug' to turn on verbose debug logging. You should be able to look through the logs to see the point at which the bundle is received from the application, then trace to make sure that it got matched by the routing code to the correct link, and that the link connection is opened successfully. If you're still stuck, post the output to the list and I can take a look.
  

  -m
  


    On Sep 26, 2006, at 4:52 AM, è™?æ±?wrote:

    Hi 
  i tried to dtnping and dtn[send|recv] between two directed connected computers and neither works for me, computer A(hongjiang:192.168.0.3) can ping successully computer B(jinyang:192.168.0.5).
  Â 
  the conf on host A is
  Â 
  log /dtnd info "dtnd parsing configuration..."
#console set addr 127.0.0.1
#console set port 5050
storage set type berkeleydb
storage set payloaddir /home/hongjiang/dtn/bundles
storage set dbnameÂ Â Â Â  DTN
storage set dbdirÂ Â Â Â Â  /home/hongjiang/dtn/db
route set type static
route local_eid "dtn://hongjiang.dtn"
interface add tcp0 tcp
interface add udp0 udp
link add tcp0 192.168.0.5:5000 ONDEMAND tcp
route add dtn://jinyang.dtn/* tcp0
log /dtnd info "dtnd configuration parsing complete"
  Â 
  the conf on host B is:
  Â 
  log /dtnd info "dtnd parsing configuration..."
storage set type berkeleydb
storage set payloaddir /home/jinyang/dtn/bundles
storage set dbnameÂ Â Â Â  DTN
storage set dbdirÂ Â Â Â Â  /home/jinyang/dtn/db
route set type static
route local_eid dtn://jinyang.dtn
interface add tcp0 tcp
interface add udp0 udp
link add tcp0 192.168.0.3:5000 ONDEMAND tcp
route add dtn://hongjiang.dtn/* tcp0
log /dtnd info "dtnd configuration parsing complete"

  Â Â I've confirmedÂ the host A was "hongjiang" with "info hostname" and host B is "jinyang" with "info hostname"
  Â 
  on host A iÂ "dtnping dtn://jinyang.dtn" or dtnsend -s dtn://hongjiang.dtn/a -d dtn://jinyang.dtn/b -t m -p "abcedf", i can see bundles in A,but cannot see bundles in B. It can also not work onÂ host b with dtnping and dtnsend.Â 
  Â 
  Thanks in advance for your time
  Regards,
  HJ
  

  
---------------------------------
  é›…è™Žå…�è´¹é‚®ç®±-3.5Gå®¹é‡�ï¼?0Mé™„ä»¶   

  
---------------------------------
  Mp3ç–¯ç‹‚æ�?æ–°æ­Œçƒ­æ­Œé«˜é€Ÿä¸‹ 



 		
---------------------------------
 ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ
--0-158601696-1159406719=:93412
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit

<div>dear Michael Demmer:</div>  <div>Thank you very much, under your guide, i solved the problem with "dtnd -l debug and info", thanks again</div>  <div>hongjiang<BR><BR><B><I>Michael Demmer &lt;demmer@cs.berkeley.edu&gt;</I></B> Ð´µÀ£º</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV><BR class=khtml-block-placeholder></DIV>  <DIV>At first glance your configuration files look fine.Â </DIV>  <DIV><BR class=khtml-block-placeholder></DIV>  <DIV>Try re-running both dtnd executables with '-l debug' to turn on verbose debug logging. You should be able to look through the logs to see the point at which the bundle is received from the application, then trace to make sure that it got matched by the routing code to the correct link, and that the link connection is opened successfully. If you're still stuck, post the output to the list and I can take a look.</DIV>  <DIV><BR class=khtml-block-placeholder></DIV> 
 <DIV>-m</DIV>  <DIV><BR class=khtml-block-placeholder></DIV><BR>  <DIV>  <DIV>On Sep 26, 2006, at 4:52 AM, è™?æ±?wrote:</DIV><BR class=Apple-interchange-newline>  <BLOCKQUOTE type="cite">  <DIV>Hi </DIV>  <DIV>i tried to dtnping and dtn[send|recv] between two directed connected computers and neither works for me, computer A(hongjiang:192.168.0.3) can ping successully computer B(jinyang:192.168.0.5).</DIV>  <DIV>Â </DIV>  <DIV>the conf on host A is</DIV>  <DIV>Â </DIV>  <DIV>log /dtnd info "dtnd parsing configuration..."<BR>#console set addr 127.0.0.1<BR>#console set port 5050<BR>storage set type berkeleydb<BR>storage set payloaddir /home/hongjiang/dtn/bundles<BR>storage set dbnameÂ Â Â Â  DTN<BR>storage set dbdirÂ Â Â Â Â  /home/hongjiang/dtn/db<BR>route set type static<BR>route local_eid "dtn://hongjiang.dtn"<BR>interface add tcp0 tcp<BR>interface add udp0 udp<BR>link add tcp0 192.168.0.5:5000 ONDEMAND tcp<BR>route add dtn://jinyang.dtn/* tcp0<BR>log /dtnd info "dtnd
 configuration parsing complete"</DIV>  <DIV>Â </DIV>  <DIV>the conf on host B is:</DIV>  <DIV>Â </DIV>  <DIV>log /dtnd info "dtnd parsing configuration..."<BR>storage set type berkeleydb<BR>storage set payloaddir /home/jinyang/dtn/bundles<BR>storage set dbnameÂ Â Â Â  DTN<BR>storage set dbdirÂ Â Â Â Â  /home/jinyang/dtn/db<BR>route set type static<BR>route local_eid dtn://jinyang.dtn<BR>interface add tcp0 tcp<BR>interface add udp0 udp<BR>link add tcp0 192.168.0.3:5000 ONDEMAND tcp<BR>route add dtn://hongjiang.dtn/* tcp0<BR>log /dtnd info "dtnd configuration parsing complete"<BR></DIV>  <DIV>Â Â I've confirmedÂ the host A was "hongjiang" with "info hostname" and host B is "jinyang" with "info hostname"</DIV>  <DIV>Â </DIV>  <DIV>on host A iÂ "dtnping dtn://jinyang.dtn" or dtnsend -s dtn://hongjiang.dtn/a -d dtn://jinyang.dtn/b -t m -p "abcedf", i can see bundles in A,but cannot see bundles in B. It can also not work onÂ host b with dtnping and dtnsend.Â </DIV> 
 <DIV>Â </DIV>  <DIV>Thanks in advance for your time</DIV>  <DIV>Regards,</DIV>  <DIV>HJ</DIV>  <DIV><BR class=khtml-block-placeholder></DIV>  <HR SIZE=1>  <A href="http://cn.mail.yahoo.com/" target=blank>é›…è™Žå…�è´¹é‚®ç®±-3.5Gå®¹é‡�ï¼?0Mé™„ä»¶ </A>  <DIV><BR class=khtml-block-placeholder></DIV>  <HR SIZE=1>  <A href="http://music.yahoo.com.cn/?source=mail_mailbox_footer" target=blank>Mp3ç–¯ç‹‚æ�?æ–°æ­Œçƒ­æ­Œé«˜é€Ÿä¸‹ </A></BLOCKQUOTE></DIV><BR></BLOCKQUOTE><BR><p>&#32;
		<hr size=1><a href="http://cn.mail.yahoo.com/" target=blank> 
ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ
</a>
--0-158601696-1159406719=:93412--


Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.93]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k8RM9WY02103 for <dtn-users@mailman.dtnrg.org>; Wed, 27 Sep 2006 15:09:32 -0700
Received: from [192.168.1.2] (dsl081-061-178.sfo1.dsl.speakeasy.net [64.81.61.178]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.13.8/8.13.5) with ESMTP id k8RM9Uac000351 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Wed, 27 Sep 2006 15:09:31 -0700 (PDT)
In-Reply-To: <20060926115227.28355.qmail@web15801.mail.cnb.yahoo.com>
References: <20060926115227.28355.qmail@web15801.mail.cnb.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: multipart/alternative; boundary=Apple-Mail-1-696366514
Message-Id: <9658D022-8D25-4B46-BC62-160D5BD08CD7@cs.berkeley.edu>
From: Michael Demmer <demmer@cs.berkeley.edu>
Subject: Re: [dtn-users] the problem of dtnping between A and B
X-Applemailsentby: demmer
Date: Wed, 27 Sep 2006 14:23:12 -0700
To: dtn-users@mailman.dtnrg.org
X-Mailer: Apple Mail (2.752.2)
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

--Apple-Mail-1-696366514
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=GB2312;
	delsp=yes;
	format=flowed


At first glance your configuration files look fine.

Try re-running both dtnd executables with '-l debug' to turn on =20
verbose debug logging. You should be able to look through the logs to =20=

see the point at which the bundle is received from the application, =20
then trace to make sure that it got matched by the routing code to =20
the correct link, and that the link connection is opened =20
successfully. If you're still stuck, post the output to the list and =20
I can take a look.

-m


On Sep 26, 2006, at 4:52 AM, =BA=E7 =BD=AD wrote:

> Hi
> i tried to dtnping and dtn[send|recv] between two directed =20
> connected computers and neither works for me, computer A(hongjiang:=20
> 192.168.0.3) can ping successully computer B(jinyang:192.168.0.5).
>
> the conf on host A is
>
> log /dtnd info "dtnd parsing configuration..."
> #console set addr 127.0.0.1
> #console set port 5050
> storage set type berkeleydb
> storage set payloaddir /home/hongjiang/dtn/bundles
> storage set dbname     DTN
> storage set dbdir      /home/hongjiang/dtn/db
> route set type static
> route local_eid "dtn://hongjiang.dtn"
> interface add tcp0 tcp
> interface add udp0 udp
> link add tcp0 192.168.0.5:5000 ONDEMAND tcp
> route add dtn://jinyang.dtn/* tcp0
> log /dtnd info "dtnd configuration parsing complete"
>
> the conf on host B is:
>
> log /dtnd info "dtnd parsing configuration..."
> storage set type berkeleydb
> storage set payloaddir /home/jinyang/dtn/bundles
> storage set dbname     DTN
> storage set dbdir      /home/jinyang/dtn/db
> route set type static
> route local_eid dtn://jinyang.dtn
> interface add tcp0 tcp
> interface add udp0 udp
> link add tcp0 192.168.0.3:5000 ONDEMAND tcp
> route add dtn://hongjiang.dtn/* tcp0
> log /dtnd info "dtnd configuration parsing complete"
>   I've confirmed the host A was "hongjiang" with "info hostname" =20
> and host B is "jinyang" with "info hostname"
>
> on host A i "dtnping dtn://jinyang.dtn" or dtnsend -s dtn://=20
> hongjiang.dtn/a -d dtn://jinyang.dtn/b -t m -p "abcedf", i can see =20
> bundles in A,but cannot see bundles in B. It can also not work on =20
> host b with dtnping and dtnsend.
>
> Thanks in advance for your time
> Regards,
> HJ
>
> =D1=C5=BB=A2=C3=E2=B7=D1=D3=CA=CF=E4-3.5G=C8=DD=C1=BF=A3=AC20M=B8=BD=BC=FE=

>
> Mp3=B7=E8=BF=F1=CB=D1-=D0=C2=B8=E8=C8=C8=B8=E8=B8=DF=CB=D9=CF=C2


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

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>At first glance your =
configuration files look fine.=C2=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Try re-running both dtnd =
executables with '-l debug' to turn on verbose debug logging. You should =
be able to look through the logs to see the point at which the bundle is =
received from the application, then trace to make sure that it got =
matched by the routing code to the correct link, and that the link =
connection is opened successfully. If you're still stuck, post the =
output to the list and I can take a look.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>-m</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><BR><DIV><DIV>On Sep 26, 2006, =
at 4:52 AM, =E8=99=B9 =E6=B1=9F wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV>Hi =
</DIV>  <DIV>i tried to dtnping and dtn[send|recv] between two directed =
connected computers and neither works for me, computer =
A(hongjiang:192.168.0.3) can ping successully computer =
B(jinyang:192.168.0.5).</DIV>  <DIV>=C2=A0</DIV>  <DIV>the conf on host =
A is</DIV>  <DIV>=C2=A0</DIV>  <DIV>log /dtnd info "dtnd parsing =
configuration..."<BR>#console set addr 127.0.0.1<BR>#console set port =
5050<BR>storage set type berkeleydb<BR>storage set payloaddir =
/home/hongjiang/dtn/bundles<BR>storage set dbname=C2=A0=C2=A0=C2=A0=C2=A0 =
DTN<BR>storage set dbdir=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
/home/hongjiang/dtn/db<BR>route set type static<BR>route local_eid =
"dtn://hongjiang.dtn"<BR>interface add tcp0 tcp<BR>interface add udp0 =
udp<BR>link add tcp0 192.168.0.5:5000 ONDEMAND tcp<BR>route add =
dtn://jinyang.dtn/* tcp0<BR>log /dtnd info "dtnd configuration parsing =
complete"</DIV>  <DIV>=C2=A0</DIV>  <DIV>the conf on host B is:</DIV>  =
<DIV>=C2=A0</DIV>  <DIV>log /dtnd info "dtnd parsing =
configuration..."<BR>storage set type berkeleydb<BR>storage set =
payloaddir /home/jinyang/dtn/bundles<BR>storage set dbname=C2=A0=C2=A0=C2=A0=
=C2=A0 DTN<BR>storage set dbdir=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
/home/jinyang/dtn/db<BR>route set type static<BR>route local_eid =
dtn://jinyang.dtn<BR>interface add tcp0 tcp<BR>interface add udp0 =
udp<BR>link add tcp0 192.168.0.3:5000 ONDEMAND tcp<BR>route add =
dtn://hongjiang.dtn/* tcp0<BR>log /dtnd info "dtnd configuration parsing =
complete"<BR></DIV>  <DIV>=C2=A0=C2=A0I've confirmed=C2=A0the host A was =
"hongjiang" with "info hostname" and host B is "jinyang" with "info =
hostname"</DIV>  <DIV>=C2=A0</DIV>  <DIV>on host A i=C2=A0"dtnping =
dtn://jinyang.dtn" or dtnsend -s dtn://hongjiang.dtn/a -d =
dtn://jinyang.dtn/b -t m -p "abcedf", i can see bundles in A,but cannot =
see bundles in B. It can also not work on=C2=A0host b with dtnping and =
dtnsend.=C2=A0</DIV>  <DIV>=C2=A0</DIV>  <DIV>Thanks in advance for your =
time</DIV>  <DIV>Regards,</DIV>  <DIV>HJ</DIV><DIV> 		<BR =
class=3D"khtml-block-placeholder"></DIV><HR size=3D"1"><A =
href=3D"http://cn.mail.yahoo.com/" target=3D"blank"> =
=E9=9B=85=E8=99=8E=E5=85=8D=E8=B4=B9=E9=82=AE=E7=AE=B1-3.5G=E5=AE=B9=E9=87=
=8F=EF=BC=8C20M=E9=99=84=E4=BB=B6 </A><DIV>  		<BR =
class=3D"khtml-block-placeholder"></DIV><HR size=3D"1"><A =
href=3D"http://music.yahoo.com.cn/?source=3Dmail_mailbox_footer" =
target=3D"blank"> Mp3=E7=96=AF=E7=8B=82=E6=90=9C-=E6=96=B0=E6=AD=8C=E7=83=AD=
=E6=AD=8C=E9=AB=98=E9=80=9F=E4=B8=8B </A> =
</BLOCKQUOTE></DIV><BR></BODY></HTML>=

--Apple-Mail-1-696366514--


Received: from web15801.mail.cnb.yahoo.com (web15801.mail.cnb.yahoo.com [202.165.102.81]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with SMTP id k8QBqlY21083 for <dtn-users@mailman.dtnrg.org>; Tue, 26 Sep 2006 04:52:47 -0700
Received: (qmail 28357 invoked by uid 60001); 26 Sep 2006 11:52:27 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=J55476X4+JCb1BZ6vT2JYnBtFWYGWe7RAAVQFpe8dRj+OGrIbvFhi2+GMshY3Ku2FhSMg5GmlV2DgyAlfeZTXD84qo63q/uPCdsSJ35VeKaDitl5dx8fPHBpLB4yijOzSKsWJBeymmR+Dgv/2S4H5qJGup/j7Vvor1tmuTFzZsM=  ;
Message-ID: <20060926115227.28355.qmail@web15801.mail.cnb.yahoo.com>
Received: from [222.211.7.158] by web15801.mail.cnb.yahoo.com via HTTP; Tue, 26 Sep 2006 19:52:27 CST
Date: Tue, 26 Sep 2006 19:52:27 +0800 (CST)
From: =?gb2312?q?=BA=E7=20=BD=AD?= <hongjiang133@yahoo.com.cn>
To: dtn-users@mailman.dtnrg.org
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1273140276-1159271547=:26193"
Content-Transfer-Encoding: 8bit
Subject: [dtn-users] the problem of dtnping between A and B
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

--0-1273140276-1159271547=:26193
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit

Hi 
  i tried to dtnping and dtn[send|recv] between two directed connected computers and neither works for me, computer A(hongjiang:192.168.0.3) can ping successully computer B(jinyang:192.168.0.5).
   
  the conf on host A is
   
  log /dtnd info "dtnd parsing configuration..."
#console set addr 127.0.0.1
#console set port 5050
storage set type berkeleydb
storage set payloaddir /home/hongjiang/dtn/bundles
storage set dbname     DTN
storage set dbdir      /home/hongjiang/dtn/db
route set type static
route local_eid "dtn://hongjiang.dtn"
interface add tcp0 tcp
interface add udp0 udp
link add tcp0 192.168.0.5:5000 ONDEMAND tcp
route add dtn://jinyang.dtn/* tcp0
log /dtnd info "dtnd configuration parsing complete"
   
  the conf on host B is:
   
  log /dtnd info "dtnd parsing configuration..."
storage set type berkeleydb
storage set payloaddir /home/jinyang/dtn/bundles
storage set dbname     DTN
storage set dbdir      /home/jinyang/dtn/db
route set type static
route local_eid dtn://jinyang.dtn
interface add tcp0 tcp
interface add udp0 udp
link add tcp0 192.168.0.3:5000 ONDEMAND tcp
route add dtn://hongjiang.dtn/* tcp0
log /dtnd info "dtnd configuration parsing complete"

    I've confirmed the host A was "hongjiang" with "info hostname" and host B is "jinyang" with "info hostname"
   
  on host A i "dtnping dtn://jinyang.dtn" or dtnsend -s dtn://hongjiang.dtn/a -d dtn://jinyang.dtn/b -t m -p "abcedf", i can see bundles in A,but cannot see bundles in B. It can also not work on host b with dtnping and dtnsend. 
   
  Thanks in advance for your time
  Regards,
  HJ

 		
---------------------------------
 ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ
 		
---------------------------------
 Mp3·è¿ñËÑ-ÐÂ¸èÈÈ¸è¸ßËÙÏÂ   
--0-1273140276-1159271547=:26193
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit

<DIV>Hi </DIV>  <DIV>i tried to dtnping and dtn[send|recv] between two directed connected computers and neither works for me, computer A(hongjiang:192.168.0.3) can ping successully computer B(jinyang:192.168.0.5).</DIV>  <DIV>&nbsp;</DIV>  <DIV>the conf on host A is</DIV>  <DIV>&nbsp;</DIV>  <DIV>log /dtnd info "dtnd parsing configuration..."<BR>#console set addr 127.0.0.1<BR>#console set port 5050<BR>storage set type berkeleydb<BR>storage set payloaddir /home/hongjiang/dtn/bundles<BR>storage set dbname&nbsp;&nbsp;&nbsp;&nbsp; DTN<BR>storage set dbdir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /home/hongjiang/dtn/db<BR>route set type static<BR>route local_eid "dtn://hongjiang.dtn"<BR>interface add tcp0 tcp<BR>interface add udp0 udp<BR>link add tcp0 192.168.0.5:5000 ONDEMAND tcp<BR>route add dtn://jinyang.dtn/* tcp0<BR>log /dtnd info "dtnd configuration parsing complete"</DIV>  <DIV>&nbsp;</DIV>  <DIV>the conf on host B is:</DIV>  <DIV>&nbsp;</DIV>  <DIV>log /dtnd info "dtnd parsing
 configuration..."<BR>storage set type berkeleydb<BR>storage set payloaddir /home/jinyang/dtn/bundles<BR>storage set dbname&nbsp;&nbsp;&nbsp;&nbsp; DTN<BR>storage set dbdir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /home/jinyang/dtn/db<BR>route set type static<BR>route local_eid dtn://jinyang.dtn<BR>interface add tcp0 tcp<BR>interface add udp0 udp<BR>link add tcp0 192.168.0.3:5000 ONDEMAND tcp<BR>route add dtn://hongjiang.dtn/* tcp0<BR>log /dtnd info "dtnd configuration parsing complete"<BR></DIV>  <DIV>&nbsp;&nbsp;I've confirmed&nbsp;the host A was "hongjiang" with "info hostname" and host B is "jinyang" with "info hostname"</DIV>  <DIV>&nbsp;</DIV>  <DIV>on host A i&nbsp;"dtnping dtn://jinyang.dtn" or dtnsend -s dtn://hongjiang.dtn/a -d dtn://jinyang.dtn/b -t m -p "abcedf", i can see bundles in A,but cannot see bundles in B. It can also not work on&nbsp;host b with dtnping and dtnsend.&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thanks in advance for your time</DIV>  <DIV>Regards,</DIV> 
 <DIV>HJ</DIV><p> 
		<hr size=1><a href="http://cn.mail.yahoo.com/" target=blank> 
ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ
</a><p>&#32;
		<hr size=1><a href="http://music.yahoo.com.cn/?source=mail_mailbox_footer" target=blank> 
Mp3·è¿ñËÑ-ÐÂ¸èÈÈ¸è¸ßËÙÏÂ 
</a>
 
 

--0-1273140276-1159271547=:26193--


Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k8AGAuY05504 for <dtn-users@mailman.dtnrg.org>; Sun, 10 Sep 2006 09:10:56 -0700
Received: by ug-out-1314.google.com with SMTP id j40so1113886ugd for <dtn-users@mailman.dtnrg.org>; Sun, 10 Sep 2006 09:10:55 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f/xVJTRfevOcaonMcFLLBurQY89Dit/K6Yxtm1j+7SqK4W1OvD/kS3TL307o0j62yOqYtsgSUZK6Cpr7RICqF9FtaFETYvda6NoyCD+C+jqw/elSXdPl+JiopNaFttMhaH9GUxaPehF4JHskT2vS3xrFpiBXcNiiuSkJGb/Qvu4=
Received: by 10.66.242.20 with SMTP id p20mr2249728ugh; Sun, 10 Sep 2006 09:10:54 -0700 (PDT)
Received: by 10.67.25.11 with HTTP; Sun, 10 Sep 2006 09:10:54 -0700 (PDT)
Message-ID: <f0d10dd60609100910v1cef0b05q92699176887247c4@mail.gmail.com>
Date: Sun, 10 Sep 2006 21:40:54 +0530
From: "Zahir Koradia" <zahir.koradia@gmail.com>
To: dtn-users@mailman.dtnrg.org
Subject: Re: [dtn-users] Expiration of a bundle after one hop
In-Reply-To: <EBE9A2DC-3E79-4DF4-BA6C-47998B4F1C86@cs.berkeley.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <f0d10dd60609100451h26497a68gc0257dd2c35b64b2@mail.gmail.com> <EBE9A2DC-3E79-4DF4-BA6C-47998B4F1C86@cs.berkeley.edu>
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

Thanks Mike

That's precisely what I needed. I should have thought of this myself.

Thanks
Zahir

On 9/10/06, Michael Demmer <demmer@cs.berkeley.edu> wrote:
>
> I think what you really mean is that you want the bundle to be
> removed from the system after being delivered to a control endpoint,
> with its special destination id, not that you want to expire the
> bundle.  To do this, you want to set up a registration, either by
> running an application and using the API, or by setting up an
> internal registration like the AdminRegistration. Bundles that are
> delivered to a registration are, under normal circumstances, deleted
> from the system thereafter.
>
> -m
>
>
> On Sep 10, 2006, at 4:51 AM, Zahir Koradia wrote:
>
> > Hi,
> > I need to do some control communication amongst nodes and I require
> > that a bundle expires after one hop. I want the bundle to be processed
> > at the first hop and then want it to expire. I thought of rescheduling
> > the  expiration timer but that facility is not present in the code I
> > am using. I am not sure if that has been implemented lately. I also
> > thought of setting expiration time to zero at the source itself. But I
> > was not sure if that will still ensure that the bundle will expire
> > only after going to its first hop. Another option is to make minor
> > change in BundleDaemon so that it checks the destination(the control
> > messages have a specific destination id) and depending on that sets
> > the expiration timer but that is not a flexible way of doing it. Any
> > suggestions would be appreciated.
> >
> > Thanks,
> > Zahir
> > _______________________________________________
> > dtn-users mailing list
> > dtn-users@mailman.dtnrg.org
> > http://mailman.dtnrg.org/mailman/listinfo/dtn-users
>
> _______________________________________________
> dtn-users mailing list
> dtn-users@mailman.dtnrg.org
> http://mailman.dtnrg.org/mailman/listinfo/dtn-users
>


Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.93]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k8AFbiY05282 for <dtn-users@mailman.dtnrg.org>; Sun, 10 Sep 2006 08:37:44 -0700
Received: from [192.168.1.2] (dsl081-061-178.sfo1.dsl.speakeasy.net [64.81.61.178]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.13.8/8.13.5) with ESMTP id k8AFbbu6015851 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Sun, 10 Sep 2006 08:37:44 -0700 (PDT)
In-Reply-To: <6D88B9EF-BEC1-47F4-B5A5-226564821E2B@virgin.net>
References: <6D88B9EF-BEC1-47F4-B5A5-226564821E2B@virgin.net>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <F54E1FAC-CEA4-4A3C-9AB5-374925549F2E@cs.berkeley.edu>
Content-Transfer-Encoding: 7bit
From: Michael Demmer <demmer@cs.berkeley.edu>
Subject: Re: [dtn-users] DTN2 remote API and XDR encoding
X-Applemailsentby: demmer
Date: Sun, 10 Sep 2006 08:37:31 -0700
To: dtn-users@mailman.dtnrg.org
X-Mailer: Apple Mail (2.752.2)
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

Unfortunately this part of the code isn't specified in any document.  
The idea is that it's an internal protocol exported by the daemon,  
and given that I don't know the inner workings of XDR either, and  
have at times changed the particular functions used by XDR, I haven't  
taken the time to spec out the protocol.

However, the application side of the implementation is structured in  
such a way to make it easy to pull into different implementations.  
One thing you could think about doing is to use swig or some such  
tool to build python wrappers around the dtn api functions, but still  
use the C based implementation to do the actual communication with dtnd.

As to your specific question, the XDR type I used for the endpoint id  
is a fixed length opaque buffer of bytes to prevent each side from  
having to malloc/free each time an endpoint id is transmitted. As  
such there's no need for a length since XDR on both sides already  
knows the length of the byte range to follow (it's always 256).

-m

On Sep 4, 2006, at 12:36 PM, Darren Long wrote:

> Hi,
>
> [Resent due to prior use of wrong outgoing account and in  
> anticipation of 'delay tolerant moderation']
>
> Over the weekend I started knocking up a python proxy-server for  
> the DTN2 dtnd's client API.  After reading plenty of C/C++, much  
> sniffing of packets using Ethereal and much hair-pulling, I'm happy  
> to say I can now register an end-point (small step for mankind,  
> massive step for me).
>
> Anyway, to the main question.  Is there a document describing this  
> interface that would make this task easier?
>
> Secondly, in order to get the registration message to be correctly  
> parsed by the server (and to look like a real message seen in  
> Ethereal), I had to chop off a 32-bit size field that preceded (and  
> described the length of) the endpoint ID string in the XDR  
> encoding.  I used an opaque packing for the string, as per the  
> dtn_types_xdr.c function xdr_dtn_endpoint_t|() ... any ideas why  
> this might be?  I'm pretty unfamiliar with XDR.
>
> Regards,
>
> Darren Long
> _______________________________________________
> dtn-users mailing list
> dtn-users@mailman.dtnrg.org
> http://mailman.dtnrg.org/mailman/listinfo/dtn-users



Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.93]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k8AFVgY05233 for <dtn-users@mailman.dtnrg.org>; Sun, 10 Sep 2006 08:31:42 -0700
Received: from [192.168.1.2] (dsl081-061-178.sfo1.dsl.speakeasy.net [64.81.61.178]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.13.8/8.13.5) with ESMTP id k8AFVeGG015833 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Sun, 10 Sep 2006 08:31:42 -0700 (PDT)
In-Reply-To: <f0d10dd60609100451h26497a68gc0257dd2c35b64b2@mail.gmail.com>
References: <f0d10dd60609100451h26497a68gc0257dd2c35b64b2@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <EBE9A2DC-3E79-4DF4-BA6C-47998B4F1C86@cs.berkeley.edu>
Content-Transfer-Encoding: 7bit
From: Michael Demmer <demmer@cs.berkeley.edu>
Subject: Re: [dtn-users] Expiration of a bundle after one hop
X-Applemailsentby: demmer
Date: Sun, 10 Sep 2006 08:31:34 -0700
To: dtn-users@mailman.dtnrg.org
X-Mailer: Apple Mail (2.752.2)
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

I think what you really mean is that you want the bundle to be  
removed from the system after being delivered to a control endpoint,  
with its special destination id, not that you want to expire the  
bundle.  To do this, you want to set up a registration, either by  
running an application and using the API, or by setting up an  
internal registration like the AdminRegistration. Bundles that are  
delivered to a registration are, under normal circumstances, deleted  
from the system thereafter.

-m


On Sep 10, 2006, at 4:51 AM, Zahir Koradia wrote:

> Hi,
> I need to do some control communication amongst nodes and I require
> that a bundle expires after one hop. I want the bundle to be processed
> at the first hop and then want it to expire. I thought of rescheduling
> the  expiration timer but that facility is not present in the code I
> am using. I am not sure if that has been implemented lately. I also
> thought of setting expiration time to zero at the source itself. But I
> was not sure if that will still ensure that the bundle will expire
> only after going to its first hop. Another option is to make minor
> change in BundleDaemon so that it checks the destination(the control
> messages have a specific destination id) and depending on that sets
> the expiration timer but that is not a flexible way of doing it. Any
> suggestions would be appreciated.
>
> Thanks,
> Zahir
> _______________________________________________
> dtn-users mailing list
> dtn-users@mailman.dtnrg.org
> http://mailman.dtnrg.org/mailman/listinfo/dtn-users



Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k8ABpOY03932 for <dtn-users@mailman.dtnrg.org>; Sun, 10 Sep 2006 04:51:24 -0700
Received: by ug-out-1314.google.com with SMTP id j40so1076743ugd for <dtn-users@mailman.dtnrg.org>; Sun, 10 Sep 2006 04:51:23 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fOZUyDS1YHUHps/pUPN3vW6AkS9S+tyja8dJCKU1XWiWgPr8wuLf4NqzrK2UG/pbZSyaObS4n3VQNUs4FAt2+1ab9zqsnoTOy5jOQNgvkw/CQeTTobouVT2ZuQjETykpLUtH6D48pOnVm9xfgqaQKQyxNgxE3Q++5CJXiyo7QdI=
Received: by 10.66.244.10 with SMTP id r10mr2138872ugh; Sun, 10 Sep 2006 04:51:22 -0700 (PDT)
Received: by 10.67.25.11 with HTTP; Sun, 10 Sep 2006 04:51:22 -0700 (PDT)
Message-ID: <f0d10dd60609100451h26497a68gc0257dd2c35b64b2@mail.gmail.com>
Date: Sun, 10 Sep 2006 17:21:22 +0530
From: "Zahir Koradia" <zahir.koradia@gmail.com>
To: dtn-users@mailman.dtnrg.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Subject: [dtn-users] Expiration of a bundle after one hop
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

Hi,
I need to do some control communication amongst nodes and I require
that a bundle expires after one hop. I want the bundle to be processed
at the first hop and then want it to expire. I thought of rescheduling
the  expiration timer but that facility is not present in the code I
am using. I am not sure if that has been implemented lately. I also
thought of setting expiration time to zero at the source itself. But I
was not sure if that will still ensure that the bundle will expire
only after going to its first hop. Another option is to make minor
change in BundleDaemon so that it checks the destination(the control
messages have a specific destination id) and depending on that sets
the expiration timer but that is not a flexible way of doing it. Any
suggestions would be appreciated.

Thanks,
Zahir


Received: from web31009.mail.mud.yahoo.com (web31009.mail.mud.yahoo.com [68.142.200.172]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with SMTP id k873YiY22482 for <dtn-users@mailman.dtnrg.org>; Wed, 6 Sep 2006 20:34:44 -0700
Received: (qmail 59074 invoked by uid 60001); 7 Sep 2006 03:34:33 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aHWqSDYYgXyYqyFU7XDj9ZVTQfyiJOGTVaoWP/gH+hRI9Q5PkL6Ybwewi0UELvEOxt08YL9kAvTmcFxQy7hOTjkpiGsON3DP+ERR+WVru2DNDZFaGUM04mwqgAcs1bIsMyW87yZ75CX8Ie4j29I2Z+SHE1YrCPmCG/kUKc0orL4=  ;
Message-ID: <20060907033433.59072.qmail@web31009.mail.mud.yahoo.com>
Received: from [128.180.240.122] by web31009.mail.mud.yahoo.com via HTTP; Wed, 06 Sep 2006 20:34:33 PDT
Date: Wed, 6 Sep 2006 20:34:33 -0700 (PDT)
From: zacknightus <zacknightus@yahoo.com>
To: dtn-users@mailman.dtnrg.org
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-543063900-1157600073=:55623"
Content-Transfer-Encoding: 8bit
Subject: [dtn-users] earlier version of DTN package
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

--0-543063900-1157600073=:55623
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi, 

I am trying to locate an earlier version of DTN package, specifically the one released on May 23rd 2006.  I don't see one from the download page of this site: http://www.dtnrg.org/docs/code/

Does anyone know where I may get a hold of this particular package?  I know how to grab a newest code from CVS with 'checkout' command, but is there any command to use to get an older version of released package?

Thank you very much!

zack

 		
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
--0-543063900-1157600073=:55623
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi, <br><br>I am trying to locate an earlier version of DTN package, specifically the one released on May 23rd 2006.&nbsp; I don't see one from the download page of this site: http://www.dtnrg.org/docs/code/<br><br>Does anyone know where I may get a hold of this particular package?&nbsp; I know how to grab a newest code from CVS with 'checkout' command, but is there any command to use to get an older version of released package?<br><br>Thank you very much!<br><br>zack<br><p>&#32;
		<hr size=1><a href="http://us.rd.yahoo.com/evt=43256/*http://advision.webevents.yahoo.com/mailbeta"> All-new Yahoo! Mail </a>- Fire up a more powerful email and get things done faster.
--0-543063900-1157600073=:55623--


Received: from web31006.mail.mud.yahoo.com (web31006.mail.mud.yahoo.com [68.142.200.169]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with SMTP id k86HeHY18432 for <dtn-users@mailman.dtnrg.org>; Wed, 6 Sep 2006 10:40:17 -0700
Received: (qmail 66102 invoked by uid 60001); 6 Sep 2006 17:40:06 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PmHDVuqRqWfhrdnJyopVAYBsF/pJslZKicC9a49NZfGFUSIQ2vKZrUxf/qugrU1Px8SCDA3nV1THHuLXR8NjlxjFnjD70FQXgOX8Cf1GPH9Sy84kIry/QFZ6wT59LTECNLUsfjisj8F33nG3yCCtzAQLlx4AQPHtJs7nF8EGZX4=  ;
Message-ID: <20060906174006.66100.qmail@web31006.mail.mud.yahoo.com>
Received: from [128.180.240.122] by web31006.mail.mud.yahoo.com via HTTP; Wed, 06 Sep 2006 10:40:06 PDT
Date: Wed, 6 Sep 2006 10:40:06 -0700 (PDT)
From: zacknightus <zacknightus@yahoo.com>
Subject: Re: [dtn-users] dtnsend among 3 nodes
To: dtn-users@mailman.dtnrg.org
In-Reply-To: <cbdb04b70609060851l826c330w42ce7af9470c05e5@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-729489937-1157564406=:65706"
Content-Transfer-Encoding: 8bit
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

--0-729489937-1157564406=:65706
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi, Gerardo:

It worked beautifully!!  Thank you very much for taking the time explaining and correcting the files.  It now makes sense.

zack

Gerardo Izquierdo <gcadalso@gmail.com> wrote: Hi Zack.
  
 perhaps you should try the following:
  
 at node1
 erase line "link add link_tcp2 node3:5000 ONDEMAND tcp"
 change line "route add dtn://node3.dtn/* link_tcp2" to "route add dtn://node3.dtn/* link_tcp0"
  
 at node2
 I think it's ok.
  
 at node3
 erase line "link add link_tcp2 node1:5000 ONDEMAND tcp"
change line "route add dtn://node1.dtn/* link_tcp2" to "route add dtn://node1.dtn/* link_tcp1"
  
 So you are telling node 1 it needs to send the bundles to node3 vía link_tcp0 (node2) and node 3 should send the bundles to node1 via link_tcp1 (node2)
  
 please tell me if it works.
  
 yours Gerardo. (sorry by my poor English :-) )


 
 On 9/6/06, zacknightus <zacknightus@yahoo.com> wrote:  Hi, 

I am a newbie to DTN, so please bear with me.

I am trying to set up a 3 nodes that sends bundles to each other in the following fashion:

1<--------->2 <---------> 3

I have configured the conf files on 3 servers so that using dtnsend, I am able to send and receive bundles between 1 and 2, 2 and 3, and 1 and 3.  However, I have trouble in sending bundles from 1 to 3 via intermeidate node 2.  I want to be able to send bundles from node 1 to node 2, and node 2 will automatically route this bundle from node 2 to node 3.   

Do I issue a dtnsend command at node 1, with source node being node 1 (i.e. -s dtn://node1.dtn/port1), and destintation node being 3 (i.e. -d dtn://node3.dtn/port3), or actually to node 2 instead.  I am not sure how I should go about to do this.  Does dtnsend actually has the capability of sending a bundle through a intermediate node?  If so, how?  I also looked dtncp, but it doesnt seem to do the job. 

I know I need to change 'link' and 'route' sections of conf file.  I attached my conf files at the end.  Please let me know if I've done what I suppose to do.

Someone please enlighten me.  Thank you very much in advance! 

zack

*********conf file on node 1**************
interface add tcp0 tcp local_port=5000
interface add udp0 udp

link add link_tcp0 node2:5000 ONDEMAND tcp
link add link_tcp2 node3:5000 ONDEMAND tcp 

route add dtn://node2.dtn/* link_tcp0
route add dtn://node3.dtn/* link_tcp2


*********conf file on node 2**************
interface add tcp0 tcp local_port=5000
interface add udp0 udp

link add link_tcp0 node1:5000 ONDEMAND tcp 
link add link_tcp1 node3:5000 ONDEMAND tcp

route add dtn://node1.dtn/* link_tcp0
route add dtn://node3.dtn/* link_tcp1

*********conf file on node 3**************
interface add tcp0 tcp local_port=5000 
interface add udp0 udp

link add link_tcp2 node1:5000 ONDEMAND tcp
link add link_tcp1 node2:5000 ONDEMAND tcp

route add dtn://node1.dtn/* link_tcp2
route add dtn://node2.dtn/* link_tcp1
 
 

  

---------------------------------
 Yahoo! Messenger with Voice. Make PC-to-Phone Calls  to the US (and 30+ countries) for 2¢/min or less.  




 

 		
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
--0-729489937-1157564406=:65706
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi, Gerardo:<br><br>It worked beautifully!!&nbsp; Thank you very much for taking the time explaining and correcting the files.&nbsp; It now makes sense.<br><br>zack<br><br><b><i>Gerardo Izquierdo &lt;gcadalso@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <div>Hi Zack.</div> <div>&nbsp;</div> <div>perhaps you should try the following:</div> <div>&nbsp;</div> <div>at node1</div> <div>erase line "link add link_tcp2 node3:5000 ONDEMAND tcp"</div> <div>change line "route add dtn://node3.dtn/* link_tcp2" to "route add dtn://node3.dtn/* link_tcp0"</div> <div>&nbsp;</div> <div>at node2</div> <div>I think it's ok.</div> <div>&nbsp;</div> <div>at node3</div> <div>erase line "link add link_tcp2 node1:5000 ONDEMAND tcp"<br>change line "route add dtn://node1.dtn/* link_tcp2" to "route add dtn://node1.dtn/* link_tcp1"</div> <div>&nbsp;</div> <div>So you are telling node 1 it needs to send the
 bundles to node3 vía link_tcp0 (node2) and node 3 should send the bundles to node1 via link_tcp1 (node2)</div> <div>&nbsp;</div> <div>please tell me if it works.</div> <div>&nbsp;</div> <div>yours Gerardo. (sorry by my poor English :-) )<br><br><br>&nbsp;</div> <div><span class="gmail_quote">On 9/6/06, <b class="gmail_sendername">zacknightus</b> &lt;<a href="mailto:zacknightus@yahoo.com">zacknightus@yahoo.com</a>&gt; wrote:</span> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"> <div>Hi, <br><br>I am a newbie to DTN, so please bear with me.<br><br>I am trying to set up a 3 nodes that sends bundles to each other in the following fashion:<br><br>1&lt;---------&gt;2 &lt;---------&gt; 3<br><br>I have configured the conf files on 3 servers so that using dtnsend, I am able to send and receive bundles between 1 and 2, 2 and 3, and 1 and 3.&nbsp; However, I have trouble in sending bundles from 1 to 3
 via intermeidate node 2.&nbsp; I want to be able to send bundles from node 1 to node 2, and node 2 will automatically route this bundle from node 2 to node 3.&nbsp;  <br><br>Do I issue a dtnsend command at node 1, with source node being node 1 (i.e. -s dtn://node1.dtn/port1), and destintation node being 3 (i.e. -d dtn://node3.dtn/port3), or actually to node 2 instead.&nbsp; I am not sure how I should go about to do this.&nbsp; Does dtnsend actually has the capability of sending a bundle through a intermediate node?&nbsp; If so, how?&nbsp; I also looked dtncp, but it doesnt seem to do the job. <br><br>I know I need to change 'link' and 'route' sections of conf file.&nbsp; I attached my conf files at the end.&nbsp; Please let me know if I've done what I suppose to do.<br><br>Someone please enlighten me.&nbsp; Thank you very much in advance! <br><br>zack<br><br>*********conf file on node 1**************<br>interface add tcp0 tcp local_port=5000<br>interface add udp0
 udp<br><br>link add link_tcp0 node2:5000 ONDEMAND tcp<br>link add link_tcp2 node3:5000 ONDEMAND tcp <br><br>route add dtn://node2.dtn/* link_tcp0<br>route add dtn://node3.dtn/* link_tcp2<br><br><br>*********conf file on node 2**************<br>interface add tcp0 tcp local_port=5000<br>interface add udp0 udp<br><br>link add link_tcp0 node1:5000 ONDEMAND tcp <br>link add link_tcp1 node3:5000 ONDEMAND tcp<br><br>route add dtn://node1.dtn/* link_tcp0<br>route add dtn://node3.dtn/* link_tcp1<br><br>*********conf file on node 3**************<br>interface add tcp0 tcp local_port=5000 <br>interface add udp0 udp<br><br>link add link_tcp2 node1:5000 ONDEMAND tcp<br>link add link_tcp1 node2:5000 ONDEMAND tcp<br><br>route add dtn://node1.dtn/* link_tcp2<br>route add dtn://node2.dtn/* link_tcp1<br>&nbsp;</div> <div><span class="ad"><br><br> <div> </div><hr size="1"> Yahoo! Messenger with Voice. <a onclick="return top.js.OpenExtLink(window,event,this)"
 href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http:/us.rd.yahoo.com/evt=39663/*http:/voice.yahoo.com" target="_blank">Make PC-to-Phone Calls </a> to the US (and 30+ countries) for 2¢/min or less.  <div></div><div></div></span></div></blockquote></div><br> </blockquote><br><p>&#32;
		<hr size=1>Do you Yahoo!?<br> Everyone is raving about the <a href="http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/mailbeta"> all-new Yahoo! Mail.</a>
--0-729489937-1157564406=:65706--


Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k86Fp7Y17700 for <dtn-users@mailman.dtnrg.org>; Wed, 6 Sep 2006 08:51:07 -0700
Received: by ug-out-1314.google.com with SMTP id j40so2487356ugd for <dtn-users@mailman.dtnrg.org>; Wed, 06 Sep 2006 08:51:06 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=boGnV+jb0KQlqumWXLMzan9Qzl/7ogtKSkkab98sQJs08DaqCgX9z4A1voDUg+b5za5TyI+PzNahRMyjGFGrgVP5c/dLUhYGC167qCrbFusrlthenPOdUc8rMGzV2S1OLx4qmrq1RUwmQkXJ1U8IRWHwLna+zoNyuYfB0K9hcMo=
Received: by 10.66.220.17 with SMTP id s17mr4487520ugg; Wed, 06 Sep 2006 08:51:06 -0700 (PDT)
Received: by 10.66.238.10 with HTTP; Wed, 6 Sep 2006 08:51:05 -0700 (PDT)
Message-ID: <cbdb04b70609060851l826c330w42ce7af9470c05e5@mail.gmail.com>
Date: Wed, 6 Sep 2006 17:51:05 +0200
From: "Gerardo Izquierdo" <gcadalso@gmail.com>
To: dtn-users@mailman.dtnrg.org
Subject: Re: [dtn-users] dtnsend among 3 nodes
In-Reply-To: <20060906012038.91957.qmail@web31009.mail.mud.yahoo.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;  boundary="----=_Part_89070_12129053.1157557865788"
References: <20060906012038.91957.qmail@web31009.mail.mud.yahoo.com>
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

------=_Part_89070_12129053.1157557865788
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi Zack.

perhaps you should try the following:

at node1
erase line "link add link_tcp2 node3:5000 ONDEMAND tcp"
change line "route add dtn://node3.dtn/* link_tcp2" to "route add
dtn://node3.dtn/* link_tcp0"

at node2
I think it's ok.

at node3
erase line "link add link_tcp2 node1:5000 ONDEMAND tcp"
change line "route add dtn://node1.dtn/* link_tcp2" to "route add
dtn://node1.dtn/* link_tcp1"

So you are telling node 1 it needs to send the bundles to node3 v=EDa
link_tcp0 (node2) and node 3 should send the bundles to node1 via link_tcp1
(node2)

please tell me if it works.

yours Gerardo. (sorry by my poor English :-) )



On 9/6/06, zacknightus <zacknightus@yahoo.com> wrote:
>
> Hi,
>
> I am a newbie to DTN, so please bear with me.
>
> I am trying to set up a 3 nodes that sends bundles to each other in the
> following fashion:
>
> 1<--------->2 <---------> 3
>
> I have configured the conf files on 3 servers so that using dtnsend, I am
> able to send and receive bundles between 1 and 2, 2 and 3, and 1 and 3.
> However, I have trouble in sending bundles from 1 to 3 via intermeidate n=
ode
> 2.  I want to be able to send bundles from node 1 to node 2, and node 2 w=
ill
> automatically route this bundle from node 2 to node 3.
>
> Do I issue a dtnsend command at node 1, with source node being node 1 (i.=
e.
> -s dtn://node1.dtn/port1), and destintation node being 3 (i.e. -d
> dtn://node3.dtn/port3), or actually to node 2 instead.  I am not sure how=
 I
> should go about to do this.  Does dtnsend actually has the capability of
> sending a bundle through a intermediate node?  If so, how?  I also looked
> dtncp, but it doesnt seem to do the job.
>
> I know I need to change 'link' and 'route' sections of conf file.  I
> attached my conf files at the end.  Please let me know if I've done what =
I
> suppose to do.
>
> Someone please enlighten me.  Thank you very much in advance!
>
> zack
>
> *********conf file on node 1**************
> interface add tcp0 tcp local_port=3D5000
> interface add udp0 udp
>
> link add link_tcp0 node2:5000 ONDEMAND tcp
> link add link_tcp2 node3:5000 ONDEMAND tcp
>
> route add dtn://node2.dtn/* link_tcp0
> route add dtn://node3.dtn/* link_tcp2
>
>
> *********conf file on node 2**************
> interface add tcp0 tcp local_port=3D5000
> interface add udp0 udp
>
> link add link_tcp0 node1:5000 ONDEMAND tcp
> link add link_tcp1 node3:5000 ONDEMAND tcp
>
> route add dtn://node1.dtn/* link_tcp0
> route add dtn://node3.dtn/* link_tcp1
>
> *********conf file on node 3**************
> interface add tcp0 tcp local_port=3D5000
> interface add udp0 udp
>
> link add link_tcp2 node1:5000 ONDEMAND tcp
> link add link_tcp1 node2:5000 ONDEMAND tcp
>
> route add dtn://node1.dtn/* link_tcp2
> route add dtn://node2.dtn/* link_tcp1
>
>
>
>  ------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls<http://us.rd.yahoo.co=
m/mail_us/taglines/postman1/*http:/us.rd.yahoo.com/evt=3D39663/*http:/voice=
.yahoo.com>to the US (and 30+ countries) for 2=A2/min or less.
>
>

------=_Part_89070_12129053.1157557865788
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>Hi Zack.</div>
<div>&nbsp;</div>
<div>perhaps you should try the following:</div>
<div>&nbsp;</div>
<div>at node1</div>
<div>erase line &quot;link add link_tcp2 node3:5000 ONDEMAND tcp&quot;</div=
>
<div>change line &quot;route add dtn://node3.dtn/* link_tcp2&quot; to &quot=
;route add dtn://node3.dtn/* link_tcp0&quot;</div>
<div>&nbsp;</div>
<div>at node2</div>
<div>I think it's ok.</div>
<div>&nbsp;</div>
<div>at node3</div>
<div>erase line &quot;link add link_tcp2 node1:5000 ONDEMAND tcp&quot;<br>c=
hange line &quot;route add dtn://node1.dtn/* link_tcp2&quot; to &quot;route=
 add dtn://node1.dtn/* link_tcp1&quot;</div>
<div>&nbsp;</div>
<div>So you are telling node 1 it needs to send the bundles to node3 v=EDa =
link_tcp0 (node2) and node 3 should send the bundles to node1 via link_tcp1=
 (node2)</div>
<div>&nbsp;</div>
<div>please tell me if it works.</div>
<div>&nbsp;</div>
<div>yours Gerardo. (sorry by my poor English :-) )<br><br><br>&nbsp;</div>
<div><span class=3D"gmail_quote">On 9/6/06, <b class=3D"gmail_sendername">z=
acknightus</b> &lt;<a href=3D"mailto:zacknightus@yahoo.com">zacknightus@yah=
oo.com</a>&gt; wrote:</span>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi, <br><br>I am a newbie to DTN, so please bear with me.<br><br>I am =
trying to set up a 3 nodes that sends bundles to each other in the followin=
g fashion:<br><br>1&lt;---------&gt;2 &lt;---------&gt; 3<br><br>I have con=
figured the conf files on 3 servers so that using dtnsend, I am able to sen=
d and receive bundles between 1 and 2, 2 and 3, and 1 and 3.&nbsp; However,=
 I have trouble in sending bundles from 1 to 3 via intermeidate node 2.&nbs=
p; I want to be able to send bundles from node 1 to node 2, and node 2 will=
 automatically route this bundle from node 2 to node 3.&nbsp;=20
<br><br>Do I issue a dtnsend command at node 1, with source node being node=
 1 (i.e. -s dtn://node1.dtn/port1), and destintation node being 3 (i.e. -d =
dtn://node3.dtn/port3), or actually to node 2 instead.&nbsp; I am not sure =
how I should go about to do this.&nbsp; Does dtnsend actually has the capab=
ility of sending a bundle through a intermediate node?&nbsp; If so, how?&nb=
sp; I also looked dtncp, but it doesnt seem to do the job.
<br><br>I know I need to change 'link' and 'route' sections of conf file.&n=
bsp; I attached my conf files at the end.&nbsp; Please let me know if I've =
done what I suppose to do.<br><br>Someone please enlighten me.&nbsp; Thank =
you very much in advance!
<br><br>zack<br><br>*********conf file on node 1**************<br>interface=
 add tcp0 tcp local_port=3D5000<br>interface add udp0 udp<br><br>link add l=
ink_tcp0 node2:5000 ONDEMAND tcp<br>link add link_tcp2 node3:5000 ONDEMAND =
tcp
<br><br>route add dtn://node2.dtn/* link_tcp0<br>route add dtn://node3.dtn/=
* link_tcp2<br><br><br>*********conf file on node 2**************<br>interf=
ace add tcp0 tcp local_port=3D5000<br>interface add udp0 udp<br><br>link ad=
d link_tcp0 node1:5000 ONDEMAND tcp
<br>link add link_tcp1 node3:5000 ONDEMAND tcp<br><br>route add dtn://node1=
.dtn/* link_tcp0<br>route add dtn://node3.dtn/* link_tcp1<br><br>*********c=
onf file on node 3**************<br>interface add tcp0 tcp local_port=3D500=
0
<br>interface add udp0 udp<br><br>link add link_tcp2 node1:5000 ONDEMAND tc=
p<br>link add link_tcp1 node2:5000 ONDEMAND tcp<br><br>route add dtn://node=
1.dtn/* link_tcp2<br>route add dtn://node2.dtn/* link_tcp1<br>&nbsp;</div>
<div><span class=3D"ad"><br><br>
<p>
<hr size=3D"1">
Yahoo! Messenger with Voice. <a onclick=3D"return top.js.OpenExtLink(window=
,event,this)" href=3D"http://us.rd.yahoo.com/mail_us/taglines/postman1/*htt=
p:/us.rd.yahoo.com/evt=3D39663/*http:/voice.yahoo.com" target=3D"_blank">Ma=
ke PC-to-Phone Calls
</a> to the US (and 30+ countries) for 2=A2/min or less.=20
<p></p></p></span></div></blockquote></div><br>

------=_Part_89070_12129053.1157557865788--


Received: from web31009.mail.mud.yahoo.com (web31009.mail.mud.yahoo.com [68.142.200.172]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with SMTP id k861KrY12002 for <dtn-users@mailman.dtnrg.org>; Tue, 5 Sep 2006 18:20:53 -0700
Received: (qmail 91959 invoked by uid 60001); 6 Sep 2006 01:20:38 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=uIi7mdg+MhD9UIWlCnSKKyLbDzKaW8oVcY2E6OKQWHMZXOt6hA7y7wOL+G9kruhxSijzRvkrZQieAwvgN2MorSCfhyPiX4IryuZ2C3b31GrwSNGS85NQtDnMDgBzmABwxXoqU7wJwftde/4FfPPykUvi/jY9Ukv7M3EbFWkVZBU=  ;
Message-ID: <20060906012038.91957.qmail@web31009.mail.mud.yahoo.com>
Received: from [128.180.240.122] by web31009.mail.mud.yahoo.com via HTTP; Tue, 05 Sep 2006 18:20:38 PDT
Date: Tue, 5 Sep 2006 18:20:38 -0700 (PDT)
From: zacknightus <zacknightus@yahoo.com>
To: dtn-users@mailman.dtnrg.org
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-386231782-1157505638=:91895"
Content-Transfer-Encoding: 8bit
Subject: [dtn-users] dtnsend among 3 nodes
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

--0-386231782-1157505638=:91895
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi, 

I am a newbie to DTN, so please bear with me.

I am trying to set up a 3 nodes that sends bundles to each other in the following fashion:

1<--------->2 <---------> 3

I have configured the conf files on 3 servers so that using dtnsend, I am able to send and receive bundles between 1 and 2, 2 and 3, and 1 and 3.  However, I have trouble in sending bundles from 1 to 3 via intermeidate node 2.  I want to be able to send bundles from node 1 to node 2, and node 2 will automatically route this bundle from node 2 to node 3.  

Do I issue a dtnsend command at node 1, with source node being node 1 (i.e. -s dtn://node1.dtn/port1), and destintation node being 3 (i.e. -d dtn://node3.dtn/port3), or actually to node 2 instead.  I am not sure how I should go about to do this.  Does dtnsend actually has the capability of sending a bundle through a intermediate node?  If so, how?  I also looked dtncp, but it doesnt seem to do the job.

I know I need to change 'link' and 'route' sections of conf file.  I attached my conf files at the end.  Please let me know if I've done what I suppose to do.

Someone please enlighten me.  Thank you very much in advance!

zack

*********conf file on node 1**************
interface add tcp0 tcp local_port=5000
interface add udp0 udp

link add link_tcp0 node2:5000 ONDEMAND tcp
link add link_tcp2 node3:5000 ONDEMAND tcp

route add dtn://node2.dtn/* link_tcp0
route add dtn://node3.dtn/* link_tcp2


*********conf file on node 2**************
interface add tcp0 tcp local_port=5000
 interface add udp0 udp
 
 link add link_tcp0 node1:5000 ONDEMAND tcp
 link add link_tcp1 node3:5000 ONDEMAND tcp
 
 route add dtn://node1.dtn/* link_tcp0
 route add dtn://node3.dtn/* link_tcp1

*********conf file on node 3**************
interface add tcp0 tcp local_port=5000
 interface add udp0 udp
 
 link add link_tcp2 node1:5000 ONDEMAND tcp
 link add link_tcp1 node2:5000 ONDEMAND tcp
 
 route add dtn://node1.dtn/* link_tcp2
 route add dtn://node2.dtn/* link_tcp1



 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
--0-386231782-1157505638=:91895
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi, <br><br>I am a newbie to DTN, so please bear with me.<br><br>I am trying to set up a 3 nodes that sends bundles to each other in the following fashion:<br><br>1&lt;---------&gt;2 &lt;---------&gt; 3<br><br>I have configured the conf files on 3 servers so that using dtnsend, I am able to send and receive bundles between 1 and 2, 2 and 3, and 1 and 3.&nbsp; However, I have trouble in sending bundles from 1 to 3 via intermeidate node 2.&nbsp; I want to be able to send bundles from node 1 to node 2, and node 2 will automatically route this bundle from node 2 to node 3.&nbsp; <br><br>Do I issue a dtnsend command at node 1, with source node being node 1 (i.e. -s dtn://node1.dtn/port1), and destintation node being 3 (i.e. -d dtn://node3.dtn/port3), or actually to node 2 instead.&nbsp; I am not sure how I should go about to do this.&nbsp; Does dtnsend actually has the capability of sending a bundle through a intermediate node?&nbsp; If so, how?&nbsp; I also looked dtncp, but it
 doesnt seem to do the job.<br><br>I know I need to change 'link' and 'route' sections of conf file.&nbsp; I attached my conf files at the end.&nbsp; Please let me know if I've done what I suppose to do.<br><br>Someone please enlighten me.&nbsp; Thank you very much in advance!<br><br>zack<br><br>*********conf file on node 1**************<br>interface add tcp0 tcp local_port=5000<br>interface add udp0 udp<br><br>link add link_tcp0 node2:5000 ONDEMAND tcp<br>link add link_tcp2 node3:5000 ONDEMAND tcp<br><br>route add dtn://node2.dtn/* link_tcp0<br>route add dtn://node3.dtn/* link_tcp2<br><br><br>*********conf file on node 2**************<br>interface add tcp0 tcp local_port=5000<br> interface add udp0 udp<br> <br> link add link_tcp0 node1:5000 ONDEMAND tcp<br> link add link_tcp1 node3:5000 ONDEMAND tcp<br> <br> route add dtn://node1.dtn/* link_tcp0<br> route add dtn://node3.dtn/* link_tcp1<br><br>*********conf file on node 3**************<br>interface add tcp0 tcp
 local_port=5000<br> interface add udp0 udp<br> <br> link add link_tcp2 node1:5000 ONDEMAND tcp<br> link add link_tcp1 node2:5000 ONDEMAND tcp<br> <br> route add dtn://node1.dtn/* link_tcp2<br> route add dtn://node2.dtn/* link_tcp1<br><br><br><p>&#32;
		<hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.
--0-386231782-1157505638=:91895--


Received: from n082.sc1.cp.net (smtpout0167.sc1.cp.net [64.97.136.167]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k84JaTY32526 for <dtn-users@mailman.dtnrg.org>; Mon, 4 Sep 2006 12:36:29 -0700
Received: from [192.168.0.6] (82.2.136.78) by n082.sc1.cp.net (7.2.069.1) id 44ECAB110011C055 for dtn-users@mailman.dtnrg.org; Mon, 4 Sep 2006 19:36:19 +0000
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Transfer-Encoding: 7bit
Message-Id: <6D88B9EF-BEC1-47F4-B5A5-226564821E2B@virgin.net>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
To: dtn-users@mailman.dtnrg.org
From: Darren Long <darren.long@virgin.net>
Date: Mon, 4 Sep 2006 20:36:18 +0100
X-Mailer: Apple Mail (2.752.2)
Subject: [dtn-users] DTN2 remote API and XDR encoding
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

Hi,

[Resent due to prior use of wrong outgoing account and in  
anticipation of 'delay tolerant moderation']

Over the weekend I started knocking up a python proxy-server for the  
DTN2 dtnd's client API.  After reading plenty of C/C++, much sniffing  
of packets using Ethereal and much hair-pulling, I'm happy to say I  
can now register an end-point (small step for mankind, massive step  
for me).

Anyway, to the main question.  Is there a document describing this  
interface that would make this task easier?

Secondly, in order to get the registration message to be correctly  
parsed by the server (and to look like a real message seen in  
Ethereal), I had to chop off a 32-bit size field that preceded (and  
described the length of) the endpoint ID string in the XDR encoding.   
I used an opaque packing for the string, as per the dtn_types_xdr.c  
function xdr_dtn_endpoint_t|() ... any ideas why this might be?  I'm  
pretty unfamiliar with XDR.

Regards,

Darren Long


Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k827TaY26949 for <dtn-users@mailman.dtnrg.org>; Sat, 2 Sep 2006 00:29:36 -0700
Received: by ug-out-1314.google.com with SMTP id j40so1166397ugd for <dtn-users@mailman.dtnrg.org>; Sat, 02 Sep 2006 00:29:35 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fq/YWY4LErPMhhM5U7yAKjR4tXDQQAgmteB1hX/VF4xRuf/On4xI7ux/an6JhulUDs+CTtBR19lfLaELxLVmqOdXiNKsRFEb8GAxK0GIL/+yU4jtGs+HWEaejnuaD1vZ9XuRYje5qfMqcl58HszICpkHAgfDNKfW1Lp4/yQvrWg=
Received: by 10.67.29.12 with SMTP id g12mr1642549ugj; Sat, 02 Sep 2006 00:29:35 -0700 (PDT)
Received: by 10.67.25.11 with HTTP; Sat, 2 Sep 2006 00:29:35 -0700 (PDT)
Message-ID: <f0d10dd60609020029v796b0f06x29d28a9a66c73e7c@mail.gmail.com>
Date: Sat, 2 Sep 2006 12:59:35 +0530
From: "Zahir Koradia" <zahir.koradia@gmail.com>
To: dtn-users@mailman.dtnrg.org
Subject: Re: [dtn-users] Link status changing and taking a long time
In-Reply-To: <C13C97FE-B5DD-41F4-BC6A-594C44A6DE5A@cs.berkeley.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <f0d10dd60609011225v4f571b00h9d782cf49b8ae843@mail.gmail.com> <C13C97FE-B5DD-41F4-BC6A-594C44A6DE5A@cs.berkeley.edu>
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

Thanks Mike,
It turned out to be a stupid thing. The delays were being caused only
while delivering to one machine, which had a firewall blocking port
5000.

I have been working on a routing protocol specifically for bus kiosk
networks. I have ahd to make a few additions to the bundle class and
to the "link add" in config file. I will be mailing the details of the
work and associated changes to main dtn code soon.

Zahir Koradia

On 9/2/06, Michael Demmer <demmer@cs.berkeley.edu> wrote:
>
> > I have been experiencing huge delays in sending bundles from one node
> > to another becuase links stay in states other than OPEN for a long
> > time. I have set the links to ALWAYSON in the config with a hope that
> > the links will not be "Unavailable" or "Opening" but that does not
> > help. The links get into these states and take time of the order of
> > minutes to change the sate to OPEN. I dont understand why that
> > happens. The states take time to change even when nothing else is
> > happening in the network. I am not sure what causes the states of the
> > links to change but was not sure if this is related to the work I am
> > doing or it has been observed before. Are there any known work
> > arounds/hacks?
>
> First of all, it depends on which version of dtnd are you using,
> since the logic for link reopening and closing changed significantly
> since the last release.
>
> Secondly, if you could run your experiment after running dtnd with
> info level logging turned on (at least), then that will be helpful to
> determine what's going on since you'll see all the events that are
> posted to the daemon. Running dtnd -l info is the easiest way to do
> this. Post the generated log output to the list if you're still
> having trouble (as well as verifying which version it is).
>
> -mike
> _______________________________________________
> dtn-users mailing list
> dtn-users@mailman.dtnrg.org
> http://mailman.dtnrg.org/mailman/listinfo/dtn-users
>


Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.93]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k81LVmY22693 for <dtn-users@mailman.dtnrg.org>; Fri, 1 Sep 2006 14:31:48 -0700
Received: from [192.168.1.102] (user-1087d1v.cable.mindspring.com [64.131.180.63]) (authenticated bits=0) by gateway0.EECS.Berkeley.EDU (8.13.8/8.13.5) with ESMTP id k81LVkrp011373 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Fri, 1 Sep 2006 14:31:47 -0700 (PDT)
In-Reply-To: <f0d10dd60609011225v4f571b00h9d782cf49b8ae843@mail.gmail.com>
References: <f0d10dd60609011225v4f571b00h9d782cf49b8ae843@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <C13C97FE-B5DD-41F4-BC6A-594C44A6DE5A@cs.berkeley.edu>
Content-Transfer-Encoding: 7bit
From: Michael Demmer <demmer@cs.berkeley.edu>
Subject: Re: [dtn-users] Link status changing and taking a long time
X-Applemailsentby: demmer
Date: Fri, 1 Sep 2006 17:31:36 -0400
To: dtn-users@mailman.dtnrg.org
X-Mailer: Apple Mail (2.752.2)
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

> I have been experiencing huge delays in sending bundles from one node
> to another becuase links stay in states other than OPEN for a long
> time. I have set the links to ALWAYSON in the config with a hope that
> the links will not be "Unavailable" or "Opening" but that does not
> help. The links get into these states and take time of the order of
> minutes to change the sate to OPEN. I dont understand why that
> happens. The states take time to change even when nothing else is
> happening in the network. I am not sure what causes the states of the
> links to change but was not sure if this is related to the work I am
> doing or it has been observed before. Are there any known work
> arounds/hacks?

First of all, it depends on which version of dtnd are you using,  
since the logic for link reopening and closing changed significantly  
since the last release.

Secondly, if you could run your experiment after running dtnd with  
info level logging turned on (at least), then that will be helpful to  
determine what's going on since you'll see all the events that are  
posted to the daemon. Running dtnd -l info is the easiest way to do  
this. Post the generated log output to the list if you're still  
having trouble (as well as verifying which version it is).

-mike


Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id k81JPXY21941 for <dtn-users@mailman.dtnrg.org>; Fri, 1 Sep 2006 12:25:33 -0700
Received: by ug-out-1314.google.com with SMTP id j40so1046335ugd for <dtn-users@mailman.dtnrg.org>; Fri, 01 Sep 2006 12:25:32 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=teUCc+kZkPRF7fMe41btnZs2+XwGUTA74jbq0fzRpkz8avzRNzAGn7jKw5tnF3SBleZD+XswmCvzCtZlMAbSkaFdU+z9VkVYlvYg/CaDjq8QkzN5vnpDS8/0E0Pxs9ValbYWmgQQ1T9yWxbLNyoueZTCz75a6EvG0nvaFl/Ng4w=
Received: by 10.67.117.18 with SMTP id u18mr1388592ugm; Fri, 01 Sep 2006 12:25:32 -0700 (PDT)
Received: by 10.67.25.11 with HTTP; Fri, 1 Sep 2006 12:25:31 -0700 (PDT)
Message-ID: <f0d10dd60609011225v4f571b00h9d782cf49b8ae843@mail.gmail.com>
Date: Sat, 2 Sep 2006 00:55:31 +0530
From: "Zahir Koradia" <zahir.koradia@gmail.com>
To: dtn-users@mailman.dtnrg.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Subject: [dtn-users] Link status changing and taking a long time
Sender: dtn-users-admin@mailman.dtnrg.org
Errors-To: dtn-users-admin@mailman.dtnrg.org
X-BeenThere: dtn-users@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
Reply-To: dtn-users@mailman.dtnrg.org
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=unsubscribe>
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>
List-Post: <mailto:dtn-users@mailman.dtnrg.org>
List-Help: <mailto:dtn-users-request@mailman.dtnrg.org?subject=help>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@mailman.dtnrg.org?subject=subscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-users/>

Hi,
I have been experiencing huge delays in sending bundles from one node
to another becuase links stay in states other than OPEN for a long
time. I have set the links to ALWAYSON in the config with a hope that
the links will not be "Unavailable" or "Opening" but that does not
help. The links get into these states and take time of the order of
minutes to change the sate to OPEN. I dont understand why that
happens. The states take time to change even when nothing else is
happening in the network. I am not sure what causes the states of the
links to change but was not sure if this is related to the work I am
doing or it has been observed before. Are there any known work
arounds/hacks?

Thanks,
Zahir Koradia

