Question: After the per - packet pcap header is the tra c data. Improve your callback to decode IP packets. Your callback should obtain the source

After the per-packet pcap header is the trac data. Improve your callback to decode IP packets. Your callback should obtain the source and destination IP addresses, the protocol (e.g.TCP,UDP, ICMP, etc),source and destination transport port (where applicable),etc.
Several questions ask for an answer in the form of a distribution. Please note that a distribution must represent each value in the form of a fraction or percentage of the total. Answer the following questions:
3. How many IPv4 packets does the trace contain?
4. Estimate the size of the telescope (i.e., how many addresses does it monitor). Provide your estimate in stroke notation, e.g.,/8.
5. What is the packet protocol distribution? (A table showing the 5 top protocols and their respective contributions is ne.)
6. Plot a histogram of the packet size distribution.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!