Squid 配置指令 mark_client_packet
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | mark_client_packet |
|---|---|
| 替代 | clientside_mark |
| 要求 | --with-cap 和 Packet MARK (Linux) |
| 默认值 | none |
| 建议配置 |
|
Allows you to apply a Netfilter MARK value to packets being transmitted on the client-side, based on an ACL. mark_client_packet mark-value [!]aclname ... Example where normal_service_net uses the MARK value 0x00 and good_service_net uses 0x20 acl normal_service_net src 10.0.0.0/24 acl good_service_net src 10.0.1.0/24 mark_client_packet 0x00 normal_service_net mark_client_packet 0x20 good_service_net Note: This feature is incompatible with qos_flows. Any mark values set here will be overwritten by mark values in qos_flows. This clause only supports fast acl types. See https://wiki.squid.org.cn/SquidFaq/SquidAcl for details. |
|
