[squid-users] Counting unique devices connected to squid proxy
Ben Goz
ben.goz87 at gmail.com
Sun Jan 22 12:37:03 UTC 2023
On 21/01/2023 14:59, Amos Jeffries wrote:
> On 20/01/2023 9:16 am, Marcus Kool wrote:
>> The squid log file contains the IP address of clients and could be a
>> good field to use for counting users. But a NAT shows 1 IP for all
>> users behind the NAT...
>>
>> Marcus
>>
>>
>> On 19/01/2023 15:48, Ben Goz wrote:
>>> By the help of God.
>>>
>>> Hello,
>>> I have a certain task to count the number of unique devices
>>> connected (Could be also transparently) to squid proxy server. While
>>> the users can be on different networks and behind NAT.
>>> Is it possible?
>
> No, not really. As Marcus said NAT erases information. As does any
> HTTP multiplexing being performed by downstream proxies.
Is it possible for squid to identify NAT?
>
>>> What is the best approach of implement it?
>>>
>
> Squid provides a management report "client_list" with all recently
> seen client devices. It is reliable for the *currently* connected
> clients, but once a client disconnects entries are discarded relative
> to how much traffic they have used.
Does this report also words behind NAT? can you refer me to more
descriptive information about "client_list"?
>
> Or there are the logs which contain (or can be configured to record) a
> details of *completed* transactions.
>
> HTH
> Amos
>
Thanks Ben
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list