Re: [squid-users] ACLs

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 27 May 2008 01:30:20 +1200

Patrick G. Victoriano wrote:
> Hi,
>
> Thanks for the reply
>
> I tried your config but it didn't work with me.
> Any suggestions?

What did you mean by didn't work? was it rejected by squid? failed to match?

Those ACL are the same for both Squid-2 and Squid-3. The only failure
expected is possibly a non-match when they are inserted relative to
other http_access permissions.

Amos

> -----Original Message-----
> From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
> Sent: Monday, May 26, 2008 8:16 PM
> To: Patrick G. Victoriano
> Cc: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] ACLs
>
> Patrick G. Victoriano wrote:
>> Good Day.
>>
>> Can someone help me how to configure this setup in the ACLs.
>> I have a user (192.168.1.5) which I want to have access to a particular site (friendster.com) at a particular time (12:00-13:00).
>> This means that user 192.168.1.5 can only browse friendster.com during 12:00 nn to 1:00 PM.
>> Is this possible? If yes, how would the config would look like.
>> Please help.
>>
>
> acl person src 192.168.1.5
> acl lunch time 12:00-13:00
> acl friendster dstdomain .friendster.com
>
> http_access allow person lunch friendster
> http_access deny person !lunch friendster
>
>
> Amos

-- 
Please use Squid 2.6.STABLE20 or 3.0.STABLE6
Received on Mon May 26 2008 - 13:30:19 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT