summaryrefslogtreecommitdiff
path: root/ooni
Commit message (Collapse)AuthorAge
...
* | Start rewriting daphn3Arturo Filastò2012-11-11
| |
* | Start working on porting of daphn3Arturo Filastò2012-11-11
| |
* | Fix typo in README for installation of scapyArturo Filastò2012-11-11
| | | | | | | | * Make import of pygeoip soft
* | Implement basic collector for ooniprobe reportsArturo Filastò2012-11-11
| | | | | | | | | | | | | | * Reports can be submitted over the network via http to a remote collector * Implement the backend component of the collector that writes submitted reports to flat files, following the report_id naming convention. * XXX add support for connecting to the collector via Tor Hidden Services
* | Merge branch 'master' into remotereportArturo Filastò2012-11-11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Implement basic keyword filtering detection test. * XXX Does not use the bisection method * XXX Does not establish a TCP session, but just sends Do some major refactoring of the ooniprobe backend * Implement TCP Echo test helper * Refactor testhelpers into proper namespace * Remove unused imports * Remove files that were not being imported anywhere Respect the includeip = false option in ooniprobe.conf for scapyt derivate tests * If the option to not include the IP address of the probe is set, change the source and destination ip address of the sent and received packets to 127.0.0.1 Add ooniprobe prefix to logs Clean up filenames of generated reports * They now follow the format $testName_report_$timestamp.yamloo Implement ICMP traceroute test * parametrize max_ttl and timeout * make max_ttl and timeout be included in the report Add not about the fact that tests should return a deferred. Add software version to the report * Cleanup some debug messages * Remove unused ooni-probe.conf config file Implement basic reporting to flat files containing the report ID. * XXX the location of such files is not configurable, they will leave tons of crap in your cwd. Refactor reporter Object. * We now have a parent OReporter object that is subclassed by OONIBReporter for remote reporting and YAMLReporter for reporting to YAML format on file system. * Move secure YAML serialization hacks to the hacks module * Do more progress on the implementation of reporting to remote systems Conflicts: ooni/reporter.py ooni/runner.py
| * | Respect the includeip = false option in ooniprobe.conf for scapyt derivate testsArturo Filastò2012-11-11
| | | | | | | | | | | | | | | | | | * If the option to not include the IP address of the probe is set, change the source and destination ip address of the sent and received packets to 127.0.0.1
| * | Add ooniprobe prefix to logsArturo Filastò2012-11-11
| | |
| * | Clean up filenames of generated reportsArturo Filastò2012-11-11
| | | | | | | | | | | | * They now follow the format $testName_report_$timestamp.yamloo
| * | Implement ICMP traceroute testArturo Filastò2012-11-11
| | | | | | | | | | | | | | | * parametrize max_ttl and timeout * make max_ttl and timeout be included in the report
| * | Add not about the fact that tests should return a deferred.Arturo Filastò2012-11-11
| | |
| * | Add software version to the reportArturo Filastò2012-11-11
| | | | | | | | | | | | | | | * Cleanup some debug messages * Remove unused ooni-probe.conf config file
| * | Refactor reporter Object.Arturo Filastò2012-11-10
| | | | | | | | | | | | | | | | | | | | | * We now have a parent OReporter object that is subclassed by OONIBReporter for remote reporting and YAMLReporter for reporting to YAML format on file system. * Move secure YAML serialization hacks to the hacks module * Do more progress on the implementation of reporting to remote systems
* | | Do some progress on implementing reporterArturo Filastò2012-11-11
| | |
* | | Start working on remote reporting systemArturo Filastò2012-11-11
|/ / | | | | | | * Still broken
* | Improve HTTP Host test to work with the HTTP Requests test backendArturo Filastò2012-11-10
| |
* | Add test_name to the reportArturo Filastò2012-11-10
| | | | | | | | Remove simple test
* | Finish implementing multi port traceroute for UDP and TCPArturo Filastò2012-11-10
| |
* | Merge branch 'master' into multiprotocoltracerouteArturo Filastò2012-11-10
|\ \ | | | | | | | | | | | | | | | | | | | | | * master: Implement basic HTTP request test that does capitalization variations on the HTTP method * Due to a quirk in twisted.client.Agent that sets HTTP request headers to canonical form we are currently unable to test the request headers. This is ticketized here: https://trac.torproject.org/projects/tor/ticket/7432 Add backend to the required options of http_requests test Refactor the logic for running of tests * There was a bug related to generators not being rewindable we now convert the generator of one input unit to a list Start working on HTTP Requests
| * | Implement basic HTTP request test that does capitalization variations on the ↵Arturo Filastò2012-11-10
| | | | | | | | | | | | | | | | | | | | | | | | HTTP method * Due to a quirk in twisted.client.Agent that sets HTTP request headers to canonical form we are currently unable to test the request headers. This is ticketized here: https://trac.torproject.org/projects/tor/ticket/7432
| * | Merge branch 'master' into http_requestsArturo Filastò2012-11-10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Add database support to oonib * We have function to automatically create tables based on the Storm db definition (borrowed from code I wrote for GLBackend) * Start plotting out the structure of the database support. Add basic configuration support to oonib Fully switch to using only cyclone for HTTP related test helpers * Implement HTTP Request handler backend * Fix the startup script of OONIB * Disable daphn3 test helper script * Various cleanups Continue work on OONIB Start defining the models of OONIB * Create runner for OONIB Fully switch to using only cyclone for HTTP related test helpers * Implement HTTP Request handler backend * Fix the startup script of OONIB * Disable daphn3 test helper script * Various cleanups Continue work on OONIB Start defining the models of OONIB * Create runner for OONIB
| * | | Refactor the logic for running of testsArturo Filastò2012-11-10
| | | | | | | | | | | | | | | | | | | | * There was a bug related to generators not being rewindable we now convert the generator of one input unit to a list
* | | | Implement TCP and UDP multi port traceroute testArturo Filastò2012-11-10
| |/ / |/| |
* | | Merge branch 'oonib'Arturo Filastò2012-11-10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * oonib: Fully switch to using only cyclone for HTTP related test helpers * Implement HTTP Request handler backend * Fix the startup script of OONIB * Disable daphn3 test helper script * Various cleanups Continue work on OONIB Start defining the models of OONIB * Create runner for OONIB Conflicts: oonib/oonibackend.py oonib/report/db/__init__.py
| * | | Fully switch to using only cyclone for HTTP related test helpersArturo Filastò2012-11-10
| |/ / | | | | | | | | | | | | | | | | | | * Implement HTTP Request handler backend * Fix the startup script of OONIB * Disable daphn3 test helper script * Various cleanups
* | | Fully switch to using only cyclone for HTTP related test helpersArturo Filastò2012-11-10
|/ / | | | | | | | | | | | | * Implement HTTP Request handler backend * Fix the startup script of OONIB * Disable daphn3 test helper script * Various cleanups
* | Update example for writing scapy tests.Arturo Filastò2012-11-10
| | | | | | | | * Make changes to test template of scapy tests
* | Completely rewrite the txscapy.Arturo Filastò2012-11-09
| | | | | | | | | | | | | | * It is now much cleaner and does not start the packet capture in a separate thread. It subclasses the twisted filedescriptor protocol and returns a deferred that will fire the callback with the packets it received and the ones it considers answers to the request.
* | Do a very big cleanup and refactor of all the code in the repo.Arturo Filastò2012-11-09
| |
* | Add txscapy to the commitArturo Filastò2012-11-09
| | | | | | | | | | | | This should have been in the previous commit and I should not have tagged the release I must run git clean -r;./before_i_commit.sh; before pushing to master. Disregard the v0.0.2-alpha tag
* | Implement logging to PCAP file supportArturo Filastò2012-11-09
| |
* | Merge branch 'master' into packetcaptureArturo Filastò2012-11-09
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Finish refactor of the core of OONI. * Everything is passing * XXX there is a bug in blocking tests not making the reactor stop Completely refactor the logic for running tests * We no longer rely on calling trial * The code is now *much* more clean and readable * The purpose of this is to make room for the threadpool to capture packets Port china trigger to new API Rename keyword filtering test to HTTP keyword filtering Refactor install documentation. Convert header of ooniprobe script to a non docstring Conflicts: ooni/config.py ooni/runner.py ooniprobe.conf
| * Finish refactor of the core of OONI.Arturo Filastò2012-11-09
| | | | | | | | | | * Everything is passing * XXX there is a bug in blocking tests not making the reactor stop
| * Completely refactor the logic for running testsArturo Filastò2012-11-09
| | | | | | | | | | | | | | * We no longer rely on calling trial * The code is now *much* more clean and readable * The purpose of this is to make room for the threadpool to capture packets
| * Port china trigger to new APIArturo Filastò2012-11-08
| |
* | Further progress on packet capture implementationArturo Filastò2012-11-08
| |
* | Merge branch 'master' into packetcaptureArturo Filastò2012-11-08
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Move test inputs back to where they were. Disabled debug log in default config file * Make runner rename file to .old if it already exists Refactor reporting system * Fix import error in http host test * Moved metaclass code to separate branch 'meta'. * Removed unused code from assertions.py. * Deleted config.py and process.py. * Removed bug as a result of merging which reintroduced the bug for log messages being printed twice. * Made the submit-patch script create the /patches directory if it doesn't already exist. * Moved /test_inputs/* to /inputs. * Adding new Makefile in top dir * Adding saved copy of *.secdev.org SSL cert so we can correctly check for cert warning. * Updated installation documentation. Move peculiar code to wtf directory. * Comment on tor related code and propose that it gets removed. Move peculiar unused file to wtf directory. * Added brief doctrings to get pylint to shutup about it. * Changed the nettest inputParser to no longer be wrapped by @staticmethod, because that might be confusing to test writers. * Changed runner.getTestOptions() to return the localoptions, in addition to setting them as an attribute. * There are still bugs in the options parser, and inputs is a listiterater, which also needs to be fixed. * Fixed oonicli.py trying to catch the wrong exception. * Added a docstring in oonicli.py. * Fixed oonicli.py not printing the help/info message when called without arguments. Conflicts: ooniprobe.conf
| * Merge branch 'master' of ssh://git-rw.torproject.org/ooni-probeArturo Filastò2012-11-08
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of ssh://git-rw.torproject.org/ooni-probe: * Moved metaclass code to separate branch 'meta'. * Removed unused code from assertions.py. * Deleted config.py and process.py. * Removed bug as a result of merging which reintroduced the bug for log messages being printed twice. * Made the submit-patch script create the /patches directory if it doesn't already exist. * Moved /test_inputs/* to /inputs. * Adding new Makefile in top dir * Adding saved copy of *.secdev.org SSL cert so we can correctly check for cert warning. * Updated installation documentation. * Added brief doctrings to get pylint to shutup about it. * Changed the nettest inputParser to no longer be wrapped by @staticmethod, because that might be confusing to test writers. * Changed runner.getTestOptions() to return the localoptions, in addition to setting them as an attribute. * There are still bugs in the options parser, and inputs is a listiterater, which also needs to be fixed. * Fixed oonicli.py trying to catch the wrong exception. * Added a docstring in oonicli.py. * Fixed oonicli.py not printing the help/info message when called without arguments. Conflicts: nettests/simpletest.py
| | * * Removed bug as a result of merging which reintroduced the bug for logIsis Lovecruft2012-11-08
| | | | | | | | | | | | messages being printed twice.
| | * * Adding new Makefile in top dirIsis Lovecruft2012-11-08
| | | | | | | | | | | | | | | | | | * Adding saved copy of *.secdev.org SSL cert so we can correctly check for cert warning. * Updated installation documentation.
| | * Merge branch 'master' of git-rw.torproject.org:ooni-probeIsis Lovecruft2012-11-08
| | |\
| | * \ Merge branch 'master' of git-rw.torproject.org:ooni-probeIsis Lovecruft2012-11-08
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ooni/nettest.py ooni/oonicli.py ooni/runner.py
| | * | | * Changed runner.getTestOptions() to return the localoptions, in addition to ↵Isis Lovecruft2012-11-05
| | | | | | | | | | | | | | | | | | | | setting them as an attribute.
| | * | | * There are still bugs in the options parser, and inputs is a listiterater, ↵Isis Lovecruft2012-11-05
| | | | | | | | | | | | | | | | | | | | which also needs to be fixed.
| | * | | * Fixed oonicli.py trying to catch the wrong exception.Isis Lovecruft2012-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | * Added a docstring in oonicli.py. * Fixed oonicli.py not printing the help/info message when called without arguments.
| * | | | Disabled debug log in default config fileArturo Filastò2012-11-08
| | | | | | | | | | | | | | | | | | | | * Make runner rename file to .old if it already exists
| * | | | Refactor reporting systemArturo Filastò2012-11-08
| | |_|/ | |/| | | | | | | | | | * Fix import error in http host test
| * | | Merge branch 'wtf'Arturo Filastò2012-11-07
| |\ \ \
| | * | | Move peculiar code to wtf directory.Arturo Filastò2012-11-07
| | | | | | | | | | | | | | | | | | | | * Comment on tor related code and propose that it gets removed.
| | * | | Move peculiar unused file to wtf directory.Arturo Filastò2012-11-07
| | | |/ | | |/|
* | | | Jot down some quick notesArturo Filastò2012-11-07
|/ / /