Re: Apache 1.3.26 + Header-manipulation patches for Apache mod_proxy

Re: Apache 1.3.26 + Header-manipulation patches for Apache mod_proxy

am 24.06.2002 21:38:02 von Daniel Lopez

>
> My question is, is there not some value with his patches he has made?
> Enough of a value to be added into the distribution? And does 2.x even need
> it? I have yet to look into running 2.x, I first have to find out if it
> supports our SecurID module and test it before I even think of that.

In 2.0 you can use the RequestHeader directive


Daniel

--
Teach Yourself Apache 2 -- http://apacheworld.org/ty24/

Apache 1.3.26 + Header-manipulation patches for Apache mod_proxy

am 24.06.2002 21:42:02 von Brian.Richter

Hi,

I am writing to the mod_proxy list to ask a question. I am sorry if this
has been brought up before and addressed. I figure it probably has not
since it has not been available in the Apache distribution since 1.3.19
when I started using it.

What I am referring to is a patch a gentleman made for mod_proxy that
allows header manipulation. Kwin Kramer is his name.

The environment I work in we do not use commercial reverse proxy servers.
We use entirely Apache and mod_securid to shield all of the wimpy IIS
servers half our software REQUIRES to run on to be web enabled.

I helped them web enable several applications over a period of time, 2 of
which were Lotus iNotes for retrieving email and I-Manage, which is a
document manager.

Our users cannot use any web application until AFTER they have
authenticated with their SecurID token.

Problem came in when someone above me says, OK we are moving to Outlook,
No more Lotus Notes.. so after they setup some beta boxes and got OWA
(Outlook Web Access) running they asked me to setup some reverse proxy
rules to pass OWA for clients.

So with the help of another Co-worker we tried to get OWA working with
mod_proxy and Apache. We could never get it 100%. (We do SSL to the Apache
box, then non-ssl from the reverse proxy to the OWA box internally)

After my co-worker figured out what was going on he stumbled onto the web
site I linked to above. http://allafrica.com/tools/apache/mod_proxy/
There actually was a link if I remember correctly in MS knowledge base on
OWA communication.

There, a guy wrote a very handy patch that after adding one line we got OWA
working 100% in our environment.

The line winds up being:

ProxyRequestHeader set Front-End-Https On

Now you will have to forgive me if there is an easier way to accomplish
this, we scoured the newsgroups and the ONLY other solution we found short
of dropping Apache and using some other product was using a hacked
mod_proxy_add_forward.c. I could not find anyone that actually accomplished
this though. I found allot of unanswered questions in regards to OWA and
Apache. (1.3.x)

If their is another way to do this please let me know. And if this is even
applicable to 2.x

Now after this last weekend I had to upgrade all our reverse proxy servers
because of the exploit floating around that effected pre 1.3.26 loads.

To my dismay, the patch for 1.3.19 did not apply to 1.3.26. I was stuck,
if I kept running the older version we were open to attack.. I thought of
trying to match up the diffs on the patch files to figure out exactly what
was going on to see if I could do something myself..

Instead, I emailed Kwin and got a very prompt response. He came up with
new patched for 1.3.26 within a couple days which was really great!

My question is, is there not some value with his patches he has made?
Enough of a value to be added into the distribution? And does 2.x even need
it? I have yet to look into running 2.x, I first have to find out if it
supports our SecurID module and test it before I even think of that.

I am sure there are applications to come that we will have to rely on this
to get the app to be web enabled and play nice for a client.

It would be really nice if this functionality was built in. And extra
patches were not necessary.

Now I am not the Apache expert, so I have no idea if what we were trying to
accomplish above could have been pulled off with a bunch of complicated
re-write rules or something else so please don't flame me to death if this
is the case.

Sorry for the long message and thanks for everyone's time that read this.

Brian





===========================================================

Important:
This electronic mail message and any attached files contain information
intended for the exclusive use of the individual or entity to whom it is
addressed and may contain information that is proprietary, privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you are hereby notified that any viewing,
copying, disclosure or distribution of this information may be subject to
legal restriction or sanction. Please notify the sender, by electronic
mail or telephone, of any unintended recipients and delete the original
message without making any copies.

===========================================================

Re: Apache 1.3.26 + Header-manipulation patches for Apache mod_proxy

am 24.06.2002 23:25:51 von Graham Leggett

Brian.Richter@kmzr.com wrote:

> My question is, is there not some value with his patches he has made?
> Enough of a value to be added into the distribution? And does 2.x even need
> it? I have yet to look into running 2.x, I first have to find out if it
> supports our SecurID module and test it before I even think of that.

If I remember correctly the changes in the patch only worked for Proxy,
not for the whole server. As a result, mod_headers was modified in v2.0
to allow request headers to be modified as well as response headers.

As for v1.3, it's been put in a fixes only state, as v2.0 is the
preferred version to use now. This is why the patch is separate for v1.3.

Regards,
Graham
--
-----------------------------------------
minfrin@sharp.fm
"There's a moon
over Bourbon Street
tonight..."

Re: Apache 1.3.26 + Header-manipulation patches for Apache mod_proxy

am 25.06.2002 07:20:04 von Brian.Richter

This is a multi-part message in MIME format.

--=_Boundary_YQoIuNBn5ULH7p5WJems
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

ze=3D2>


-----Graham Leggett <minfrin=
@sharp.fm> wrote: -----

To: modproxy-dev@apache.org
Fro=
m: Graham Leggett <minfrin@sharp.fm>
Date: 06/24/2002 04:25PM
S=
ubject: Re: Apache 1.3.26 + Header-manipulation patches for Apache mod=5Fpr=
oxy

