Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
0f8d6254
Commit
0f8d6254
authored
4 years ago
by
Iain R. Learmonth
Browse files
Options
Downloads
Patches
Plain Diff
onionperf install
parent
8722e58f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
metrics/ops/onionperf-ops.mdwn
+33
-0
33 additions, 0 deletions
metrics/ops/onionperf-ops.mdwn
with
33 additions
and
0 deletions
metrics/ops/onionperf-ops.mdwn
+
33
−
0
View file @
0f8d6254
...
...
@@ -36,6 +36,12 @@ sudo password that is specific to the host.
On each host, a `tmux` session runs as the `cloud` user. This means that sudo
is not generally needed for routine activities.
The command to start looks like:
```
/usr/bin/python /usr/local/bin/onionperf measure --tor=/home/cloud/tor/src/or/tor --tgen=/home/cloud/shadow/src/plugin/shadow-plugin-tgen/build/tgen --tgen-listen-port 8080 --tgen-connect-port 80 --twistd=/usr/local/bin/twistd
```
## Changes to OnionPerf since last deployment
The OnionPerf codebase has undergone significant development since the op-*
...
...
@@ -66,3 +72,30 @@ way that OnionPerf is deployed.
* Built-in twistd webserver used for sharing analysis results was removed,
so that the data can be served by an external webserver (e.g. Apache)
## Deploying an OnionPerf
Follow instructions at https://2019.www.torproject.org/docs/debian.html.en to
install tor package.
Add Debian backports repository following instructions at
https://backports.debian.org/Instructions/#index2h2
Don't start tor at startup:
```
systemctl stop tor.service
systemctl mask tor.service
```
(mask prevents it from ever being started as a service)
Install python-stem from backports:
```
apt install -t buster-backports python-stem
```
Install OnionPerf dependencies with apt:
apt install libglib2.0-0 libigraph0v5 python-ipaddress python-lxml python-matplotlib python-netifaces python-networkx python-nose python-numpy python-scipy
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment