Re: [squid-users] Limiting connections per user - not per IP

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 22 Mar 2010 02:55:05 +1300

David Parks wrote:
> I expect a lot of users from the same IP (NAT), is there a way to
> limit concurrent connections by authenticated user rather than just
> by IP (acl maxconn appears to do it only by IP)? Thx, David
>

Not directly.

You can hack something up with a combo of max_user_ip and maxconn.
http://www.squid-cache.org/Doc/config/acl/

Or you can roll your own custom logic into a external_acl_type helper.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE8 or 3.0.STABLE25
   Current Beta Squid 3.1.0.18
Received on Sun Mar 21 2010 - 13:55:13 MDT

This archive was generated by hypermail 2.2.0 : Sun Mar 21 2010 - 12:00:05 MDT