]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Release Notes update for ZPH polish. pt2
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 24 Dec 2008 07:34:20 +0000 (20:34 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 24 Dec 2008 07:34:20 +0000 (20:34 +1300)
doc/release-notes/release-3.1.html
doc/release-notes/release-3.1.sgml

index 109c41da848d3434af734476f448c2b8784a453e..a59649ba06f3f95501940a6dd709cb300e3c3adc 100644 (file)
@@ -915,55 +915,45 @@ DEFAULT: None bypassed.
 </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>
@@ -1402,7 +1392,7 @@ The helper will now compile and work with dns_nameservers on more variants of Li
 <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>
@@ -1411,10 +1401,10 @@ The helper will now compile and work with dns_nameservers on more variants of Li
 <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>
index 6da0ebbc511874d3ad327dbb5f00c97828458957..fd9e3cefa4b252c81db5b5a2f69f969218d598bd 100644 (file)
@@ -734,42 +734,44 @@ NOCOMMENT_START
        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>
 
 
@@ -1167,7 +1169,7 @@ This section gives an account of those changes in three categories:
        <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.
@@ -1176,10 +1178,10 @@ This section gives an account of those changes in three categories:
        <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>