von / PerProxy

A python-based proxy that uses Perspectives to detect and thwart SSL MITM attacks.
7 stars 2 forks source link

SSLError: unexpected eof #17

Closed von closed 13 years ago

von commented 13 years ago
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 60091)
Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py",
line 582, in process_request_thread
   self.finish_request(request, client_address)
 File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py",
line 323, in finish_request
   self.RequestHandlerClass(request, client_address, self)
 File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py",
line 639, in __init__
   self.handle()
 File "./PerProxy.py", line 93, in handle
   self.pass_through(server)
 File "./PerProxy.py", line 184, in pass_through
   data = instance.recvall()
 File "/Users/von/develop/PerProxy/Server.py", line 58, in recvall
   data = self.sock.recv(buflen)
 File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/M2Crypto-0.20.2-py2.7-macosx-10.3-fat.egg/M2Crypto/SSL/Connection.py",
line 223, in read
   return self._read_nbio(size)
 File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/M2Crypto-0.20.2-py2.7-macosx-10.3-fat.egg/M2Crypto/SSL/Connection.py",
line 212, in _read_nbio
   return m2.ssl_read_nbio(self.ssl, size)
SSLError: unexpected eof
----------------------------------------
von commented 13 years ago

Besides the actual problem here, reporting isn't very helpful, with no thread-id or target service give.