You are now rockin with the west = An Exercise in Anonymity = == Step 1 Setting Up the Network == Swap in the Experiment using [attachment:anonymous.ns this NS file] [[Image(wan.php3)]] Then log in to '''users.isi.deterlab.net''' through [http://www.chiark.greenend.org.uk/~sgtatham/putty/ Putty.] For help on logging onto Putty check out [https://trac.deterlab.net/wiki/DETERSSH this] tutorial. === Setting up apache === We need to generate traffic in our network and one of the easiest ways to do that is with HTTP traffic, so we need to set up a server and a web page. Connect to Server 1 and use the command: `sudo /proj/DeterTest/runme.nodeA` This will run a script with Apache 2 which sets up the server and web page and displays the users IP address on the Server 1 node. When prompted "Do you want to continue [Y/n]?" select `Y` Once the script is done running, the server is now set up and we can generate traffic! You can check this by typing `w3m http://localhost/cgi-bin/ip.cgi` which should display your IP address. [[Image(apache2setup.png)]] It should look like this. Repeat this process on Server 2 === Deciding which node you will be using === a. To begin one person always needs to connect to Server1 i. In order to connect use the command `ssh ..` for example `ssh Server1.cadet-test2.DeterTest` i. If this is your first time connecting to the node you will be asked to accept the fingerprint, just type `yes` and you will be connected b. If there are multiple users this is the order they should connect to: i. `Proxy node` i. `Alice` i. `Server2` i. `Bob` i. `TorRelay1` i. `TorRelay2` i. `TorRelay3` === Setting up the proxy node === a. From Proxy use the command: `sudo /proj/DeterTest/runme.proxy` b. The proxy is now set up!! We'll get to using it in a little while. == Step 2 Viewing Network Traffic == We are now ready to begin learning! One person SSH into either Alice or Bob while another person logs into the server node. From the server node type the command '''CHASE I DON'T KNOW THE TCPDUMP COMMAND''' this will begin listening to the traffic that comes through this node. From Alice type `wget http://server1/cgi-bin/ip.cgi` This saves a local copy of the web page set up on the server, and by doing so we generated traffic to examine.