On 23/03/2012 5:42 a.m., Carlos Manuel Trepeu Pupo wrote:
> I need to block each user to make just one connection to download
> specific extension files, but I dont know how to tell that can make
> just one connection to each file and not just one connection to every
> file with this extension.
>
> i.e:
> www.google.com #All connection that required
> www.any.domain.com/my_file.rar #just one connection to that file
> www.other.domain.net/other_file.iso #just connection to this file
> www.other_domain1.com/other_file1.rar #just one connection to that file
>
> I hope you understand me and can help me, I have my boss hurrying me !!!
There is no easy way to test this in Squid.
You need an external_acl_type helper which gets given the URI and
decides whether it is permitted or not. That decision can be made by
querying Squid cache manager for the list of active_requests and seeing
if the URL appears more than once.
Amos
Received on Fri Mar 23 2012 - 02:00:54 MDT
This archive was generated by hypermail 2.2.0 : Sun Mar 25 2012 - 12:00:03 MDT