Search squid archive

Re: display source IP address in the log file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux