On Tue, 24 May 2005, Abu Khaled wrote:
On 5/24/05, Wennie V. Lagmay <wlagmay@xxxxxxxxxxxxx> wrote:
Is there a way to limit download size, lets say 5MB, it the file is less
than 5 MB the squid will permit it, but if the size is larger than 5 MB it
will not permit it and will give a notice "the file your trying to download
is larger than 5MB"
reply_body_max_size directive.
And how are you going to stop a client from downloading a 5MB using
download managers that fetch files in many small parts at the same
time. IMO you need traffic accounting. Just kick **** of users who use
to much bandwidth.
delay_pools is quite effective against users hogging your bandwidth.
Regards
Henrik