Reading PCAP with python

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 percentage 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.

• Plot the results for several window sizes.

• Modify your program to extract the timestamp of the packet. Bin the packets by time, and produce an average as above. Plot your results.

• Extract the IPs from the incoming packets.

Last Updated on February 11, 2019 by EssayPro