Re: [squid-users] Setting up req_mime_type ACLs

This is a discussion on Re: [squid-users] Setting up req_mime_type ACLs within the Squid Users forums, part of the Web Server and Related Forums category; Stephen J. McCracken wrote: > David Landgren wrote: > >> What with the recent spate of virus attacks, I ...


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 01-27-2004
David Landgren
 
Posts: n/a
Default Re: [squid-users] Setting up req_mime_type ACLs

Stephen J. McCracken wrote:
> David Landgren wrote:
>
>> What with the recent spate of virus attacks, I figured it was time to
>> investigate blocking web downloads of dangerous MIME types.

>
> [snip]
>
>> acl mime_banned req_mime_type /application\.x-director/
>>

> according to squid.conf.default:


So what you're saying is that I have a simple s/rep/req/ typo?

David

> # acl aclname req_mime_type mime-type1 ...
> # # regex match agains the mime type of the request generated
> # # by the client. Can be used to detect file upload or some
> # # types HTTP tunelling requests.
> # # NOTE: This does NOT match the reply. You cannot use this
> # # to match the returned file type.
> #
> # acl aclname rep_mime_type mime-type1 ...
> # # regex match against the mime type of the reply recieved by
> # # squid. Can be used to detect file download or some
> # # types HTTP tunelling requests.
> # # NOTE: This has no effect in http_access rules. It only has
> # # effect in rules that affect the reply data stream such as
> # # http_reply_access.
>
>



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 01:18 AM.


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