Skip to content
Snippets Groups Projects
Commit c97aaa11 authored by Bartolomeo Berend Müller's avatar Bartolomeo Berend Müller
Browse files

Fixes

parent d4ff77fe
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,8 @@ sudo apt install -y git \ ...@@ -13,7 +13,8 @@ sudo apt install -y git \
ninja-build \ ninja-build \
libssl-dev \ libssl-dev \
libpcre3-dev \ libpcre3-dev \
wget wget \
pkg-config
NGINX_VERSION=1.26.1 NGINX_VERSION=1.26.1
CMAKE_VERSION=3.30 CMAKE_VERSION=3.30
......
...@@ -2,11 +2,18 @@ ...@@ -2,11 +2,18 @@
To run the kex experimant, you need to first have the necessary prerequisites installed. After that you can run the experiment and analyze the results. To run the kex experimant, you need to first have the necessary prerequisites installed. After that you can run the experiment and analyze the results.
## Install prerequisites ## Install prerequisites
### Install cargo
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# restart shell
```
In `benchmarking-pqc-in-quic/pq-tls-benchmark-framework/emulation-exp/code`: In `benchmarking-pqc-in-quic/pq-tls-benchmark-framework/emulation-exp/code`:
```bash ```bash
./install_prereq-ubuntu.sh ./install-prereq-ubuntu.sh
``` ```
### Python venv ### Python venv
Create a python virtual environment to install all necessary python packages in. Create a python virtual environment to install all necessary python packages in.
In `benchmarking-pqc-in-quic/pq-tls-benchmark-framework/emulation-exp/code/kex`: In `benchmarking-pqc-in-quic/pq-tls-benchmark-framework/emulation-exp/code/kex`:
......
...@@ -76,8 +76,6 @@ def main(): ...@@ -76,8 +76,6 @@ def main():
for _, parameters in scenarios.iterrows(): for _, parameters in scenarios.iterrows():
# set network parameters of scenario # set network parameters of scenario
set_network_parameters(parameters) set_network_parameters(parameters)
print(protocol)
continue
for algorithm_class, algorithms in algorithms_to_bench_dict.items(): for algorithm_class, algorithms in algorithms_to_bench_dict.items():
for kem_alg in algorithms: for kem_alg in algorithms:
...@@ -233,7 +231,7 @@ def time_handshake(protocol, kem_alg, measurements) -> list[float]: ...@@ -233,7 +231,7 @@ def time_handshake(protocol, kem_alg, measurements) -> list[float]:
namespace_condition.notify() namespace_condition.notify()
network_namespace = aquire_network_namespace() network_namespace = aquire_network_namespace()
# program = QUIC_S_TIMER if protocol == "quic" else S_TIMER
cc_algo = None cc_algo = None
match protocol: match protocol:
case "tlstcp": case "tlstcp":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment