/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-10 / Transparent proxy support? Issues with using

[ << ] [ >> ]

[ how to configure pound for url rewrite / redirect ... ] [ Variable Containing the Session Key / "John ... ]

Transparent proxy support? Issues with using
"Kiriki Delany" <kiriki(at)streamguys.com>
2006-10-19 03:00:03 [ FULL ]
Hello All

First off, let me thank Robert Segall and everyone who has contributed to
making Pound. It's a great , simple and elegant service.

Recently I have been setting up Pound to load balance a variety of servers,
Apache, Shoutcast, and windows media

I've found that anything that supports http, seems to load balance great. I
don't know how many people have tested load balancing and streaming servers
with Pound before.

The only issue I'm running into has to do with logging.

I need to be able to the get clients IP address in the traditional fields
for the log analysis. 

I have been able to modify httpd.conf to use the common X-Forwarded-for:
client-IP-address syntax.

But... we load balance windows media servers, and IIS servers. Its not so
easy to get this into their log files.

I was looking at the patch from this list post about making pound work as a
transparent proxy 

http://www.apsis.ch/pound/pound_list/archive/2005/2005-12/1134465117000#1134
465117000

"A made a little patch to make Pound capable of transparent
proxying under Linux 2.6.

Web servers on backends can log the original IP and/port of
clients without the need to parse X-Forwarded-for headers."


Which seems to patch Pound to pass the actual client IP along.

This patch seems specific to Linux 2.6 which were not running, and I'm not
sure how well supported this feature is within Pound

I wondered if anyone has solves similar issues in the past? Working with
Windows Media leaves much to be desired in terms of being able to customize
log files. And its simply out of the questions for ShoutCast. 

It would be great if this feature was included in Pound. It just makes
standard logging much more valuable to have the clients actual IP in there. 

Thanks for any assistance. 

Kiriki Delany

RE: [Pound Mailing List] Transparent proxy support? Issues with using
"Joe Gooch" <mrwizard(at)k12system.com>
2006-10-24 14:51:01 [ FULL ]
I treat my Pound logs as authoritative and use those instead of the
backends.

However, something like:
http://blogs.msdn.com/david.wang/archive/2005/09/28/HOWTO-ISAPI-Filter-w
hich-Logs-original-Client-IP-for-Load-Balanced-IIS-Servers.aspx

May do what you need, on the backend side.

Joseph Gooch
Sapphire Suite Product Manager
K12 Systems, Inc.
[...]
using[...]
to[...]
great.[...]
fields[...]
X-Forwarded-for:[...]
so[...]
as[...]
not[...]
with[...]
pound(at)apsis.ch.[...]

MailBoxer