Fwd: [squid-users] Block

From: <mortbox@dont-contact.us>
Date: Sat, 31 Jan 2004 20:49:50 -0500

i've asked to be removed countless times. here's another message that
i didn't want. it's really not that hard to remove somebody is it...

This is a forwarded message
From: Merton Campbell Crockett <mcc@CATO.GD-AIS.COM>
To: Dan Scrimpsher <dscrimpsher@csi.edu>
Date: Wednesday, January 28, 2004, 10:25:33 AM
Subject: [squid-users] Block

===8<==============Original message text===============
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
===8<===========End of original message text===========
-- 
Best regards,
 mortbox                            mailto:mortbox@gamebox.net
Received on Sat Jan 31 2004 - 20:55:12 MST

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