Hello Maël,
the meta-data block (RFC 6258) is not implemented within IBR-DTN. That is the reason why you can not find any hint about it :-). However, it should not be very complicated to add such a block and you are welcome to submit code for it.
If I understand you correct, the block should not processed by the daemon itself. Instead it must be generated and processed by the client or application. That means, we do not need to add support within the daemon source-code. At the moment, unknown extension blocks are simply passed unprocessed to each client. If the client can decode the raw payload of the block, we are already done. In order to make processing of these data more comfortable, the extension block might be added as already done for other extensions blocks within the ibrdtn library. If we need support on Android or within the Java API, an extension is necessary within the specific library.
I hope my thoughts were helpful.
Johannes
Am 25.09.2015 um 10:38 schrieb Maël Auzias:
Hi dear list,
According to some of source-code files https://github.com/ibrdtn/ibrdtn/search?utf8=%E2%9C%93&q=extension+block&type=Code, mostly -if not all- written by Johannes Morgenroth, the security extension (RFC 6257 https://tools.ietf.org/html/rfc6257) block has been implemented.
However I cannot find any specific code on Metadata Extension Block (RFC 6258 https://tools.ietf.org/html/rfc6258) that I would like to use to trigger specific processing on the application level (not on the BP daemon side).
I know that a SeNDA http://senda.uab.es/adtn developed its own BP implementation http://senda.uab.es/Active-DTN to execute some code present in the metadata of the Metadata Extesion Block.
Am I well searching? Did I miss something? What would be the correct way to implement the Metadata Extension Block into IBR-DTN to trigger specific application-level processing?
Thanks (again) for your work and have a nice day!
Best regards,
Auzias Maël auzias.net https://www.auzias.net/en/ - vcard https://www.auzias.net/auzias.vcf - thesis http://people.irisa.fr/Mael.Auzias/ *GSM: 0033 695 118 774*