aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/tcp.py
Commit message (Collapse)AuthorAgeFilesLines
* add distinct error for cert verification issuesMaximilian Hils2015-07-241-2/+9
|
* Added a fix for pre-1.0 OpenSSL which wasn't correctly erring on failed ↵Kyle Morton2015-07-211-0/+7
| | | | certificate validation
* Fixing default CA which ought to be read as a pemfile and not a directoryKyle Morton2015-07-211-1/+1
|
* Fixing how certifi is made the default ca_path to simplify calling logic.Kyle Morton2015-06-261-1/+3
|
* Merge pull request #76 from kyle-m/masterAldo Cortesi2015-06-241-10/+14
|\ | | | | Provide debugging information when upstream server certificate fails validation
| * Cleaning up upstream server verification. Adding storage of cerificateKyle Morton2015-06-221-8/+8
| | | | | | | | | | verification errors on TCPClient object to enable warnings in downstream projects.
| * Updating TCPServer to allow tests (and potentially other use cases) to serveKyle Morton2015-06-221-2/+6
| | | | | | | | certificate chains instead of only single certificates.
* | unify SSL version/method handlingThomas Kriechbaumer2015-06-221-7/+18
|/
* mark unused variables and argumentsThomas Kriechbaumer2015-06-181-5/+5
|
* Merge branch 'master' of https://github.com/kyle-m/netlib into kyle-m-masterAldo Cortesi2015-06-181-3/+3
|\
| * Adding certifi as default CA bundle.Kyle Morton2015-06-161-3/+3
| |
* | Only set OP_NO_COMPRESSION by default if it exists in our version of OpenSSLAldo Cortesi2015-06-181-1/+12
| | | | | | | | | | We'll need to start testing under both new and old versions of OpenSSL somehow to catch these...
* | Merge pull request #71 from Kriechi/landscapeAldo Cortesi2015-06-181-5/+3
|\ \ | | | | | | fix warnings and code smells
| * | fix warnings and code smellsThomas Kriechbaumer2015-06-171-5/+3
| | | | | | | | | | | | use prospector to find them
* | | http2: improve test suiteThomas Kriechbaumer2015-06-161-4/+5
| | |
* | | add elliptic curve during TLS handshakeThomas Kriechbaumer2015-06-161-8/+5
|/ /
* | Merge pull request #69 from kyle-m/masterAldo Cortesi2015-06-161-0/+23
|\| | | | | Adding support for upstream certificate validation when using SSL/TLS…
| * Adding support for upstream certificate validation when using SSL/TLS with anKyle Morton2015-06-151-0/+23
| | | | | | | | instance of TCPClient.
* | simplify ALPNThomas Kriechbaumer2015-06-141-6/+2
| |
* | add new TLS methodsThomas Kriechbaumer2015-06-141-1/+4
| |
* | add more testsThomas Kriechbaumer2015-06-121-4/+4
| |
* | improve ALPN integrationThomas Kriechbaumer2015-06-111-8/+15
|/
* fix coding styleThomas Kriechbaumer2015-06-081-1/+1
|
* http2: add warning if raw data looks like HTTP/1Thomas Kriechbaumer2015-06-081-1/+1
|
* fix non-ALPN supported OpenSSL-related testsThomas Kriechbaumer2015-06-081-1/+4
|
* improve ALPN support on travisThomas Kriechbaumer2015-06-081-8/+11
|
* Revert "tcp: clear_log to clear socket logs"Aldo Cortesi2015-06-051-3/+0
| | | | | | start_log also clears the log, which is good enough. This reverts commit 4ca62e0d9bd09aa286cde9bafceff7204304d00c.
* tcp: clear_log to clear socket logsAldo Cortesi2015-06-051-0/+3
|
* When we see an incomplete read with 0 bytes, it's a disconnectAldo Cortesi2015-05-311-3/+6
| | | | Partially fixes mitmproxy/mitmproxy:#593
* Save first byte timestamp for writers too.Aldo Cortesi2015-05-311-0/+1
|
* Adjust pep8 parameters, reformatAldo Cortesi2015-05-301-11/+31
|
* add ALPN support to TCP abstractionThomas Kriechbaumer2015-05-291-8/+27
|
* cleanup code with autoflakeThomas Kriechbaumer2015-05-271-2/+0
| | | | run the following command: $ autoflake -r -i --remove-all-unused-imports --remove-unused-variables .
* cleanup code with autopep8Thomas Kriechbaumer2015-05-271-20/+42
| | | | run the following command: $ autopep8 -i -r -a -a .
* remove outdated workaroundsThomas Kriechbaumer2015-05-271-8/+4
|
* improve displaying tcp addressesMaximilian Hils2015-05-181-1/+4
|
* Add tcp.Reader.safe_read, use it in socks and websocketsAldo Cortesi2015-05-051-14/+34
| | | | | | safe_read is guaranteed to raise or return a byte string of the requested length. It's particularly useful for implementing binary protocols.
* fix socket_close on Windows, refs mitmproxy/mitmproxy#527Maximilian Hils2015-04-171-12/+20
|
* fix code smellMaximilian Hils2015-04-091-7/+7
|
* 100% test coverageMaximilian Hils2015-04-091-1/+1
|
* fail gracefully if we cannot start a new threadMaximilian Hils2015-04-091-1/+5
|
* fix tests on WindowsMaximilian Hils2015-03-071-0/+5
|
* clean up cert handling, fix mitmproxy/mitmproxy#472Maximilian Hils2015-03-071-54/+86
|
* 100% test coverage :tada:Maximilian Hils2015-02-271-12/+14
|
* add option to log ssl keysMaximilian Hils2015-02-271-0/+36
| | | | refs mitmproxy/mitmproxy#475
* TCPClient: Use TLS1.1+ where available, BaseHandler: disable SSLv2Maximilian Hils2014-12-151-2/+4
|
* Fix tracebacks in connection finishAldo Cortesi2014-11-151-1/+1
|
* .flush can raise NetlibDisconnect. This fixes a traceback found in fuzzing.Aldo Cortesi2014-11-071-1/+4
|
* refactor tcp close, fix mitmproxy/mitmproxy#376Maximilian Hils2014-10-221-48/+51
|
* fix mitmproxy/mitmproxy#375Maximilian Hils2014-10-171-0/+9
|