Search squid archive

Re: Proxy authentication based on requested host

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

 



Mikko Kettunen wrote:
> I'm thinking of something like this:
> 
> auth_param basic program /usr/local/bin/my_authenticator %DST_HOST
> %OTHER_PARAM
> 
> I didn't find much information on this matter. Any help is appreciated.

After some thoughts I think it would be better if I could send the
dst_host (ex. somehost.somewhere) and url_path (ex. /auth_2) to the
authenticator after the username and password:

"username password" -> "username password dst_host url_path"

Authenticator replies with OK / ERR as usual.

Also if I could dynamically alter the realm so that it would be the
requested host (somehost.somewhere) would be nice too.

Is there any way to accomplish these? I'm not good in c-programming so
it's a bit difficult to me to make needed changes to the code but with
some hints where to look at might help :-)

Thanks.


-Mikko


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

  Powered by Linux