Re: [squid-users] restricting ftp

From: <Torsten.Lange@dont-contact.us>
Date: Fri, 1 Jun 2001 16:07:56 +0100

if you want to restrict your maximum download size, you can
use this option in your config file:

reply_body_max_size 8 MB
(the default setting is 0, which means any size is allowed)

you can also set an upload limit using the 'request_body_max_size' option
in the conf file,
which is set to 1 MB by default.
unfortunately i don't know if you can set this to 0 bytes or 1 byte and how
it will affect http requests
in general.

maybe there is a redirector program which allows you to break these options
down to http or ftp
protocols, because i don't think that squid can distinguish between
protocols with the options mentioned
above - perhaps someone else knows better....

torsten

mads@cit.com.br on 01.06.2001 15:30:03

To: squid-users@squid-cache.org
cc:
Subject: [squid-users] restricting ftp
                                                                            
                                                                            
 --------------------------------------------------------------------------

Hi there,

How could I restrict the use of ftp via squid so that

1) no upload is allowed

2) download only to the limit of 8 Mb

It seems to me that number 2 could be done with some kind of filter, but I
really don't know how

Any ideas? anyone have already done this?

Regards,

Mads
Received on Fri Jun 01 2001 - 08:10:01 MDT

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