Post Reply 
ProxHTTPSProxy, a Proxomitron SSL Helper Program
May. 22, 2010, 04:36 AM (This post was last modified: May. 22, 2010 04:38 AM by JJoe.)
Post: #31
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 22, 2010 02:01 AM)whenever Wrote:  
(May. 21, 2010 11:16 PM)JJoe Wrote:  Success -> turn off computer -> turn on computer -> Failure
Proxo has done this to me before. Darn...

Now I feel relieved it might not be my program's problem. Smile!

Would still be your program's problem. Wink
I chose to believe that the Proxomitron may have been designed to protect anything that looked like ssl and moved on.

In this case, Proxo appears to be forwarding but there is no answer.
I see Wireshark and ? in my future... Need my head examined... Crazy

Are you going to add forwarding to your proxy?

(May. 22, 2010 04:11 AM)whenever Wrote:  I am wondering if it would solve JJoe's issue.

Nope. Not yet anyway.

I must go.
Have fun
Add Thank You Quote this message in a reply
May. 22, 2010, 06:24 AM
Post: #32
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 22, 2010 04:36 AM)JJoe Wrote:  I chose to believe that the Proxomitron may have been designed to protect anything that looked like ssl and moved on.

No. I don't think so.

If you don't let Proxo filter https, it simply forward all outgoing and ingoing data passed it and won't touch the data.

(May. 22, 2010 04:36 AM)JJoe Wrote:  Are you going to add forwarding to your proxy?

Forward what?
Add Thank You Quote this message in a reply
May. 22, 2010, 01:31 PM
Post: #33
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 22, 2010 06:24 AM)whenever Wrote:  
(May. 22, 2010 04:36 AM)JJoe Wrote:  Are you going to add forwarding to your proxy?

Forward what?

The data to another proxy?
Can your proxy use a proxy?
Add Thank You Quote this message in a reply
May. 22, 2010, 02:11 PM
Post: #34
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 22, 2010 01:31 PM)JJoe Wrote:  Can your proxy use a proxy?

That can be done but what is it good for?
Add Thank You Quote this message in a reply
May. 22, 2010, 05:43 PM
Post: #35
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 22, 2010 02:11 PM)whenever Wrote:  
(May. 22, 2010 01:31 PM)JJoe Wrote:  Can your proxy use a proxy?

That can be done but what is it good for?

Maybe the user's internet connection requires a proxy or they want to access ssl.scroogle.org through Tor?
Add Thank You Quote this message in a reply
May. 22, 2010, 08:19 PM (This post was last modified: May. 23, 2010 07:16 PM by JJoe.)
Post: #36
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
I set Opera to use ProxHTTPSProxy for http and https.
For https://ssl.scroogle.org:443/ Opera shows http://ssl.scroogle.org:443/ as expected and the scroogle server returned

Quote:Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint: https://ssl.scroogle.org/

I then set Opera to use ProxHTTPSProxy for https and Polipo for http.
For https://ssl.scroogle.org:443/ Opera shows http://ssl.scroogle.org:443/ as expected but Polipo returned

Quote:403 Forbidden port

The following error occurred while trying to access http://ssl.scroogle.org:443/:

403 Forbidden port
Generated Sat, 22 May 2010 14:54:38 Central Daylight Time by Polipo on E3-PC:8123.

and Wireshark showed no traffic.

It looks like Polipo will not allow http on port 443?

I haven't restarted tho. Wink

EDIT

Again, I set Opera to use ProxHTTPSProxy for http and https.
This time it worked.
Then, I set Opera to use Proxo for http and that worked...

Edit2: I can't be sure it worked,
http://prxbx.com/forums/showthread.php?t...4#pid14244 .
Add Thank You Quote this message in a reply
May. 22, 2010, 09:50 PM (This post was last modified: May. 23, 2010 07:16 PM by JJoe.)
Post: #37
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
It works again. Think

Avira updated before it started and stopped working but I tried disabling Avira before.

I have restarted the machine several times. Wink

Edit: I can't be sure it worked,
http://prxbx.com/forums/showthread.php?t...4#pid14244 .
Add Thank You Quote this message in a reply
May. 22, 2010, 10:55 PM (This post was last modified: May. 23, 2010 01:32 AM by JJoe.)
Post: #38
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
whenever,

What happens after you,
remove the ssl dlls from Proxo's directory, restart Proxo, and then try your proxy?

Also, what happens after you, exit the Proxomitron, set the browser to use ProxHTTPSProxy for http and https, and then try to access https://ssl.scroogle.org:443/?

I think I can explain some of what I've seen on Win7 64.
Add Thank You Quote this message in a reply
May. 23, 2010, 01:53 AM
Post: #39
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 22, 2010 10:55 PM)JJoe Wrote:  What happens after you,
remove the ssl dlls from Proxo's directory, restart Proxo, and then try your proxy?

Worked as before.

BTW, I am not running ProxHTTPSProxy under Proxomitron directory.

(May. 22, 2010 10:55 PM)JJoe Wrote:  Also, what happens after you, exit the Proxomitron, set the browser to use ProxHTTPSProxy for http and https, and then try to access https://ssl.scroogle.org:443/?

Worked as before too. The address bar changed to http://ssl.scroogle.org:443/ as expected.
Add Thank You Quote this message in a reply
May. 23, 2010, 02:53 AM
Post: #40
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
If I set the browser to use ProxHTTPSProxy for http and https, and then try to access https://ssl.scroogle.org:443/ ,
I see activity in the Proxomitron's log window.
Is this activity expected? Remember that the browser is not set to use the Proxomitron.

When ProxHTTPSProxy 'works' (regardless of browser proxy settings),
I see ssl activity in the Proxomitron's log window.

Code:
New Message Log Window....

+++GET 1+++
CONNECT / HTTP/1.0
Loaded: OpenSSL 0.9.8 05 Jul 2005

+++SSL:GET 1+++
SSL cipher TLSv1 AES256-SHA (256 bits)
GET / HTTP/1.1
Accept-Language: en-US,en;q=0.9
Accept-Encoding: gzip,deflate
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
User-Agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.5.24 Version/10.53
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Host: ssl.scroogle.org:443
Connection: keep-alive

+++SSL:RESP 1+++
SSL cipher TLSv1 DHE-RSA-AES256-SHA (256 bits)
HTTP/1.1 200 OK
Date: Sun, 23 May 2010 02:30:36 GMT
Server: Apache/2.0.52 (CentOS)
Last-Modified: Sun, 24 May 2009 00:20:54 GMT
ETag: "10eee-4ef-777e0580"
Accept-Ranges: bytes
Content-Length: 1263
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

Opera was set to use ProxHTTPSProxy for http and https.
ProxHTTPSProxy was running in its own directory.
Is this expected?

If I hide Proxo's dlls or exit Proxo, ProxHTTPSProxy doesn't 'work' (regardless of browser proxy settings).
Expected?

(work|works) = I can see scroogle page in browser.
Add Thank You Quote this message in a reply
May. 23, 2010, 04:42 AM
Post: #41
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
I guess your Internet Explorer is set to use Proxomitron as proxy. That's the only reason I could think of that caused above issue.

From the python doc:
Quote:The default is to read the list of proxies from the environment variables . If no proxy environment variables are set, in a Windows environment, proxy settings are obtained from the registry’s Internet Settings section

When I get time to add proxy support to ProxHTTPSProxy, I will make it ignore IE's proxy setting.
Add Thank You Quote this message in a reply
May. 23, 2010, 05:22 AM
Post: #42
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 23, 2010 04:42 AM)whenever Wrote:  I guess your Internet Explorer is set to use Proxomitron as proxy.

D'oh! D'oh! of course. Very rusty.
All I see while using IE8 is connections being opened to ssl.scroogle.org untill I end ProxHTTPSProxy.

Code:
Closed    827    000        0    http://ssl.scroogle.org:443/
Closed    826    000        0    http://ssl.scroogle.org:443/
Closed    825    000        0    http://ssl.scroogle.org:443/
Closed    824    000        0    http://ssl.scroogle.org:443/
Closed    823    000        0    http://ssl.scroogle.org:443/
Closed    822    000        0    http://ssl.scroogle.org:443/

I will watch for a while.

Thanks
Add Thank You Quote this message in a reply
May. 23, 2010, 09:10 AM
Post: #43
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 22, 2010 05:43 PM)JJoe Wrote:  Maybe the user's internet connection requires a proxy or they want to access ssl.scroogle.org through Tor?

Here is the version 0.2 that supports parent proxy. The parent proxy must support https proxying since all remote contents ProxHTTPSProxy fetches are through https protocol.

Usage: open the .py file and change the proxy = '' line.


Attached File(s)
.zip  ProxHTTPSProxy 0.2.zip (Size: 1.48 KB / Downloads: 807)
Add Thank You Quote this message in a reply
May. 23, 2010, 07:14 PM
Post: #44
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 19, 2010 08:07 PM)ProxRocks Wrote:  admittedly, i haven't tried YET...
it's on my weekend-to-do-list...

And?
Add Thank You Quote this message in a reply
May. 23, 2010, 07:47 PM (This post was last modified: May. 23, 2010 07:47 PM by JJoe.)
Post: #45
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 23, 2010 09:10 AM)whenever Wrote:  Here is the version 0.2 that supports parent proxy.

It appears to...
I'm restarting all and running some test.
Back in a while... Suspicious
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: