Search squid archive

Re: ACLs

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

 



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@xxxxxxxxxxxxx] Sent: Monday, May 26, 2008 8:16 PM
To: Patrick G. Victoriano
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  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

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

  Powered by Linux