Re: [squid-users] RE : [squid-users] blocking file extension

From: devendra <devendra@dont-contact.us>
Date: Wed, 18 Aug 2004 17:19:44 +0300

Hello,

for example i am trying to access this url
http://samba.org/~jerry/RPMS/samba/ i am getting access denied.
As i told that i have applied restriction on some file downloading, like
block.txt
------
\.cab\?.*$
\.rm\?.*$
\.mp\?.*$
\.mpg\?.*$
\.mpeg\?.*$
\.mp3\?.*$
\.wmv\?.*$
\.wma\?.*$
\.mov\?.*$
\.avi\?.*$
------
squid.conf configuration is like

acl block urlpath_regex -i "/etc/squid/block.txt"
http_access deny block

Devendra

At 04:50 PM 18/08/2004, devendra wrote:
>Content-Transfer-Encoding: 8bit
>
>Hi,
>
>No i havent block dll file in the block.txt
>
>some times RE work and some time it dont work, are the RE are correct or not
>
>
>Devendra
>
>At 04:01 PM 18/08/2004, Kevin D wrote:
>>Content-Transfer-Encoding: 8bit
>>
>>Hi,
>>
>>Something seems to be wrong in your RE
>>
>>For example:
>>\.mp3\?.*$ will match "<url>/file.mp3?sometext" but not "<url>/file.mp3"
>>
>>
>>is \.dll\?.*$ in the block.txt file??
>>
>>Kevin
>>
>>
>>-----Message d'origine-----
>>De : devendra [mailto:devendra@zayanionline.com]
>>Envoyé : mercredi 18 août 2004 14:19
>>À : Muthukumar; squid-users@squid-cache.org
>>Objet : Re: [squid-users] blocking file extension
>>
>>Hello,
>>
>>Like when i sign off from yahoo or hotmail
>>It gives me access deny error.
>>
>>Devendra
>>At 02:41 PM 18/08/2004, Muthukumar wrote:
>>
>>
>> > > block.txt
>> > > ------
>> > > \.cab\?.*$
>> > > \.rm\?.*$
>> > > \.mp\?.*$
>> > > \.mpg\?.*$
>> > > \.mpeg\?.*$
>> > > \.mp3\?.*$
>> > > \.wmv\?.*$
>> > > \.wma\?.*$
>> > > \.mov\?.*$
>> > > \.avi\?.*$
>> > > ------
>> > >
>> > > squid conf
>> > >
>> > > acl block urlpath_regex -i "/etc/squid/block.txt"
>> > > http_access deny block
>> >
>> >It will block the list of files with the extensions in block.txt to
>>ALL.
>> >
>> > > but some time i try to sign in or sign off, it gives me access deny
>>error,
>> >
>> >what you are specifying as sign in and sign off ??
>> >
>> >Regards
>> >Muthu
>> >
>> >
>> >
>> >
>> >---
>> >=============== It is a "Virus Free Mail" ===============
>> >Checked by AVG anti-virus system (http://www.grisoft.com).
>> >Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004
>
Received on Wed Aug 18 2004 - 08:19:16 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT