Hi,
I would like to test the fragmentation in ibr-dtn. For two nodes I did the following: I have set in /etc/config/ibrdtn
# block size limit option blocksize 100K option foreign_blocksize 100K
and uncommented this option
config 'daemon' 'main' # values: none | default | epidemic | flooding | prophet option routing epidemic # option forwarding no option fragmentation yes
I generated 1MB file and tried to send it. In the sender-daemon I received these messages
Fri Feb 14 13:19:54 2014 NOTICE BundleReceivedEvent: Bundle received [0.1] dtn://host1/xYTmYAXcGdEFUpqg (local) Fri Feb 14 13:19:55 2014 NOTICE QueueBundleEvent: New bundle queued [0.1] dtn://host1/xYTmYAXcGdEFUpqg Fri Feb 14 13:19:55 2014 NOTICE BundleEvent: bundle [0.1] dtn://host1/xYTmYAXcGdEFUpqg received Fri Feb 14 13:19:55 2014 NOTICE ConnectionEvent: connection setup dtn://host3 Fri Feb 14 13:19:55 2014 NOTICE ConnectionEvent: connection up dtn://host3 Fri Feb 14 13:20:05 2014 NOTICE TransferAbortedEvent: transfer of bundle [0.1] dtn://host1/xYTmYAXcGdEFUpqg to dtn://host3 aborted. (bundle has been refused)
I expected the original message to be fragmented in 10 bundles of 100K but this is not the case. Do I miss sth?
Theodoros
Hello Theodoros.
Am 14.02.2014 13:22, schrieb Theodoros Bourchas:
option foreign_blocksize 100K
This options tells the daemon to reject all bundles larger than 100K. If you like to fragment bundles pro-actively, you have to do that on the sender of the bundle. Thus, set the block_limit and fragmentation there. Generally, pro-active fragmentation is never done on the path except for reactive fragmentation during tcp transmissions.
Kind regards, Johannes Morgenroth
participants (2)
-
Johannes Morgenroth
-
Theodoros Bourchas