Generate an icmp echo request packet

Assignment Help C/C++ Programming
Reference no: EM131982044

Question - Sniff and then Spoof In this task, you will combine the sniffing and spoofing techniques to implement the following sniff-and then-spoof program.

You need two VMs on the same LAN. From VM A, you ping an IP X. This will generate an ICMP echo request packet. If X is alive, the ping program will receive an echo reply, and print out the response.

Your sniff-and-then-spoof program runs on VM B, which monitors the LAN through packet sniffing. Whenever it sees an ICMP echo request, regardless of what the target IP address is, your program should immediately send out an echo reply using the packet spoofing technique. Therefore, regardless of whether machine X is alive or not, the ping program will always receive a reply, indicating that X is alive.

You need to write such a program, and include screen dumps in your report to show that your program works. Please also attach the code (with adequate amount of comments) in your report.

Reference no: EM131982044

Questions Cloud

Calculate the NPV and decide if system is worth installing : Calculate the NPV and decide if the system is worth installing if the required rate of return is 10%.
Explain the efforts by the us firm you identified : Explain the efforts by the U.S. firm you identified to enter the host country's marketplace. Discuss the changes that occurred in host country's marketplace.
Ammonia and the other with hydrochloric acid : When two cotton plugs, one moistened with ammonia and the other with hydrochloric acid, are simultaneously inserted into opposite ends of a glass tube
What is the expected rate of return on your portfolio : The expected rate of return on the market portfolio is 11.25% and the risk–free rate of return is 2.50%. what is the expected rate of return on your portfolio?
Generate an icmp echo request packet : You need two VMs on the same LAN. From VM A, you ping an IP X. This will generate an ICMP echo request packet. If X is alive, the ping program will receive
What should be the market price of this stock today : What should be the market price of this stock today if investors' required rate of return is 13 percent?
How would their decision process be comparable to yours : What were the most important features and functions of the purchase? In the end, what feature led (will lead) you to your final decision?
How many square kilometers of crop should community plant : How many square kilometers of each crop should the community plant in order to maximize profits? What is the maximum profit?
Describe bill’s children interest in the property : Which of the following best describe Bill’s children’s interest in the property?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd