i'm doing my final project about grayhole attack + ids in aodv routing protocol on vanet. Do you have any of that script (grayhole.tcl) that i can implement with your grayholeAODV + idsAODV patch? i got some error when i run my .tcl script:
num_nodes is set 30
Creating nodes...
INITIALIZE THE LIST xListHead
(_o653 cmd line 1)
invoked from within
"_o653 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 "_o653" line 2)
(SplitObject unknown line 2)
invoked from within
"_o653 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 "_o4" line 14)
(Simulator create-wireless-node line 14)
invoked from within
"_o4 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o4" 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]
ns_ at 0.0 "$node_($i) label GrayHoleAODV Node"
..."
(file "gray30node.tcl" line 65)
my .tcl file:
https://www.dropbox.com/s/l5juffskb6...e.tcl.txt?dl=0
So please send me example grayhole.tcl file. If you condescend to share, I'd be very thankful for your kindness.