Changes between Version 48 and Version 49 of AnonymityModule
- Timestamp:
- Jun 30, 2011 12:01:51 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AnonymityModule
v48 v49 26 26 27 27 === Direct Client-to-Server Traffic === 28 Then type the command `sudo tcpdump -i eth0 -s 0 -x -w /tmp/direct.pcap` This will begin listening to the traffic that comes through this node and that specific ethernet link, eth0 in the example, and write the data out to the file direct.pcap in the tmp diretory. At this time, the person connected to Alice will enter the command `wget --no-proxy http://server/cgi-bin/ip.cgi` This saves a local copy of the web page set up on the server, and by doing so generates HTTP traffic to examine. We were able to listen in on this traffic thanks to the `tcpdump` command.28 Then type the command `sudo tcpdump -i eth0 -s 0 -x -w /tmp/direct.pcap` This will begin listening to the traffic that comes through this node and that specific ethernet link, eth0 in the example, and write the data out to the file direct.pcap in the tmp diretory. At this time, the person connected to Alice will enter the command `wget --no-proxy http://server/cgi-bin/ip.cgi` This saves a local copy of the web page set up on the server, and by doing so generates HTTP traffic to examine. We were able to listen in on this traffic thanks to the `tcpdump` command. We'll analyze what this data looks like and can tell us at a later time. 29 29 30 30 === Client-to-Server Traffic through a Proxy === 31 Repeat the tcpdump command `sudo tcpdump -i eth0 -s 0 -x -w /tmp/throughproxy.pcap` from the server node. However, now the user connected to Alice should enter the command `env http_proxy=http://proxy:8888 wget http://server/cgi-bin/ip.cgi` This command changes an environmental setting and sends the `wget` command through the proxy on port 8888. 31 Now we'll use a proxy to make this traffic a bit more anonymous. A proxy will mask the source and destination of the traffic from both the client and the server by working as a go between for the two nodes. Repeat the tcpdump command `sudo tcpdump -i eth0 -s 0 -x -w /tmp/throughproxy.pcap` from the server node. However, now the user connected to Alice should enter the command `env http_proxy=http://proxy:8888 wget http://server/cgi-bin/ip.cgi` This command changes an environmental setting and sends the `wget` command through the proxy on port 8888. Thanks to the `tcpdump` command, we have a copy of this traffic as well. 32 32 33 === Client-to-Server Traffic through Tor === 34 We will now use [https://www.torproject.org/ Tor] to 33 35 Tor: 34 36 `torify wget http://server/cgi-bin/ip.cgi`