This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 18-731 Network SecurityMiniproject 2Ad Hoc Routing AttackAssigned: March 24 2009Due 7th April 2009 11:59pm EST1IntroductionIn this lab you will work ingroups of 2to design and simulate attacks on two ad-hoc on demanddistance vector routing protocols1. DSR (Dynamic Source Routing)2. ARIADNEYou should use the material from lecture and readings to identify attacks against these pro-tocols. The goal in this lab is to reduce throughput of the network, thePacket Delivery Rate(PDR). You can most any type of attack you can imagine, provided you can encode the attack.2Simulation SetupTo save everyone the headache of configuring and installing ns-2 on their home machines, weare using autolab to compile and run your attacks. We will post information about servers onthe blackboard.ns-2 is a complex simulator that requires over 300 megabytes to install. For this lab anunderstanding of basic ns-2 operation is helpful. Here we discuss the basics of ns-2 operationand relevant code for your assignment.Before ns-2 runs a simulation it expects a number of parameters in several files to definethe number of nodes, the type of traffic, physical dimensions of space, how nodes move in thatspace, size of packets, etc. To provide a uniform grading environment and save you time autolabhas all of the scripts in place to setup and run simulations. All you need to do is modify theattack.configfile to define the routing protocol, number of nodes, run time, and mobility ofnodes. A script extracts the relevant information and runs the appropriate simulation.1While ns-2 simulates an attack it generates a trace file. This file has details about everypacket a node broadcasts or receives. Obviously, this file is quite large. Rather than having theautolab grade sheet include the trace information, the grade sheet includes a link to the tracefile. Note that autolab will delete these trace files after a given period of time to help free up diskspace. However, once your attack works you no longer need to examine the trace file. Autolabuses a script to calculate the Packet Delivery Rate (PDR) and includes that value in the autolab...
View Full Document
This note was uploaded on 03/31/2009 for the course ECE 18731 taught by Professor Perrig during the Spring '08 term at Carnegie Mellon.
- Spring '08