Search squid archive

Re: Unable to get username in logs for access denied(HTTP 407)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19/11/2014 11:19 p.m., santosh wrote:
> I have got fresh set of logs my username is spai and i 'm already 
> authenticated and one of the site www.flipkart.com is blocked and i
> accessed it for testing purpose ,but the user name is still not
> shown .

No login was necessary to deny those requests. So there is no need for
Squid to waste time decoding the HTTP headers where the credentials
were stored.

If you need the credentials to always be logged then move the blocked
sites denial down below the http_access lines which require
authentication. Note that this will slow your proxy down as it does
all the extra credentials checking work.


Something like so:
  http_access deny !auth
  http_access deny blockedSites
  ...

Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUbIKHAAoJELJo5wb/XPRjmj4H/0c3vhjMxaTtYNFmBjO6VVjK
/UQpLf2RMkK0YeEx4E+014vKftv5XUGIQhAEplJU0vb5DasHgml/jiO4hh5Gzgw5
PcnZLYWlpMaxmXqb6AqKedS5PfHJnEGRszIMzRuwhwz6F7XM5XgGsAexbtyeblnI
0ishLx+01OU7xh1Bh3pQfbRuwnvEpCpIJWLtaMyP96i3UP3uD+s0TOcfIeOH4irZ
ZJCHePyOkvFaBYVqd4Og4rJBmTuh4+dzZQTRHgH8DO+4+ERW4388NKg4aUFDL35L
WMCn/5n2X1BJhy+Ywswh+ECkM1xZp+EChl0QP5pYmU/mJnh637M8oAHWgf1r8Uw=
=CJlV
-----END PGP SIGNATURE-----
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux