Post Reply 
ProxHTTPSProxy, a Proxomitron SSL Helper Program
May. 31, 2010, 03:11 AM
Post: #76
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program
(May. 31, 2010 02:21 AM)whenever Wrote:  Graycode, is it normal a "/" come after "CONNECT" method? How could that happened? I think Proxo doesn't get the host:port where to establish the tunnel so it popped up the error message box.

No. The CONNECT method is supposed to be only for proxies, and proxied requests should have the host-port as part of the request line.

Non-proxied request (something a web server would get)
Code:
GET / HTTP/1.1
Host: www.example.com

Proxied request (something a proxy would get)
Code:
GET http://www.example.com/ HTTP/1.1
Host: www.example.com

For a CONNECT given to a proxy, it's normal for the request to contain host and port while the 'Host:' header does not contain the port by some browsers.
Code:
CONNECT www.example.com:443 HTTP/1.1
Host: www.example.com

Did your Python proxy get the headers you showed? Is Proxomitron just showing that format in its logging, or did it really send those headers to your proxy? If Proxo knows the communication is going to be sent through your proxy the it should have sent proxy formatting.

I'm confused.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ProxHTTPSProxy, a Proxomitron SSL Helper Program - Graycode - May. 31, 2010 03:11 AM

Forum Jump: