Detection and Prevention for Blackhole Attack

114 views
Skip to first unread message

林峻弘

unread,
Jul 23, 2018, 8:20:01 PM7/23/18
to Network Simulator 2 (NS2)
I heve set blackhole attack environment, then want practice how to detection and prevention. How could i do for my purpose? 

knudfl

unread,
Jul 24, 2018, 6:37:56 PM7/24/18
to Network Simulator 2 (NS2)
"blackhole attack environment" :  I guess you mean the Mohit Tahiliani "blackholeAODV" ?

The Mohit Tahiliani "blackhole" is a basic / simple version.
Means limited options / limited information to get from a simulation.

The most used blackholeAODV :


Build example
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


林峻弘

unread,
Jul 26, 2018, 4:03:08 AM7/26/18
to Network Simulator 2 (NS2)
I try to run all tcl file, and appear only blackhole simulation or many Xgraph. What is that mean? How to  know it have prevented blackhole attack. Thanks.

knudfl於 2018年7月25日星期三 UTC+8上午6時37分56秒寫道:
Reply all
Reply to author
Forward
0 new messages