--To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/95eIAB2jOOw/unsubscribe.
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.Visit this group at http://groups.google.com/group/ns-3-users.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Thanks for your reply.
// problem is here
/*Code Section : In this we need to increment the ttl so that hello message send from source to destination reached properly
* */
Did you already solve this problem? In this case. How did you do this. Is it important? What does it mean?.
2. I want to know if the wrmDetect Method is already implemented.
Two last questions. Do you have results of this implementation? what problems did you find in implementing this wormhole attack?
.AddAttribute ("IsMalicious","Indicates whether a node is malicious.", BooleanValue(false), MakeBooleanAccessor (&RoutingProtocol::SetMaliciousNodeEnable, &RoutingProtocol::GetMaliciousNodeEnable), MakeBooleanChecker())
Now,I know if i want only some nodes are malicious I have to use:
Config::Set ("/NodeList/4/$ns3::aodv::RoutingProtocol/IsMalicious", BooleanValue (true));
In the topology script. What I want to know is HOW SHOULD THE MALICIOUS NODES DO TO RESPONSE FIRST THAN ANY OTHER NODE? AND AFTER THAT, HOW TO DROP THE PACKETS SENT BY THE SOURCE NODE?
The objective of the simulation is to calculate the impact of blackhole attack, in number of packets received, and in the Throughput of AODV with vs without black hole attack.
Thank you in advance sir.
Hi dearI want to simulate Wormhole attack in NS2. but can't it.please help me.
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/95eIAB2jOOw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com. Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
hi Rahul,
--
dear sir,,
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
Hello sir.i'm also working on wormhole but i am not able to create wormhole attack in ns2. Can you please help me out.Please send me the code.
hello
can anybody tell me steps to start simulation of wormhole attack in ad hoc network using ubuntu terminal
Rahul Sir ,
can you pls send me the code of the topology script you made to show the properties of wormhole attack. And did you make any code for its detection.
ok sir.
I agree with Tommaso. Please, stop asking for help if it is related to give the code for "free". I recommend working for you own reading the tutorial and supporting the community.

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/95eIAB2jOOw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
hello sir,
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/95eIAB2jOOw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
Dear ,For the simulation of Wormhole attack you can use following AODV filescopy the below two file in .../src/aodv/model- aodv-routing-protocol.cc- aodv-wouting-protocol.hOn Wed, Feb 25, 2015 at 10:18 PM, Pranava Durai <pranav...@gmail.com> wrote:while i run the code wormhole attack i have these errors.can anyone help me??
Thank you,
../scratch/aodv-routing-protocol.cc: In static member function ‘static ns3::TypeId ns3::aodv::RoutingProtocol::GetTypeId()’:
../scratch/aodv-routing-protocol.cc:276:25: error: ‘SetWrmDetectEnable’ is not a member of ‘ns3::aodv::RoutingProtocol’
MakeBooleanAccessor(&RoutingProtocol::SetWrmDetectEnable,
^
../scratch/aodv-routing-protocol.cc:277:12: error: ‘GetWrmDetectEnable’ is not a member of ‘ns3::aodv::RoutingProtocol’
&RoutingProtocol::GetWrmDetectEnable),
^
../scratch/aodv-routing-protocol.cc: In member function ‘virtual void ns3::aodv::RoutingProtocol::PrintRoutingTable(ns3::Ptr<ns3::OutputStreamWrapper>) const’:
../scratch/aodv-routing-protocol.cc:318:31: error: no matching function for call to ‘ns3::aodv::RoutingTable::Print(ns3::Ptr<ns3::OutputStreamWrapper>&) const’
m_routingTable.Print (stream);
^
../scratch/aodv-routing-protocol.cc:318:31: note: candidate is:
In file included from ../scratch/aodv-routing-protocol.h:31:0,
from ../scratch/aodv-routing-protocol.cc:31:
../scratch/aodv-rtable.h:245:8: note: void ns3::aodv::RoutingTable::Print(std::ostream&)
void Print(std::ostream &os);
^
../scratch/aodv-rtable.h:245:8: note: no known conversion for argument 1 from ‘ns3::Ptr<ns3::OutputStreamWrapper>’ to ‘std::ostream& {aka std::basic_ostream<char>&}’
../scratch/aodv-routing-protocol.cc: In member function ‘void ns3::aodv::RoutingProtocol::RecvReply(ns3::Ptr<ns3::Packet>, ns3::Ipv4Address, ns3::Ipv4Address)’:
../scratch/aodv-routing-protocol.cc:1499:6: error: ‘EnableWrmDetect’ was not declared in this scope
if(EnableWrmDetect)
^
../scratch/aodv-routing-protocol.cc:1583:11: error: ‘EnableWrmDetect’ was not declared in this scope
if(EnableWrmDetect)
On Tuesday, 29 January 2013 05:49:25 UTC+5:30, rahul hada wrote:Hello Everyone,What is the best way to simulate wormhole attack using aodv routing protocolThank in Advance :)Rahul
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/95eIAB2jOOw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/95eIAB2jOOw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
On Tuesday, 29 January 2013 05:49:25 UTC+5:30, rahul hada wrote:Hello Everyone,What is the best way to simulate wormhole attack using aodv routing protocolThank in Advance :)Rahul
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/95eIAB2jOOw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
Hopefully this is the correct posting area:
- First I would like to say that whoever wrote the tutorial for NS-3 did an excellent job. I was impressed how the topics flowed from one area to the other. Also, I really liked the explanations for each piece of code in the examples.
- After going through all the examples, I have a better understanding of how NS-3 works and where everything is located in Ubuntu.
- Since I am a beginner in the Linux OS, I don’t understand how some things are done, especially recompiling.
- I am interested in the wormhole attack so I have been reading all the posts by you on the subject. Along with this, I have downloaded the files: aodv-routing-protocol.cc, aodv-routing-protocol.h, myapp.h, and the example program, wormhole.cc.
- Here are my questions:
o After putting the aodv-routing-protocol.cc and aodv-routing-protocol.h into the ns-3.27/src/aodv/model directory, do I have to recompile NS-3?
o If I do recompile, what directory do I need to change to? What command do I use to recompile?
o The example file, wormhole.cc, is put in the scratch directory. I am guessing the myapp.h should also be put in there.
o Does a step-by-step tutorial exist on wormhole attacks in NS-3?
Sorry for the delay in response.I have used packet encapsulation method
On Thu, Apr 27, 2017 at 11:16 PM, <hs.elcn...@gmail.com> wrote:
Hi everyone, and thanks Rahul Hada for posting the code regarding wormhole attack.
As you know wormhole attack can be implemented in several ways including out-of-band channel, packet encapsulation, high power transmission, etc.
Can you please tell me which kind does this code simulate?
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/95eIAB2jOOw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
Hopefully this is the correct posting area:
- First I would like to say that whoever wrote the tutorial for NS-3 did an excellent job. I was impressed how the topics flowed from one area to the other. Also, I really liked the explanations for each piece of code in the examples.
- After going through all the examples, I have a better understanding of how NS-3 works and where everything is located in Ubuntu.
- Since I am a beginner in the Linux OS, I don’t understand how some things are done, especially recompiling.
- I am interested in the wormhole attack so I have been reading all the posts by you on the subject. Along with this, I have downloaded the files: aodv-routing-protocol.cc, aodv-routing-protocol.h, myapp.h, and the example program, wormhole.cc.
- Here are my questions:
o After putting the aodv-routing-protocol.cc and aodv-routing-protocol.h into the ns-3.27/src/aodv/model directory, do I have to recompile NS-3?
o If I do recompile, what directory do I need to change to? What command do I use to recompile?
o The example file, wormhole.cc, is put in the scratch directory. I am guessing the myapp.h should also be put in there.
o Does a step-by-step tutorial exist on wormhole attacks in NS-3?
./waf clean
./waf configure --build-profile=optimized --enable-examples --enable-tests
./waf build
Can I uninstall waf and reinstall it?
Do I have to uninstall it? (Is there some way of getting it to work again?)
Is there a method for the compiler to only recompile changes to the aodv-routing-protocol.cc? (Couldn't find it in The Waf Book)
The error received is "Invalid new expression of abstract class 'ns3::aodv::RoutingProtocol'". Any suggestions or references?
cd workspace/ns-allinone-3.27
./build.py --enable-examples --enable-tests
cd ns-3.27
./test.py
./waf -d debug --enable-examples --enable-tests configure
Hello every one
Thank in Advance :)Yahya