How to setup a mix network or cascade
[back]
Note that this Tutorial is a stub and only provides basic information.
To setup a network or cascade of mixes you will have to create a portable framework distribution (see tutorial overview for more information). For this tutorial we assume you have already created or downloaded a protable distribution.
We assume you have a LAN of several Linux workstations for this tutorial and ssh-access to each of them.
An easy way to deploy the portable distributions automatically to the workstations is scp. We have put together some example deploy scripts that can be used (but must be adapted to your IP addresses and file paths manually).
If you deploy the code manually, make sure to use the same gMix config files on all workstations.
When the framework is deployed, start the info service (used for discovery by mixes and clients) on a workstation of your choice (Must be done before starting mixes).
Your call may look like this:
Now we can start the mix on some (other) workstation:
Once the mix has registered at the information service, we can start the load generator:
To perform experiments you can repeat the steps above and adjust different parameters you want to evaluate. For example you may want to test different message sizes by passing the overwrite parameter MAX_PAYLOAD=X to mix and load generator and record the throughput for different values of X.