Update criteria for partial/full IPv6 support.
[tor-metrics-tasks.git] / task-4147 / README
blob1af3f3a95a038ba6f083b6bfe80538932a95cca3
1 Answer the question what fraction of bytes written by relays with the Exit
2 flag could have used a different address for exiting than the relay used
3 for registering in the Tor network.
4 ==========================================================================
6 Clone the metrics-lib repository, create the descriptor.jar file, and put
7 it in this directory.
9 Obtain the Apache Commons Codec 1.4 .jar file commons-codec-1.4.jar and
10 put it in this directory.
12 Download the metrics tarballs containing consensuses, extra-info
13 descriptors, and exit lists for a common time period.  Note that the first
14 and last 2 days of the period won't be usable.  Extract the tarballs and
15 put them in in/consensuses/, in/extra-infos/, and in/exit-lists/ in this
16 directory.
18 Compile the Java class:
20   $ javac -cp descriptor.jar AnalyzeDifferentExitAddress.java
22 Run the Java class:
24   $ java -cp descriptor.jar:commons-codec-1.4.jar:. \
25     AnalyzeDifferentExitAddress
27 In order to re-run parts of the analysis, delete files in status/ or the
28 results file in out/.
30 Aggregate the results using R and ggplot2:
32   $ R --slave -f different-exit-address-1.R
34 Draw graphs using R and ggplot2:
36   $ R --slave -f different-exit-address-2.R