Skip to content

Instantly share code, notes, and snippets.

@hellais
Last active December 18, 2016 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hellais/2ad4212503a141f9e6b26770557323dd to your computer and use it in GitHub Desktop.
Save hellais/2ad4212503a141f9e6b26770557323dd to your computer and use it in GitHub Desktop.
Running bridge reachability
---
name: Bridge reachability deck
description: "This deck runs tor bridge reachability tests (WARNING: this requires obfs4proxy and obfsproxy installed and ooniprobe version 2.1.0)"
schedule: "@daily"
tasks:
- name: Does a bridge reachability test
ooni:
test_name: bridge_reachability
file: "$tor_bridge_lines"

To set this up:

  1. Ensure you are running ooniprobe 2.1.0 (you can check by running ooniprobe --version
  2. Download the deck and place it in the deck directory with:
wget -O $(ooniprobe --info | grep ^usr_share | cut -d ':' -f2)/decks-available/bridge_reachability.yaml \
    https://gist.githubusercontent.com/hellais/2ad4212503a141f9e6b26770557323dd/raw/b82b29efdcf56d0cb4ffad3dcfd313b8c9a22f30/bridge_reachability.yaml
  1. Restart ooniprobe-agent by running:

On Linux:

systemctl restart ooniprobe

On OS X:

brew services restart ooniprobe

On Unix (when installed via pip):

ooniprobe-agent stop && ooniprobe-agent restart
  1. Enable it from the web UI interface in the decks section (http://localhost:8842/client/#/deck)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment