I have implemented black hole attack in AODV protocol. I simulated it through NS2 simulator and every time during building the simulator the simulator is built but after the result analysis and observing the NAM simulation I saw that the black hole is not working properly . The packets are not being dropped. So if anybody has done that please suggest me where should I correct my errors.
I installed ns2 using (sudo apt-get install ns2)
I hav code for black hole attack in aodv manet and while trying to run it on ns2 Im getting the fallowing error message
please tell me how to fix this..??
INITIALIZE THE LIST xListHead
(_o58 cmd line 1)
invoked from within
"_o58 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 "_o58" line 2)
(SplitObject unknown line 2)
invoked from within
"_o58 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"
invoked from within
"set node_(2) [$ns node]"
(file "atk3.tcl" line 55)
hello
As part of my research paper,I want to implement blackhole attack in manet using AODV protocol in NS2.Also I want to make changes in AODV protocol to implement my solution to detect blackhole attack and prevent it. How can I configure the attacker node? Which files should be changed to improve AODV protocol? and how run aodv protocol?
Hello All,
I have no idea to implement vampire attack in NS2 using AODV.I found some tutorial to simulate energy model for the aodv but how to simulate attack in AODV did not found any help means what mush be change in AODV.CC to make sending packet in loop so that node will consume enrgy and show this energy consumtion using graph.
Hello All,
I have no idea to implement vampire attack in NS2 using AODV.I found some tutorial to simulate energy model for the aodv but how to simulate attack in AODV did not found any help means what mush be change in AODV.CC to make sending packet in loop so that node will consume enrgy and show this energy consumtion using graph.
Hi,
i wana implement the watchdog & pathrater on AODV protocol in MANETS for misbehaving nodes on NS2.35. I wana show its performance analysis via xgraph. I have added a malicious node on AODV protocol after that i couldnt figure out how can i implement watchdog and pathrater and show analysis via xgraph. I have chcked the similar threads here but it was for ns 2.34 but still i tried it and m getting errors. I downloaded the watchdog zip files and followed the instructions of text file of it. One more thing, is it necessary to set all nodes for promiscuous mode??I also need code for that. I put the watchdog-basic.zip folder in AODV folder which was inside of ns-2.35 but what should be the tcl script for watch dog i have aodv tcl file in which malicious node is added too. I am new to ns2 and linux. Please help anyone i urgently need answers.
i m having problem in running a simulator on redhat linux 8.0. its been downloaded from uscream.cs.tu-berlin.de/minsimulate/install.html .
the name of simulator is MINsimulate. it has a tool along with it named akaroa. that is also available from the site. i have tried to configure the above on my linux version but it gives error with saying" akaroa libraries not found".( i cannot send the attachment here). if anybody can help me.
i will mail the simulator to his or her email id.
well if anybody has any simulator on multistage interconnection networks then it might help me.
thanks.
hie
which makefile should i insert
blackholeaodv/blackholeaodv_logs.o blackholeaodv/blackholeaodv.o \
blackholeaodv/blackholeaodv_rtable.o blackholeaodv/blackholeaodv_rqueue.o \
Hi all i hav problem in NS2. whenever creating an new simulator it shows an error for invalid command name "new". how to solve this problem plz help me
Thanks in advance
Nanda
how can i add k-means algorithm on zrp protocol ?????? in ns2?
I want to add k-means clustering alg. for ZRP protocol to make it run with the inter-zone routing protocol for inter clustering and with intra-zone for intra clustering. note that i am using ns-2.35/ubuntu10.04 and the ZRP was completely added to the simulator
Hi
It's my first post,please bear with us.I write thesis "The concept of using energy metrics for route selection in OLSR routing protocol". I use the simulator ns2, and UM-OLSR patch. In tlc script I use "Energy model". How and where(in code, or tcl cript) I can change parameter "willingness" during simulation to take into account the level of battery.
pseudocode
if (battery < 1.0) && (battery > 0.8)
{willingnes = WILL_ALWAYS};
else if (battery < 0.8) && (battery > 0.4)
{willingnes = WILL_DEFAULT};
else if (battery < 0.4) && (battery > 0.2)
{willingnes = WILL_LOW};
else if (battery < 0.2)
{willingnes = WILL_NEVER};