Re: [squid-users] unable to see client ip address in log file

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 24 Jan 2009 13:23:20 +1300

prophetmr wrote:
>
>
> currently its set to default client_netmask 255.255.255.255 if i change it
> to 255.255.255.0 will it pass the ips thru?

No, setting it to 255.255.255.0 will cause the last numeric of the IP to
not be logged. Thats why we thought it might be set.

If you don't mind can you post your whole squid.conf (minus the comment
# lines) so we can get a look and check for unexpected things.

Cheers
Amos

>
>
> Chris Robertson-2 wrote:
>> prophetmr wrote:
>>> Im new to squid and i have the same problem im running squid
>>> transparently
>>> primarily to keep tabs on what my kids are up to on the internet and i
>>> have
>>> set the kids laptops to static ips but in the logs i only show the
>>> network
>>> ip not the users ip. Daily i run srg with a date range of the day and
>>> examine where the kids have been but without there ips it makes it kinda
>>> hard to figure out what kid did what. Is there any way to pass the ips of
>>> the users into the logs?
>>>
>> Have you set "client_netmask" in your squid.conf?
>>
>>> I checked and #emulate_httpd_log off is a default setting
>> Chris
>>
>>
>

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12
   Current Beta Squid 3.1.0.3
Received on Sat Jan 24 2009 - 00:23:20 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 24 2009 - 12:00:03 MST