squid限制某个ip段总连接数,acl maxconn 参数的行为是怎么的?
时间: 2015-08-14来源:开源中国
前景提要
HDC调试需求开发(15万预算),能者速来!>>>
官方文档 http://www.squid-cache.org/Versions/v3/3.1/cfgman/acl.html

acl aclname maxconn number # This will be matched when the client's IP address has # more than <number> TCP connections established. [fast] # NOTE: This only measures direct TCP links so X-Forwarded-For # indirect clients are not counted. 这里是对单一ip限制总连接数


acl conn_limit maxconn 10
acl limit_ip 192.168.3.0/24
http_access deny limit_ip conn_limit
请问:
上面写法 是限制192.168.3.0/24中 每个ip 最大连接10,还是192.168.3.0/24 所有ip 最大连接数10





科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行