[squid-dev] Squid User-Ip

Amos Jeffries squid3 at treenet.co.nz
Tue Mar 20 14:38:51 UTC 2018


On 01/03/18 07:45, dean wrote:
> I would like to know to which authenticated user a certain IP corresponds at
> any time at the code level
> 

What are you trying to do exactly?


Be aware that HTTP authentication credentials are attached to messages
not to IP's.

HTTP itself is a stateless and multiplexed protocol. Meaning any given
TCP/IP connection can be delivering or receiving message for any number
of "users" and messages from any user can be spread over any number of
different TCP/IP connections - possibly simultaneously.

Amos


More information about the squid-dev mailing list