Prevention from wormhole or blackhole attack NS2

113 views
Skip to first unread message

CHAFI Saad

unread,
May 10, 2018, 4:27:22 AM5/10/18
to Network Simulator 2 (NS2)

Hi community

Prevention from wormhole or blackhole attack NS2


Thank you

  

knudfl

unread,
May 11, 2018, 2:41:59 AM5/11/18
to Network Simulator 2 (NS2)
Please search for :  idsAODV https://groups.google.com/forum/?fromgroups#!searchin/ns-users/idsaodv%7Csort:date

blackholeaodv2013-ns235_1.patch
https://drive.google.com/file/d/0B7S255p3kFXNWWVDZzd2ZC14akE/view?usp=sharing

idsAODV-2-for-blackhole2013-patched_ns235.patch
https://drive.google.com/file/d/0B7S255p3kFXNT0FjUTBTR21sMzg/view?usp=sharing

idsAODV-examples-05.17.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNQjJlRWVEQVNCQUk/view?usp=sharing

tar xvf ns-allinone-2.35_gcc5.tar.gz
https
://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
cd ns
-allinone-2.35/
patch
-p0 < blackholeaodv2013-ns235_1.patch
https
://drive.google.com/file/d/0B7S255p3kFXNWWVDZzd2ZC14akE/view?usp=sharing
patch
-p0 < idsAODV-2-for-blackhole2013-patched_ns235.patch
https
://drive.google.com/file/d/0B7S255p3kFXNT0FjUTBTR21sMzg/view?usp=sharing
./install
cd ns
-2.35/
cp ns ns235
-blackhole+idsaodv
sudo cp ns235
-blackhole+idsaodv /usr/local/bin/

------------- Simulation ----------
ns235-blackhole+idsaodv idsaodv2.tcl

CHAFI Saad

unread,
May 14, 2018, 6:06:36 AM5/14/18
to Network Simulator 2 (NS2)
Hi knudfl 

i had do all the step that you give me , but how to run the simulation , this command doesn't work , can you please  give me a solution

------------- Simulation ---------- 
ns235-blackhole+idsaodv idsaodv2.tcl

knudfl

unread,
May 14, 2018, 7:16:50 AM5/14/18
to Network Simulator 2 (NS2)
@CHAFI Saad

»»doesn't work«« is not the error ouput.
... Please explain what happens. Did you greate an executable by name ns235-blackhole+idsaodv ?
Have you got the file 'idsaodv2.tcl' ?

CHAFI Saad

unread,
May 14, 2018, 7:25:10 AM5/14/18
to ns-u...@googlegroups.com
I Have not  got the file 'idsaodv2.tcl


--
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+unsubscribe@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.
For more options, visit https://groups.google.com/d/optout.

knudfl

unread,
May 14, 2018, 11:30:29 AM5/14/18
to Network Simulator 2 (NS2)



On Monday, May 14, 2018 at 1:25:10 PM UTC+2, CHAFI Saad wrote:
I Have not  got the file 'idsaodv2.tcl

2018-05-14 11:16 GMT+00:00 knudfl <knu...@ofir.dk>:
@CHAFI Saad

»»doesn't work«« is not the error ouput.
... Please explain what happens. Did you greate an executable by name ns235-blackhole+idsaodv ?
Have you got the file 'idsaodv2.tcl' ?




On Monday, May 14, 2018 at 12:06:36 PM UTC+2, CHAFI Saad wrote:
Hi knudfl 

i had do all the step that you give me , but how to run the simulation , this command doesn't work , can you please  give me a solution

------------- Simulation ---------- 
ns235-blackhole+idsaodv idsaodv2.tcl

Le jeudi 10 mai 2018 09:27:22 UTC+1, CHAFI Saad a écrit :

Hi community

Prevention from wormhole or blackhole attack NS2


Thank you

  

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

CHAFI Saad

unread,
May 14, 2018, 11:39:18 AM5/14/18
to ns-u...@googlegroups.com
HI 
i had run the simulation , but i don t see any change or the role of the IDS to prevent the attack 
can you please explain 
see the attached image.

To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
ids.JPG

knudfl

unread,
May 14, 2018, 1:25:51 PM5/14/18
to Network Simulator 2 (NS2)
@CHAFI Saad

Please do a search to find information ...

CHAFI Saad

unread,
May 21, 2018, 7:01:57 AM5/21/18
to ns-u...@googlegroups.com
Hi when i run the ids exemple ,it just simulate the attack blackhole ,but i need to do prevention for this attack , can you please help me

Thanks

To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages