Currently it's only works if the file has two stream and no more or less.
You have to install these pip
packages:
python -m pip install -U pip
python -m pip install -U matplotlib
python3 parse.py <file.csv> <src_ip> <dst_ip>
For example:
python3 parse.py tg2-no-1h.csv 10.2.0.17 10.2.0.11
- Read the
csv
file and parse it into a big 2d list
- sublist elements:
- Packet arrival time
- Source IP
- Destination IP
- Timestamp
- Sequence number
- Sort and make math on forward and reverse traffic
- math:
Tick = 1 / 8000 Expected_Arrival_Time = (N_Timestamp - First_Timestamp) * Tick Jitter = abs(Expected_Arrival_Time - Real_Arrival_Time) * 1000
- Make the plot