InterviewSolution
| 1. |
How To Limit The Number Of Connections From A Client Machine In Squid ? |
|
Answer» Squid can LIMIT number the of connections from the client machine and this is possible through the maxconn element. To use this option, client_db feature should be enabled first. acl mynetwork 192.168.1.1/255.255.255.0 acl numconn maxconn 5 http_access deny mynetwork numconn maxconn ACL USES less-than COMPARISON. This ACL is matched when the number of connections is greater than the SPECIFIED value. This is the main reason for which this ACL is not used with the http_access allow rule. Squid can limit number the of connections from the client machine and this is possible through the maxconn element. To use this option, client_db feature should be enabled first. acl mynetwork 192.168.1.1/255.255.255.0 acl numconn maxconn 5 http_access deny mynetwork numconn maxconn ACL uses less-than comparison. This ACL is matched when the number of connections is greater than the specified value. This is the main reason for which this ACL is not used with the http_access allow rule. |
|