Skip to content

Commit

Permalink
Merge pull request #105 from stevenengler/update-readme-data
Browse files Browse the repository at this point in the history
Update the data in the readme from 2020 to 2023
  • Loading branch information
stevenengler authored May 10, 2023
2 parents c240e72 + 75adff1 commit c0f2d5e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,17 @@ and we don't want to introduce the overhead of following a more strict policy th

### grab the data we need

wget https://collector.torproject.org/archive/relay-descriptors/consensuses/consensuses-2020-11.tar.xz
wget https://collector.torproject.org/archive/relay-descriptors/server-descriptors/server-descriptors-2020-11.tar.xz
wget https://collector.torproject.org/archive/relay-descriptors/consensuses/consensuses-2023-04.tar.xz
wget https://collector.torproject.org/archive/relay-descriptors/server-descriptors/server-descriptors-2023-04.tar.xz
wget https://metrics.torproject.org/userstats-relay-country.csv
wget https://collector.torproject.org/archive/onionperf/onionperf-2020-11.tar.xz
wget -O bandwidth-2020-11.csv "https://metrics.torproject.org/bandwidth.csv?start=2020-11-01&end=2020-11-30"
wget https://collector.torproject.org/archive/onionperf/onionperf-2023-04.tar.xz
wget -O bandwidth-2023-04.csv "https://metrics.torproject.org/bandwidth.csv?start=2023-04-01&end=2023-04-30"

### extract

tar xaf consensuses-2020-11.tar.xz
tar xaf server-descriptors-2020-11.tar.xz
tar xaf onionperf-2020-11.tar.xz
tar xaf consensuses-2023-04.tar.xz
tar xaf server-descriptors-2023-04.tar.xz
tar xaf onionperf-2023-04.tar.xz

### we also utilize privcount Tor traffic model measurements

Expand Down Expand Up @@ -119,21 +119,21 @@ tools. On Ubuntu these can be installed with:
### stage first, process relay and user info

tornettools stage \
consensuses-2020-11 \
server-descriptors-2020-11 \
consensuses-2023-04 \
server-descriptors-2023-04 \
userstats-relay-country.csv \
tmodel-ccs2018.github.io \
--onionperf_data_path onionperf-2020-11 \
--bandwidth_data_path bandwidth-2020-11.csv \
--onionperf_data_path onionperf-2023-04 \
--bandwidth_data_path bandwidth-2023-04.csv \
--geoip_path tor/src/config/geoip

### now we can used the staged files to generate many times

For example, use `--network_scale 0.01` to generate a private Tor network at '1%' the scale of public Tor:

tornettools generate \
relayinfo_staging_2020-11-01--2020-11-30.json \
userinfo_staging_2020-11-01--2020-11-30.json \
relayinfo_staging_2023-04-01--2023-04-30.json \
userinfo_staging_2023-04-01--2023-04-30.json \
networkinfo_staging.gml \
tmodel-ccs2018.github.io \
--network_scale 0.01 \
Expand All @@ -149,7 +149,7 @@ Note that simulating a '1%' Tor network for 60 simulation minutes can take as mu
tornettools parse tornet-0.01
tornettools plot \
tornet-0.01 \
--tor_metrics_path tor_metrics_2020-11-01--2020-11-30.json \
--tor_metrics_path tor_metrics_2023-04-01--2023-04-30.json \
--prefix pdfs
tornettools archive tornet-0.01

Expand Down

0 comments on commit c0f2d5e

Please sign in to comment.