Skip to content
 
 

Repository files navigation

Reprodutibility Steps

Requirements

Generate PCAP files automatic

It's possible to generate the PCAP files automatically by running the script run_topologies.sh:

sudo ./run_topologies.sh

It will run 10 iterations for each topology and scenario, generating the PCAP files in the pcap folder. The script will take a while to finish, as it runs all topologies and scenarios.

Generate PCAP files manually

To generate the PCAP files manually, the commands may take these arguments:

  • -t for topology ID (It can be a number between 1 and 12 and is respective to the topologies in the topologies.py file. 1 by default)

  • -i for the iteration number (It can be a number between 1 and 10. 1 by default)

  • -s for the scenario (It can be rsa, kyber, or no_cryptography. no_cryptography by default)

No Cryptography

Execute the network.py file as follows:

sudo python network.py -t <topo_id> -b

RSA

Execute the network.py file as follows:

sudo python network.py -s rsa -t <topo_id> -b

Crystals Kyber

Execute the network.py file as follows:

sudo python network.py -s kyber -t <topo_id> -b

Generate Results

There are two scripts to generate the results from the PCAP files:

  1. compare_key_exchange.py - This script compares the key exchange times between the RSA and Kyber up to 10 scenarios, generating a graph in the output folder. Graph example:

Compare key exchange

  1. packet_size_symmetric.py - This script compares the bandwidth between the RSA and Kyber scenarios, generating a graph in the output folder. Graph example:

Packet size symmetric

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages