| Commit message (Collapse) | Author | Age |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ooni.runner.runTestCaseWithInput().
* Moved Exceptions classes to beginning of file.
* Fixed a raise statement which called an Exception that doesn't exist
anymore.
* Cleaned up documentation, imports, code style, and indentation.
|
| | | | |
| | | |
| | | |
| | | | |
which are now contained in ooni/reporter.py.
|
| | | | |
| | | |
| | | |
| | | | |
config options.
|
| | |\ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
ooni/inputunit.py
ooni/nettest.py
ooni/oonicli.py
ooni/reporter.py
ooni/runner.py
ooni/utils/hacks.py
ooni/utils/net.py
ooni/utils/txscapy.py
ooniprobe.conf.sample
|
| | | | |
| | | |
| | | |
| | | | |
abort code.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Using log.catch in the form
log.catch(func, *args, **kwargs)
somehow causes '_catch' to be registered as a test_method, so calls in this
manner have been removed.
* Cleaned up excessive calls to reactor.run() and reactor.stop(). reactor.stop()
should only be called if reactor.running is True.
|
| | | | | |
|
| | | | | |
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
nettests/bridge_reachability/tcpsyn.py
|
| | | | | |
| | | | |
| | | | |
| | | | | |
a method to abort themselves and hand execution control back to the runner.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
couple extra blank lines at the end of /ooni/utils/__init__.py and
/ooni/utils/hacks.py.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
nettest.NetTestCase.__test_done__().
|
| | | | | |
| | | | |
| | | | |
| | | | | |
deferred debugger in tcpsyn.setUp.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
test, which is a combined and condensed version of TCPsyn and TCPfin tests.
* Tested pcap support.
* Updated documentation.
|
| | | | | | |
|
| | | | | | |
|
| | | |/ / |
|
| | | | |
| | | |
| | | |
| | | | |
documentation.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
correct that the parent classes don't correctly handle it.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ooni.oonicli.
* Cleaned up documentation and indentation in oonicli.py, runner.py,
utils/net.py, and utils/__init__.py.
* Removed all occurences of the duplicate Exception class.
* Added IPv4/v6 parser checkIPandPort() to utils/net.py.
|
| | | | |
| | | |
| | | |
| | | | |
original input list.
|
| | | | |
| | | |
| | | |
| | | | |
parent methods.
|
| | | | |
| | | |
| | | |
| | | | |
up.
|
| | |\ \ \ |
|
| | | |/ /
| |/| | |
|
| |\ \ \ \
| | |_|/
| |/| | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
* Call finish on the yaml reporter once it has done it's run
|
| |\ \ \ \
| |/ / / |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
* XXX write unittest
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This solution to the problem is "quick and dirty" as it involves tight coupling
between functions. Take note of the actual proper solution to this problem.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add new sections
* Add new sections on ooniprobe API
* Update the ooniprobe run section
* Explain the rational behind the ooniprobe design
|
| | | | |
| | | |
| | | |
| | | | |
With note that they should be fixed
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
* Do not require passing of arguments to startSniffing
* Add unittest for pushFilenameStack
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
My last commit (2becc29d40f8) broke the reporting when the filename wasn't
defined. I took the filename creation logic from
ooni/config.py@generateReportFilenames to use when the command line (or test
deck) does not define a name for the report file.
If this is the right way to go, this code probably needs a cleanup, at least to
avoid duplication of this code.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In my tests, running a deck with this patch gave the desired output (one report
by test). This doesn't mean this fix is the best one, and I don't feel
confortable enough with the codebase to even know if this is the right
direction.
The underlying problem seems to be that this code is using a global variable
"reports" (imported from config.py) to store the report filename, and this is
getting overwritten for each test that's added. Because of that, the last
reportfile described in the deck (for before_i_commit.deck it was
http_host.yamloo) was beeing used every time. Since the reporter saved a backup
of the file if it already existed, it saved the output of the last test (for
before_i_commit.deck it was dns_tamper) in and .old file.
|
| | | |
| | |
| | |
| | | |
* No more mchackery for you :)
|
| | | | |
|
| | | | |
|
| | | | |
|