*hi,*
*I am currently working with security in IBRDTN. I am using CORE (common
open research emulator) platform, on which there two connected with a wired
interface, nodes which run ibrdtn version 1.0.1 with the command dtnd -d 80
-c <path to ibrdtn.conf>. Both the nodes run same configuration file which
is attached herewith.*
1.
*Both the nodes are able to dtnping each other. *
2. *I use dtnsend --encrypt command with the specified file to the other
node.*
3.
*On wireshark capture of the whole setup there are no encrypted packets
being exchanged, plain texts are observed in exchange between the nodes. *
4. *deamon debug logs have been listed here.*
5.
*Additionally i also generated keys for both the nodes in etc/ibrdtn/bpsec
folder the public/private key for both the nodes along with the
default-bab-key.mac and; local.crt and local.key in /etc/ibrdtn/tls/ *
*Deamon log on the transmitting node dtn://n1/*
*Wed Sep 26 15:41:20 2018 DEBUG.20 BinaryStreamClient: new client
connected, handle: zxaTtKOGtnfUcKii; eid: dtn://n1/zxaTtKOGtnfUcKiiWed Sep
26 15:41:20 2018 DEBUG.25 Registration: search for more bundlesWed Sep 26
15:41:20 2018 DEBUG.70 StreamBuffer: MSG_DATA_SEGMENT received, size:
175Wed Sep 26 15:41:20 2018 DEBUG.30 SimpleBundleStorage: element
successfully stored:
8299f8af4801001964746e3a2f2f6e312f7a786154744b4f47746e6655634b6969Wed Sep
26 15:41:20 2018 DEBUG.2 BundleStorage: add bundle to index: [591271880.1]
dtn://n1/zxaTtKOGtnfUcKiiWed Sep 26 15:41:20 2018 DEBUG.5
NeighborRoutingExtension: processing task ProcessBundleTask: [591271880.1]
dtn://n1/zxaTtKOGtnfUcKiiWed Sep 26 15:41:20 2018 DEBUG.20
NeighborDatabase: acquire transfer of [591271880.1]
dtn://n1/zxaTtKOGtnfUcKii to dtn://n2 (1 bundles in transit)Wed Sep 26
15:41:20 2018 DEBUG.2 ConnectionManager: next hop: Node: dtn://n2 [
10#connected#TCP#ip=10.0.0.11;port=4556;#expire=0;
0#discovered#TCP#ip=10.0.0.11;port=4556;#expire=591271890;
0#discovered#TCP#ip=2001::11;port=4556;#expire=591271890; ]Wed Sep 26
15:41:20 2018 DEBUG.15 TCPConvergenceLayer: queued bundle to an existing
tcp connection (dtn://n2)Wed Sep 26 15:41:20 2018 DEBUG.20
RoutingExtension: bundle [591271880.1] dtn://n1/zxaTtKOGtnfUcKii queued by
neighbor for dtn://n2 via protocol TCPWed Sep 26 15:41:20 2018 DEBUG.5
StaticRoutingExtension: processing task ProcessBundleTask: [591271880.1]
dtn://n1/zxaTtKOGtnfUcKiiWed Sep 26 15:41:20 2018 DEBUG.50
StaticRoutingExtension: search static route for [591271880.1]
dtn://n1/zxaTtKOGtnfUcKiiWed Sep 26 15:41:20 2018 DEBUG.70 StreamBuffer:
MSG_ACK_SEGMENT received, size: 197Wed Sep 26 15:41:20 2018 DEBUG.60
StreamBuffer: 1 elements to ACKWed Sep 26 15:41:20 2018 DEBUG.20
StreamConnection: bundle has been forwardedWed Sep 26 15:41:20 2018
DEBUG.20 NeighborDatabase: release transfer of [591271880.1]
dtn://n1/zxaTtKOGtnfUcKii to dtn://n2 (0 bundles in transit)*
*Deamon log on the receiving node dtn://n2/*
*Wed Sep 26 15:41:20 2018 DEBUG.70 StreamBuffer: MSG_DATA_SEGMENT received,
size: 197Wed Sep 26 15:41:20 2018 DEBUG.2 BundleStorage: add bundle to
index: [591271880.1] dtn://n1/zxaTtKOGtnfUcKiiWed Sep 26 15:41:20 2018
DEBUG.30 SimpleBundleStorage: element successfully stored:
8299f8af4801001964746e3a2f2f6e312f7a786154744b4f47746e6655634b6969Wed Sep
26 15:41:20 2018 DEBUG.25 Registration: search for more bundlesWed Sep 26
15:41:20 2018 DEBUG.30 Registration: search bundle in the list of delivered
bundles: [591271880.1] dtn://n1/zxaTtKOGtnfUcKiiWed Sep 26 15:41:20 2018
DEBUG.10 Registration: [RegistrationQueue] add bundle to list of delivered
bundles: [591271880.1] dtn://n1/zxaTtKOGtnfUcKiiWed Sep 26 15:41:20 2018
DEBUG.70 StreamBuffer: MSG_SHUTDOWN receivedWed Sep 26 15:41:20 2018
DEBUG.10 StreamBuffer: StreamShutdownException in underflow()Wed Sep 26
15:41:20 2018 DEBUG.10 BinaryStreamClient: Bundle version differ from
ours.Wed Sep 26 15:41:20 2018 DEBUG.40 BinaryStreamClient:
BinaryStreamClient::eventConnectionDown()Wed Sep 26 15:41:20 2018 DEBUG.60
BinaryStreamClient: BinaryStreamClient downWed Sep 26 15:41:20 2018
DEBUG.80 socketstream: overflow() nothing to sentWed Sep 26 15:41:20 2018
DEBUG.25 Registration: search for more bundlesWed Sep 26 15:41:20 2018
DEBUG.10 BinaryStreamClient: unexpected API error! Conditional has been
unblocked.Wed Sep 26 15:41:20 2018 DEBUG.80 socketstream: overflow()
nothing to sentWed Sep 26 15:41:20 2018 DEBUG.60 ClientHandler:
ApiConnection downWed Sep 26 15:41:20 2018 DEBUG.5 ApiServer: api
connection downWed Sep 26 15:41:20 2018 DEBUG.5 ApiServer: release
registration FyznlhvFrdWGTFFv*
*Please guide me on how to enable authenitication, encryption and sign?*
*Are there any additional setting i have to do?*
*Kindly help me with the same.*
*Best regards *
*Madhuri*