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

From: Merton Campbell Crockett <mcc@dont-contact.us>
Date: Wed, 18 Aug 2004 07:16:17 -0700 (PDT)

On Wed, 18 Aug 2004, devendra wrote:

> 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

You need to go back to the basics.

   (1) What does Squid record in the access.log when you get a failure
        to log on or off?
   (2) Was the failure caused by evaluation of the regular expression
        or was the error status returned by HotMail or Yahoo!?
   (3) What is in the logon or logoff JavaScript that would trigger
        Squid to return an error status?
   (4) Does the error only occur when you are redirected to a specific
        HotMail or Yahoo! server?

You may need to turn on the capability in Squid to record the parameters
passed in the request. The trigger event may be in a session control
value that is being passed in a parameter. It would not be unusual for an
encrypted value to contain one of the strings in your block text.

Merton Campbell Crockett

>
>
> 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
>
>

-- 
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=work,fax:		+1(805)497-5050
TEL;TYPE=cell,voice,msg:	+1(805)377-6762
END:				vcard
Received on Wed Aug 18 2004 - 08:19:45 MDT

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