Re: [squid-users] ACL List

From: Ismael \(UOL\) <milach@dont-contact.us>
Date: Fri, 23 May 2003 10:19:08 -0300

acl boss src 192.168.10.19
acl blocked_users src 192.168.10.2-192.168.10.30

http_access allow boss
http_access deny blocked_users

regards
----- Original Message -----
From: "Frank Chibesakunda" <fchibesakunda@zesco.co.zm>
To: "Henrik Nordstrom" <hno@squid-cache.org>; <dumpmail@gmx.net>;
<squid-users@squid-cache.org>
Sent: Friday, May 23, 2003 9:54 AM
Subject: [squid-users] ACL List

> Hello,
>
> I have a range 192.168.10.2-192.168.10.30, i have blocked it from browsing
> but they is my noss in between the range and he needs to browse, how can
i
> do it. the ip- addresses are 192.168.10.19 can i do this:
>
> acl blocked_users src 192.168.10.2-192.168.10.30/255.255.255.255
> acl boss_user src 192.168.10.19/255.255.255.255
>
> http_access deny blocked_user
> http_access allow boss_user.
>
> Advice
>
> Frank
>
>
>
>
>
>
>
> ----- Original Message -----
> From: "Henrik Nordstrom" <hno@squid-cache.org>
> To: <dumpmail@gmx.net>; <squid-users@squid-cache.org>
> Sent: Friday, May 23, 2003 1:02 AM
> Subject: Re: [squid-users] blocking download of special extentions
> correction
>
>
> > On Thursday 22 May 2003 16.14, dumpmail@gmx.net wrote:
> >
> > > sorry wrong acl
> > > that was a tets which doesn't work.
> > >
> > > The right acl is this
> > >
> > > acl mp3_dl urlpath_regex -i '^http.*://.*/.*\.mp3\?*[^/]*$'
> >
> > This can not work.. urlpath_regex only looks at the path component of
> > the URL, not the protocol. What you want is
> >
> > acl mp3_dl urlpath_regex \.mp3($|\?)
> >
> > Regards
> > Henrik
> >
> > --
> > Donations welcome if you consider my Free Squid support helpful.
> > https://www.paypal.com/xclick/business=hno%40squid-cache.org
> >
> > If you need commercial Squid support or cost effective Squid or
> > firewall appliances please refer to MARA Systems AB, Sweden
> > http://www.marasystems.com/, info@marasystems.com
> >
> >
>
>
Received on Fri May 23 2003 - 07:24:40 MDT

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