Squid configuration manual

Reference manual for squid's configuraiton directives

View the Project on GitHub

Index Alphabetical Index

Option Name:

mark_client_packet

Suggested Config:


Details:

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-cache.org/SquidFaq/SquidAcl for details.
Index Alphabetical Index