LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-26-2016, 03:34 AM   #1
Jeenat
LQ Newbie
 
Registered: Sep 2016
Posts: 4

Rep: Reputation: Disabled
Problems with configuring blackhole attack in AOMDV protocol


I have been able to configure blackhole attack in AODV protocol using a patch file in NS-2.35.
I tried to follow the procedure for AOMDV protocol but as a result the blackhole node is just been avoided and an alternate path is chosen.

What are the specific changes should be made in AOMDV protocol to implement the attack?
 
Old 09-27-2016, 09:39 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
some more information please

is ns2 actually working ?
is the tcl code correct ?
WHAT???? procedure are you fallowing ??????

some random web page ?
or a textbook ?
 
Old 09-28-2016, 12:34 AM   #3
Jeenat
LQ Newbie
 
Registered: Sep 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for responding.

i. NS-2 is working . I have run different tcl scripts and got trace files for them.
ii. The same tcl code worked perfectly with AODV before and after configuring blackhole attack.
iii. The link I followed for the patch file I used for blackhole attack in AODV : http://mohittahiliani.blogspot.com/2...k-in-ns-2.html
iv. I made the changes in aomdv.h and aomdv.cc following the added information in the patch file and compiled. The only exceptional change in the aomdv is the RREP message (attachment: aomdv.txt)

N.B: I have added three blackhole nodes.
Attached Files
File Type: txt aomdv.txt (419 Bytes, 51 views)
 
  


Reply

Tags
ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Detection and Prevention of Blackhole Attack, Wormhole Attack in MANET Using ACO in ns2 neda_71 Linux - Software 5 08-13-2016 02:43 PM
Detection and Prevention of Blackhole Attack, Wormhole Attack in MANET Using ACO in ns2 neda_71 Linux - Virtualization and Cloud 1 07-30-2016 06:15 AM
how to implementing black hole attack simulation on routing protocol AOMDV ns 2.35 q0dr1 Linux - Wireless Networking 3 07-02-2015 05:22 AM
blackhole attack implementation using AODV protocol in manet in NS2 liya Ravi Linux - Networking 3 02-16-2015 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 12:27 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