LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2010, 06:36 AM   #1
aditijigyasi
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Question 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??
 
Old 03-31-2010, 09:22 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Google :
.. wormhole attack is implemented in ns2 at the network layer ..
http://www.google.com/search?hl=en&s...=&oq=&gs_rfai=
:: Shows 3,270 hits.

Google .. wormhole attack ns2 network layer ..
:: 2,820 hits.
So I think you may find some relevant information.
.....
 
Old 05-03-2010, 07:04 AM   #3
hashemi164
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
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?

Last edited by hashemi164; 05-08-2010 at 06:44 AM.
 
Old 07-11-2010, 02:10 AM   #4
firoznibras
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
i want to implement black hole attack. could any one help me?
 
Old 07-11-2010, 02:39 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ 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"
http://nsnam.isi.edu/nsnam/index.php/Contributed_Code
→ →
Lots of examples, may be some "black hole attack" code too.
.
 
Old 10-25-2010, 04:38 AM   #6
gaya3venugopal
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Please help me

please can u send me the code for creating blackhole attack.
 
Old 07-04-2016, 07:13 AM   #7
neda_71
Member
 
Registered: Jul 2016
Location: Oregon, USA
Distribution: Lubuntu 14.04, ns2
Posts: 32

Rep: Reputation: Disabled
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 ;\
fi;\
done
mkdir: cannot create directory `/usr/local/man/man1': Permission denied
make: *** [dirs] Error 1


how can solve it
 
Old 07-04-2016, 08:50 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
 
  


Reply

Tags
ns2, wormhole



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in simulating Black Hole Attack in AODV Protocol through NS2 in FC8 shyan Linux - Newbie 3 02-17-2015 03:21 PM
Possible Attack Jason72 Linux - Security 7 08-06-2007 06:55 PM
What attack could this be??? darrel Linux - Security 10 02-26-2005 10:10 PM
What to do during an attack? revenant Linux - Security 9 04-02-2004 12:18 AM
Help I am UNDER ATTACK... needamiracle Linux - Security 28 04-22-2003 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration