Post Reply 
ProxHTTPSProxy, a Proxomitron SSL Helper Program
Jun. 05, 2010, 07:26 PM (This post was last modified: Jun. 05, 2010 07:27 PM by JJoe.)
Post: #97
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(Jun. 05, 2010 07:27 AM)whenever Wrote:  Version 0.3a commented out all server sockets shutdown statements while client socket are still explicit shutdown.

hmmm

Assuming that you are still sliding down the slippery slope...

A problem passing plain http while in Half_SSL mode with socks.

Code:
ProxHTTPSProxy/0.3a serving now, <Ctrl-C> to stop ...
Listen Addr  : localhost:8081
Parent Proxy : 127.0.0.1:9050@socks5
Half_SSL     : Yes
Debug        : On
--------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 51894)
Traceback (most recent call last):
  File "C:\Python26\lib\SocketServer.py", line 558, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python26\lib\SocketServer.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python26\lib\SocketServer.py", line 615, in __init__
    self.handle()
  File "C:\Python26\lib\BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File "C:\Python26\lib\BaseHTTPServer.py", line 323, in handle_one_request
    method()
  File "C:\Users\E3\Programs\ProxHTTPSProxy 0.3a\ProxHTTPSProxy.py", line 48, in
do_METHOD
    server_sock = ssl.wrap_socket(server_sock)
  File "C:\Python26\lib\ssl.py", line 350, in wrap_socket
    suppress_ragged_eofs=suppress_ragged_eofs)
  File "C:\Python26\lib\ssl.py", line 118, in __init__
    self.do_handshake()
  File "C:\Python26\lib\ssl.py", line 293, in do_handshake
    self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:480: error:140770FC:SSL routines:SSL23_GET_SERVER_HEL
LO:unknown protocol
----------------------------------------

Code:
+++GET 4784+++
Using Proxy - 127.0.0.1:8081
GET http://www.scroogle.org/ HTTP/1.1
Host: www.scroogle.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
+++CLOSE 4784+++

Works without Half_SSL, so I'm assuming feature creep. Wink

The rest seems ok.

Back after dinner.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program - JJoe - Jun. 05, 2010 07:26 PM

Forum Jump: