Re: [squid-users] display source IP address in the log file

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 15 Dec 2006 10:44:27 +0100

fre 2006-12-15 klockan 16:48 +0800 skrev Adrian Chadd:
> On Fri, Dec 15, 2006, Melanie Pfefer wrote:
> > Hi
> >
> > what needs to be changes in squid.conf to display the
> > IP address of the proxy client?
>
> It should already do that!
>
> 1166172828.422 96 192.168.1.133 TCP_REFRESH_HIT/304 271 GET http://www.creative.net.au/themes/bluemarine/style.css - DIRECT/203.56.168.1 -
>
> The third field is the client's IP.

ANd if it does not show the last part of the IP then you have set the
client_netmask directive, masking away part of the reported IPs.

Regards
Henrik

Received on Fri Dec 15 2006 - 02:44:37 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST