Re: [squid-users] How squid get and make use of username?

From: Kinkie <kinkie-squid@dont-contact.us>
Date: Fri, 14 Jan 2005 12:46:47 +0100

On Fri, 2005-01-14 at 11:56 +0800, Steve wrote:
> Hi ALL,
>
> I am new to squid and wondering anyone could help about how the squid
> get username from the OS environment.
>
> Did the browser send anything to squid to tell it about the client
> identity? or squid will resolve the identity based on the source ip
> addresses?

It can be both, usually it's the former.

> I have a scenario here: I wish i can define a set of acl rules based on
> username in squid. Since the client is not using standard authentication
> method of any kind, i am thinking if the squid can be modified to
> resolve the username based on client's source ip address. for your
> information, the client may anyhow loggin via web page and be
> authenticated locally by the an self written easy authentication
> service. means, the username can be obtained locally by squid. i am
> hoping that the squid can then filter the traffic based on the
> predefined acl (using username). any other suggestion in accomplishing this?

You might want to check the ident protocol and related RFCs.

-- 
Kinkie <kinkie-squid@kinkie.it>
Received on Fri Jan 14 2005 - 04:46:58 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST