How to add malicious node in ns2.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to add malicious node in ns2.

tnsawant
This post has NOT been accepted by the mailing list yet.
I need help on
how to add malicious node in ns2 ?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to add malicious node in ns2.

MOKHFI
This post has NOT been accepted by the mailing list yet.
YOU USE WITCH PROTOCOLE? I'M USING GPSR AND I CAN'T FOUND HOW ?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to add malicious node in ns2.

tnsawant
This post has NOT been accepted by the mailing list yet.
I an using IEEE 802.11 protocol.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to add malicious node in ns2.

knudfl
This post has NOT been accepted by the mailing list yet.
This post was updated on .
In reply to this post by tnsawant
> @tnsawant
> how to add malicious node

AODV malicious → aodv-malicious_ns235.patch
https://drive.google.com/file/d/0B7S255p3kFXNU0VNbUtIWlJpRk0/view?usp=sharing

Or you may want "blackholeAODV" :  blackholeaodv2013-ns235_1.patch
https://drive.google.com/file/d/0B7S255p3kFXNWWVDZzd2ZC14akE/view?usp=sharing

tar xvf ns-allinone-2.35_gcc482.tar.gz ( For all gcc versions 4.6 - 5.3 )
https://drive.google.com/file/d/0B7S255p3kFXNSGJCZ2YzUGJDVk0/view?usp=sharing
patch -p0 <  [patch-name].patch
./install
cd ns-2.35/
sudo make install
cp ns ns-new-name ( This is your backup )
sudo cp ns-new-name /usr/local/bin/

Simulation, example commands :
ns235-malicious aodv-m-Xgr.tcl
ns235-blackh blackhole20-1.tcl

All simulation examples :
malicious https://drive.google.com/file/d/0B7S255p3kFXNRVBTU2JOUnpKclk/view?usp=sharing
blackhole https://drive.google.com/file/d/0B7S255p3kFXNUmJGd0ZyNUhvVFU/view?usp=sharing
... And new examples, including Xgraph output :
https://drive.google.com/file/d/0B7S255p3kFXNN09QS0RtS2lRaFk/view?usp=sharing

-



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to add malicious node in ns2.

knudfl
This post has NOT been accepted by the mailing list yet.
In reply to this post by MOKHFI
> @MOKHFI
> GPSR malicious

There have been some attempts to add "malicious" (blackhole) to the ns2 GPSR.
No luck, sorry.
Loading...