1 Visualize self-reported vs. measured bandwidth of relays
2 ========================================================
8 or run the steps manually:
10 - Download a single consensus and all referenced votes and server
11 descriptors from the metrics website, e.g.,
13 https://metrics.torproject.org/votes?valid-after=2011-07-13-05-00-00
14 https://metrics.torproject.org/consensus?valid-after=2011-07-13-05-00-00
15 https://metrics.torproject.org/serverdesc?valid-after=2011-07-13-05-00-00
17 - Put all files into a new subdirectory descriptors/. With the URLs
18 stated above, the directory would contain these files:
20 2011-07-13-05-00-00-consensus
21 2011-07-13-05-00-00-votes
22 2011-07-13-05-00-00-serverdesc
24 - Download Apache Commons Codec 1.4 or higher and put in in this
27 - Compile the Java class, e.g.,
28 $ javac -cp commons-codec-1.4.jar ParseDescriptors.java
30 - Run the Java class, e.g.,
31 $ java -cp .:commons-codec-1.4.jar ParseDescriptors
33 Once the Java application is done, you'll find a file
34 bandwidth-comparison.csv in this directory.
38 $ R --slave -f bandwidth-comparison.R