[squid-users] Help, Squid ACL regex_url BYPASSS

This is a discussion on [squid-users] Help, Squid ACL regex_url BYPASSS within the Squid Users forums, part of the Web Server and Related Forums category; Dear all, I would like to ask for help regarding the Squid regex_url configuration. Currently, I am preventing my users ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2004
Herman
 
Posts: n/a
Default [squid-users] Help, Squid ACL regex_url BYPASSS


Dear all,

I would like to ask for help regarding the Squid regex_url
configuration.
Currently, I am preventing my users for downloading some files e.g file
with .bz2 extention.

In squid.conf I define as following :
acl BadUrl url_regex -i "/usr/local/squid/etc/data/BadUrlFile"

Add I add this entry to /usr/local/squid/etc/data/BadUrlFile :
\.bz2$
=20
So for example if my users try to download this URL
http://www.kernel.org/pub/linux/kern...tch-2.0.40.bz2 , he will
got access denied page.

But some of the users did some trick by adding ? or ?/ in the URL, for
example :
http://www.kernel.org/pub/linux/kern...ch-2.0.40.bz2? Or
http://www.kernel.org/pub/linux/kern...h-2.0.40.bz2?/

And they successful to bypass my ACL and download the files they wanted.
I have try to add "\.bz2?$" and "\.bz2?/$" in to
/usr/local/squid/etc/data/BadUrlFile file. But it does not work.

Can anyone help me ? Thank you very much in advance.

Regards,

Herman
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0