Search squid archive

Re: How To Allow Different Sites at Different Times

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

 



Manuel Beltrandelrio wrote:
Hello All,

Here is what I have in squid.conf, but is not working as intended. Timothy
can only access squid during timothys_funtime time MTWHF 15:00-15:30,
weekend_funtime time SA 10:00-12:00, and weekend_funtime time SA
17:00-19:00.

Somehow I'm missing timothys_schooltime time MTWHF 07:00-16:00

Can somebody tell me what I am missing here?

Thanks in advance!

##Allowed Websites:
acl whitelist_youngkids dstdomain "/usr/local/etc/squid/whitelist_youngkids"
acl whitelist_teens dstdomain "/usr/local/etc/squid/whitelist_teens"
acl whitelist_sos dstdomain "/usr/local/etc/squid/whitelist_sos"

##Allowed Times:
acl timothys_funtime time MTWHF 15:00-15:30
acl timothys_schooltime time MTWHF 07:00-16:00
acl weekend_funtime time SA 10:00-12:00
acl weekend_funtime time SA 17:00-19:00

##Allow User:
acl timothy proxy_auth timothy
http_access allow timothy timothys_schooltime whitelist_sos
http_access allow timothy timothys_funtime whitelist_youngkids
http_access allow timothy timothys_funtime whitelist_teens
http_access allow timothy weekend_funtime whitelist_youngkids
http_access allow timothy weekend_funtime whitelist_teens

This looks right to me. Maybe there is something wrong with the content of /usr/local/etc/squid/whitelist_sos.

http_access deny timothy all


The final line there does not permit Squid to challenge for authentication. I assume you have some other way to make the browser send it later on?

If those are your entire http_access rules it's missing a "http_access deny all".

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19
  Current Beta Squid 3.1.0.14

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

  Powered by Linux