Re: [squid-users] Blocking Files

From: Chijioke Kalu <kchijioke@dont-contact.us>
Date: Wed, 18 Jun 2003 19:23:39 -0700

i was intereseted in your list blocking too but whenever i put in the line
of code, and reconfigure squid, it blocks all access to my websites

i have already a
acl spamurl url_regex <list of spam websites>

below that i added the
acl denieddlwds urlpath_regex ...

put the http_access deny denieddlwds and reconfigured squid, then all the
websites are blocked showing the error messages its only meant to show for
the spamurl block list

if i remove the http_access deny denieddlwds, its back to normal

could the reason be that i already have a url_regex entry ?

NB . also tried the 1 line blocking rule as in just for [eE] [xX] [eE], with
no list file, exact same result

CJ
>
>try to create a file download.txt
>[eE][xX][eE]
>[sS][wW][fF]
>[dD][oO][cC]
>
>acl denied urlpath_regex "/path/to/download.txt"
>http_access deny denied
>
>mike
>
>----- Original Message -----
>From: "Justin Hennessy" <jhennessy@mitchamcouncil.sa.gov.au>
>To: <squid-users@squid-cache.org>
>Sent: Tuesday, June 17, 2003 11:49 AM
>Subject: Re: [squid-users] Blocking Files
>
>
>Cable,
>
>Not sure about question 2 but this is how I blocked EXE files, you could
>modify this to do what you want:
>
>acl EXE urlpath_regex \.[eE][xX][eE]
>http_access deny EXE
>
>Would be interested in how to give a "list" of extensions though.
>
>
>
>_____________________________________________
>Justin Hennessy RHCT MCSE
>Network and Systems Administrator
>City of Mitcham
>131 Belair Rd
>Torrens Park
>South Australia 5062
>
>Ph: +61 8 8372 8854
>Fax: +61 8 8372 8101
>Mobile: 0411 861 008
>
>Quote: "It could be terminal, if I meet the Lone Sniper hiding behind his
>grassy
>knoll."
>
>Information contained in this message may be confidential information and
>may also be the subject of legal professional privilege or public interest
>immunity. If you are not the intended recipient, any use, disclosure or
>copying of this document is unauthorised. If you have received this
>document in error, please telephone (08) 8372 8888.
>
> >>> cable linux <cablelinux@yahoo.com> 17/06/2003 12:44:10 pm >>>
>hello,
>
>Q1. I want to block *.pdf files from my squid.
>
>Q2. ok fine if that above acl works than how can i
>block more than one files (*.ps, *.pdf, *.doc,
>*.swf)unlimited with one command.
>
>
>Regards
>cable
>
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>http://sbc.yahoo.com
>
>
>
>

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Received on Wed Jun 18 2003 - 20:23:44 MDT

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