Hi, I have been trying to solve my problems from the feedback you gave me, but I have some questions yet.
Priority: I am using the dtnsend tool with different priorities (0, 1 or 2) to send files from node1 to node3, using the relay node2. I sent 15 files of 2Mb in a loop with priority 0 and right after that I sent a file with priority 2. The files need some time to arrive the node3, and I expected that file with priority 2 arrives between the files with priority 0, but it arrives at the end of the 15 files. Do I need to activate something for priority or it is built-in in the ibr-dtn software? Does priority have any impact on the bundles storage when the bundles surpass the limit of storage?
BAB authentication: I’m not able to start BAB authentication in OpenWRT. I’m using the same configurations in all the operative systems and the SecurityKeyManager doesn’t start on openWRT, so it is not a configuration problem but probably it is related with the compilation of IBR-DTN for OpenWRT. I analyzed the source and there are flag/defines “dtnsec” or “WITH_BUNDLE_SECURITY” that just compile the SecurityKey Manager part when the required libraries are available. I already installed more libraries in openwrt virtual machine, where I compile but it’s not working yet. My specifications are the following:
Cambria: target System (INTEL IXP4XX) Openwrt: Backfire 10.03 IBR-DTN: 0.12.0 openssl-util = y PACKAGE_libopenssl = y
Do you know if a need any other library?or other openWRT package?
Thanks a lot, Tiago
On 21 May 2014, at 11:00, ibr-dtn-request@ibr.cs.tu-bs.de wrote:
Send Ibr-dtn mailing list submissions to ibr-dtn@ibr.cs.tu-bs.de
To subscribe or unsubscribe via the World Wide Web, visit https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn or, via email, send a message with subject or body 'help' to ibr-dtn-request@ibr.cs.tu-bs.de
You can reach the person managing the list at ibr-dtn-owner@ibr.cs.tu-bs.de
When replying, please edit your Subject line so it is more specific than "Re: Contents of Ibr-dtn digest..."
Today's Topics:
- IBR-DTN capabilities (Tiago Condeixa)
- Re: IBR-DTN capabilities (Johannes Morgenroth)
Message: 1 Date: Tue, 20 May 2014 15:21:12 +0100 From: Tiago Condeixa tscondeixa@ua.pt To: ibr-dtn@ibr.cs.tu-bs.de Subject: [ibr-dtn] IBR-DTN capabilities Message-ID: 96F5EFF9-6F8F-4D6E-AB69-AC7B4B51D6EA@ua.pt Content-Type: text/plain; charset="windows-1252"
Hi,
I have been configuring and testing the IBR-DTN in a small testbed with 10 nodes (e.g. macbooks, ubuntu, openwrt boards), and latter I intend to put it in a larger scale testbed. I didn?t find any document explaining the IBR-DTN nor the tools, so I have some questions from the tests that I performed. I would really like to really understand current capabilities of IBR-DTN and then just modify what is necessary or just create new tools.
I activate the scheduling in the nodes and use dtnsend tool with priority option. However, I didn?t see any effect from priority in the file transferring speed nor in the limited bundles storage. Files with higher priority are not delivered first and bundles with lower priority are not deleted from disk to keep the higher priority bundles when the storage's limit is achieved in relay nodes. By the way, the configuration file of OpenWRT is not equal to the configuration file from the ubuntu/macbook daemon, and sometimes is difficult to know the options to configure. I have to activate the IBR-DTN as ?dtnd? directly and not with service ibrdtn start, because I didn?t find the option to active the scheduling there. I would like to exchange bundles with different priorities in my testbed, is this already built-in in IBR-DTN?
I also tried sending large files through dtnsend with --custody option activated, but I didn?t see any effect. When I shutdown a relay node or stop the ibrdtn during some seconds the file never arrives at the destination. I assume that with custody transfer, the transfer is assured and the source or the node with the custody retransmit again to the destination. Is this right? or there is any other purpose for custody transfers?
I also tried to activate the BAB authentication (level 1), but the SecurityKeyManager is not activated in the nodes with OpenWRT. There is any option to activate the BAB according to the required DTN service? This way some services can be used by any nodes in the DTN, while some services are just used by nodes with the authentication Key.
Thank you for your time, Tiago
Message: 2 Date: Tue, 20 May 2014 17:05:15 +0200 From: Johannes Morgenroth morgenroth@ibr.cs.tu-bs.de To: ibr-dtn@ibr.cs.tu-bs.de Subject: Re: [ibr-dtn] IBR-DTN capabilities Message-ID: 537B6F2B.5040506@ibr.cs.tu-bs.de Content-Type: text/plain; charset=windows-1252
Hi Tiago.
Am 20.05.2014 16:21, schrieb Tiago Condeixa:
- I activate the scheduling in the nodes and use dtnsend tool with priority option. However, I didn?t see any effect from priority in the file transferring speed nor in the limited bundles storage. Files with higher priority are not delivered first and bundles with lower priority are not deleted from disk to keep the higher priority bundles when the storage's limit is achieved in relay nodes.
What do you expect from scheduling? The scheduling option (yes/no) is not required for standard priorities as defined in the bundle protocol.
Please read and understand how Priority Classes are defined in the DTN and try to figure out if that is what you expect.
http://tools.ietf.org/html/rfc4838#section-3.5
By the way, the configuration file of OpenWRT is not equal to the
configuration file from the ubuntu/macbook daemon, and sometimes is difficult to know the options to configure. I have to activate the IBR-DTN as ?dtnd? directly and not with service ibrdtn start, because I didn?t find the option to active the scheduling there. I would like to exchange bundles with different priorities in my testbed, is this already built-in in IBR-DTN?
That is part of the integration in OpenWrt. http://wiki.openwrt.org/de/doc/uci
Since UCI is not available on all platforms there is no way to do equally with that level of integration. You do not have to use it, if you do not like it.
- I also tried sending large files through dtnsend with --custody option activated, but I didn?t see any effect. When I shutdown a relay node or stop the ibrdtn during some seconds the file never arrives at the destination. I assume that with custody transfer, the transfer is assured and the source or the node with the custody retransmit again to the destination. Is this right? or there is any other purpose for custody transfers?
Custody does not change anything. http://www.ietf.org/mail-archive/web/dtn-interest/current/msg04338.html
- I also tried to activate the BAB authentication (level 1), but the SecurityKeyManager is not activated in the nodes with OpenWRT. There is any option to activate the BAB according to the required DTN service? This way some services can be used by any nodes in the DTN, while some services are just used by nodes with the authentication Key.
BAB authentication is working, even on OpenWrt (I tested it right now). There must be an configuration issue on your side.
Do you see a message like this in your logread on start-up of IBR-DTN?
May 20 15:00:50 blueberry daemon.info ibrdtn-daemon[30002]: initialized; path: /etc/ibrdtn/keys
Then the SecurityManager is initialized.
Good luck! Johannes
Subject: Digest Footer
-- !! 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.
End of Ibr-dtn Digest, Vol 46, Issue 14