Brian.Richter@kmzr.com wrote:
=

> My question is, is there not some value with his=
patches he has made?
> Enough of a va=
lue to be added into the distribution? And does 2.x even need
T>> it? I have yet to look into running 2.x, I first =
have to find out if it
> supports our =
SecurID module and test it before I even think of that.

=
If I remember correctly the changes in the patch only wo=
rked for Proxy,
not for the whole server.=
As a result, mod=5Fheaders was modified in v2.0
IZE=3D2>to allow request headers to be modified as well as response headers=
..

As for v1.3, it's been put in a fix=
es only state, as v2.0 is the
preferred v=
ersion to use now. This is why the patch is separate for v1.3.
TT>
Regards,
Graham=

Yes this is just a proxy related =
item.

OK thanks, I did not realize tha=
t since v2.0 is out that 1.3.x is in fix state only.  Which means I fi=
gure, no major changes.. Just updates for fixes/problems.  So his late=
st patch for 1.3.26 will most likely continue to work.  Still would be=
nice if it was just rolled in with the rest since it's so valuable and I a=
m sure many like myself will not be moving to 2.0 for awhile. (Not that I d=
on't want to, just don't have enough time yet at work to do so.)
>

Also believe it or not, I don't think many are aware of his pat=
ch for the 1.3.x version.  I have spoke with many that had no idea of =
it.  Others like myself that had Apache in a reverse proxy configurati=
on that could not get OWA working with it.

Thanks =
for the responses everyone.

 

=

--=_Boundary_YQoIuNBn5ULH7p5WJems
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit



===========================================================

Important:
This electronic mail message and any attached files contain information
intended for the exclusive use of the individual or entity to whom it is
addressed and may contain information that is proprietary, privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you are hereby notified that any viewing,
copying, disclosure or distribution of this information may be subject to
legal restriction or sanction. Please notify the sender, by electronic
mail or telephone, of any unintended recipients and delete the original
message without making any copies.

===========================================================

--=_Boundary_YQoIuNBn5ULH7p5WJems--

Re: Apache 1.3.26 + Header-manipulation patches for Apache mod_proxy

am 25.06.2002 23:40:44 von Kwindla Hultman Kramer

Graham Leggett writes:
> If I remember correctly the changes in the patch only worked for Proxy,
> not for the whole server. As a result, mod_headers was modified in v2.0
> to allow request headers to be modified as well as response headers.
>
> As for v1.3, it's been put in a fixes only state, as v2.0 is the
> preferred version to use now. This is why the patch is separate for v1.3.
>

It's true that the patches only worked "inside" mod_proxy
operations. Unfortunately, there doesn't seem to be an alternative
strategy for implementing this functionality in 1.3. And -- again
unfortunately -- many of us can't move to 2.0 until certain modules
are more stable. For me, mod_cache and mod_perl are critical. I'll
keep maintaining the headers patches until we can all cross over!

I'd like to thank folks here for all the work on mod_proxy, both 1.3-
and 2.0-series. It's a wonderful thing.

Incidentally, as 1.3 is in a "fixes only" state, are the architectural
changes to mod_proxy-1.3 at an end? I had to do a fair bit of
re-working to port the patches from 1.3.19 to 1.3.26.

Kwin

Re: Apache 1.3.26 + Header-manipulation patches for Apache mod_proxy

am 27.06.2002 17:33:52 von Graham Leggett

Kwindla Hultman Kramer wrote:

> It's true that the patches only worked "inside" mod_proxy
> operations. Unfortunately, there doesn't seem to be an alternative
> strategy for implementing this functionality in 1.3. And -- again
> unfortunately -- many of us can't move to 2.0 until certain modules
> are more stable. For me, mod_cache and mod_perl are critical. I'll
> keep maintaining the headers patches until we can all cross over!

Is the patch in the patches section of v1.3?

> Incidentally, as 1.3 is in a "fixes only" state, are the architectural
> changes to mod_proxy-1.3 at an end? I had to do a fair bit of
> re-working to port the patches from 1.3.19 to 1.3.26.

The HTTP/1.1 patch got applied to v1.3.23 after it had been around for
quite a while (it took till v1.3.26 to get the bugs ironed out), but I
think it came in under the wire, as v2.0 went GA shortly after that, and
there was consensus to focus development on v2.0 instead of v1.3.

Regards,
Graham
--
-----------------------------------------
minfrin@sharp.fm
"There's a moon
over Bourbon Street
tonight..."

Re: Apache 1.3.26 + Header-manipulation patches for Apache mod_proxy

am 27.06.2002 18:14:33 von Kwindla Hultman Kramer

Graham Leggett writes:
> Kwindla Hultman Kramer wrote:
>
> > It's true that the patches only worked "inside" mod_proxy
> > operations. Unfortunately, there doesn't seem to be an alternative
> > strategy for implementing this functionality in 1.3. And -- again
> > unfortunately -- many of us can't move to 2.0 until certain modules
> > are more stable. For me, mod_cache and mod_perl are critical. I'll
> > keep maintaining the headers patches until we can all cross over!
>
> Is the patch in the patches section of v1.3?
>

It's not. It's available from:

http://allafrica.com/tools/apache/mod_proxy/

I'd be happy for it to be included in contrib/patches if you think
that would be a good idea. I confess, I'm not sure who I ask to make
that happen, and the READMEs don't seem to say.

Kwin