Could you post the part of the configuration file? IIRC, dgram:udp has some limitations regarding the port. But not sure, if it was for discovery only.
The static connection to dtn://IBR-1.dtn seems to use the standard UDP-CL, not dgram:udp... Maybe you should comment out the static connection.

Stephan

Am Donnerstag, den 14.09.2017, 23:22 +0000 schrieb Kharouta, John F:

Hello,

 

I am having trouble using the dgram:udp option in my configuration file. Below is an excerpt from my log file that shows an error. Dtnping does not seem to work using the dgram CL either.

 

Any help with this would be appreciated.

 

Thu Sep 14 16:19:18 2017 INFO NativeDaemon: Datagram ConvergenceLayer (UDP) added on eth0:4556

Thu Sep 14 16:19:18 2017 DEBUG.90 SocketState: SocketState transition: IDLE -> SELECT

Thu Sep 14 16:19:18 2017 DEBUG.90 SelectGuard: SelectGuard counter set to 1

Thu Sep 14 16:19:18 2017 INFO DiscoveryAgent: listen to [ff02::142]:4551

Thu Sep 14 16:19:18 2017 INFO DiscoveryAgent: listen to [224.0.0.142]:4551

Thu Sep 14 16:19:18 2017 INFO DiscoveryAgent: add interface eth0

Thu Sep 14 16:19:18 2017 DEBUG.56 ConnectionManager: New node available: Node: dtn://IBR-1.dtn [ -5#static local#UDP#ip=10.0.0.10;port=4556;#expire=0;  ]

Thu Sep 14 16:19:18 2017 DEBUG.10 UDPDatagramService: can not join [ff02::1]:5551 on eth0; fd not available

 

Thanks,

John

 

From: Stephan Rottmann [mailto:rottmann@ibr.cs.tu-bs.de]
Sent: Thursday, September 14, 2017 3:56 AM
To: Kharouta, John F; ibr-dtn@ibr.cs.tu-bs.de
Subject: Re: [ibr-dtn] UDP Convergence Layer File Transfer

 

Hi,

 

are you using the "standard" UDP-CL, or "dgram:udp"? The former one accepts only bundles with the size of up to the MTU (or 64kByte, as it is the max length for a UDP packet), iirc.

 

So try "dgram:udp" instead, and it should work, OR enable fragmentation and set the maximum payload size. Then, IBR-DTN will split the data to be sent automatically into several bundles and reassemble the parts at the receiver side.

 

Best,

Stephan

 

Am Mittwoch, den 13.09.2017, 22:27 +0000 schrieb Kharouta, John F:

Hello All,

 

I am having some issues transferring a file using dtnsend/recv in a simple two node test bed using UDP convergence layer. The nodes are configured for static routing and dtnping functions as expected.

The issue I run into is when I attempt to send a file greater than ~130 KB and the result is the dtnrecv command doesn’t close (the file is not successfully transferred) and I can see in my bundle storage area a total size of bundles just slightly less than my expected file size.

The file size is specific because file sizes less than ~130 KB transfer just fine using the UDP convergence layer.

 

I am wondering if there is an issue with UDP convergence layer as changing nothing in my configuration besides the convergence to TCP layer, fixes the issue.

Any help would be appreciated.

 

IBR-DTN version: 1.0.1 (build 294b543)

 

Thanks,

John

-- 
!! This message is brought to you via the `ibr-dtn' mailing list.
!! Please do not reply to this message to unsubscribe. To unsubscribe or adjust
!! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de>
!! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.
-- 
Stephan Rottmann        Institut für Betriebssysteme und Rechnerverbund
Tel.: +49-531-391-3154                            Mühlenpfordtstraße 23
Fax.: +49-531-391-5936      TU Braunschweig        D-38106 Braunschweig
 
-- 
Stephan Rottmann        Institut für Betriebssysteme und Rechnerverbund
Tel.: +49-531-391-3154                            Mühlenpfordtstraße 23
Fax.: +49-531-391-5936      TU Braunschweig        D-38106 Braunschweig