Proxy, SSL, and CONNECT simple questions

  • Follow


Hi,
  Most corporate users are obviously behind a proxy and a firewall.
How do they make SSL connections to outside web servers (on port 443)?
Do all HTTP Proxy servers support the CONNECT method? Or do the
corporates have the firewall open port 443 to everyone so that they
can directly connect (without going thru the proxy)? Or are there any
other possibilties?

I have also another question about the CONNECT method. If I connected
to the HTTP proxy server and used the CONNECT method, in theory do I
have a TCP connection to a server outside the firewall? For example,
if there was a ftp server outside the firewall that was setup to
listen on port 443 (just assume),  could I use the CONNECT server to
send and receive FTP commands using the CONENCT method? because I dont
think the CONNECT method actually checks if it is "SSL" encrypted data
that is flowing through.

Thanks,
Steve
0
Reply user00 9/7/2003 5:05:03 AM

[ Followup-To set, please reduce cross-posting ]

Steve <user00@hotmail.com> wrote:
> Hi,
>   Most corporate users are obviously behind a proxy and a firewall.
> How do they make SSL connections to outside web servers (on port 443)?
> Do all HTTP Proxy servers support the CONNECT method? Or do the
> corporates have the firewall open port 443 to everyone so that they
> can directly connect (without going thru the proxy)? Or are there any
> other possibilties?

Usually https goes through the proxy but isn't cached from the proxy,
as it makes no real sense. But it's hard to tell without knowing any-
thing about the LAN, just a wild guess.

> I have also another question about the CONNECT method. If I connected
> to the HTTP proxy server and used the CONNECT method, in theory do I
> have a TCP connection to a server outside the firewall? For example,
> if there was a ftp server outside the firewall that was setup to
> listen on port 443 (just assume),  could I use the CONNECT server to
> send and receive FTP commands using the CONENCT method? because I dont
> think the CONNECT method actually checks if it is "SSL" encrypted data
> that is flowing through.

You might be out of luck, there should be a firewall in front of the
proxy. Many newer firewalls are able to look into the data stream, 
they will mention if it isn't SSL and deny/log the traffic.
Perhaps there'll be soon someone asking you, what you are actually
trying... Again, just a wild guess...

-- 
Michael Heiming

Remove +SIGNS and www. if you expect an answer, sorry for 
inconvenience, but I get tons of SPAM
0
Reply Michael 9/7/2003 7:48:14 AM


Michael Heiming wrote:
> [ Followup-To set, please reduce cross-posting ]
> 
> Steve <user00@hotmail.com> wrote:
> 
>>Hi,
>>  Most corporate users are obviously behind a proxy and a firewall.
>>How do they make SSL connections to outside web servers (on port 443)?
>>Do all HTTP Proxy servers support the CONNECT method? Or do the
>>corporates have the firewall open port 443 to everyone so that they
>>can directly connect (without going thru the proxy)? Or are there any
>>other possibilties?
> 
> 
> Usually https goes through the proxy but isn't cached from the proxy,
> as it makes no real sense. But it's hard to tell without knowing any-
> thing about the LAN, just a wild guess.
> 
> 
>>I have also another question about the CONNECT method. If I connected
>>to the HTTP proxy server and used the CONNECT method, in theory do I
>>have a TCP connection to a server outside the firewall? For example,
>>if there was a ftp server outside the firewall that was setup to
>>listen on port 443 (just assume),  could I use the CONNECT server to
>>send and receive FTP commands using the CONENCT method? because I dont
>>think the CONNECT method actually checks if it is "SSL" encrypted data
>>that is flowing through.
> 
> 
> You might be out of luck, there should be a firewall in front of the
> proxy. Many newer firewalls are able to look into the data stream, 
> they will mention if it isn't SSL and deny/log the traffic.
> Perhaps there'll be soon someone asking you, what you are actually
> trying... Again, just a wild guess...

   Yes, a proxy could look at the non-encrypted parts of the SSL 
handshake. However, I've sent traffic that could not be mistaken for SSL 
to port 443 through at least one proxy using CONNECT, so they don't all.

--Mike Amling

0
Reply nospam21 (11322) 9/7/2003 2:03:56 PM

Michael Amling <nospam@nospam.com> wrote:
....
>    Yes, a proxy could look at the non-encrypted parts of the SSL 
> handshake. However, I've sent traffic that could not be mistaken for SSL 
> to port 443 through at least one proxy using CONNECT, so they don't all.

Didn't mean the proxy, there are firewalls able to look at the traffic
and log/drop the connection, if it's not allowed.

-- 
Michael Heiming

Remove +SIGNS and www. if you expect an answer, sorry for 
inconvenience, but I get tons of SPAM
0
Reply USENET22 (5462) 9/7/2003 8:03:37 PM

3 Replies
392 Views

(page loaded in 0.006 seconds)

Similiar Articles:













7/26/2012 1:15:26 AM


Reply: