Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a settimeout method to tcp.BaseHandler. | Aldo Cortesi | 2012-10-01 | 1 | -0/+3 | |
| | ||||||
* | Make cleanBin escape carriage returns. | Aldo Cortesi | 2012-09-27 | 1 | -1/+1 | |
| | | | | We get confusing output on terminals if we leave \r unescaped. | |||||
* | Create netlib.utils, move cleanBin and hexdump from libmproxy.utils. | Aldo Cortesi | 2012-09-24 | 1 | -0/+36 | |
| | ||||||
* | Split FileLike into Writer and Reader, and add logging functionality. | Aldo Cortesi | 2012-09-24 | 1 | -16/+53 | |
| | ||||||
* | Don't create fresh FileLike objects when converting to SSL | Aldo Cortesi | 2012-09-24 | 1 | -4/+7 | |
| | ||||||
* | Add a collection of standard User-Agent strings. | Aldo Cortesi | 2012-09-01 | 1 | -0/+77 | |
| | | | | These will be used in both mitmproxy and pathod. | |||||
* | v0.2.1 | Aldo Cortesi | 2012-08-23 | 1 | -1/+1 | |
| | ||||||
* | Add a get_first convenience function to ODict. | Aldo Cortesi | 2012-08-18 | 1 | -0/+6 | |
| | ||||||
* | read_headers: handle some crashes, return None on invalid data. | Aldo Cortesi | 2012-07-30 | 1 | -2/+8 | |
| | ||||||
* | Handle disconnects on flush. | Aldo Cortesi | 2012-07-30 | 1 | -2/+5 | |
| | ||||||
* | Bump version. | Aldo Cortesi | 2012-07-29 | 1 | -1/+1 | |
| | ||||||
* | Ignore SAN entries that we don't understand. | Aldo Cortesi | 2012-07-24 | 1 | -1/+5 | |
| | ||||||
* | Handle HTTP responses that have a body but no content-length or transfer ↵ | Aldo Cortesi | 2012-07-24 | 2 | -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 Cortesi | 2012-07-23 | 1 | -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 Cortesi | 2012-07-22 | 1 | -2/+2 | |
| | ||||||
* | Handle unexpected SSL connection termination in readline. | Aldo Cortesi | 2012-07-21 | 1 | -3/+8 | |
| | ||||||
* | Handle socket disconnects on reads. | Aldo Cortesi | 2012-07-21 | 1 | -0/+2 | |
| | ||||||
* | Handle HTTP versions malformed due to non-integer major/minor numbers. | Aldo Cortesi | 2012-07-21 | 1 | -2/+5 | |
| | ||||||
* | Timeout for TCP clients. | Aldo Cortesi | 2012-07-21 | 1 | -8/+28 | |
| | ||||||
* | Set ssl_established right after the connection object is changed. | Aldo Cortesi | 2012-07-20 | 1 | -2/+2 | |
| | ||||||
* | Fix cert path. | Aldo Cortesi | 2012-07-20 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' of ssh.github.com:cortesi/netlib | Aldo Cortesi | 2012-07-20 | 1 | -1/+2 | |
|\ | ||||||
| * | fix relative certdir | Maximilian Hils | 2012-07-11 | 1 | -1/+2 | |
| | | ||||||
* | | close() methods for clients and servers. | Aldo Cortesi | 2012-07-20 | 1 | -3/+31 | |
|/ | ||||||
* | Signal errors back to caller in WSGI .serve() | Aldo Cortesi | 2012-07-11 | 1 | -0/+1 | |
| | ||||||
* | Don't write empty values. | Aldo Cortesi | 2012-07-10 | 1 | -4/+5 | |
| | ||||||
* | Somewhat nicer handling of errors after thread termination. | Aldo Cortesi | 2012-07-10 | 1 | -13/+10 | |
| | ||||||
* | Add an exception to indicate remote disconnects. | Aldo Cortesi | 2012-07-08 | 1 | -6/+15 | |
| | ||||||
* | Refactor TCP test suite. | Aldo Cortesi | 2012-07-05 | 1 | -1/+1 | |
| | ||||||
* | Expose SSL options, use TLSv1 by default for client connections. | Aldo Cortesi | 2012-07-04 | 1 | -4/+42 | |
| | ||||||
* | Allow control of buffer size for TCPClient, improve error messages. | Aldo Cortesi | 2012-06-30 | 2 | -4/+7 | |
| | ||||||
* | Add utility function for converstion to PEM. | Aldo Cortesi | 2012-06-28 | 1 | -0/+3 | |
| | ||||||
* | Return a certutils.SSLCert object from get_remote_cert. | Aldo Cortesi | 2012-06-28 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' of github.com:cortesi/netlib | Aldo Cortesi | 2012-06-28 | 3 | -1/+231 | |
|\ | ||||||
| * | Add a get_remote_cert method to tcp client. | Aldo Cortesi | 2012-06-28 | 2 | -4/+7 | |
| | | ||||||
| * | Refactor certutils.SSLCert API. | Aldo Cortesi | 2012-06-27 | 1 | -13/+18 | |
| | | ||||||
| * | Add certutils to netlib. | Aldo Cortesi | 2012-06-27 | 1 | -0/+219 | |
| | | ||||||
| * | Merge branch 'master' of ssh.github.com:cortesi/netlib | Aldo Cortesi | 2012-06-27 | 1 | -1/+2 | |
| |\ | ||||||
| * | | Minor refactoring. | Aldo Cortesi | 2012-06-27 | 2 | -1/+4 | |
| | | | ||||||
* | | | Handle obscure termination scenario, where interpreter exits before thread ↵ | Aldo Cortesi | 2012-06-28 | 1 | -10/+14 | |
| |/ |/| | | | | | termination. | |||||
* | | Fix termiantion error in file read. | Aldo Cortesi | 2012-06-27 | 1 | -1/+2 | |
|/ | ||||||
* | Add a flag to track SSL connection establishment. | Aldo Cortesi | 2012-06-26 | 1 | -0/+4 | |
| | ||||||
* | Hunt down a tricky WSGI socket hang. | Aldo Cortesi | 2012-06-26 | 2 | -4/+11 | |
| | ||||||
* | Add SNI. | Aldo Cortesi | 2012-06-26 | 1 | -1/+22 | |
| | ||||||
* | Perform handshake immediately on SSL conversion. | Aldo Cortesi | 2012-06-25 | 1 | -0/+2 | |
| | | | | | Otherwise the handshake happens at first write, which can balls up if either side hangs immediately. | |||||
* | Improve TCPClient interface. | Aldo Cortesi | 2012-06-25 | 1 | -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 Cortesi | 2012-06-25 | 1 | -1/+3 | |
| | ||||||
* | Don't connect during __init__ methods for either client or server. | Aldo Cortesi | 2012-06-25 | 1 | -5/+5 | |
| | | | | This means we now need to do these things explicitly at the caller. | |||||
* | SSL tests, plus some self-signed test certificates. | Aldo Cortesi | 2012-06-25 | 1 | -2/+2 | |
| | ||||||
* | Don't read all from server by default. | Aldo Cortesi | 2012-06-24 | 1 | -1/+1 | |
| | | | | | This can cause us to hang waiting for data. More research is needed to establish the right course of action here. |