| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
certificate and chain in a way that YAML won't complain about.
* TODO: we may want to look into a better method for serialising
certificates that is compatible with YAML, rather than just storing them
as PEM encoded certs in a string.
* Also, pyOpenSSL will segfault if you try to check the cert. Added a
warning in the docstring of method handshakeSucceeded() about that.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
doHandshake(). This should not ever occur, but just in case it does, we'll
want to log it rather than throwing the Exception out.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* Currently we send 'o\r\n'. TODO: we should look up a more common string
that is sent, perhaps one for each of the major browsers, to emulate a
more normal connection, and decrease fingerprintability.
* Add calls to the SSL_ERROR_WANT_READ and SSL_ERROR_WANT_WRITE handlers,
handleWantRead() and handleWantWrite(), to method doHandshake().
* Add timeout notice if repetitive want_writes occur in doHandshake().
* Add call to connectionRenegotiate() if multiple want_reads occur in method
doHandshake().
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
connection, if OpenSSL's memory BIO state machine reports this error, and also
jump to the SSL_ERROR_WANT_READ handler if at any point that error is raised.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
and the socket, and for handling instances where the connection has been
halfway closed.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
memory BIO state machine reports that it has been handled, and also jump to
the SSL_ERROR_WANT_WRITE handler when/if that error occurs.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE, as may be the case.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
systems, /dev/random is apparently set to 0600 root:root, and also add
handling for propagating errors due to the network/server being unreachable.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
in method getPeerCert().
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
getPeerCert() for dumping the server x509 certificate.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* We can't use hasattr(config.basic, 'foo') because this gives None if not
set, which means the default in the test doesn't get set. Instead, we want
to use:
if getattr(config.basic, 'foo', None) is not None:
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
a note-to-self to explain to users that currently only one TLS/SSL context
method can be chosen at a time.
* TODO add support for looping through multiple TLS/SSL contexts.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
IP:port inputs in addition to a file of inputs, which would throw off the
input_id counter and mess up reporting.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
when a TLS/SSL context was not chosen from the test commandline options.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| |/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This fixes: https://trac.torproject.org/projects/tor/ticket/8803
|
| |\ \ \ \ \ \ \ \ \
| | |_|_|_|_|_|/ /
| |/| | | | | | | |
Improvements to feature/task manager
|
| | | |_|_|_|_|/ /
| |/| | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* Make startup logic more robust
* Use a deferred to keep track of director activity
* Fix some typos
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Remove runner.py
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Get rid of ridiculous logic that uses a deferred list, instead keep track of
the report task via a single deferred.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* More robust startup process
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* Explicit the passing of the nettest file argument
|
| | | | | | | | | |
|