Squid traffic management Maximum download size not working
i added 51200 ( 50 MB) in Maximum download size but its not working i checked squid.conf file it shows
reply_body_max_size 52428800 allow all but i can download large files. is there any way to configure it properly ???
me too, it happen, i set the limit to 10mb but user can download from e-mial attachemnt for 13mb.
got a solution from mailing list ,
please change the following lines
/usr/local/pkg/squid.inc: line 896:
FROM $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " allow all\n";
TO $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " deny all\n";
Then configure and save again !
its working fine for me
I think someone checked that fix into the package repo as well, so if you reinstall the package it may be working there now, too, without editing any files.
Reinstalled squid today and the package isn't fixed. Still have to make the change manually.
I double checked and it had not been committed. I just pushed the fix in and if you reinstall squid in about 5 minutes it should be OK now.
Thanks! I'll try tonight and I'll let you know.
not to try hijack thread …
still relevant i think ...
it work to block with new squid package
but, i would like to block large file for specific time ...
some one can give what directive are ... im stuck limited knowledge
That is not directly related to this issue, please start a new thread.
I've installed it and the line "reply_body_max_size" says deny as it should. Thanks jimp.