[squid-users] File Blocking not working

From: Hement Gopal <hement.gopal@dont-contact.us>
Date: Wed, 08 Nov 2006 12:01:49 +0200

Hi all

I'm running Squid 2.5 Stable 13 on Redhat 9

I've implemented file blocking but have noticed that it is not working
correctly

My config looks as follows :-

acl files url_regex -i "/usr/local/squid/etc/banned-files.txt"
acl workdays time M T W H F 07:00-17:00

http_access deny files workdays

Banned-files.txt looks like :-

\.mpeg$
\.mov$
\.mpg$
\.avi$
\.wmv$
\.mp3$

Now if I browse to http://www.cnn.com/test.avi I get the my error page
coming up saying Access restricted..which is great.

But if I try another site like http://www.is.co.za/test.avi the request
is not blocked.

Does anyone have any idea why this is happening. I have no rule allowing
non restricted access to www.is.co.za domain

Many thanks

Hement

<html><body><font face = "verdana" size = "0.8" color = "navy">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.</font></body></html>
Received on Wed Nov 08 2006 - 03:02:01 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST