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

From: Melanie Pfefer <melanie_pfefer@dont-contact.us>
Date: Fri, 15 Dec 2006 11:30:11 +0000 (GMT)

hi
but the third field is *always* the ip address of the
proxy itself.
in the following sequence: client->proxy->web, I want
to get the client IP address.

thx

--- Henrik Nordstrom <henrik@henriknordstrom.net>
wrote:

> 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
>

        
        
                
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
Received on Fri Dec 15 2006 - 04:30:26 MST

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