$ ns-orig worm-16.tcl$ ns229-ByzantineAttacs-el6 worm-16.tcl578: immediately, so that the round-trip-time can be calculated.
599: calculate the round-trip-time.
735: called, with the id of the pinged node and the round-trip-time (in
820: $from with round-trip-time $rtt ms."
The ns-Tutorial is attached with line numbers ...
http://www.engr.iupui.edu/~dskim/tutorials/print.php?article=ns2
Hello sir, I want to ask, I have edited the file section NS-2.35 - mac looks at sources like that for wormholes, and uses AODV routing protocol, do I have to change for the AODV.cc and AODV.h, is it not ? and send my .tcl, if the # sign I remove to activate the wormhole is an error in that section, if using # it runs normally but the attack is inactive because it is added #
[$n14 set ll_(0)] wormhole-peer [$n15 set ll_(0)]
#[$n15 set ll_(0)] wormhole-peer [$n14 set ll_(0)]I have edited the file section NS-2.35/mac/.
... looks at sources like that for wormholes, and uses AODV routing protocol.
Do I have to change for the AODV.cc and AODV.h ?
If the # sign I remove to activate the wormhole is an error in that section.
if using # it runs normally but the attack is inactive because it is added # .
well sir, i'm sorry about that, the point is i'm confused for configuring wormhole in NS 2, i don't have aodv.cc and .h for wormhole attacks, if you have very much I need the file
$ ns229-ByzantineAttacs-el6 wormhole-CA.tcl
$ ns229-ByzantineAttacs-el6 wormhole-Mellia.tcl
$ ns229-ByzantineAttacs-el6 worm.tclHi sir, I have changed the MAC file for wormhole, meaning I use .tcl which is ns-2.29 + ByzantineAttacks and why should there be a byzantine attack pack in that file? has wormhole + byzantine been changed?
2worm14.tcl:173: #[$n14 set ll_(0)] wormhole-peer [$n15 set ll_(0)]
2worm14.tcl:174: #[$n15 set ll_(0)] wormhole-peer [$n14 set ll_(0)]sudo gdebi Downloads/byzantine-attacks-ns_2.29-ubuntu16_amd64.debtar xvf ns-allinone-2.35_gcc5.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
cd ns-allinone-2.35/
patch -p0 < wormhole_ns235.patch
https://drive.google.com/file/d/1YErI9TdsZjjgIRDjoRgZMLi0u-zM1WWy/view?usp=sharing
export CC=gcc-4.8 CXX=g++-4.8 && ./install ## if 16.04 it's just ./install
cd ns-2.35/
cp ns ns235-wormhole
sudo cp ns235-wormhole /usr/local/bin/
----------- Simulation ------------
ns235-wormhole 2worm14.tcl