{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab-handout - 18-731 Lab 2 Ad Hoc Routing Attack April 3...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
18-731 Lab 2 Ad Hoc Routing Attack April 3, 200 8 Due April 24, 200 8 1 Introduction In this lab you will work in groups of 2 to design and simulate attacks on two ad-hoc on demand distance vector routing protocols 1 DSR (Dynamic Source Routing) 2 ARIADNE You should use the material from lecture and readings to identify attacks against these protocols. The goal in this lab is to reduce throughput of the network, the Packet Delivery Rate (PDR) . You can most any type of attack you can imagine, provided you can encode the attack. 2 Simulation Setup To save everyone the headache of configuring and installing ns-2 on their home machines, we are using autolab to compile and run your attacks. We will post information about servers on the blackboard. ns-2 is a complex simulator that requires over 300 megabytes to install. For this lab an understanding of basic ns-2 operation is helpful. Here we discuss the basics of ns-2 operation and relevant code for your assignment. Before ns-2 runs a simulation it expects a number of parameters in several files to define the number of nodes, the type of traffic, physical dimensions of space, how nodes move in that space, size of packets, etc. To provide a uniform grading environment and save you time autolab has all of the scripts in place to setup and run simulations. All you need to do is modify the attack.config file to define the routing protocol, number of nodes, run time, and mobility of nodes. A script extracts the relevant information and runs the appropriate simulation. While ns-2 simulates an attack it generates a trace file. This file has details about every packet a node broadcasts or receives. Obviously, this file is quite large. Rather than having the 1
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
autolab grade sheet include the trace information, the grade sheet includes a link to the trace file. Note that autolab will delete these trace files after a given period of time to help free up disk space. However, once your attack works you no longer need to examine the trace file. Autolab
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern