Squid 配置指令 ident_lookup_access

可用版本:   v6   v5   v4   3.5   3.4   3.3   3.2   2.7   3.1   3.0   2.6  

此指令在 Squid 的 v8 版本中不可用。

对于 v5 之前的旧版本,请参阅以上链接页面。

配置详情

选项名称ident_lookup_access
替代
要求--enable-ident-lookups
默认值除非 squid.conf 中存在规则,否则不会获取 IDENT。
建议配置

      
	A list of ACL elements which, if matched, cause an ident
	(RFC 931) lookup to be performed for this request.  For
	example, you might choose to always perform ident lookups
	for your main multi-user Unix boxes, but not for your Macs
	and PCs.  By default, ident lookups are not performed for
	any requests.

	To enable ident lookups for specific client addresses, you
	can follow this example:

	acl ident_aware_hosts src 198.168.1.0/24
	ident_lookup_access allow ident_aware_hosts
	ident_lookup_access deny all

	Only src type ACL checks are fully supported.  A srcdomain
	ACL might work at times, but it will not always provide
	the correct result.

	This clause only supports fast acl types.
	See https://wiki.squid.org.cn/SquidFaq/SquidAcl for details.

 

返回

 

简介

文档

支持

杂项