Flooding RREQ attack on AODV

179 views
Skip to first unread message

kafiramadhani borut

unread,
Sep 16, 2015, 10:07:57 AM9/16/15
to ns-3-users
hallo everyone..
im new in ns3 research..
i have problem for add malicious node for add flood attack on aodv,,
this is for my research..
can anyone share that code for me..?
plis help me sir..

Konstantinos

unread,
Sep 16, 2015, 10:48:53 AM9/16/15
to ns-3-users
Hi,

When you say you have problem with adding malicious nodes, is the problem "I can't find any readily available code?"
By reading and understanding it, you can create a RREQ flood attack scenario.

K.

Tommaso Pecorella

unread,
Sep 16, 2015, 10:55:04 AM9/16/15
to ns-3-users
Hi,

while we're usually very open to discuss things and to give suggestion for research topics, providing the full code for your research is really too much.

It's your research, and you should be able to do it. If we do the coding for you (as pointed out many times) it would be extremely unfair for you (you'd end up with something you don't really understand), for other researchers (we would help you and not the others) and for us (are you planning to add us to the authors of your papers or in your reports?).

My suggestion is: study ns-3, starting with the tutorial. Then study AODV (the standard) and the aodv module, then change it to do what you have in mind.
If you have specific doubts or questions, feel free to ask, but it should be something a bit more specific than what you asked. Juuust a bit.

Thanks,

T.

kafiramadhani borut

unread,
Sep 16, 2015, 11:13:56 AM9/16/15
to ns-3-...@googlegroups.com
thank u konstantinos.. for your help..


--
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/7OxXV0WUdKg/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.

kafiramadhani borut

unread,
Sep 16, 2015, 11:15:17 AM9/16/15
to ns-3-...@googlegroups.com
oke i understand tommaso.. thanks for your suggest

--

kafiramadhani borut

unread,
Sep 16, 2015, 12:38:55 PM9/16/15
to ns-3-...@googlegroups.com
konstantinus and tommaso, i have question for you guys

this code from mohit blogspot..
this code for node is malicious, it creates false routing table entry having sequence number much higher than that in RREQ message and hop count as 1. Malicious node itself sends the RREP message so that the route will be established through malicious node.

how can i change this code for aodv send RREQ Flood?
can i get help?

if(IsMalicious)
              {
                Ptr<NetDevice> dev = m_ipv4->GetNetDevice (m_ipv4->GetInterfaceForAddress (receiver));
                RoutingTableEntry falseToDst(dev,dst,true,rreqHeader.GetDstSeqno()+100,m_ipv4->GetAddress (m_ipv4->GetInterfaceForAddress       (receiver),0),1,dst,ActiveRouteTimeout);
               
                SendReplyByIntermediateNode (falseToDst, toOrigin, rreqHeader.GetGratiousRrep ());
                 return;
              }

i have suggestion for this code
              if(IsMalicious)
              {
                Ptr<NetDevice> dev = m_ipv4->GetNetDevice (m_ipv4->GetInterfaceForAddress (receiver));
                RoutingTableEntry falseToDst(dev,dst,true,rreqHeader+100.GetDstSeqno(),m_ipv4->GetAddress     m_ipv4->GetInterfaceForAddress       (receiver),nwifis),nwifis,dst,ActiveRouteTimeout);
               
                SendReplyByIntermediateNode (falseToDst, toOrigin, rreqHeader.GetGratiousRrep ());
                 return;
              }

how about that? can i send RREQ +100 for flooding?

Tommaso Pecorella

unread,
Sep 17, 2015, 5:28:26 AM9/17/15
to ns-3-users
Hi,

you can not change this code to perform a completely different attack without a basic understanding of the differences between your attack and the attack implemented in the code, and from your question it seems that you lack both.

Moreover, your (kind?) request "how can i change this code for aodv send RREQ Flood? can i get help?" can be translated into: "can you change the code in the if statement for me so I can get my attack done by you ?
As I said, this is totally out of question, and the simple fact that you're asking again this kind of help in coding is getting on my nerves. 
Change your attitude as soon as possible.

T.

kafiramadhani borut

unread,
Sep 17, 2015, 8:06:39 PM9/17/15
to ns-3-...@googlegroups.com
why you can not teach me about the science of it tomasso? why are you even blame what I did not know? please teach me .. because I was looking for knowledge .. not the enemy or insult .. I need help Tomasso .. I am here to ask the help of people who are experts like you .. and I do not need your help if you are not willing .. basically I only seek knowledge not support changing the code as you say ... sorry if I was wrong

kafiramadhani borut

unread,
Sep 17, 2015, 8:09:19 PM9/17/15
to ns-3-...@googlegroups.com
I only seek knowledge from people who want to share their knowledge ..
Reply all
Reply to author
Forward
0 new messages