| Commit message (Collapse) | Author | Age |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix privilege shedding and daemonisation of oonibackend
* Rewrite to use twistd
* Launch tor only after we have forked
* Set the UID of when starting tor
This fixes #65
* Add gitignore files and remove empty.txt files
* Drop support for super old versions of txtorcon
* Remove now unnecessary hacks to maintain backward compatibility
* Fix permissions on temporary tor data directory
|
| |
|
|
|
| |
This allows us to get updates running `vagrant box update`.
While at it, add `/.vagrant/` to `.gitignore`.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add web connectivity test helper
* Forward test helper addresses to the host machine
* Align the request headers used by the web_connectivity test helper to those of the probe
* Add monkey patch for bug in twisted RedirectAgent:
https://twistedmatrix.com/trac/ticket/8265
* Add monkey patch for HTTPClientParser.statusReceived
* Use TrueHeaders in control request
* Add support for specifying endpoints in web_connectivity test helper
* Add endpoint for checking the status of the WebConnectivity test helper
* Add support for parsing test-helpers-alternate
* Fix key for web_connectivity test in example configuration file
* Implement on-disk web_connectivity cache
* Add support for Gzip content decoding
* Also record CNAME resolution.
* Rename ips to addrs
* Add support for retries in the http_request
* Add support for extracting title
* Encode the responses as well when debug mode
* Handle partial downloads
* Ignore errors when encoding headers
* Cast title to unicode and ignore errors
* Improvements based on feedback and comments by @bassosimone
* Move twisted related patches into txextra module
* Add support for returning the responses based on a key sent by the
client.
* Inherit from OONIBHandler so we can get the error message format
* Stylistic improvements
* Set defaults in a way that oonib.conf can start from the example
* Avoid doing join on nonetype
* Address comments by @bassosimone
* Properly set the body also when we get a partial body downloaded
* Move more code into shared oonib.common module
* Fully sync the common module with ooni-probe (pulling in also other
shared functionality so the Agents match entirely)
* Fix location of comment for the patched HTTPClient
* Add unittests and integration tests for web_connectivity
|
| | |
|
| |
|
|
|
|
| |
* Update README.rst
* remove old configuration option
|
| | |
|
| |
|
|
| |
* Set tor_data_dir to null in the default example
|
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* feature/https_endpoint:
Ensure bouncer_endpoints and collector_endpoints are by default empty lists
Remove unused imports
Fix typo in gen-ssl-key-cert script
only assume HS endpoint when tor_hidden_service: true
explain + bail out when inconsistent config
Move gen-ssl-key-cert to scripts directory
remove another print from debugging
maintain old behaviour
remove echo server i used for debugging
easily swappable {TCP, TLS, onion} endpoints
|
| | | |
|
| | | |
|
| | | |
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
github.com:TheTorProject/ooni-backend into feature/https_endpoint
* 'feature/https_endpoint' of github.com:TheTorProject/ooni-backend:
only assume HS endpoint when tor_hidden_service: true
explain + bail out when inconsistent config
|
| | | | |
|
| | | | |
|
| | |/ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
| |
For some reason curl on mlab is failing to do a SSL handshake to
dist.torproject.org, while wget works.
Since we validate the package with gpg anyways it's not a security
issue.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
* Clean up requirements.txt
* Clean up Vagrantfile
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From the works-for-me-on-vagrant-isnt-this-ironic dept.:
1) stop provision script on error
2) update url required to get latest version of pip
3) zap virtualenv: it is not needed on a customly provisoned temporary virtual machine, plus the `mkvirtualenv` command exited with nonzero exit code for a reason that I wasn't able to understand despite I tried to do so
4) fix typo
5) don't pass nonexisting argument to pip
6) add instructions explaining how to test oonib.
(Related pull request: https://github.com/TheTorProject/ooni-backend/pull/64)
|
| | |
|
| |\
| |
| | |
Change the value of the key that is sent by the client in the 0.2 dat…
|
| | | |
|
| | | |
|
| |\ \
| |/
| | |
Feature/json
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Remove duplicated code
* Be smarter and not use else when unneeded
* Remove dead code
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
* Minor refactoring of unittests
* Fix a backward compatibility bug spotted in unittesting
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Invert inlineCallbacks
Convert PUT to POST (PUT is supposed to be indempotent)
* Better exception handling for DNS
|
| | |
| |
| |
| | |
JSON files when it's of file type JSON
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| |/
|/| |
Update the pip recommendations
|
| |/
|
|
|
| |
* Recommend at least pip 7 because versions since 1.3 have changed
the defaults to better protect end users during install.
* Use the new official location for the bootstrap script.
|
| | |
|
| | |
|