Re: [squid-users] squid, cache_peer and client's IP address

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 24 Aug 2002 00:44:30 +0200

On Friday 23 August 2002 12.14, Ziaur Rahman wrote:

> You can see that the IPs in the parent server is the previous squid
> server's. Is it possible to report here the original client IP?

Possible yes. Just a matter of changing the code to do what you need.

Easy: Maybe not. Header information isn't available to the access
logging routine in a easy-to-use manner, and the Squid access.log
format only defines a single client IP address field, not a list of
IP addresses..

Workaround: Use log_mime_hdrs.

Regards
Henrik
Received on Fri Aug 23 2002 - 17:14:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:49 MST