aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
Commit message (Collapse)AuthorAgeFilesLines
...
* Ensure that HTTP methods are ASCII.Aldo Cortesi2013-03-031-0/+2
|
* Tighten up checks on port ranges and path character sets.Aldo Cortesi2013-03-032-11/+34
|
* parse_url: Handle invalid IPv6 addressesAldo Cortesi2013-03-031-1/+4
|
* More parse_url solidification: check that port is in range 0-65535Aldo Cortesi2013-03-031-1/+3
|
* Check that hosts in parse_url do not contain NULL bytes.Aldo Cortesi2013-03-031-1/+3
|
* Stricter error checking for http.parse_urlAldo Cortesi2013-03-031-0/+13
|
* 100% test coverage.Aldo Cortesi2013-03-032-2/+2
|
* Integrate HTTP auth, test to 100%Aldo Cortesi2013-03-034-1/+228
|
* Factor out http.parse_response_lineAldo Cortesi2013-03-021-8/+16
|
* ODict.keysAldo Cortesi2013-02-281-0/+3
|
* Make sni_handler an argument to BaseHandler.convert_to_sslAldo Cortesi2013-02-252-20/+16
|
* Housekeeping and cleanup, some minor argument name changes.Aldo Cortesi2013-02-243-9/+11
|
* More accurate description of an HTTP read error, make pyflakes happy.Aldo Cortesi2013-02-244-8/+8
|
* 100% test coverageAldo Cortesi2013-01-271-14/+7
|
* Bump unit tests, fix two serious wee buglets discovered.Aldo Cortesi2013-01-261-2/+2
|
* Introduce the mock module to improve unit tests.Aldo Cortesi2013-01-261-0/+6
| | | | | 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-251-1/+6
|
* Extract TCP test utilities into netlib.testAldo Cortesi2013-01-252-5/+73
|
* Improve error signalling for client certificates.Aldo Cortesi2013-01-201-3/+6
|
* Beef up client certificate handling substantially.Aldo Cortesi2013-01-202-4/+12
|
* Fix client cert typo.Aldo Cortesi2013-01-181-1/+1
|
* renaming the timestamp in preparation of other timestamps that will be added ↵Rouli2013-01-161-4/+4
| | | | later, adding tests
* 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-061-0/+16
|
* 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-061-19/+53
|
* Handle non-integer port error in parse_init_connect correctlyAldo Cortesi2013-01-051-1/+4
|
* Minor cleanup of http.parse_init* methods.Aldo Cortesi2013-01-041-17/+22
|
* add __iter__ for odictMaximilian Hils2012-12-051-0/+3
|
* Bump version.Aldo Cortesi2012-10-311-1/+1
|
* More info on disconnect exception.Aldo Cortesi2012-10-141-2/+2
|
* Limit reads to block length.Aldo Cortesi2012-10-091-2/+6
|
* 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
|