Networking Forums

Networking Forums > Computer Networking > Linux Networking > Proxy, SSL, and CONNECT simple questions

Reply
Thread Tools Display Modes

Proxy, SSL, and CONNECT simple questions

 
 
Steve
Guest
Posts: n/a

 
      09-07-2003, 05:05 AM
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
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      09-07-2003, 07:48 AM
[ Followup-To set, please reduce cross-posting ]

Steve <(E-Mail Removed)> 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
 
Reply With Quote
 
Michael Amling
Guest
Posts: n/a

 
      09-07-2003, 02:03 PM
Michael Heiming wrote:
> [ Followup-To set, please reduce cross-posting ]
>
> Steve <(E-Mail Removed)> 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

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      09-07-2003, 08:03 PM
Michael Amling <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install/enable simple proxy and port forwarding? Matthew Lincoln Linux Networking 7 12-03-2008 11:55 PM
Some Simple Questions georgesme Wireless Internet 0 09-11-2007 12:28 PM
2 simple questions enquirer Wireless Networks 2 05-09-2006 09:16 PM
looking for a simple opensource TCP/IP Proxy server Krishna Linux Networking 0 01-19-2005 12:28 AM
Simple proxy-arp setup needed Jonas Simpson Linux Networking 1 09-30-2003 04:58 PM



1 2 3 4 5 6 7 8 9 10 11