Re: Final word re: final word on pseudo-header

Francis Dupont <Francis.Dupont@inria.fr> Tue, 18 May 1993 16:30 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa17298; 18 May 93 12:30 EDT
Received: from CNRI.RESTON.VA.US by IETF.CNRI.Reston.VA.US id aa17294; 18 May 93 12:30 EDT
Received: from p.lanl.gov by CNRI.Reston.VA.US id aa12955; 18 May 93 12:30 EDT
Received: from noc-gw.lanl.gov by p.lanl.gov (5.65/1.14) id AA02321; Tue, 18 May 93 10:21:33 -0600
Received: by noc-gw.lanl.gov (4.1/SMI-4.1) id AA16715; Tue, 18 May 93 10:19:00 MDT
Return-Path: <dupont@givry.inria.fr>
Received: from p.lanl.gov by noc-gw.lanl.gov (4.1/SMI-4.1) id AA16699; Tue, 18 May 93 10:18:53 MDT
Received: from concorde.inria.fr by p.lanl.gov (5.65/1.14) id AA02109; Tue, 18 May 93 10:18:49 -0600
Received: from givry.inria.fr by concorde.inria.fr; Tue, 18 May 1993 18:18:47 +0200
Received: by givry.inria.fr; Tue, 18 May 1993 18:18:46 +0200
Message-Id: <199305181618.AA03556@givry.inria.fr>
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Francis Dupont <Francis.Dupont@inria.fr>
To: tuba@lanl.gov
Subject: Re: Final word re: final word on pseudo-header
In-Reply-To: Your message of Tue, 18 May 1993 09:57:45 +0200. <9305180757.AA09077@dxcern.cern.ch>
Date: Tue, 18 May 1993 18:18:26 +0200
X-Orig-Sender: Francis.Dupont@inria.fr
X-Charset: ASCII
X-Char-Esc: 29

 Perhaps it is more useful to clarify some obscure points in the
draft-ietf-tuba-clnp-02.txt document (I suppose it is still the last one ?).

 There is a strange "Reserved" field after the source address in the
proposed Internet header using CLNP (Figure 4-1. CLNP for TUBA).
The text gives a false detail about the length of the addresses.

 In Table 5-1. Comparison of CLNP Error Reports to ICMP Error Messages:
----------------------------------|------------------------------------
Destination Unreachable     (128) | Network Unreachable         (3, 0)
Destination Unknown         (129) | Host Unreachable            (3, 1)

the difference between "Destination Unreachable" and "Destination Unknown" is
not so clear (:-) and "Host Unreachable" is safer than "Network Unreachable".

ICMP "Protocol Unreachable" (3, 2) is in fact a "Destination Unknown" case
(reported by the destination ES) because the (IP) protocol is the (CLNS) NSEL.

The ICMP "Port Unreachable" (3, 3) is very useful for UDP then I propose
to map it into a "Destination Unknown" with a second octet of the discard
reason option (which localizes the first octet of the erroneous field)
pointing to the destination port field in the UDP header (i.e. equal to
CLNP header length + 3).

We need an up-to-date description of pseudo-headers with examples showing
where are the paddings. Perhaps the best solution is to recommend the
Keith Sklower's hack (precompute the checksum on the length+address
structures and use the standard IP pseudo-header with the checksums at the
place of the IP addresses. There is only one difficulty: the source checksum
must be byte-swapped if the length of the CLNS destination address is even.
Of course checksums are cached...).

Francis.Dupont@inria.fr