Re: [squid-users] How to log Client ip?

From: Haroon Daud Janjua <haroon@dont-contact.us>
Date: Tue, 4 Oct 2005 21:13:04 +0500

done
----- Original Message -----
From: "Neil A. Hillard" <hillardn@whl.co.uk>
To: <squid-users@squid-cache.org>
Sent: Tuesday, October 04, 2005 6:16 PM
Subject: Re: [squid-users] How to log Client ip?

> Hi,
>
> Armin Marxer wrote:
>> Szarka Zoltán wrote on 04 October 2005 02:40 PM:
>>>Well, there is no extra settings
>>>
>>>by default in config file:
>>>cache_access_log /usr/local/squid/var/logs/access.log
>>>
>>>in access.log:
>>>
>>>192.168.1.0 TCP_MISS/200 381 GET
>>>http://audit.median.hu/cgi-bin/track.cgi? -
>>>DEFAULT_PARENT/10.22.23.12 image/gif 1128327075.247 1616
>>>
>>>The problem is, in the colonum of client IP is only the
>>>subnet address of us, not the client's addresses
>>>
>>
>> It looks as though all your clients' requests originate from the same ip,
>> How is your network laid out? Where are your clients in relation to your
>> proxy?
>
> You don't happen to have:
>
> client_netmask 255.255.255.0
>
> in your squid.conf? If so, read the description of the client_netmask
> directive and you'll know how to resolve the problem.
>
> HTH,
>
>
> Neil.
>
> --
> Neil Hillard hillardn@whl.co.uk
> Westland Helicopters Ltd. http://www.whl.co.uk/
>
> Disclaimer: This message does not necessarily reflect the
> views of Westland Helicopters Ltd.
Received on Tue Oct 04 2005 - 10:13:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:03 MST