Commit 4934c05e authored by Iain R. Learmonth's avatar Iain R. Learmonth
Browse files

New upstream version 2.0.1

parent 96832f49
Loading
Loading
Loading
Loading
+69 −0
Original line number Diff line number Diff line
Changelog
=========

v2.0.1 (Sat, 29 Oct 2016)
--------------------------

Improvements:

* Add `--info` command line option to print paths of ooniprobe

* Support specifying a `settings.ini` via an environment variable to facilitate
  testing.

Bug fixes:

* Fix https://github.com/TheTorProject/ooni-probe/issues/636

* Fix https://github.com/TheTorProject/ooni-probe/issues/650

* Fix https://github.com/TheTorProject/ooni-probe/issues/651

v2.0.0 (Fri, 14 Oct 2016)
------------------------------
codename: mezzanine

Stable release of ooniprobe 2.0.0

Feature list:

* System daemon for running tests periodically (https://github.com/TheTorProject/ooni-probe/issues/576)

* Web user interface for viewing measurement results (https://github.com/TheTorProject/ooni-probe/issues/575)

* New deck format (https://github.com/TheTorProject/ooni-probe/issues/571)

* Local reports are written in JSON (https://github.com/TheTorProject/ooni-probe/issues/557)

* Include decks for testing reachability of Tor, websites of IM apps

* Include the platform as an annotation inside of reports

Bugfixing since previous release candidates:

* Fix -w option of ooniprobe (https://github.com/TheTorProject/ooni-probe/issues/623)

* Scheduler lockfile for RunDecks not being released (https://github.com/TheTorProject/ooni-probe/issues/612)

* Missing country testing list (https://github.com/TheTorProject/ooni-probe/issues/606)

v2.0.0-rc.3 (Mon, 19 Sep 2016)
------------------------------

Bugfixing and code cleanup

v2.0.0-rc.2 (Tue, 13 Sep 2016)
------------------------------

This is a release candidate for a major ooniprobe release.

It includes a new web user interface and a system daemon for running ooniprobe
tests.

Feature list:

* System daemon for running tests periodically (https://github.com/TheTorProject/ooni-probe/issues/576)

* Web user interface for viewing measurement results (https://github.com/TheTorProject/ooni-probe/issues/575)

* New deck format (https://github.com/TheTorProject/ooni-probe/issues/571)

* Local reports are written in JSON (https://github.com/TheTorProject/ooni-probe/issues/557)

v1.6.1 (Tue, 26 Jul 2016)
-------------------------

+6 −3
Original line number Diff line number Diff line
recursive-include ooni/ui/web/client *
include README.rst ChangeLog.rst requirements.txt LICENSE
recursive-include data/decks *
recursive-include data/inputs *
include data/oonideckgen.1
include data/ooniprobe-agent.1
include data/ooniprobe.1
include data/oonireport.1
include data/ooniresources.1
include data/ooniprobe.conf.sample
include data/configs/lepidopter-ooniprobe.conf
include data/configs/lepidopter-oonireport.conf

include data/lepidopter-update.py

include ooni/settings.ini
include ooni/ui/consent-form.md
+9 −10
Original line number Diff line number Diff line
Metadata-Version: 1.1
Name: ooniprobe
Version: 1.6.1
Version: 2.0.1
Summary: Network measurement tool foridentifying traffic manipulation and blocking.
Home-page: https://ooni.torproject.org/
Author: Open Observatory of Network Interference
@@ -77,19 +77,17 @@ Description:
        Using ooniprobe
        ---------------
        
        To generate a test deck for your country, cd to the directory where you want it
        and run:
        It is recommended that you start the ooniprobe-agent system daemon that will
        expose a localhost only Web UI and automatically run tests for you.
        
        .. code:: bash
        
            oonideckgen
        This can be done with:
        
        .. code:: bash
        
        To setup a daily cronjob run this:
            ooniprobe-agent start
        
        .. code:: bash
        
            (crontab -l 2>/dev/null; echo "@daily ooniprobe `oonideckgen | grep -e '^ooniprobe'`") | crontab -
        Then connect to the local web interface on http://127.0.0.1:8842/
        
        Have fun!
        
@@ -103,7 +101,8 @@ Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Telecommunications Industry
Classifier: License :: OSI Approved :: BSD LicenseProgramming Language :: Python
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2 :: Only
Classifier: Programming Language :: Python :: 2.6
+3 −3
Original line number Diff line number Diff line
@@ -368,7 +368,7 @@ On Debian based systems a development environment can be setup as follows: (prer
`virtualenv venv` will create a folder in the current directory which will
contain the Python executable files, and a copy of the pip library which you can
use to install other packages. To begin using the virtual environment, it needs
to be activated:
to be activated::


    source venv/bin/activate

bin/oonideckgen

deleted100755 → 0
+0 −37
Original line number Diff line number Diff line
#!/usr/bin/env python
import sys
import exceptions

from twisted.internet import defer, reactor

from ooni.utils import log
from ooni.deckgen import cli

exitCode = 128
def failed(failure):
    global exitCode

    r = failure.trap(exceptions.SystemExit,
                     Exception)
    if r != exceptions.SystemExit:
        log.err("Failed to run oonideckgen")
        log.exception(failure)
        exitCode = 127
    else:
        exitCode = failure.value.code
    reactor.stop()

def done(result):
    global exitCode

    exitCode = 0
    reactor.stop()

def start():
    d = defer.maybeDeferred(cli.run)
    d.addCallback(done)
    d.addErrback(failed)

reactor.callWhenRunning(start)
reactor.run()
sys.exit(exitCode)
Loading