Re: [squid-users] Filtering based on content size.

2011-04-28 Thread Amos Jeffries
On 28/04/11 17:56, Supratik Goswami wrote: @Amos Thanks for your reply. Currently I am using acl to filter file extension .exe, .iso, .zip and using with tcp_outgoing_address I am able to change the source IP and it is working fine with source based routing. I want to filter by size (Ex.

Re: [squid-users] Filtering based on content size.

2011-04-28 Thread Supratik Goswami
@Amos Thanks for the information. There is one confusion still in my mind. How reply_body_max_size is able detect it ? In the Squid documentation it says: This size is checked twice. First when we get the reply headers, we check the content-length value. If the content length value exists and

Re: [squid-users] Filtering based on content size.

2011-04-28 Thread Amos Jeffries
On 29/04/11 01:38, Supratik Goswami wrote: @Amos Thanks for the information. There is one confusion still in my mind. How reply_body_max_size is able detect it ? In the Squid documentation it says: This size is checked twice. First when we get the reply headers, Note at this point the TCP

Re: [squid-users] Filtering based on content size.

2011-04-28 Thread Eliezer Croitoru
On 28/04/2011 17:18, Amos Jeffries wrote: proxy was psychic my proxy was psychic good name for a TV show :)

[squid-users] Filtering based on content size.

2011-04-27 Thread Supratik Goswami
The reply_body_max_size directive prevents users from downloading very large files. The following configuration in Squid only allows download of size 15MB from IP range mentioned in the acl officelan. If the size is more it simply restricts the user with an error message. acl officelan src

Re: [squid-users] Filtering based on content size.

2011-04-27 Thread Amos Jeffries
On Wed, 27 Apr 2011 15:36:52 +0530, Supratik Goswami wrote: The reply_body_max_size directive prevents users from downloading very large files. The following configuration in Squid only allows download of size 15MB from IP range mentioned in the acl officelan. If the size is more it simply

Re: [squid-users] Filtering based on content size.

2011-04-27 Thread Supratik Goswami
@Amos Thanks for your reply. Currently I am using acl to filter file extension .exe, .iso, .zip and using with tcp_outgoing_address I am able to change the source IP and it is working fine with source based routing. I want to filter by size (Ex. 15MB) which I am unable to do it using ACL. On