summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | Cleaned up logic for the reactor to callback to test_skip_class() inIsis Lovecruft2012-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Removed an import line from ooni/reporter.py which tried to import classesIsis Lovecruft2012-12-12
| | | | | | | | | | | | | | | | which are now contained in ooni/reporter.py.
| * | | Cleaned up a couple of the comments in ooniprobe.conf.sample explaining theIsis Lovecruft2012-12-12
| | | | | | | | | | | | | | | | config options.
| * | | Merge branch 'master' into tcp-flagsIsis Lovecruft2012-12-12
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Fixed error with reporting results for tcp flags tests, and cleaned up testIsis Lovecruft2012-12-09
| | | | | | | | | | | | | | | | abort code.
| | * | Refactoring tcp flag testIsis Lovecruft2012-12-06
| | | |
| | * | Cleaning up test abort and skip code.Isis Lovecruft2012-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| | * | fixup! Added abort methodsIsis Lovecruft2012-12-05
| | | |
| | * | Added timeout and abort for test inputs, methods, and classes.Isis Lovecruft2012-12-03
| | | |
| | * | Merge branch 'tcpsyn-report' into tcpsyn-portIsis Lovecruft2012-11-30
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: nettests/bridge_reachability/tcpsyn.py
| | | * | Fixed log.warn() and log.fail, but blocking on a way for tests to callIsis Lovecruft2012-11-30
| | | | | | | | | | | | | | | | | | | | a method to abort themselves and hand execution control back to the runner.
| | | * | Rearranged the logic of ensuring that the reactor is shutdown, and removed aIsis Lovecruft2012-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | couple extra blank lines at the end of /ooni/utils/__init__.py and /ooni/utils/hacks.py.
| | | * | Started implementing a way for a test to abort itself,Isis Lovecruft2012-11-28
| | | | | | | | | | | | | | | | | | | | nettest.NetTestCase.__test_done__().
| | | * | Added log.warn() and log.fail() functions to ooni's logger, and fixed theIsis Lovecruft2012-11-28
| | | | | | | | | | | | | | | | | | | | deferred debugger in tcpsyn.setUp.
| | | * | Added connection timeout to geoIP requests.Isis Lovecruft2012-11-27
| | | | |
| | | * | Added warning suppression for scapy's logger to the beginning of oonicli.py.Isis Lovecruft2012-11-27
| | | | |
| | | * | Added better reporting of statistics and safe packet information to TCPflagsIsis Lovecruft2012-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test, which is a combined and condensed version of TCPsyn and TCPfin tests. * Tested pcap support. * Updated documentation.
| | | * | Removed cerealizer because it sometimes causes the reporter to hang.Isis Lovecruft2012-11-25
| | | | |
| | | * | Trying out cerealizer for passing objects.Isis Lovecruft2012-11-25
| | | | |
| | * | | Still working (amend me).Isis Lovecruft2012-11-24
| | |/ /
| | * | Added an exception catching wrapper for quick debugging, and added more ↵Isis Lovecruft2012-11-23
| | | | | | | | | | | | | | | | documentation.
| | * | Cleaned up report generation and results/logging display.Isis Lovecruft2012-11-20
| | | |
| | * | Ported tcpsyn to the new api.Isis Lovecruft2012-11-19
| | | |
| | * | Removed 'multi' kwarg from txscapy.ScapyProtocol for now, because Arturo isIsis Lovecruft2012-11-18
| | | | | | | | | | | | | | | | correct that the parent classes don't correctly handle it.
| | * | Consolidated a custom Exception class which was the same in ooni.utils.net andIsis Lovecruft2012-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Updated ooni.inputunit.InputUnit documentation, and fixed __repr__ to showIsis Lovecruft2012-11-18
| | | | | | | | | | | | | | | | original input list.
| | * | Re-ported echo. Fixed parameters not being passed through txscapy.sr to ↵Isis Lovecruft2012-11-16
| | | | | | | | | | | | | | | | parent methods.
| | * | Reactor seems to not be cleared, or my actual network here is severely messedIsis Lovecruft2012-11-16
| | | | | | | | | | | | | | | | up.
| * | | Merge remote-tracking branch 'tpo-common/master'Isis Lovecruft2012-12-09
| |\ \ \
| * | | | Updated .gitignore from copy of old repoIsis Lovecruft2012-12-06
| | |/ / | |/| |
* | | | Merge branch 'master' of ssh://git-rw.torproject.org/ooni-probeJacob Appelbaum2012-12-09
|\ \ \ \ | | |_|/ | |/| |
| * | | Do not call reactor.stop in netalyzr test.Arturo Filastò2012-12-09
| | | |
| * | | Do not attach both an errback and callback in runner for better debuggingArturo Filastò2012-12-09
| | | | | | | | | | | | | | | | * Call finish on the yaml reporter once it has done it's run
* | | | Merge branch 'master' of ssh://git-rw.torproject.org/ooni-probeJacob Appelbaum2012-12-09
|\ \ \ \ | |/ / /
| * | | Do not fail if probes IP addres is not known data is not available.Arturo Filastò2012-12-08
| | | |
| * | | Fix bug when pushing to stack that is of the format a.b.c.$idxArturo Filastò2012-12-08
| | | | | | | | | | | | | | | | * XXX write unittest
| * | | Fix bug in cmd_line_argument parsing when using test decksArturo Filastò2012-12-08
| | | | | | | | | | | | | | | | | | | | 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.
| * | | Port parts from the Architecture document stored on the trac wikiArturo Filastò2012-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new sections * Add new sections on ooniprobe API * Update the ooniprobe run section * Explain the rational behind the ooniprobe design
| * | | Disable some failing unittests in runnerArturo Filastò2012-12-08
| | | | | | | | | | | | | | | | With note that they should be fixed
| * | | Refactor the renaming of old files to a proper util functionArturo Filastò2012-12-08
| | | | | | | | | | | | | | | | | | | | * Do not require passing of arguments to startSniffing * Add unittest for pushFilenameStack
| * | | Fixes pcapfile name generation and concentrates it where it's neededFlavio Amieiro2012-12-07
| | | |
| * | | Removes duplicated startSniffer codeFlavio Amieiro2012-12-07
| | | |
| * | | Removes all references to config.reports.yamlooFlavio Amieiro2012-12-07
| | | |
* | | | Add ports 0, 8080, and 65535Jacob Appelbaum2012-12-09
|/ / /
* | | Fixes reportfile creation when the reportfile name is not definedFlavio Amieiro2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | This is a possible fix for https://trac.torproject.org/projects/tor/ticket/7664Flavio Amieiro2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Update Readme to point installation of pypcap with our fork of itArturo Filastò2012-12-07
| | | | | | | | | | | | * No more mchackery for you :)
* | | Fix bugs in SSL helperArturo Filastò2012-12-07
| | |
* | | Use the HTTP Return JSON headers helper in the SSL helperArturo Filastò2012-12-07
| | |
* | | Properly handle empty tor configuration parametersArturo Filastò2012-12-07
| | |