| Commit message (Collapse) | Author | Age |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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 :)
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
* 'master' of ssh://git-rw.torproject.org/ooni-probe:
This fixes a broken commit and fixes scripts/before_i_commit.sh
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Normally, I would not put two fixes into one commit - however, git master
was broken. The fix in txscapy.py fixes it such that I can run tests at all.
The fix in scripts/before_i_commit.sh allows me to actually run the thing.
It now depends on bash and as a result, it works properly. If we actually
want this this to run on an older unix machine, such a user can fix it to work
with a /bin/sh that isn't based on bash or later implementations.
The previous version of scripts/before_i_commit.sh erased all .yamloo files
and as a result, erased a lot of import data. If we run tests, we should not
ever erase the data automatically.
|
| | | | | |
|
| | | | | |
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Import SOCKSError, ResponseNeverReceived
Add error logging for unknown failure types
Log entire failure instance
Try to catch more details about errors
|
| | | |
| | |
| | |
| | |
| | | |
* No longer use the python logging interface
* Include only the timestamp and component name in the ooniprobe log
|