$ tar xvf ns-allinone-2.35_gcc5.tar.gz (2014 - 2017 update)
https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
$ cd ns-allinone-2.35/
$ patch -p0 < blackholeaodv2013-ns235_1.patch
https://drive.google.com/file/d/0B7S255p3kFXNWWVDZzd2ZC14akE/view?usp=sharing
$ ./install
$ cd ns-2.35/
$ sudo make install
$ cp ns ns-blackhole
$ sudo cp ns-blackhole /usr/local/bin/
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-users/Viptkrf7d4E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
Hi wibawa, i think you should use OS Linux. Cause platform of Linux when install ns2 will effective more.
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
Thank sir! So about the S-AODV ( Secure Ad-hoc On-Demand Distance Vector) ? i didn't found it in ns2 patches.
2018-04-26 16:23 GMT+07:00 knudfl <knu...@ofir.dk>:
@Hà Duy Anh, Hi.
R AODV : Reverse AODV http://elmurod.net/sfiles/r-aodv.zip (2006)
→ Reverse-aodv_ns229.patch ( for ns-2.29.3 )
https://drive.google.com/file/d/0B7S255p3kFXNYjI0aVF4YXdWeDA/view?usp=sharing
R AODV : Randomized aodv ( ns2-roadv ) https://github.com/softvar/ns2-roadv
→ r-aodv.patch, ns235.
https://drive.google.com/file/d/0B7S255p3kFXNQ3E3V2hLTmRnOU0/view?usp=sharing
All ns2 patches https://drive.google.com/drive/folders/0B7S255p3kFXNZ2lWZDBRSW40Q00?usp=sharing
On Thursday, April 26, 2018 at 9:34:49 AM UTC+2, Hà Duy Anh wrote:Sorry sir knudfl, i want ask: how to add raodv protocol in ns2?Thank sir.2018-04-25 22:38 GMT+07:00 Hà Duy Anh <haduya...@gmail.com>:Hi wibawa, i think you should use OS Linux. Cause platform of Linux when install ns2 will effective more.--
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
$ export CC=gcc-4.9 CXX=g++-4.9 && ./install
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
sudo apt install g++-4.8
export CC=gcc-4.8 CXX=g++-4.8 && ./install
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
Thank sir! I researching wormhole attack, and i have question : have file (wormholeaodv.patch) patch as blackholeaodv.patch?
2018-04-29 16:21 GMT+07:00 knudfl <knu...@ofir.dk>:
@Hà Duy Anh.
»»blackhole attack with AODV protocol, ... attack with RAODV protocol ... fix what in file blackhole.tcl?««
→
First, there is no simulation by name "blackhole.tcl".
Blackhole attack with RAODV protocol : I have no idea.
... I guess you can just run the simulations as usual :
But with a new 'RAODV + blackhole' executable ...
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
.
######### Added for blackholeAODV
set val(nn) 15
set val(nnaodv) 5
set val(brp) blackholeAODV
##########.
.
.
.
###################################### Added for blackholeAODV
# $ns_ node-config -adhocRouting $val(brp)
for {set i $val(nnaodv) } {$i<$val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0;
$ns_ at 0.01 "$node_($i) label \"blackhole node\""
}
##################################################
[ex-2005-2013__05.17]$ grep "Added for blackholeAODV" *
2paires-b.tcl:######### Added for blackholeAODV
2paires-b.tcl:###################################### Added for blackholeAODV
aodv-Xgr_blackhole.tcl:######### Added for blackholeAODV
aodv-Xgr_blackhole.tcl:###################################### Added for blackholeAODV
Aska123-f__Blacktcl2.tcl:######### Added for blackholeAODV
Aska123-f__Blacktcl2.tcl:###################################### Added for blackholeAODV
Clustering-moc_v1_blackh.tcl:######### Added for blackholeAODV
Clustering-moc_v1_blackh.tcl:###################################### Added for blackholeAODV
graph3-blackhole.tcl:######### Added for blackholeAODV
graph3-blackhole.tcl:###################################### Added for blackholeAODV
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
@Hà Duy Anh , Hi.
Please show the command that resulted in the errors.
... A hint : The file blackholeaodv.tcl is usually not a simulation file.
HOWTO blackholeaodv ...... Then you can do $ ns-blackhole atk3.tcl
$ tar xvf ns-allinone-2.35_gcc5.tar.gz (2014 - 2017 update)
https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
$ cd ns-allinone-2.35/
$ patch -p0 < blackholeaodv2013-ns235_1.patch
https://drive.google.com/file/d/0B7S255p3kFXNWWVDZzd2ZC14akE/view?usp=sharing
$ ./install
$ cd ns-2.35/
$ sudo make install
$ cp ns ns-blackhole
$ sudo cp ns-blackhole /usr/local/bin/
... and other examples from blackholeaodv2005~2013-examples-05.17.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNTUlreWIzVGxUXzQ/view?usp=sharing
On Wednesday, April 18, 2018 at 7:50:54 PM UTC+2, Hà Duy Anh wrote:Did you fix it??I also encounter the same error.
Vào 00:22:22 UTC+7 Thứ Năm, ngày 09 tháng 2 năm 2017, Patel Nilam đã viết:respected sir
when I run blackholeattack.c file from all files folder which are posted by http://ns2codeforblackholeattack.blogspot.in/2013/06/blackhole-attack.html this link using ns-allinone-2.35. i found following error. pls do needful to me.
num_nodes is set 25
INITIALIZE THE LIST xListHead
ns: _o39 blackhole1:
(_o39 cmd line 1)
invoked from within
"_o39 cmd blackhole1"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o39" line 2)
(SplitObject unknown line 2)
invoked from within
"_o39 blackhole1"