Question: Create a Python program using either dpkt or scapy to analyze your capture. The program should should create a sliding window of adjustable length.


Create a Python program using either dpkt or scapy to analyze your

Create a Python program using either dpkt or scapy to analyze your capture. The program should should create a sliding window of adjustable length. For each window return a number between -1 and 1, indicating the per- centage of packets being sent by the server, and received by the server. Make sure your program does not require the entire capture to be read into main memory. Produce a docu- ment that contains the following. 1. Plots of the results for several window sizes. 2. Extract the timestamp of the packet. Bin the packets by time, and produce an average as above. Plot your results. 3. Extract the IPs from the incoming packets. Produce a table of the top ten countries of origin. 4. A brief overview of how your code works.

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!