Website: http://pcvm1-22.geni.it.cornell.edu:8080
Repo is cloned to /home/cs655-pw-cracker and start.sh is deamonized. Update by running /install.sh. To restart, run
sudo systemctl restart cs655On GENI, all scripts are automatically installed and the deamonized via systemctl. Note that the server node requires numpy, which can be installed as follows:
sudo apt-get update
sudo apt install python3-pip
sudo pip3 install numpyTo run workers: on several machines/ports run workers
cd ./src/worker/
python worker.py --port x, where x is the port numberTo run the server:
-
First, edit
./src/server/workers.pyto add the list of workers used. Each entry includes (hostname, port) -
Run the server:
python server.py --hash h --num_workers nWhere h is a md5 hash and n is the number of workers to used.
Create an instance, using rspec.xml GENI configuration file. Wait for all components to start running. After that follow the instructions above.
To change TCP Congestion Control version to Reno:
sudo sysctl net.ipv4.tcp_congestion_control=renoTo setup a specific delay time (to make sure that packets coming into the eth0 interface of any node will experience the delay):
sudo tc qdisc add dev eth0 root netem delay [time]msTo remove the setup:
sudo tc qdisc del dev eth0 root netemNote: we need to delete the old rules before setting up new ones. The same setup/deletion command for eth1, eth2, etc. interfaces.