Squid 配置指令 icp_access
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | icp_access |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | 拒绝,除非在 squid.conf 中存在规则。 |
| 建议配置 |
# Allow ICP queries from local networks only #icp_access allow localnet #icp_access deny all |
Allowing or Denying access to the ICP port based on defined access lists icp_access allow|deny [!]aclname ... NOTE: The default if no icp_access lines are present is to deny all traffic. This default may cause problems with peers using ICP. This clause only supports fast acl types. See https://wiki.squid.org.cn/SquidFaq/SquidAcl for details. |
|
