Hi you all.
By exploring the code I found out that a telnet server is running on localhost:4550. By grep-ing "if(cmd" in the files I found some command could be issued. However I could send/receive any bundle through this interface. Could anyone give me some explanation about this ? I'm working on ibr-dtn and I'm in needs, as I already told in a previous mail, of using Java and ibr-dtn. Instead of working on a specialized JNI/JNA solution or whatever-else I decided to write a telnet server (which will be then usable from Python, Java, C, C++, everything else! But do not want to recreate something which already does exist.
Best regards, --- Auzias Maël - http://auzias.net PhD candidate http://auzias.net/?p=phd - IRISA Member of the Scientific Councilhttp://auzias.net/Generation14/index-en.html GSM : *0033 695 118 774*
Hello Maël.
Am 05.05.2014 09:12, schrieb Maël Auzias:
By exploring the code I found out that a telnet server is running on localhost:4550. By grep-ing "if(cmd" in the files I found some command could be issued. However I could send/receive any bundle through this interface. Could anyone give me some explanation about this ?
That is the API server. http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/docs/api
A documentation is part of the daemon package or available online: http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/apidoc/0.12/api.pdf
I'm working on ibr-dtn and I'm in needs, as I already told in a previous mail, of using Java and ibr-dtn. Instead of working on a specialized JNI/JNA solution or whatever-else I decided to write a telnet server (which will be then usable from Python, Java, C, C++, everything else! But do not want to recreate something which already does exist.
Did you noticed the Java API library? This is already based on the ASCII API. You do not need to write an own server. It is already there.
https://github.com/ibrdtn/ibrdtn/tree/master/java
Kind regards, Johannes Morgenroth
participants (2)
-
Johannes Morgenroth
-
Maël Auzias