Search squid archive

Re: Fwd: %path% in acl list squid 2.6

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

 



From: sushi squid <sushi.squid@xxxxxxxxx>
>On Wed, Aug 18, 2010 at 2:52 PM, John Doe <jdmls@xxxxxxxxx> wrote:
>>Either amos way, or you could use an external_acl script that will be able to
>>get %userprofile%, but that means you will have to handle the whitelist
>>yourself...
>@John's solution : i didn't understand what you meant by "i have to manage the 
>whitelist on my own" ??

Did you check how external_acl works?
You have to write the external acl script... so you have to write the whitelist 
code too.
Squid calls your script and gives you a few variables (url, etc...).
You script does whatever checks it wants and tells squid if it is allowed or 
not.
By example, your script could:
 - check %userprofile%
 - Select the right whitelist
 - Check if the requested url is in the whitelist
 - Allow or deny.

JD


      


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

  Powered by Linux