mod_ssl, mod_proxy, and CONNECT

This is a discussion on mod_ssl, mod_proxy, and CONNECT within the Apache Web Server forums, part of the Web Server and Related Forums category; I hope someone here can help me with a sticky problem. I want to connect to an Apache server using ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-08-2004
Paul G. Weiss
 
Posts: n/a
Default mod_ssl, mod_proxy, and CONNECT

I hope someone here can help me with a sticky problem.

I want to connect to an Apache server using SSL, then use the CONNECT
method to get to a service on another machine.

So, for example, I want to do something like:

openssl s_client -connect apacheserver:443
CONNECT inside:33333 HTTP/1.0
Proxy-Authorization: sdfsadfasdfasasdfas

and now, I want to be able to talk to the service on inside:33333.

The problem is that when I try it the connection is established but
immediately dies, since the data from inside:33333 is passed directly
to the calling socket, without going through the SSL layer!

I've been able to get around this problem by using stunnel instead of
mod_ssl. Now the problem is that all the log entries look like
they're coming from 127.0.0.1, which is ugly.

Can anyone suggest an Apache only solution w/o stunnel that will let
me eat my cake and have it?

-Paul
  #2 (permalink)  
Old 11-08-2004
Davide Bianchi
 
Posts: n/a
Default Re: mod_ssl, mod_proxy, and CONNECT

On 2004-11-08, Paul G. Weiss <pgweiss@arity.com> wrote:
> I want to connect to an Apache server using SSL, then use the CONNECT
> method to get to a service on another machine.


Install a _real_ proxy or use an ssh tunnel.
Davide

--
Here's your cable. We made it fifty feet long, just in case. In case
what, in case tectonic movement makes the serial ports farther apart?
-- Carl Jacobs
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0