gray hole attack

1,451 views
Skip to first unread message

shrihari khatawkar

unread,
Aug 26, 2011, 5:44:39 AM8/26/11
to ns-u...@googlegroups.com
hi ...
i want to implement gray hole attack on manet and compare the performance before and after the presence of gray hole in manet 
what should i do .....to implement it 
plz guide me 
thank you

--
--   Shrihari Khatawkar.   -- 
      09226717193


  

rabia ..

unread,
Aug 26, 2011, 7:02:36 AM8/26/11
to ns-u...@googlegroups.com

http://www.dokurer.net/node/1

Date: Fri, 26 Aug 2011 15:14:39 +0530
Subject: gray hole attack
From: shrihari...@gmail.com
To: ns-u...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To post to this group, send email to ns-u...@googlegroups.com.
To unsubscribe from this group, send email to ns-users+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-users?hl=en.

Sagar Barbate

unread,
Oct 25, 2012, 6:09:30 AM10/25/12
to ns-u...@googlegroups.com
hey people can u plz suggest any other links this website is currently down for maintenance.

Kishore Ravi

unread,
Oct 25, 2012, 11:00:45 AM10/25/12
to ns-u...@googlegroups.com
Hi Sagar Barbate,

This is Ravi kishore

If you familiar with adding a new protocol my code will work. It contains both black and gray hole attack simulation.

if you have any problem mail to kisho...@gmail.com


find the attachment in your gmail.

Naren Tada

unread,
Oct 25, 2012, 1:17:48 PM10/25/12
to ns-u...@googlegroups.com
Hello,

this link might help you.

http://naren.ketantada.com/category/ns2/



--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.

naren V tada

unread,
Mar 4, 2013, 6:33:01 AM3/4/13
to ns-u...@googlegroups.com
Hello, this might give some hints...

http://narentada.com/adding-grayhole-attack/

Thanks.

Indrajeet Kumar

unread,
Mar 19, 2013, 8:26:28 AM3/19/13
to ns-u...@googlegroups.com
I want to design an IDS for black hole attack in MANET, if nay oane having the code of AODV protocol then plz mail me.
mail me at    erind...@gmail.com



On Friday, August 26, 2011 3:14:39 PM UTC+5:30, shrihari wrote:

Pramod Soni

unread,
Apr 8, 2014, 8:15:51 AM4/8/14
to ns-u...@googlegroups.com
hi ...
i want to implement gray hole attack on manet and compare the performance before and after the presence of gray hole in manet 
what should i do .....to implement it 
plz guide me 
thank you
reply me  or send code on pramod....@gmail.com


On Friday, August 26, 2011 3:14:39 PM UTC+5:30, shrihari wrote:

mahesh kumar kumawat

unread,
Jun 13, 2014, 9:00:20 PM6/13/14
to ns-u...@googlegroups.com
Sir this link was not working please can you send me gray hole attack related code at my mail id kkmahe...@gmail.com.
thanks in advanced

mahesh kumar kumawat

unread,
Jun 13, 2014, 9:03:24 PM6/13/14
to ns-u...@googlegroups.com
hi ...
i want to implement gray hole attack on manet and compare the performance before and after the presence of gray hole in manet 
what should i do .....to implement it 
plz guide me 
thank you
reply me  or send code on kkmahe...@gmail.com
Mahesh Kumar Kumawat
8058109434

Monika Verma

unread,
Sep 1, 2014, 9:27:32 AM9/1/14
to ns-u...@googlegroups.com


can you plz send me your code??



 

knudfl

unread,
Sep 1, 2014, 10:26:20 AM9/1/14
to ns-u...@googlegroups.com

Monika Verma

unread,
Sep 13, 2014, 3:13:53 AM9/13/14
to ns-u...@googlegroups.com
hi kundfi,
 i have implemented flooding attack in AODV by using following link..

http://karthicksivakrr.blogspot.in/2014/02/creation-of-flooding-attack-in-ns2-aodv.html

but i m understanding that how i can add flooding attack in DSR....i tried to understand code of dsr....that is very different than AODV...there is no BroadcastTimer class and timers in dsr_proto.h and dsr_proto.cc file.....plz help me...its urgent..

Monika Verma

unread,
Sep 16, 2014, 3:27:38 AM9/16/14
to ns-u...@googlegroups.com

how can  i use this???
because this is a part of code...

knudfl

unread,
Sep 16, 2014, 5:48:24 AM9/16/14
to ns-u...@googlegroups.com
@Monika Verma , Hi .

"" How can  I use this ? ? ? "  :   Please define  ```this´´´.
→ →  File names, links , etc. etc., please.

-

knudfl

unread,
Sep 16, 2014, 6:01:43 AM9/16/14
to ns-u...@googlegroups.com
@Monika Verma , Hi .

Ref.  http://www.dcs.warwick.ac.uk/~adhoc1/malicious.html
Example file, concerning the above text ...
http://www.dcs.warwick.ac.uk/~adhoc1/mastertclfile.html
.... Attached as  mastertclfile.tcl .

-
mastertclfile.tcl

Monika Verma

unread,
Sep 17, 2014, 3:41:42 AM9/17/14
to ns-u...@googlegroups.com
hi kundfl,
              thank you so much...i need ur help in some other code also....
i have implemented rushing and flooding attack in aodv by using following links..

http://wirelessnetworksecurity11.blogspot.in/2014/01/rushing-attacks-jellyfish-and-byzantine.html

http://karthicksivakrr.blogspot.in/2014/02/creation-of-flooding-attack-in-ns2-aodv.html

but i m not understanding how can i implement these in dsr..........because code of dsr is very different than aodv............
plz help....i also mailed you by mail-archive site....

Sadij Bader

unread,
Apr 24, 2015, 11:40:11 PM4/24/15
to ns-u...@googlegroups.com

Haseeb Khan

unread,
Jun 30, 2015, 6:13:32 AM6/30/15
to ns-u...@googlegroups.com
please send me a link for ns2.....

Haseeb Khan

unread,
Jun 30, 2015, 6:16:14 AM6/30/15
to ns-u...@googlegroups.com
bro did u have link from where i can download NS2 


On Friday, 26 August 2011 14:44:39 UTC+5, shrihari wrote:

knudfl

unread,
Jun 30, 2015, 9:54:25 AM6/30/15
to ns-u...@googlegroups.com
@Haseeb Khan ,   Hi.

Oct 2014 update, ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNSGJCZ2YzUGJDVk0/view?usp=sharing

-

Haseeb Khan

unread,
Jun 30, 2015, 2:06:15 PM6/30/15
to ns-u...@googlegroups.com
thanks dear 4 sending this,,,,

BEST REGARDS:

                  HASEEB  AHMAD
                  DEPARTMENT OF 
                      計算機科學
                  
 

--
You received this message because you are subscribed to a topic in the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-users/vheKv222Dl8/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.

Haseeb Khan

unread,
Aug 6, 2015, 7:44:33 AM8/6/15
to ns-u...@googlegroups.com
hi,
did you have EAACk code ...kindly help me in this perspective...
thanks in advance...

Abhishek K

unread,
Feb 24, 2016, 7:31:10 AM2/24/16
to Network Simulator 2 (NS2)
Iam working on EAACK.
could anyone help me to do that.
Thanks
Abhi

Neda Esd

unread,
Aug 15, 2016, 7:59:40 AM8/15/16
to Network Simulator 2 (NS2)


On Friday, August 26, 2011 at 2:14:39 PM UTC+4:30, shrihari wrote:
hi ...
i want to implement worm hole attack on manet
what should i do .....to implement it 
plz help me
thank you
  

Hitesh Sharma

unread,
Jul 23, 2019, 1:30:22 PM7/23/19
to Network Simulator 2 (NS2)

I am Hitesh Sharma, studying pursuing Master of Engineering in Mobile Communication and Network Technology. I am currently working Attacks in MANET using NS-2.35 Simulator in Ubuntu 16.04 OS

Till now I have implemented various protocols and obtained their Results using various methods like .awk script , .pl script and gnuplot , tracegraph and WING Tool.

I need help to implement Grayhole Attack in NS2 in AODV Protocol .

I have tried many methods but i am not able to genrate deseired results.

Hope you all will surely help me out

Regards,
Hitesh Sharma,
Student,
ME - Mobile Communication and Network Technology,
GTU School of Engineeing and Technology,
Gnadhinagar.


Please visit :

Website : https://hiteshsharma720.wixsite.com/networksimulation

YouTube : https://www.youtube.com/playlist?list=PLRhKj2W2mWd7vnaHCgvtJJpKlMzsqK6KG

Linkedin : https://www.linkedin.com/in/hitesh-sharma-a80983bb/

Hitesh Sharma

unread,
Jul 24, 2019, 1:11:44 PM7/24/19
to Network Simulator 2 (NS2)
Hi,

Can anyone please help me with the required chance to done to implement a gray hole malicious node in AODV routing protocol in ns2

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/71478510-1d15-4174-98e0-9aedd11ed1a5%40googlegroups.com.

knudfl

unread,
Jul 24, 2019, 2:09:43 PM7/24/19
to Network Simulator 2 (NS2)
@Hitesh Sharma ,  Hi.



An example.tcl is attached :  greyhole-mastertclfile.tcl




On Wednesday, July 24, 2019 at 7:11:44 PM UTC+2, Hitesh Sharma wrote:
Hi,

Can anyone please help me with the required chance to done to implement a gray hole malicious node in AODV routing protocol in ns2

On Tue, 23 Jul 2019, 11:00 pm Hitesh Sharma, <hiteshs...@gmail.com> wrote:

I am Hitesh Sharma, studying pursuing Master of Engineering in Mobile Communication and Network Technology. I am currently working Attacks in MANET using NS-2.35 Simulator in Ubuntu 16.04 OS

Till now I have implemented various protocols and obtained their Results using various methods like .awk script , .pl script and gnuplot , tracegraph and WING Tool.

I need help to implement Grayhole Attack in NS2 in AODV Protocol .

I have tried many methods but i am not able to genrate deseired results.

Hope you all will surely help me out

Regards,
Hitesh Sharma,
Student,
ME - Mobile Communication and Network Technology,
GTU School of Engineeing and Technology,
Gnadhinagar.


Please visit  :

Website : https://hiteshsharma720.wixsite.com/networksimulation 

YouTube : https://www.youtube.com/playlist?list=PLRhKj2W2mWd7vnaHCgvtJJpKlMzsqK6KG

Linkedin : https://www.linkedin.com/in/hitesh-sharma-a80983bb/

--
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-u...@googlegroups.com.
greyhole-mastertclfile.tcl

Hitesh Sharma

unread,
Jul 26, 2019, 10:50:18 AM7/26/19
to Network Simulator 2 (NS2)
Sir,

I am facing this errors while executeing patch file and running grayholemaster.tcl file.
Please guide me

Regards,
Hitesh Sharma,
Student,
ME - Mobile Communication and Network Technology,
GTU School of Engineeing and Technology,
Gandhinagar.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/e37be111-134c-4961-9726-735a8080819b%40googlegroups.com.
IMG-20190726-WA0003.jpg
IMG-20190726-WA0004.jpg

knudfl

unread,
Jul 26, 2019, 1:46:26 PM7/26/19
to Network Simulator 2 (NS2)
@Hitesh Sharma.

"You should avoid posting pictures of text. Pictures can be hard to read. Text is easier to read in different screen formats, can be copied and pasted, as well as is search engine addressable, making it easier for people to reach this post who may have a similar issue."
...  My comment :  I guess you know how to copy-paste a text.

Build example
tar xvf ns-allinone-2.35_gcc5.tar.gz         //  2014 update
https
://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
cd ns
-allinone-2.35/
patch
-p0 < grayholeaodv_ns235.patch
https
://drive.google.com/file/d/0B7S255p3kFXNZEthbi1SSUxpeWs/view?usp=sharing
./install
           
// ( or :  $ export CC=gcc-4.8 CXX=g++-4.8 && ./install


Hitesh Sharma

unread,
Jul 27, 2019, 10:38:49 AM7/27/19
to Network Simulator 2 (NS2)
Sir @knudfl,


I have successfully install the ns-allinone-2.35gcc5 provided by you and I have also patch the gray-hole files as per your instructions without error.

If I am writing any tcl file,

By which syntax or command I can define a particular node as gray-hole node.

For example in blackhole attack
I am using
$ns_ at 1 "[$node_(14) set ragent_] blackhole"


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

knudfl

unread,
Jul 27, 2019, 11:28:56 AM7/27/19
to Network Simulator 2 (NS2)
Hi.

....  is supposed to be "Grayhole Attack", but doesn't work as is ... needs some editing.


Hitesh Sharma

unread,
Jul 27, 2019, 1:15:38 PM7/27/19
to Network Simulator 2 (NS2)
Sir knudfl,

If i have implemented a patch, their should a function , when called, will act as grayhole attack.

In this case, funcation is not know to me. If i will run someone else's tcl file, the described funcation in it will only work in that particulat system.

I have tried and gone through the patch file to find out the funtion  buti was not able to do so.

--
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.
Reply all
Reply to author
Forward
0 new messages