UDP Echo and DiffServ bits

Glen Turner <glen.turner@aarnet.edu.au> Mon, 07 August 2000 08:10 UTC

Received: by ietf.org (8.9.1a/8.9.1a) id EAA10985 for ietf-outbound.10@ietf.org; Mon, 7 Aug 2000 04:10:03 -0400 (EDT)
Received: from tiny-teddy.aarnet.edu.au (IDENT:root@tiny-teddy.aarnet.edu.au [203.21.37.30]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA09956 for <ietf@ietf.org>; Mon, 7 Aug 2000 04:07:55 -0400 (EDT)
Received: from aarnet.edu.au (bush.aarnet.adelaide.edu.au [129.127.80.130]) by tiny-teddy.aarnet.edu.au (8.9.3/8.9.3) with ESMTP id RAA15595 for <ietf@ietf.org>; Mon, 7 Aug 2000 17:37:52 +0930
Sender: glen.turner@aarnet.edu.au
Message-ID: <398E6E70.92DB18E0@aarnet.edu.au>
Date: Mon, 07 Aug 2000 17:38:16 +0930
From: Glen Turner <glen.turner@aarnet.edu.au>
Organization: Australian Academic and Research Network
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.16-3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: ietf@ietf.org
Subject: UDP Echo and DiffServ bits
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
X-Loop: ietf@ietf.org
Content-Transfer-Encoding: 7bit

There appears to be a divergence in vendor practice as to
if UDP Echo (well-known UDP port 7) should set the DiffServ
bits in the repsonse to the same as those in the request.

RFC862 and RFC1349 don't provide much guidance: the wording
of RFC862 implying that only the data needs to be echoed, so
the contents of the IP header are undefined; and RFC1349
stating that the ToS bits may differ between the two
directions of a flow.

I would like to argue that the UDP Echo service should set
the DiffServ bits in the response to those in the request.

This appears to be the most useful setting.  If the DiffServ
code point isn't supported in the reverse direction, then
the DSCP will be policed to 0 and the packet forwarded.  If
the differentiated service is supported, then the echoing of
the DSCP will allow the most probable network path to be tested.

Does anyone have a definitive statement on UDP Echo and DiffServ
in an RFC or ID?

Are there factors that would suggest that the UDP Echo service
should not set the DiffServ bits?

Ta,
Glen

 [PS: I'm aware of the denial of service possibilities with UDP Echo,
      especially one that sets the DiffServ bits to obtain superior
      network performance.  To avoid argument on that topic, let's
      assume that the source IP address of the request is checked
      against an ACL and that the reverse path forwarding check is
      configured.]

-- 
 Glen Turner                                 Network Engineer
 (08) 8303 3936      Australian Academic and Research Network
 glen.turner@aarnet.edu.au          http://www.aarnet.edu.au/