Thank you sir for your help. I just have a something to ask about
:``idsAODV´´ + blackholeAODV.
my"thesis.pdf"
http://www.dokurer.net/files/documents/thesis.pdf
( Or
http://acikarsiv.atilim.edu.tr/eng/b...0/172.pdf?show )
... is about ``idsAODV´´ + blackholeAODV.
Code:
cd ns-allinone-2.34/
patch -p0 < idsAODV+blackholeaodv_ns234.patch
https://drive.google.com/file/d/0B7S255p3kFXNMTZjNE0xV3QxRW8/view?usp=sharing
patch -p0 < ns234_gcc49.patch
./install
cd ns-2.34/
cp ns ns234-idsAODV-blackhole
sudo cp ns234-idsAODV-blackhole /usr/local/bin/
ns234-idsAODV-blackhole blackholeaodv__idsAODV__dokurer.tcl
i have problem when used "ns234-idsAODV-blackhole blackholeaodv__idsAODV__dokurer.tcl"
os@ubuntu:~/ns-allinone-2.34/ns-2.34$ ns234-idsAODV-blackhole blackholeaodv__idsAODV__dokurer.tcl
num_nodes is set 20
Creating nodes...
INITIALIZE THE LIST xListHead
(_o433 cmd line 1)
invoked from within
"_o433 cmd addr"
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 "_o433" line 2)
(SplitObject unknown line 2)
invoked from within
"_o433 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o3" line 14)
(Simulator create-wireless-node line 14)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns_ node"
("for" body line 2)
invoked from within
"for {set i $val(nnaodv)} {$i < $val(nn)} {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0 ;#disable random motion
$ns_ at 0.01 "$node_(..."
(file "blackholeaodv__idsAODV__dokurer.tcl" line 63)
os@ubuntu:~/ns-allinone-2.34/ns-2.34$
Simulation : ns234-idsAODV-blackhole blackholeaodv__idsAODV__dokurer.tcl
... is fail, the files sim1forBlackHole.nam and sim1forBlackHole.tr are created.
please help me too solve it.
help me to perevent black hole attak.