Hello Jorg,
did you compiled the source on your own or did you installed a prebuild package?
If you compiled it on your own, you'll probably affected by a bug [1] which is already fixed but still not part of the release.
Kind regards,
Johannes Morgenroth
[1] https://github.com/ibrdtn/ibrdtn/commit/576212fe41036c29246aaa64a2cafe314a97 e2dd
From: Ibr-dtn [mailto:ibr-dtn-bounces@ibr.cs.tu-bs.de] On Behalf Of Jorg Eloy Sent: Thursday, May 5, 2016 6:11 PM To: ibr-dtn@ibr.cs.tu-bs.de Subject: [ibr-dtn] missing the bundle security protocols key pairs
Dear all,
I am using IBR-DTN 1.0.1 (294b543) among three raspberry pi devices called (dtn1,dtn2,dtn3). In order to try to connect to the other side with dtnsend and dtnrecv applications. With one RPi works fine but with the rest I get an error on open and requeue the bundles, I resume on the next lines:
ORIG -> DST = OBSERVATION ------------------------------ dtn1 -> dtn2 = works fine :) dtn1 -> dtn3 = TCPConnection: connection to dtn://dtn3 failed dtn2 -> dtn1 = bundle rejected due to invalid authentication dtn2 -> dtn3 = bundle rejected due to invalid authentication dtn3 -> dtn1 = bundle rejected due to invalid authentication dtn3 -> dtn2 = works fine :)
I am using the default demon configuration, calling the command "dtnd -i eth0" on each raspberry Pi.
The files that are in each terminal are:
pi@dtn1 ~ $ ls /etc/ibrdtn/bpsec/ dh_params.pem
pi@dtn2 ~ $ ls /etc/ibrdtn/bpsec/ 64746e3a2f2f6963747064746e32.pkey 64746e3a2f2f6963747064746e32.pub 64746e3a2f2f6963747064746e32.pub.txt 64746e3a2f2f7261737062657272797069.pkey 64746e3a2f2f7261737062657272797069.pub 64746e3a2f2f7261737062657272797069.pub.txt dh_params.pem
pi@dtn3 ~ $ ls /etc/ibrdtn/bpsec/ dh_params.pem
So, As you can see the problem looks like missing files on RPi dtn1 and dtn3. My question is how I can generate a new local key-pair?
Thank you very much in advance for any kind of help you might be able to give me. Best regards,
Jorg
pd. I have seen a similar problem in http://comments.gmane.org/gmane.network.ibrdtn/975 http://comments.gmane.org/gmane.network.ibrdtn/975 but I do not use the "security_bab_default_key" and the solution of this problem still open.