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