[squid-users] Access denied but no match

From: Barry Darnton <BarryD@dont-contact.us>
Date: Mon, 25 Mar 2002 17:32:49 +1100

Hi, squidders

I thought I had ACL's on squid under control until today, but I got one that
I cant explain

I have a file called av.txt at I use with the following ACl
acl av url_regex -i "/mydir/av.txt"

In this file I have the following entries (snipped)
\.avi
\.mov
\.mp2$
\.mp3$
\.mpeg$
\.mpg$
\.ram?
\.wav$

I got this list from the archive and it seemed to be working, but today a
luser complaied that he couldnt get to www.rad.com.

I debugged and got the following info from the cache.log file

 aclCheck: checking 'http_access deny av'
2002/03/25 17:09:58| aclMatchAclList: checking av
2002/03/25 17:09:58| aclMatchAcl: checking 'acl av url_regex -i
"/usr/local/squid/etc/av.txt"'
2002/03/25 17:09:58| aclMatchRegex: checking 'http://www.rad.com/'
2002/03/25 17:09:58| aclMatchRegex: looking for '\.avi'
2002/03/25 17:09:58| aclMatchRegex: looking for '\.ram?'
2002/03/25 17:09:58| aclMatchAclList: returning 1
2002/03/25 17:09:58| cbdataUnlock: 0x822dde8
2002/03/25 17:09:58| aclCheck: match found, returning 0
2002/03/25 17:09:58| aclCheckCallback: answer=0
2002/03/25 17:09:58| cbdataValid: 0x8bdebb0
2002/03/25 17:09:58| The request GET http://www.rad.com/ is DENIED, because
it matched 'av'
2002/03/25 17:09:58| Access Denied: http://www.rad.com/

What I cant figure out is where \.ram? matched in the url, is this a bug or
am I the luser:-)

Barry
 
Received on Sun Mar 24 2002 - 23:32:58 MST

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