Scripts used to process and evaluate packet captures.
There is a convenience install script in the root directory of the repo.
This can be run with the following command: ./install.sh
- pkt2flow:
cd flow-splitting/pkt2flow
./pkt2flow -h
- nDPI:
cd labelling/nDPI/tests
./do.sh
Ensure you have run the installation script and installed the required python packages found in requirements.txt. Please read the README files in each directory if you are running into errors and ensure you set your environment variables in each folder.
- Navigate to the flow-splitting directory and run
./split.sh
. - Navigate to the labelling directory and run
./label.sh
. - Format labels by running
python3 clean_label.csv.py
in the labelling directory.