Re: [squid-users] Block

From: Merton Campbell Crockett <mcc@dont-contact.us>
Date: Wed, 28 Jan 2004 07:25:33 -0800 (PST)

On Wed, 28 Jan 2004, Dan Scrimpsher wrote:

> Hi,
>
> How would you block those downloads from a range of internal IP
> addresses?

You would need to define an acl with the range of IP addresses and then use
a statement something like

        deny regex_acl and IP_acl

But I would defer to the Duane's and Henryk's of the world as I have never
combined regex and IP based acls. There's bound to be a gotcha.

Merton Campbell Crockett

>
> >>> Merton Campbell Crockett <mcc@CATO.GD-AIS.COM> 1/26/2004 7:59:06 PM
> >>>
> On Tue, 27 Jan 2004, Liew Toh Seng wrote:
>
> > Hi,
> > how i'm going to block my users to download exe/zip/others files.
>
>
> Use a urlpath_regex acl.
>
> acl <name> urlpath_regex \.exe$
>
> Look at the documentation in squid.conf.default.

-- 
BEGIN:				vcard
VERSION:			3.0
FN:				Merton Campbell Crockett
ORG:				General Dynamics Advanced Information Systems;
				Intelligence and Exploitation Systems
N:				Crockett;Merton;Campbell
EMAIL;TYPE=internet:		mcc@CATO.GD-AIS.COM
TEL;TYPE=work,voice,msg,pref:	+1(805)497-5045
TEL;TYPE=fax,work:		+1(805)497-5050
TEL;TYPE=cell,voice,msg:	+1(805)377-6762
END:				vcard
Received on Wed Jan 28 2004 - 08:25:49 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:09 MST