Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Proxy Server Support => Topic started by: shekhar_naik on June 12, 2006, 01:44:55 PM

Title: Allow downloading upto a max fileize ?
Post by: shekhar_naik on June 12, 2006, 01:44:55 PM
Hi
I am using RHL 9 with Squid Cache: Version 2.5.STABLE12 on 1 MBPS Broadband link. I have already applied ACLs to block downloading of zip, exe, mp3, etc. file types.

Now a need arises that .zip files should be allowed to download but with restriction of say max of 1 mb at a time.

Also is it possible to restrict a user to download a specific mbs throuhgout a day after which downloading should not be allowed for that user on that day?

Is it possible to do so using squid?

Please help me..
Title: Allow downloading upto a max fileize ?
Post by: gauravbajaj on June 12, 2006, 07:46:41 PM
To restrict downloading to particular limit you have to change the below parameter in squid.conf file

reply_body_max_size

Buy default its 0 means unlimited downloading , u can limit that to any size u  want

Gaurav
Title: Thanks
Post by: shekhar_naik on June 13, 2006, 07:48:15 AM
Thanks Gaurav for your prompt reply.

Please help me on the remaining part also - is it possible to restrict a user to download a specific mbs throuhgout a day after which downloading should not be allowed for that user on that day?

Shekhar