How to Limit the number of simultaneous Web connections – Squid Proxy Server
You need to use squid ACCESS CONTROLS feature called maxconn. It puts a limit on the maximum number of connections from a single client IP address. It is an ACL that will be true if the user has more than maxconn connections open. It is used in http_access to allow/deny the request just like all the other acl types.
Step # 1: Edit squid conf file
Open /etc/squid/squid.conf file:# vi /etc/squid/squid.conf
Step # 2: Setup maxconn ACL
Locate your ACL section and append config directive as follows:acl ACCOUNTSDEPT 192.168.5.0/24
acl limitusercon maxconn 3
http_access deny ACCOUNTSDEPT limitusercon
Where,
- acl ACCOUNTSDEPT 192.168.3.0/24 : Our accounts department IP range
- acl limitusercon maxconn 3 : Set 3 simultaneous web access from the same client IP
- http_access deny ACCOUNTSDEPT limitusercon : Apply ACL
Save and close the file.
Restart squid
Restart the squid server, enter:# /etc/init.d/squid restart
Source: http://www.cyberciti.biz/tips/howto-limit-squid-proxy-number-web-connections.html

… [Trackback]…
[...] Read More: techgurulive.com/2009/08/10/how-to-limit-the-number-of-simultaneous-web-connections-squid-proxy-server/ [...]…
386617 95057just couldn
Today, I went to the beach front with my kids. I found a sea shell and gave it to my 4 year old daughter and said
“You can hear the ocean if you put this to your ear.” She placed the shell to
her ear and screamed. There was a hermit crab inside and it pinched her ear.
She never wants to go back! LoL I know this is entirely off topic but I had to tell someone!