Angela is correct.
If you set client_netmask to 255.255.255.255 it will block ip addresses
from being logged. That is the whole point in client_netmask.
Here's the tag, from the documentation:
# TAG: client_netmask
# A netmask for client addresses in logfiles and cachemgr output.
# Change this to protect the privacy of your cache clients.
#
#client_netmask 255.255.255.255
What you want to do, is comment out the client_netmask feature.
Regards,
Tim Rainier
"Angela Burrell" <angela@jobsearchnetwork.ca>
07/07/2004 03:59 PM
To: <Jessica.Haase@metaltekint.com>
cc: "squid users" <squid-users@squid-cache.org>
Subject: RE: [squid-users] FW: no client IP address
A question: Why would you set the netmask to 255.255.255.255?
This effectively filters out the entire IP address... ?
-----Original Message-----
From: Jessica.Haase@metaltekint.com
[mailto:Jessica.Haase@metaltekint.com]
Sent: July 7, 2004 12:37 PM
To: squid-users@squid-cache.org
Subject: [squid-users] FW: no client IP address
I have a RedHat Linux server running Squid. My squid.conf file has the
client_netmask set to 255.255.255.255 but access.log is not capturing the
client ip address. I have restarted the server many times. As far as web
browsing, all users have access, and that is functional. However, the
following is what is logged into access.log:
proxy - - [07/Jul/2004:11:15:59 -0500] "GET http://www.google.com/search?
HTTP/1.0" 200 18902 TCP_MISS:DIRECT
proxy - - [07/Jul/2004:11:16:01 -0500] "GET
http://www.google.com/images/logo_sm.gif HTTP/1.0" 304 194
TCP_CLIENT_REFRESH_MISS:DIRECT
Any idea why the client ip address isn't there when the netmask is set to
255.255.255.255?
Received on Wed Jul 07 2004 - 15:43:31 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:01 MDT