Created
October 8, 2014 16:02
-
-
Save mhils/1cffaad2a08753d75f95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| C:\Python27\python.exe C:/Users/user/git/mitmproxy/mitmdump -v --cert ca/full.pem | |
| 127.0.0.1:61508: clientconnect | |
| 127.0.0.1:61508: request | |
| -> CONNECT example.com:443 HTTP/1.1 | |
| 127.0.0.1:61508: Set new server address: example.com:443 | |
| 127.0.0.1:61508: serverconnect | |
| -> example.com:443 | |
| 127.0.0.1:61508: Received CONNECT request to SSL port. Upgrading to SSL... | |
| 127.0.0.1:61508: Establish SSL | |
| -> with client | |
| -> with server (sni: None) | |
| Establish SSL for <socket._socketobject object at 0x02314A08> | |
| handle_sni for <OpenSSL.SSL.Connection object at 0x023F4170> | |
| File "C:\Python27\lib\threading.py", line 783, in __bootstrap | |
| self.__bootstrap_inner() | |
| File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner | |
| self.run() | |
| File "C:\Python27\lib\threading.py", line 763, in run | |
| self.__target(*self.__args, **self.__kwargs) | |
| File "C:\Users\user\git\netlib\netlib\tcp.py", line 432, in connection_thread | |
| self.handle_client_connection(connection, client_address) | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\server.py", line 50, in handle_client_connection | |
| h.handle() | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\server.py", line 94, in handle | |
| protocol_handler(self.conntype)(self).handle_messages() | |
| File "C:\Users\user\git\mitmproxy\libmproxy\protocol\http.py", line 929, in handle_messages | |
| while self.handle_flow(): | |
| File "C:\Users\user\git\mitmproxy\libmproxy\protocol\http.py", line 993, in handle_flow | |
| ret = self.process_request(flow, req) | |
| File "C:\Users\user\git\mitmproxy\libmproxy\protocol\http.py", line 1160, in process_request | |
| return self.process_connect_request(self.c.server_conn.address) | |
| File "C:\Users\user\git\mitmproxy\libmproxy\protocol\http.py", line 1274, in process_connect_request | |
| self.c.establish_ssl(server=True, client=True) | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\server.py", line 207, in establish_ssl | |
| ca_file=self.config.ca_file | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\connection.py", line 66, in convert_to_ssl | |
| tcp.BaseHandler.convert_to_ssl(self, *args, **kwargs) | |
| File "C:\Users\user\git\netlib\netlib\tcp.py", line 403, in convert_to_ssl | |
| self.connection.do_handshake() | |
| File "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 1075, in do_handshake | |
| result = _lib.SSL_do_handshake(self._ssl) | |
| File "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 778, in wrapper | |
| callback(Connection._reverse_mapping[ssl]) | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\server.py", line 271, in handle_sni | |
| print("".join(traceback.format_stack())) | |
| 127.0.0.1:61508: SNI received: example.com | |
| cert: <OpenSSL.crypto.X509 object at 0x023EF490>, key: <OpenSSL.crypto.PKey object at 0x023EF550> | |
| handle_sni completed | |
| exceptioned: SSL handshake error: Error([('SSL routines', 'SSL3_GET_CLIENT_HELLO', 'no shared cipher')],) | |
| 127.0.0.1:61508: SSL handshake error: The client may not trust the proxy's certificate. | |
| 127.0.0.1:61508: ProxyError('NetLibError("SSL handshake error: Error([(\'SSL routines\', \'SSL3_GET_CLIENT_HELLO\', \'no shared cipher\')],)",)',) | |
| 127.0.0.1:61508: serverdisconnect | |
| -> example.com:443 | |
| handle_sni for <OpenSSL.SSL.Connection object at 0x023F4170> | |
| File "C:\Python27\lib\threading.py", line 783, in __bootstrap | |
| self.__bootstrap_inner() | |
| File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner | |
| self.run() | |
| File "C:\Python27\lib\threading.py", line 763, in run | |
| self.__target(*self.__args, **self.__kwargs) | |
| File "C:\Users\user\git\netlib\netlib\tcp.py", line 432, in connection_thread | |
| self.handle_client_connection(connection, client_address) | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\server.py", line 51, in handle_client_connection | |
| h.finish() | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\server.py", line 233, in finish | |
| self.client_conn.finish() | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\connection.py", line 70, in finish | |
| tcp.BaseHandler.finish(self) | |
| File "C:\Users\user\git\netlib\netlib\tcp.py", line 222, in finish | |
| self.close() | |
| File "C:\Users\user\git\netlib\netlib\tcp.py", line 243, in close | |
| while self.connection.recv(4096): # pragma: no cover | |
| File "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 994, in recv | |
| result = _lib.SSL_read(self._ssl, buf, bufsiz) | |
| File "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 778, in wrapper | |
| callback(Connection._reverse_mapping[ssl]) | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\server.py", line 271, in handle_sni | |
| print("".join(traceback.format_stack())) | |
| handle_sni errored | |
| Traceback (most recent call last): | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\server.py", line 280, in handle_sni | |
| cert, key = self.find_cert() | |
| File "C:\Users\user\git\mitmproxy\libmproxy\proxy\server.py", line 248, in find_cert | |
| host = self.server_conn.address.host | |
| AttributeError: 'Deleted' object has no attribute 'address' | |
| 127.0.0.1:61508: clientdisconnect | |
| 127.0.0.1:61508: SNI received: example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment