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.
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?
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 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.
Hi,
I am interested in evaluating the energy efficiency for aodv and leach protocol. I havent been able to get through with mannasim because of this error:
ns:
[code omitted because of length]
: invalid command name "DataGenerator/TemperatureDataGenerator"
while executing
"DataGenerator/TemperatureDataGenerator set sensing_interval_ 0.0"
Do anyone have a link that could be of help? Also I would appreciate if anyone has a file/link in which energy efficiency of this two protocols have been evaluated on ns2.
Be sure your contribution is highly valued
Thanks
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)
hie
which makefile should i insert
blackholeaodv/blackholeaodv_logs.o blackholeaodv/blackholeaodv.o \
blackholeaodv/blackholeaodv_rtable.o blackholeaodv/blackholeaodv_rqueue.o \
when i am running delay.awk file on AODV.tr and LAR.tr For AODV.tr , it is giving me the o/p value as some delay
but for LAR , its showing me the follwing error
gawk: e2edelay.awk:93: (FILENAME=larscen5.tr FNR=36516130) fatal: division by zero attempted
I was unable to recify the error. could you please help me.
thank you so much
this is the code of awk file which i am using for calculation of delay. kindly help
# http://205.196.121.184/fnufnnc17mwg/...c/e2edelay.awk
# http://mohittahiliani.blogspot.dk/20...s-for-ns2.html
# ===================================================================
# AWK Script for calculating:
# => Average End-to-End Delay.
# ===================================================================
BEGIN {
seqno = -1;
# droppedPackets = 0;
# receivedPackets = 0;
count = 0;
}
{
if($4 == "AGT" && $1 == "s" && seqno < $6) {
seqno = $6;
}
# else if(($4 == "AGT") && ($1 == "r")) {
# receivedPackets++;
# } else if ($1 == "D" && $7 == "tcp" && $8 > 512){
# droppedPackets++;
# }
#end-to-end delay
if($4 == "AGT" && $1 == "s") {
start_time[$6] = $2;
} else if(($7 == "cbr") && ($1 == "r")) {
end_time[$6] = $2;
} else if($1 == "D" && $7 == "cbr") {
end_time[$6] = -1;
}
}
END {
for(i=0; i<=seqno; i++) {
if(end_time[i] > 0) {
delay[i] = end_time[i] - start_time[i];
count++;
}
else
{
delay[i] = -1;
}
}
for(i=0; i<count; i++) {
if(delay[i] > 0) {
n_to_n_delay = n_to_n_delay + delay[i];
}
}
n_to_n_delay = n_to_n_delay/count;
print "\n";
# print "GeneratedPackets = " seqno+1;
# print "ReceivedPackets = " receivedPackets;
# print "Packet Delivery Ratio = " receivedPackets/(seqno+1)*100
#"%";
# print "Total Dropped Packets = " droppedPackets;
print "Average End-to-End Delay = " n_to_n_delay * 1000 " ms";
print "\n";
}
Hi,
I have been trying to get information on how to process the output of a tcl file (aodv and leach protocol using mannasim) which I got on my command line Iinterface. Actually, I don't even know the keywords to search as I am new to this and other minor attempts haven't yielded positive results., I know there is usually a trace file but I can't see any. All I see is on my command line.
I also observe that it took the space on the entire screen and I can't copy the output from the start ( I could only copy from node 19 out of 30 nodes) because of the huge number of output lines.
The last thing I havent been able to figure ou is whether temperature is equivalent to energy Iin mannasim as mannasim has only temperature and carbon dioxide?
Thanks