Search squid archive

Re: acl maxconn per file or url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sön 2009-06-14 klockan 06:23 +0300 skrev MonzT:
> I want to know if there is any way to limit maximum connection per FILE or 
> URL not just client ip.

Not in squid, at least not without first adding the feature.

> The usual 'maxconn' command limits connection by ip which is not what we 
> want in most cases, because some browsers make multiple connections to get 
> the whole page and this doesn't affect the bandwidth as these connections 
> are for small objects,

Because the user have once installed a "download accelerator".. most
these change the registry settings to pretty much unlimited concurrent
connections from the default 2..

> the problem is when some one download a 1.5 GB file with 16 connection using 
> IDM or Flashget or something,

Yes.

> I think limiting connection per file or requested url will be the best,
> so I was wondering if there is any way to achieve this, or any hint to edit 
> source code

Regarding source I think a good starting point is to look at the maxconn
acl. The big part is coming up with a method for detecting these
concurrent requests correctly. Discussions on this is best done on the
squid-dev list.

Regards
Henrik


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux