Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Introduce the mock module to improve unit tests. | Aldo Cortesi | 2013-01-26 | 2 | -1/+24 | |
| | | | | | There are a few socket corner-cases that are incredibly hard to reproduce in a unit test suite, so we use mock to trigger the exceptions instead. | |||||
* | Streamline netlib.test API | Aldo Cortesi | 2013-01-25 | 2 | -93/+44 | |
| | ||||||
* | Extract TCP test utilities into netlib.test | Aldo Cortesi | 2013-01-25 | 4 | -92/+146 | |
| | ||||||
* | Improve error signalling for client certificates. | Aldo Cortesi | 2013-01-20 | 2 | -3/+15 | |
| | ||||||
* | Beef up client certificate handling substantially. | Aldo Cortesi | 2013-01-20 | 7 | -4/+92 | |
| | ||||||
* | Fix client cert typo. | Aldo Cortesi | 2013-01-18 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #8 from rouli/master | Aldo Cortesi | 2013-01-16 | 2 | -4/+28 | |
|\ | | | | | Improving timestamp feature | |||||
| * | renaming the timestamp in preparation of other timestamps that will be added ↵ | Rouli | 2013-01-16 | 2 | -4/+28 | |
|/ | | | | later, adding tests | |||||
* | Merge pull request #7 from rouli/master | Aldo Cortesi | 2013-01-14 | 1 | -0/+4 | |
|\ | | | | | Adding read timestamp | |||||
| * | adding read timestamp to enable better resolution of when certain reads were ↵ | Israel Nir | 2013-01-10 | 1 | -0/+4 | |
|/ | | | | performed (timestamp is updated when the first byte is available on the network) | |||||
* | Sanity-check certstore common names. | Aldo Cortesi | 2013-01-06 | 2 | -0/+25 | |
| | ||||||
* | Generate certificates with a commencement date an hour in the past. | Aldo Cortesi | 2013-01-06 | 1 | -1/+1 | |
| | | | | | This helps smooth over small discrepancies in client and server times, where it's possible for a certificate to seem to be "in the future" to the client. | |||||
* | Basic certificate store implementation and cert utils API cleanup. | Aldo Cortesi | 2013-01-06 | 2 | -40/+78 | |
| | ||||||
* | Unit test for ODict.__iter__ | Aldo Cortesi | 2013-01-05 | 1 | -0/+5 | |
| | ||||||
* | Handle non-integer port error in parse_init_connect correctly | Aldo Cortesi | 2013-01-05 | 2 | -1/+5 | |
| | ||||||
* | Minor cleanup of http.parse_init* methods. | Aldo Cortesi | 2013-01-04 | 1 | -17/+22 | |
| | ||||||
* | Merge branch 'master' of ssh.github.com:cortesi/netlib | Aldo Cortesi | 2013-01-03 | 1 | -0/+3 | |
|\ | ||||||
| * | Merge pull request #4 from mhils/master | Aldo Cortesi | 2012-12-04 | 1 | -0/+3 | |
| |\ | | | | | | | Add __iter__ to ODict | |||||
| | * | add __iter__ for odict | Maximilian Hils | 2012-12-05 | 1 | -0/+3 | |
| |/ | ||||||
* / | Add getcertnames, a tool for retrieving the CN and SANs from a remote server. | Aldo Cortesi | 2013-01-03 | 1 | -0/+16 | |
|/ | ||||||
* | Bump version. | Aldo Cortesi | 2012-10-31 | 2 | -10/+6 | |
| | ||||||
* | More info on disconnect exception. | Aldo Cortesi | 2012-10-14 | 1 | -2/+2 | |
| | ||||||
* | Limit reads to block length. | Aldo Cortesi | 2012-10-09 | 2 | -2/+17 | |
| | ||||||
* | Add a settimeout method to tcp.BaseHandler. | Aldo Cortesi | 2012-10-01 | 2 | -4/+36 | |
| | ||||||
* | 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 | 2 | -0/+49 | |
| | ||||||
* | Split FileLike into Writer and Reader, and add logging functionality. | Aldo Cortesi | 2012-09-24 | 2 | -19/+84 | |
| | ||||||
* | 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 | 2 | -0/+84 | |
| | | | | 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 | 2 | -0/+12 | |
| | ||||||
* | read_headers: handle some crashes, return None on invalid data. | Aldo Cortesi | 2012-07-30 | 2 | -14/+36 | |
| | ||||||
* | Handle disconnects on flush. | Aldo Cortesi | 2012-07-30 | 1 | -2/+5 | |
| | ||||||
* | Bump version. | Aldo Cortesi | 2012-07-29 | 2 | -1/+2 | |
| | ||||||
* | Ignore SAN entries that we don't understand. | Aldo Cortesi | 2012-07-24 | 3 | -1/+41 | |
| | ||||||
* | Handle HTTP responses that have a body but no content-length or transfer ↵ | Aldo Cortesi | 2012-07-24 | 4 | -18/+59 | |
| | | | | | | | | | 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 | 2 | -2/+7 | |
| | ||||||
* | Timeout for TCP clients. | Aldo Cortesi | 2012-07-21 | 2 | -9/+60 | |
| | ||||||
* | 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 | |
|\ | ||||||
| * | Merge pull request #1 from mhils/master | Aldo Cortesi | 2012-07-11 | 1 | -1/+2 | |
| |\ | | | | | | | Fix cert generation if confdir is relative | |||||
| | * | fix relative certdir | Maximilian Hils | 2012-07-11 | 1 | -1/+2 | |
| |/ | ||||||
* / | close() methods for clients and servers. | Aldo Cortesi | 2012-07-20 | 2 | -4/+64 | |
|/ | ||||||
* | 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 | |
| |