Go to file
Arturo Filastò 39214129fa Add bindata command to build script
This used to be present in the Makefile, but then got lost in history
2020-01-28 11:48:25 +01:00
cmd/ooniprobe Rename the binary as ooniprobe (#58) 2019-10-02 19:27:15 +02:00
config Remove all settings which are not implemented (#73) 2019-11-14 17:58:31 +01:00
data Remove all settings which are not implemented (#73) 2019-11-14 17:58:31 +01:00
docs Address feedback from @bassosimone 2019-12-04 13:13:13 +02:00
internal Small cosmetic fix 2020-01-28 11:05:09 +01:00
nettests circumvention: add the tor experiment (#100) 2020-01-28 10:05:54 +01:00
scripts travis: run goveralls inside the docker container 2019-12-26 19:13:25 +00:00
testdata Remove all settings which are not implemented (#73) 2019-11-14 17:58:31 +01:00
utils Use ~/.ooniprobe as the home directory (#101) 2020-01-27 15:19:32 +01:00
version version/version.go: roll out 3.0.0-rc.7 2020-01-28 10:14:45 +01:00
.dockerignore travis: run goveralls inside the docker container 2019-12-26 19:13:25 +00:00
.gitignore Implement the circumvention nettest group 2019-12-28 17:48:07 +01:00
.travis.yml travis: run goveralls inside the docker container 2019-12-26 19:13:25 +00:00
build.sh Add bindata command to build script 2020-01-28 11:48:25 +01:00
Dockerfile travis: run goveralls inside the docker container 2019-12-26 19:13:25 +00:00
go.mod circumvention: add the tor experiment (#100) 2020-01-28 10:05:54 +01:00
go.sum circumvention: add the tor experiment (#100) 2020-01-28 10:05:54 +01:00
LICENSE.md Add LICENSE.md 2018-07-11 18:06:27 +02:00
ooni_test.go Allow to specify custom software name and version (#94) 2019-12-29 14:07:57 +01:00
ooni.go Use ~/.ooniprobe as the home directory (#101) 2020-01-27 15:19:32 +01:00
Readme.md circumvention: add the tor experiment (#100) 2020-01-28 10:05:54 +01:00

OONI Probe CLI

The next generation OONI Probe Command Line Interface.

User setup

  1. Go into the releases and download the release for your architecture and platform

  2. Extract the tarball with tar xvzf ooniprobe_*.tar.gz

  3. Copy the ooniprobe binary into a location in your $PATH, for example /usr/local/bin/ooniprobe

  4. Run ooniprobe run to perform all the tests

Optional:

Add a crontab entry (on linux) to run ooniprobe daily at a random time:

(crontab -l 2>/dev/null; echo "$(( ( RANDOM % 60 )  + 1 )) $(( ( RANDOM % 24 )  + 1 )) * * * ooniprobe run") | crontab -

Development setup

Be sure you have golang >= 1.13. We use golang modules. Run

./build.sh help

to get information on the supported systems as well as to get instructions on how to install dependencies.

Updating dependencies

  1. update every direct dependency in go.mod except probe-engine using go get -u -v $dependency

  2. pin to the latest version of the probe-engine with go get -v github.com/ooni/probe-engine@tag

  3. remove all indirect dependencies from go.mod and merge the content of probe-engine's go.mod into our go.mod

  4. go mod tidy

The rationale of this procedure is that we want to pin exactly to a specific version of psiphon and of its dependencies.

Releasing

./build.sh release

and follow instructions.