-   Linux - Newbie (
-   -   simulating blackhole attack and wormhole attack in ns-2 (

aditijigyasi 03-31-2010 06:36 AM

simulating blackhole attack and wormhole attack in ns-2
i want to implement blackhole attack and wormhole attack in ns-2 using the aodv protocol.I have implemented blackhole but it drops all the packets but i want it to drop selective packets how is that possible?

and how a wormhole attack is implemented in ns-2 at the network layer??

knudfl 03-31-2010 09:22 AM

Google :
.. wormhole attack is implemented in ns2 at the network layer ..
:: Shows 3,270 hits.

Google .. wormhole attack ns2 network layer ..
:: 2,820 hits.
So I think you may find some relevant information.

hashemi164 05-03-2010 07:04 AM

I want to implement a wormhole attack in ns-2 using the aodv or dsdv protocol. i need a tcl code for begin! i search for it, but could not find!can you help me?

firoznibras 07-11-2010 02:10 AM

i want to implement black hole attack. could any one help me?

knudfl 07-11-2010 02:39 AM

@ firoznibras, post # 4 : Welcome to LQ.
@ hashemi164, post # 3 : Welcome to LQ.

I guess, you will have to read the documentation
found with Google : Post #2.

And please have a look into "ns2 Contributed Code"
→ →
Lots of examples, may be some "black hole attack" code too.

gaya3venugopal 10-25-2010 04:38 AM

Please help me
please can u send me the code for creating blackhole attack.

neda_71 07-04-2016 07:13 AM

hello. plzzzz help me

i have problem in "make install"

for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
mkdir: cannot create directory `/usr/local/man/man1': Permission denied
make: *** [dirs] Error 1

how can solve it

hydrurga 07-04-2016 08:50 AM

You've resurrected a 6 year old thread on a different subject to post this.

I would suggest that you create a new thread with your problem and give us more information on the background of the problem, which distro you're using, which shell you're using, what you're trying to do etc...

I would also suggest that you change your username - if your username is a valid email address then you will be spammed from here to eternity.

All times are GMT -5. The time now is 01:46 PM.