Https in proxy server
hi friends,
I'm building a proxy server using c#.I compeleted the code to handle http
but i'm struggling with https.After i receive the CONNECT command i can able
to connect to port 443 to the appropriate server and i send the response
back to the browser as
"HTTP/1.0 200 Connection established\r\nProxy-Agent: Dynu Proxy Server\r\n\r\n".
But after that i'm getting an junk message instead of SSL Hello from the
browser.I also checked whether all bytes are sent or not..it sends it correctly.I
use IE as client and use proxy for all protocols(I tried netscape also..it
doesnt work).Can any one tell me what's going wrong with this?
Thanks,
Suresh.
[735 byte] By [
Suresh] at [2007-11-9 18:50:31]

# 1 Re: Https in proxy server
hi
you said that you had handled http completely. My question is:
-- have you tested your proxy server on the web
-- i mean to say, does it handle links which are put up using javascript,vbscript, and other kinds of links?
-- does it transfer images to the client browser?
-- if your proxy server is correctly able to handle the following links, then you have done what I am trying to do now:
***** the search feature of http://www.google.com
***** links from http://mail.yahoo.com and http://www.yahoo.com
***** links from http://www.hotmail.com
-- are you parsing HTML or are using some kind of server side configurations
Plz let me know because i am in dire need of the knowledge of this.
you said you write to the browser:
i send the response
back to the browser as
"HTTP/1.0 200 Connection established\r\nProxy-Agent: Dynu Proxy Server\r\n\r\n".
shouldn't HTTP be HTTPS ( i don't know HTTPS, SSL etc, just making a guess )
shaiba at 2007-11-11 21:58:06 >
