</PRE>
</P>
-<DT><B>zph_preserve_miss_tos</B><DD>
+<DT><B>qos_flows local-hit= sibling-hit= parent-hit=</B><DD>
<P>
<PRE>
- If set to on (default), any HTTP response towards clients will
- have the TOS value of the response comming from the remote
- server masked with the value of zph_preserve_miss_tos_mask.
- For this to work correctly, you will need to patch your linux
- kernel with the TOS preserving ZPH patch.
- The kernel patch can be downloaded from http://zph.bratcheda.org
-
-</PRE>
-</P>
+ Allows you to select a TOS/DSCP value to mark outgoing
+ connections with, based on where the reply was sourced.
-<DT><B>zph_preserve_miss_tos_mask</B><DD>
-<P>
-<PRE>
- Allows you to mask certain bits in the TOS received from the
- remote server, before copying the value to the TOS send towards
- clients.
- Default: 0xFF (255) (TOS from server is not changed).
-
-</PRE>
-</P>
+ TOS values really only have local significance - so you should
+ know what you're specifying. For more information, see RFC2474,
+ RFC2475, and RFC3260.
-<DT><B>zph_tos_local</B><DD>
-<P>
-<PRE>
- Allows you to select a TOS/Diffserv value to mark local hits. Read above
- (tcp_outgoing_tos) for details/requirements about TOS.
- Default: 0 (disabled).
-
-</PRE>
-</P>
+ The TOS/DSCP byte must be exactly that - octet value 0x00-0xFF.
+ Note that in practice often only values up to 0x3F are usable
+ as the two highest bits have been redefined for use by ECN
+ (RFC3168).
-<DT><B>zph_tos_parent</B><DD>
-<P>
-<PRE>
- Set this to off if you want only sibling hits to be marked.
- If set to on (default), parent hits are being marked too.
-
-</PRE>
-</P>
+ This setting is configured by setting the source TOS values:
-<DT><B>zph_tos_peer</B><DD>
-<P>
-<PRE>
- Allows you to select a TOS/Diffserv value to mark peer hits. Read above
- (tcp_outgoing_tos) for details/requirements about TOS.
- Default: 0 (disabled).
+ local-hit=0xFF Value to mark local cache hits.
+
+ sibling-hit=0xFF Value to mark hits from sibling peers.
+
+ parent-hit=0xFF Value to mark hits from parent peers.
+
+
+ NOTE: 'miss' preserve feature is only possible on Linux at this time.
+
+ For the following to work correctly, you will need to patch your
+ linux kernel with the TOS preserving ZPH patch.
+ The kernel patch can be downloaded from http://zph.bratcheda.org
+
+ disable-preserve-miss
+ If set, any HTTP response towards clients will
+ have the TOS value of the response comming from the
+ remote server masked with the value of miss-mask.
+ miss-mask=0xFF
+ Allows you to mask certain bits in the TOS received from the
+ remote server, before copying the value to the TOS sent
+ towards clients.
+ Default: 0xFF (TOS from server is not changed).
</PRE>
</P>
<P>Replaced by <EM>url_rewrite_bypass</EM></P>
<DT><B>zph_local</B><DD>
-<P>Replaced by <EM>zph_tos_local</EM></P>
+<P>Replaced by <EM>qos_flows local-hit=</EM></P>
<DT><B>zph_mode</B><DD>
<P>Obsolete.</P>
<P>Obsolete.</P>
<DT><B>zph_parent</B><DD>
-<P>Replaced by <EM>zph_tos_peer</EM> and <EM>zph_tos_parent</EM></P>
+<P>Replaced by <EM>qos_flows parent-hit=</EM></P>
<DT><B>zph_sibling</B><DD>
-<P>Replaced by <EM>zph_tos_peer</EM></P>
+<P>Replaced by <EM>qos_flows sibling-hit=</EM></P>
</DL>
</P>
See also: sslproxy_flags and DONT_VERIFY_PEER.
</verb>
- <tag>zph_preserve_miss_tos</tag>
+ <tag>qos_flows local-hit= sibling-hit= parent-hit=</tag>
<verb>
- If set to on (default), any HTTP response towards clients will
- have the TOS value of the response comming from the remote
- server masked with the value of zph_preserve_miss_tos_mask.
- For this to work correctly, you will need to patch your linux
- kernel with the TOS preserving ZPH patch.
- The kernel patch can be downloaded from http://zph.bratcheda.org
- </verb>
+ Allows you to select a TOS/DSCP value to mark outgoing
+ connections with, based on where the reply was sourced.
- <tag>zph_preserve_miss_tos_mask</tag>
- <verb>
- Allows you to mask certain bits in the TOS received from the
- remote server, before copying the value to the TOS send towards
- clients.
- Default: 0xFF (255) (TOS from server is not changed).
- </verb>
+ TOS values really only have local significance - so you should
+ know what you're specifying. For more information, see RFC2474,
+ RFC2475, and RFC3260.
- <tag>zph_tos_local</tag>
- <verb>
- Allows you to select a TOS/Diffserv value to mark local hits. Read above
- (tcp_outgoing_tos) for details/requirements about TOS.
- Default: 0 (disabled).
- </verb>
+ The TOS/DSCP byte must be exactly that - octet value 0x00-0xFF.
+ Note that in practice often only values up to 0x3F are usable
+ as the two highest bits have been redefined for use by ECN
+ (RFC3168).
- <tag>zph_tos_parent</tag>
- <verb>
- Set this to off if you want only sibling hits to be marked.
- If set to on (default), parent hits are being marked too.
- </verb>
+ This setting is configured by setting the source TOS values:
- <tag>zph_tos_peer</tag>
- <verb>
- Allows you to select a TOS/Diffserv value to mark peer hits. Read above
- (tcp_outgoing_tos) for details/requirements about TOS.
- Default: 0 (disabled).
+ local-hit=0xFF Value to mark local cache hits.
+
+ sibling-hit=0xFF Value to mark hits from sibling peers.
+
+ parent-hit=0xFF Value to mark hits from parent peers.
+
+
+ NOTE: 'miss' preserve feature is only possible on Linux at this time.
+
+ For the following to work correctly, you will need to patch your
+ linux kernel with the TOS preserving ZPH patch.
+ The kernel patch can be downloaded from http://zph.bratcheda.org
+
+ disable-preserve-miss
+ If set, any HTTP response towards clients will
+ have the TOS value of the response comming from the
+ remote server masked with the value of miss-mask.
+ miss-mask=0xFF
+ Allows you to mask certain bits in the TOS received from the
+ remote server, before copying the value to the TOS sent
+ towards clients.
+ Default: 0xFF (TOS from server is not changed).
</verb>
<p>Replaced by <em>url_rewrite_bypass</em>
<tag>zph_local</tag>
- <p>Replaced by <em>zph_tos_local</em>
+ <p>Replaced by <em>qos_flows local-hit=</em>
<tag>zph_mode</tag>
<p>Obsolete.
<p>Obsolete.
<tag>zph_parent</tag>
- <p>Replaced by <em>zph_tos_peer</em> and <em>zph_tos_parent</em>
+ <p>Replaced by <em>qos_flows parent-hit=</em>
<tag>zph_sibling</tag>
- <p>Replaced by <em>zph_tos_peer</em>
+ <p>Replaced by <em>qos_flows sibling-hit=</em>
</descrip>