Squid 配置指令 wccp2_service_info
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | wccp2_service_info |
|---|---|
| 替代 | |
| 要求 | --enable-wccpv2 |
| 默认值 | none |
| 建议配置 |
|
Dynamic WCCPv2 services require further information to define the traffic you wish to have diverted. The format is: wccp2_service_info <id> protocol=<protocol> flags=<flag>,<flag>.. priority=<priority> ports=<port>,<port>.. The relevant WCCPv2 flags: + src_ip_hash, dst_ip_hash + source_port_hash, dst_port_hash + src_ip_alt_hash, dst_ip_alt_hash + src_port_alt_hash, dst_port_alt_hash + ports_source The port list can be one to eight entries. Example: wccp2_service_info 80 protocol=tcp flags=src_ip_hash,ports_source priority=240 ports=80 Note: the service id must have been defined by a previous 'wccp2_service dynamic <id>' entry. |
|
