Re: [squid-users] Squid/SquidGuard: info of user and category

From: Chris Robertson <crobertson@dont-contact.us>
Date: Mon, 17 Jul 2006 12:24:47 -0800

Karsten Rothemund wrote:
> On Mon, Jul 10, 2006 at 10:29:42AM +0200, Peter Albrecht wrote:
>
>> Hi Karsten,
>>
>>
>>> I still do not get any info about the requesting user. The field is
>>>
>
> Interesting question. I was about to say no. But then a last test
> showed info about the user "photor" (it's my login on the local
> machine here). But when I reloaded the site (google.de calssified by
> squidGuard as porn ;-) ), the user-info disapeared (from the
> access.log of squid):
>
> 1152732284.356 535 172.16.0.2 TCP_MISS/403 2379 GET http://google.de/ ph=
> otor DIRECT/127.0.0.1 text/html
> 1152732374.307 376 172.16.0.2 TCP_MISS/403 2373 GET http://google.de/ ph=
> otor DIRECT/127.0.0.1 text/html
> 1152732393.102 342 172.16.0.2 TCP_MISS/403 2395 GET http://google.de/ ph=
> otor DIRECT/127.0.0.1 text/html
> 1152732461.940 338 172.16.0.2 TCP_MISS/403 2373 GET http://google.de/ - =
> DIRECT/127.0.0.1 text/html
> 1152732471.052 337 172.16.0.2 TCP_MISS/403 2377 GET http://www.google.de=
> / - DIRECT/127.0.0.1 text/html
>
> I don't see any logic or systematics behind this (probably because of
> my limited knowledge). The last line I retried to load a slightly
> diferent URL to see, if this has to do with reloading the site - but
> no. And I doubt this is a squid problem.
>
> Still with problems
>
> Karsten (aka Photor)
>
>
As per http://wiki.squid-cache.org/SquidFaq/SquidAcl...

> ...Squid does not wait for the lookup to complete unless the ACL rules
> require it.
So unless you have a rule requiring the ident information, it may or may
not be provided. See that section of the Wiki, and look for the bit
about "How do I block specific users or groups from accessing my
cache?". That should help with reliably getting the ident information.

Chris
Received on Mon Jul 17 2006 - 14:25:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:01 MDT