[squid-users] request future option
Alex Rousskov
rousskov at measurement-factory.com
Thu Jun 1 18:24:10 UTC 2017
On 06/01/2017 11:29 AM, joseph wrote:
> if a file come from ecap the adapter will send
> command to squid to force dscp tos to a value that in adapter itself like
>
> virtual void SetTos(std::string &value);
> std::string dscpTmp = 0x50;
> SetTos(dscpTmp );
You cannot convert an eCAP-set annotation into a TOS mark, but you can
write an ACL that will detect a specific eCAP-set annotation value and
then use that ACL to set the corresponding mark. If you have 100
different TOS mark values, it will be a little tedious (without
automation) but if you only have a few, then no automation is needed:
acl tosMark50 note tosMark 50
acl tosMark60 note tosMark 60
...
clientside_tos 0x50 toMark50
clientside_tos 0x60 toMark60
...
Alex.
More information about the squid-users
mailing list