Hi.
You have 2 options:
First you may disable the sorce nat on your load balancing device.
Second you need to enable the x-forwarder-for option, you are just "preparing" the log to get that information, now you need to send it to the squids log.
I hope this helps.
Saludos
Ing. Alfonso Alejandro Reyes Jimenez
Coordinador de Seguridad - SASI
E-mail: aareyes_at_scitum.com.mx
Telefono: 91507489
Movil: (044) 55 85 81 04 62
----- Mensaje original -----
De: Sekar Duraisamy [mailto:sekarit_at_gmail.com]
Enviado: Saturday, December 17, 2011 07:45 AM
Para: squid-users_at_squid-cache.org <squid-users_at_squid-cache.org>
Asunto: [squid-users] Squid logs not showing original client IP
Hi,
My squid proxy is placed behind the LoadBalancer. So i can see only
the loadbalancer IP as a source IP in the squid logs.
I have configured the log format with %{X-Forwarded-For}>h . But in
this field shows "-" . Not showing original client IP.
How to configure the squid to find the original client IP in squid logs ?
Thanks,
Sekar
Received on Sat Dec 17 2011 - 14:59:03 MST
This archive was generated by hypermail 2.2.0 : Sun Dec 18 2011 - 12:00:02 MST