aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Housekeeping and cleanup, some minor argument name changes.Aldo Cortesi2013-02-244-11/+13
|
* More accurate description of an HTTP read error, make pyflakes happy.Aldo Cortesi2013-02-246-10/+10
|
* 100% test coverageAldo Cortesi2013-01-272-18/+38
|
* Bump unit tests, fix two serious wee buglets discovered.Aldo Cortesi2013-01-262-3/+4
|
* Introduce the mock module to improve unit tests.Aldo Cortesi2013-01-262-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 APIAldo Cortesi2013-01-252-93/+44
|
* Extract TCP test utilities into netlib.testAldo Cortesi2013-01-254-92/+146
|
* Improve error signalling for client certificates.Aldo Cortesi2013-01-202-3/+15
|
* Beef up client certificate handling substantially.Aldo Cortesi2013-01-207-4/+92
|
* Fix client cert typo.Aldo Cortesi2013-01-181-1/+1
|
* Merge pull request #8 from rouli/masterAldo Cortesi2013-01-162-4/+28
|\ | | | | Improving timestamp feature
| * renaming the timestamp in preparation of other timestamps that will be added ↵Rouli2013-01-162-4/+28
|/ | | | later, adding tests
* Merge pull request #7 from rouli/masterAldo Cortesi2013-01-141-0/+4
|\ | | | | Adding read timestamp
| * adding read timestamp to enable better resolution of when certain reads were ↵Israel Nir2013-01-101-0/+4
|/ | | | performed (timestamp is updated when the first byte is available on the network)
* Sanity-check certstore common names.Aldo Cortesi2013-01-062-0/+25
|
* Generate certificates with a commencement date an hour in the past.Aldo Cortesi2013-01-061-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 Cortesi2013-01-062-40/+78
|
* Unit test for ODict.__iter__Aldo Cortesi2013-01-051-0/+5
|
* Handle non-integer port error in parse_init_connect correctlyAldo Cortesi2013-01-052-1/+5
|
* Minor cleanup of http.parse_init* methods.Aldo Cortesi2013-01-041-17/+22
|
* Merge branch 'master' of ssh.github.com:cortesi/netlibAldo Cortesi2013-01-031-0/+3
|\
| * Merge pull request #4 from mhils/masterAldo Cortesi2012-12-041-0/+3
| |\ | | | | | | Add __iter__ to ODict
| | * add __iter__ for odictMaximilian Hils2012-12-051-0/+3
| |/
* / Add getcertnames, a tool for retrieving the CN and SANs from a remote server.Aldo Cortesi2013-01-031-0/+16
|/
* Bump version.Aldo Cortesi2012-10-312-10/+6
|
* More info on disconnect exception.Aldo Cortesi2012-10-141-2/+2
|
* Limit reads to block length.Aldo Cortesi2012-10-092-2/+17
|
* Add a settimeout method to tcp.BaseHandler.Aldo Cortesi2012-10-012-4/+36
|
* 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-242-0/+49
|
* Split FileLike into Writer and Reader, and add logging functionality.Aldo Cortesi2012-09-242-19/+84
|
* 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-012-0/+84
| | | | 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-182-0/+12
|
* read_headers: handle some crashes, return None on invalid data.Aldo Cortesi2012-07-302-14/+36
|
* Handle disconnects on flush.Aldo Cortesi2012-07-301-2/+5
|
* Bump version.Aldo Cortesi2012-07-292-1/+2
|
* Ignore SAN entries that we don't understand.Aldo Cortesi2012-07-243-1/+41
|
* Handle HTTP responses that have a body but no content-length or transfer ↵Aldo Cortesi2012-07-244-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 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-212-2/+7
|
* Timeout for TCP clients.Aldo Cortesi2012-07-212-9/+60
|
* 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
|\
| * Merge pull request #1 from mhils/masterAldo Cortesi2012-07-111-1/+2
| |\ | | | | | | Fix cert generation if confdir is relative