Hello,
I'm sorry for asking so many things in a short period. This time, my question is about ala-promiscuous mode for dtnd.
We intend to monitor all the bundles on a node, even though the bundle is not addressed to the node. I thought that if it's possible to use promiscuous mode like function for capturing all the bundles at a snoop application, no need to modify dtnd itself for bundle monitoring purpose.
Thanks,
Hello,
short answer: there is no such mechanism.
The only out-of-the-box thing I can imaging is to use the SimpleBundleStorage with enabled storage path (this is the default case on android devices). Then, each file in the storage represents one bundle and contains the whole bundle encoded in the binary bundle protocol format defined in RFC5050. That means you have direct access to all stored bundles.
Kind regards, Johannes
Am 25.09.2012 13:14, schrieb Yoshimi Fujii:
Hello,
I'm sorry for asking so many things in a short period. This time, my question is about ala-promiscuous mode for dtnd.
We intend to monitor all the bundles on a node, even though the bundle is not addressed to the node. I thought that if it's possible to use promiscuous mode like function for capturing all the bundles at a snoop application, no need to modify dtnd itself for bundle monitoring purpose.
Thanks,
..or just use the log output from IBR DTN if you are only interested in which bundle id went through which node at what time. As you have already mentioned you modified the dtnd config on Android, you could use this to instruct IBR-DTN to write a logfile to SD card, if you want it for analysis later. Although this will probably affect your performance, as SD cards are slow.
MfG
Sebastian
Am 25.09.2012 um 17:44 schrieb Johannes Morgenroth:
Hello,
short answer: there is no such mechanism.
The only out-of-the-box thing I can imaging is to use the SimpleBundleStorage with enabled storage path (this is the default case on android devices). Then, each file in the storage represents one bundle and contains the whole bundle encoded in the binary bundle protocol format defined in RFC5050. That means you have direct access to all stored bundles.
Kind regards, Johannes
Am 25.09.2012 13:14, schrieb Yoshimi Fujii:
Hello,
I'm sorry for asking so many things in a short period. This time, my question is about ala-promiscuous mode for dtnd.
We intend to monitor all the bundles on a node, even though the bundle is not addressed to the node. I thought that if it's possible to use promiscuous mode like function for capturing all the bundles at a snoop application, no need to modify dtnd itself for bundle monitoring purpose.
Thanks,
-- Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23 Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig -- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
Hello,
Johanners, Sebastian, thank you for your answers. I really appreciate your help and we'll examine the both idea.
I firstly thought of the idea of using log information. When using log, the problem I thought is how to get the timing. We need to monitor bundles sent/received togather with other information including GPS position, acceleration sensor value, e.t.c. Therefore, the important thing is that the application is informed the exact timing of sending/receiving bundles (with some INTENT?) to collect the other information together with bundles' information.
Do you have any idea about this?
Thanks, Yoshimi Fujii
(2012/09/26 0:51), Sebastian Schildt wrote:
..or just use the log output from IBR DTN if you are only interested in which bundle id went through which node at what time. As you have already mentioned you modified the dtnd config on Android, you could use this to instruct IBR-DTN to write a logfile to SD card, if you want it for analysis later. Although this will probably affect your performance, as SD cards are slow.
MfG
Sebastian
Am 25.09.2012 um 17:44 schrieb Johannes Morgenroth:
Hello,
short answer: there is no such mechanism.
The only out-of-the-box thing I can imaging is to use the SimpleBundleStorage with enabled storage path (this is the default case on android devices). Then, each file in the storage represents one bundle and contains the whole bundle encoded in the binary bundle protocol format defined in RFC5050. That means you have direct access to all stored bundles.
Kind regards, Johannes
Am 25.09.2012 13:14, schrieb Yoshimi Fujii:
Hello,
I'm sorry for asking so many things in a short period. This time, my question is about ala-promiscuous mode for dtnd.
We intend to monitor all the bundles on a node, even though the bundle is not addressed to the node. I thought that if it's possible to use promiscuous mode like function for capturing all the bundles at a snoop application, no need to modify dtnd itself for bundle monitoring purpose.
Thanks,
-- Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23 Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig -- !! 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://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
participants (3)
-
Johannes Morgenroth
-
Sebastian Schildt
-
Yoshimi Fujii