Hi Henrik, I have no idea about how to write the custom helper, is there any hint for that? Thanks!
Best regards, CC Ng Henrik Nordstrom wrote: > fre 2008-04-04 klockan 10:56 +0800 skrev CC Ngu: > >> When I use Login=PASS in cache_peer option (i.e. pass the authentication >> to the parent), there is no userid information in the access.log, is it >> possible to show the userid in the local squid's access.log? >> > > You need to tech Squid how to sniff the userid from the traffic in such > case. Actually not too hard, but some coding is needed. I would suggest > starting by using an external acl type for the purpose.. > > > external_acl_type %{Proxy-Authenticate} /path/to/your/helper > > and in your custom helper pars the Proxy-Authenticate headers and return > a suitable USER=xxx attribute on Squid when a username is seen. > > This will work for the standard HTTP authentication schemes (i.e. Basic > and Digest), but will fail for the Microsoft hacked shemes (i.e. > NTLM/Negotiate/Kerberos) for the same reasons these are hard to proxy... > > Regards > Henrik > > > > >