[squid-users] Problem of limitation of a connection number

From: Bangard Aleksandr <[email protected]>
Date: Tue, 10 Jul 2001 12:59:17 +0800

Hello!

I try limit number of connection. In squid.conf i write:
acl baf src 192.168.62.126/255.255.255.255

acl lmt maxconn 3
http_access deny lmt baf
when i try connect to squid, i get error page. In cache.log squid write:

2001/07/10 12:35:30| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0'
2001/07/10 12:35:30| aclMatchIp: '192.168.62.126' found
2001/07/10 12:35:30| aclMatchAclList: returning 1
2001/07/10 12:35:30| aclCheck: checking 'http_access allow manager
localhost'
2001/07/10 12:35:30| aclMatchAclList: checking manager
2001/07/10 12:35:30| aclMatchAcl: checking 'acl manager proto cache_object'
2001/07/10 12:35:30| aclMatchAclList: returning 0
2001/07/10 12:35:30| aclCheck: checking 'http_access deny manager'
2001/07/10 12:35:30| aclMatchAclList: checking manager
2001/07/10 12:35:30| aclMatchAcl: checking 'acl manager proto cache_object'
2001/07/10 12:35:30| aclMatchAclList: returning 0
2001/07/10 12:35:30| aclCheck: checking 'http_access deny !Safe_ports'
2001/07/10 12:35:30| aclMatchAclList: checking !Safe_ports
2001/07/10 12:35:30| aclMatchAcl: checking 'acl Safe_ports port 80 # http'
2001/07/10 12:35:30| aclMatchAclList: returning 0
2001/07/10 12:35:30| aclCheck: checking 'http_access deny CONNECT
!SSL_ports'
2001/07/10 12:35:30| aclMatchAclList: checking CONNECT
2001/07/10 12:35:30| aclMatchAcl: checking 'acl CONNECT method CONNECT'
2001/07/10 12:35:30| aclMatchAclList: returning 0
2001/07/10 12:35:30| aclCheck: checking 'http_access deny lmt baf'
2001/07/10 12:35:30| aclMatchAclList: checking lmt
2001/07/10 12:35:30| aclMatchAcl: checking 'acl lmt maxconn 3'
2001/07/10 12:35:30| aclMatchAclList: returning 0
2001/07/10 12:35:30| aclCheck: checking 'http_access deny all'
2001/07/10 12:35:30| aclMatchAclList: checking all
2001/07/10 12:35:30| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0'
2001/07/10 12:35:30| aclMatchIp: '192.168.62.126' found
2001/07/10 12:35:30| aclMatchAclList: returning 1
2001/07/10 12:35:30| aclCheck: match found, returning 0
2001/07/10 12:35:30| aclCheckCallback: answer=0
2001/07/10 12:35:37| aclCheckFast: list: 0x8287870
2001/07/10 12:35:37| aclMatchAclList: checking all

what i make incerrect?
Received on Mon Jul 09 2001 - 22:59:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:04 MST