summaryrefslogtreecommitdiff
path: root/ooni
Commit message (Collapse)AuthorAge
...
| * | Re-ported echo. Fixed parameters not being passed through txscapy.sr to ↵Isis Lovecruft2012-11-16
| | | | | | | | | | | | parent methods.
* | | Change the timestamp format to use ISO8601.Arturo Filastò2012-12-06
| |/ |/| | | | | | | * Write unittests for timestamp generation functions * Add documentation on how reports will be stored in the backend
* | Update docstringaagbsn2012-12-02
| |
* | Prune kit from docsaagbsn2012-11-30
| |
* | Add newline to please the Sphinxaagbsn2012-11-30
| |
* | Make docstring work with sphinxaagbsn2012-11-30
| |
* | Make docstring work with sphinxaagbsn2012-11-30
| |
* | Write documentation for HTTP Invalid Requests testArturo Filastò2012-11-29
| |
* | Iterate on HTTP Invalid Request Line testArturo Filastò2012-11-29
| | | | | | | | | | | | * Rename it to HTTP Invalid Request Line * Extend it's fuzzing capabilities to support some more specific tests * Improve TCPT test template
* | Update before_i_commit testdeckArturo Filastò2012-11-29
| | | | | | | | * Other misc changes
* | Make getDiff take as required argument a TrueHeaders object instead of a dictArturo Filastò2012-11-29
| |
* | Fix before I commit scriptArturo Filastò2012-11-28
| |
* | Refactor directory of nettestsArturo Filastò2012-11-28
| | | | | | | | | | | | | | * Make a selection of tests we are interested in stabilizing * Move tests that have to do with blocking to blocking * Move tests that have to do with tampering to tampering * Move tests that are not well tested to experimental
* | Fix missing argument in runTestCasesWithInputArturo Filastò2012-11-28
| |
* | Improve oonibArturo Filastò2012-11-28
| | | | | | | | | | | | * More robust error handling * Add docstrings on not implemented collector parts * Refactor ooni reporting system
* | Always write report to fileArturo Filastò2012-11-28
| | | | | | | | | | | | * Do not write to backend reporter if report creation fails * More robust error handling * Improve debug log output
* | Make debug messages a bit more usefulArturo Filastò2012-11-27
| |
* | Parse the test specific command line options when running a test or testsArturo Filastò2012-11-27
| | | | | | | | * Read the SOCKS port and Control port via the control port when starting with Tor
* | s/config.tor.socksport/config.tor.socks_port/Arturo Filastò2012-11-27
| |
* | If the option start_tor is set to True, make sure that Tor is started before ↵Arturo Filastò2012-11-27
| | | | | | | | running the test deck
* | Improve the reporting of HTTP Test template. Include the reason of the ↵Arturo Filastò2012-11-26
| | | | | | | | | | | | | | | | failure for every request. * Extend config file to support the tor related options * Create ooniprobe.sample * Add ooniprobe.conf to .gitignore
* | Add support for starting Tor via txtorconArturo Filastò2012-11-26
| | | | | | | | | | | | * XXX would like to be able to know if Tor is censored and add it to the report, this can easily be done if running launch_tor with a timeout. This is provided by this patch: https://github.com/meejah/txtorcon/pull/24
* | Add logPrefixes to txagentwithsocksArturo Filastò2012-11-26
| | | | | | | | * Improve http test template
* | Handle responseNeverReceived failureArturo Filastò2012-11-26
| |
* | Rename setupProgressMeters to updateProgressMeters and add debugging.Arturo Filastò2012-11-26
| | | | | | | | * Call such function every time we iterate over a test
* | Store the state of the currently running tests, their progress and estimated ↵Arturo Filastò2012-11-26
| | | | | | | | | | | | | | time to completion * Display every 5 seconds a summary of all the running tests and their progress * Refactor input unit and nettest
* | Add test state execution tracking and resume supportArturo Filastò2012-11-26
| | | | | | | | | | | | | | | | * Clean up some debug messages * Handle DNS lookup problems * Handle TCP Timeouts properly * Better error handling in HTTP tests * Make sure that responses are written even if the response is not received
* | Fix bug that mistakenly reports unsupported twisted versionArturo Filastò2012-11-25
| |
* | Fix bug that lead processPacket being called even if no packet has been receivedArturo Filastò2012-11-25
| |
* | Register scapyFactor if it is not registeredArturo Filastò2012-11-25
| | | | | | | | * Better debugging messages
* | The dicts and lists used for keeping track of answers should be instance ↵Arturo Filastò2012-11-25
| | | | | | | | attributes not class attributes
* | Make the sniffer not run in a separate thread, but use a non blocking fdescArturo Filastò2012-11-25
| | | | | | | | | | | | * Do some refactoring of scapy testing, following Factory creational pattern and a pub-sub pattern for the readers and writers (inspired by muxTCP). * Other misc refactoring
* | Add proper documentation to HTTP Test templateArturo Filastò2012-11-25
| | | | | | | | * Do some minor refactoring
* | Test and Implement HTTP Header Field Manipulation TestArturo Filastò2012-11-25
| | | | | | | | | | | | | | | | | | (rename it to what we had originally called it since it made most sense) * Extend TrueHeaders to support calculation of difference between two HTTP headers respectful of capitalization * Write unittests for TrueHeaders functions with decent code path coverage * Add commented out testdeck for running HTTP Header Field manipulation test * Fix bug in calculation of runtime of test
* | Update unittests for runnerArturo Filastò2012-11-25
| | | | | | | | * Remove superflous debug messages
* | Implement test deck system for automating the specification of command line ↵Arturo Filastò2012-11-25
| | | | | | | | | | | | arguments for tests * Change before_i_commit script to use test deck system
* | Refactoring on runner, reporter and oonicliArturo Filastò2012-11-25
| | | | | | | | * Include the command line arguments in the test report
* | If libpcap and libdnet is present we will use them. If not use raw sockets.Arturo Filastò2012-11-24
| |
* | Comment out what we would want to haveArturo Filastò2012-11-24
| | | | | | | | | | | | | | | | * Uncomment set close-on-exec on the socket file descriptor. Would not be useful in our case since we are not forking, but it's does not hurt to be safe. * This functionality does not work on windows based machines, but twisteds wrapper for it takes care of handling that.
* | Do some important refactoring of scapy related functionalityArturo Filastò2012-11-24
| | | | | | | | | | | | * Move functions for detecting the default network interface into txscapy * Make sr1 follow the syntax of scapy * Add notes as to why the parasitic traceroute test does not work
* | Fix bug in tests that do not have usageOptionsArturo Filastò2012-11-24
| |
* | Put a sane timeout default on txscapyArturo Filastò2012-11-24
| |
* | Take note of the fact that we need such function, specifically for the ↵Arturo Filastò2012-11-24
| | | | | | | | dnsspoof test
* | Implement sr1 in txscapyArturo Filastò2012-11-24
| |
* | Update scapy test to support sr1Arturo Filastò2012-11-24
| | | | | | | | * Refactor scapy test to avoid too much code duplication
* | Refactor the logic for dumping the YAML reports of packets.Arturo Filastò2012-11-24
| | | | | | | | | | | | * Override the yaml.representer.represent_data as a hackish quick fix to the problem. * Outline a possible long term solution to it.
* | Make HTTPConnectionPool be a softer dependencyArturo Filastò2012-11-24
| | | | | | | | | | | | | | * Print out messages warning the user that the current version of twisted is outdated. * Update requirements.txt to require Twisted > 12.1.0 Thanks to mct for reporting the bug
* | Implement postProcessor NetTestCase hook for processing the results of all ↵Arturo Filastò2012-11-23
| | | | | | | | | | | | | | | | | | | | | | the test methods * Such methods gets passed a report dict that contains the reports of the previous test runs keyed on the test method. This allows to implement censorship detection logic that is cumulative to the running of all tests * Refactor how we run tests to allow this hook to work. In particular all tests methods are run before moving onto the next input. * Add index for tracking the current input unit
* | Get HTTP Requests test in a working state.Arturo Filastò2012-11-22
| | | | | | | | | | | | | | | | | | | | * Performs random capitalization of a set of static HTTP Header fields and measures on the backend if they are as expected. * XXX the detection logic needs some more work * XXX We need to keep track of the order in which we send the headers from the HTTP Agent. Perhaps it makes sense to implement a specific HTTP Agent that does not implement the full HTTP protocol like what we did for the backend component.
* | Move txagentwithsocks to utilsArturo Filastò2012-11-22
| |