The purpose of this project is to understand the details of state management in Transmission 7 Control Protocol (TCP). You are required to write a python program to analyze the TCP protocol 8 behavior.10 You will be given a sample TCP trace file (sample-capture-file.cap). During the period traced, a 11 single web client accesses different web sites on the Internet. This trace is to be used for your own 12 test. TA might use a different trace file to test your code.13 You need to write a python program for parsing and processing the trace file, and tracking TCP 14 state information. In this assignment, your code will be tested on the server linux.csc.uvic.ca. As 15 such, you are allowed to use only the Python packages of python3 currently installed on 16 linux.csc.uvic.ca. You are not allowed to install/use other third-party python packages.17 Your program should process the trace file and compute summary information about TCP 18 connections. Note that a TCP connection is identified by a 4-tuple (IP source address, source port, 19 IP destination address, destination port), and packets can flow in both directions on a connection 20 (i.e., duplex). Also note that the packets from different connections can be arbitrarily interleaved 21 with each other in time, so your program will need to extract packets and associate them with the 22 correct connection.140 Besides the above information for each TCP connection, your program needs to provide the 41 following statistical results for the whole trace data:49 the minimum, mean, and maximum number of packets (both directions) sent on the 50 complete TCP connections51 the minimum, mean, and maximum receive window sizes (both sides) of the complete 52 TCP connections.53 As a guideline for output format, please follow the output format of this project shown in 54 outputformat.pdf.
Reviews
There are no reviews yet.