Question: You are supposed to capture all network traffic using packet sockets. Your task is to identify HTTP packets. For every received HTTP packet, you should
You are supposed to capture all network traffic using packet sockets. Your task is to identify HTTP packets. For every received HTTP packet, you should be able to tell source IP address, destination IP address, source port #, and destination port number.
You should also be able to tell HTTP packet type (GET and POST)
Following rubric will be used for evaluation
1) Identifying TCP packets
2) Displaying IP addresses and port numbers
3) Identifying HTTP packets
4) Identifying HTTP packet types
Note: Plz use C++ and Linux
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
