Need Code for the Implementation and Detection of Black Hole ATTack

74 views
Skip to first unread message

zohaib hassan

unread,
May 19, 2019, 6:45:29 AM5/19/19
to Network Simulator 2 (NS2)
Hello

If somebody has the code for NS2 regarding implementation and detection of black hole attack, Kindly share.

I urgently need that.

knudfl

unread,
May 19, 2019, 8:25:59 AM5/19/19
to Network Simulator 2 (NS2)

zohaib hassan

unread,
May 20, 2019, 8:04:46 AM5/20/19
to Network Simulator 2 (NS2)
Yes I have these files.

But I have to set my own parameters to detect Black Hole..

Si i want to know that where to know those parameters in aodv.cc file in order to detect the Black HOle.
Message has been deleted

Rakesh Patel

unread,
May 20, 2019, 8:50:52 AM5/20/19
to Network Simulator 2 (NS2)


go to with site and get AODV.CC and AODV.H file.
Simply copy and paste them.
Run the csript.

zohaib hassan

unread,
May 21, 2019, 6:11:18 AM5/21/19
to Network Simulator 2 (NS2)
do these files have blackhole attack and detection implemented?

knudfl

unread,
May 21, 2019, 7:08:46 AM5/21/19
to Network Simulator 2 (NS2)
Google,  ns2 detect blackhole


→  D_BH_AODV_20.tcl  : AODV with detected blackhole nodes for 20 nodes.

zohaib hassan

unread,
May 22, 2019, 7:04:54 AM5/22/19
to Network Simulator 2 (NS2)
Why this website "jgyan" is not opening? Is there any issue?


On Monday, May 20, 2019 at 5:50:52 PM UTC+5, Rakesh Patel wrote:

Rakesh Patel

unread,
May 22, 2019, 7:55:38 AM5/22/19
to ns-u...@googlegroups.com
It works very well.
Go to google.com and search jgyan follow the first link.
Go to NS2 Tutorials.
Regards

Rakesh Patel


--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/ccf67380-ba3c-4237-91bc-fb6cf490b878%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages