aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a settimeout method to tcp.BaseHandler.Aldo Cortesi2012-10-011-0/+3
|
* Make cleanBin escape carriage returns.Aldo Cortesi2012-09-271-1/+1
| | | | We get confusing output on terminals if we leave \r unescaped.
* Create netlib.utils, move cleanBin and hexdump from libmproxy.utils.Aldo Cortesi2012-09-241-0/+36
|
* Split FileLike into Writer and Reader, and add logging functionality.Aldo Cortesi2012-09-241-16/+53
|
* Don't create fresh FileLike objects when converting to SSLAldo Cortesi2012-09-241-4/+7
|
* Add a collection of standard User-Agent strings.Aldo Cortesi2012-09-011-0/+77
| | | | These will be used in both mitmproxy and pathod.
* v0.2.1Aldo Cortesi2012-08-231-1/+1
|
* Add a get_first convenience function to ODict.Aldo Cortesi2012-08-181-0/+6
|
* read_headers: handle some crashes, return None on invalid data.Aldo Cortesi2012-07-301-2/+8
|
* Handle disconnects on flush.Aldo Cortesi2012-07-301-2/+5
|
* Bump version.Aldo Cortesi2012-07-291-1/+1
|
* Ignore SAN entries that we don't understand.Aldo Cortesi2012-07-241-1/+5
|
* Handle HTTP responses that have a body but no content-length or transfer ↵Aldo Cortesi2012-07-242-17/+31
| | | | | | | | | encoding We check if the server sent a connection:close header, and read till the socket closes. Closes #2
* Catch an amazingly subtle SSL connection corruption bug.Aldo Cortesi2012-07-231-3/+3
| | | | | | Closing a set of pseudo-file descriptors in the wrong order caused junk data to be written to the SSL stream. An apparent bug in OpenSSL then lets this corrupt the _next_ SSL connection.
* Fix http_protocol parsing crash discovered with pathoc fuzzing.Aldo Cortesi2012-07-221-2/+2
|
* Handle unexpected SSL connection termination in readline.Aldo Cortesi2012-07-211-3/+8
|
* Handle socket disconnects on reads.Aldo Cortesi2012-07-211-0/+2
|
* Handle HTTP versions malformed due to non-integer major/minor numbers.Aldo Cortesi2012-07-211-2/+5
|
* Timeout for TCP clients.Aldo Cortesi2012-07-211-8/+28
|
* Set ssl_established right after the connection object is changed.Aldo Cortesi2012-07-201-2/+2
|
* Fix cert path.Aldo Cortesi2012-07-201-1/+1
|
* Merge branch 'master' of ssh.github.com:cortesi/netlibAldo Cortesi2012-07-201-1/+2
|\
| * fix relative certdirMaximilian Hils2012-07-111-1/+2
| |
* | close() methods for clients and servers.Aldo Cortesi2012-07-201-3/+31
|/
* Signal errors back to caller in WSGI .serve()Aldo Cortesi2012-07-111-0/+1
|
* Don't write empty values.Aldo Cortesi2012-07-101-4/+5
|
* Somewhat nicer handling of errors after thread termination.Aldo Cortesi2012-07-101-13/+10
|
* Add an exception to indicate remote disconnects.Aldo Cortesi2012-07-081-6/+15
|
* Refactor TCP test suite.Aldo Cortesi2012-07-051-1/+1
|
* Expose SSL options, use TLSv1 by default for client connections.Aldo Cortesi2012-07-041-4/+42
|
* Allow control of buffer size for TCPClient, improve error messages.Aldo Cortesi2012-06-302-4/+7
|
* Add utility function for converstion to PEM.Aldo Cortesi2012-06-281-0/+3
|
* Return a certutils.SSLCert object from get_remote_cert.Aldo Cortesi2012-06-281-1/+1
|
* Merge branch 'master' of github.com:cortesi/netlibAldo Cortesi2012-06-283-1/+231
|\
| * Add a get_remote_cert method to tcp client.Aldo Cortesi2012-06-282-4/+7
| |
| * Refactor certutils.SSLCert API.Aldo Cortesi2012-06-271-13/+18
| |
| * Add certutils to netlib.Aldo Cortesi2012-06-271-0/+219
| |
| * Merge branch 'master' of ssh.github.com:cortesi/netlibAldo Cortesi2012-06-271-1/+2
| |\
| * | Minor refactoring.Aldo Cortesi2012-06-272-1/+4
| | |
* | | Handle obscure termination scenario, where interpreter exits before thread ↵Aldo Cortesi2012-06-281-10/+14
| |/ |/| | | | | termination.
* | Fix termiantion error in file read.Aldo Cortesi2012-06-271-1/+2
|/
* Add a flag to track SSL connection establishment.Aldo Cortesi2012-06-261-0/+4
|
* Hunt down a tricky WSGI socket hang.Aldo Cortesi2012-06-262-4/+11
|
* Add SNI.Aldo Cortesi2012-06-261-1/+22
|
* Perform handshake immediately on SSL conversion.Aldo Cortesi2012-06-251-0/+2
| | | | | Otherwise the handshake happens at first write, which can balls up if either side hangs immediately.
* Improve TCPClient interface.Aldo Cortesi2012-06-251-15/+16
| | | | | - Don't pass SSL parameters on instantiation. - Add a convert_to_ssl method analogous to that in TCPServer.
* Add a finished flag to BaseHandler, and catch an extra OpenSSL exception.Aldo Cortesi2012-06-251-1/+3
|
* Don't connect during __init__ methods for either client or server.Aldo Cortesi2012-06-251-5/+5
| | | | This means we now need to do these things explicitly at the caller.
* SSL tests, plus some self-signed test certificates.Aldo Cortesi2012-06-251-2/+2
|
* Don't read all from server by default.Aldo Cortesi2012-06-241-1/+1
| | | | | This can cause us to hang waiting for data. More research is needed to establish the right course of action here.