RE: [squid-users] Squid.conf setting queries

From: ads squid <adssquid@dont-contact.us>
Date: Sat, 2 Aug 2003 00:43:13 -0700 (PDT)

It's not working
Thanks

--- Adam Aube <aaube@firstindependent.net> wrote:
> > acl STOP1 src 192.168.0.23
> > acl WORKING time MTWHF 07:30-22:30
> > http_access allow STOP1 WORKING
>
> > is not stopping Internet access of 192.168.0.23
> after 22:30
>
> There is an http_access line later in your
> squid.conf that
> allows all LAN clients access (which I forgot to
> consider)
> that STOP1 is matching on outside of WORKING.
>
> Try changing that http_access line to:
>
> http_access deny STOP1 !WORKING
>
> > Also acl STOP2 dstdomain www.kazza.com
> > acl SUNK time MTWHF 07:30-23:00
> > http_access allow STOP2 SUNK
>
> > has not stopped access to www.kazza.com after
> 23:00
>
> Let's do the same thing - change http_access line to
>
> http_access deny STOP2 !SUNK
>
> > acl magic_words2 url_regex -i .mpeg .mpe .mpg .wav
> .mov
> > acl day time 07:00-23:30
> > delay_pools 1
> > delay_class 1 1
> > delay_parameters 1 2000/50000
> > delay_access 1 allow magic_words2 day
> !magic_words1
>
> > is still allowing .mpeg files download.
>
> Delay pools won't block access, they'll just
> regulate the
> speed. If you want to completely block it, you'll
> want to
> completely empty out your delay pools section, then
> put
> these lines just after your other block sections
> (above):
>
> acl magic_words2 url_regex -i .mpeg .mpe .mpg .wav
> .mov
> acl day time 07:00-23:30
> http_access deny magic_words2 day
>
> Adam
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.237 / Virus Database: 115 - Release
> Date: 3/7/2001
>

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Received on Sat Aug 02 2003 - 01:43:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:32 MST