🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.iso
Article #1238

Re: Does US GOSIP NSAP format conform to ISO standards?

#1238
From: Doug Montgomery
Date: Fri, 03 May 1991 16:51
68 lines
3975 bytes

>ISO 8348 : 1987/Add.2 : 1988
>Network Service Definition - Network Layer Addressing
>
>says that the maximum DSP length for two of the IDI formats (DCC and ICD) in
>both decimal and binary syntax are:
>
>ISO DCC decimal syntax          35 digits
>ISO DCC binary syntax           14 octets
>ISO 6523-ICD decimal syntax     34 digits
>ISO 6523-ICD binary syntax      13 octets
>
>Using the preferred encodings, this results in the following lengths for
>the combined IDP and DSP (ie the complete NSAP):
>
>ISO DCC decimal syntax          20 octets
>ISO DCC binary syntax           17 octets
>ISO 6523-ICD decimal syntax     20 octets
>ISO 6523-ICD binary syntax      16 octets
>
>The US GOSIP NSAP address structure has an AFI of 47 indicating that it is in a
>binary syntax ISO 6523-ICD format, but has a total length of 20 octets which
>seems to conflict with the above.
>
>On the other hand I do not understand the rationale for differing maximums on
>the lengths of NSAP addresses encoded using the preferred encoding. Is it
>because they have approximately the same number of possible values (and hence a
>more compact encoding of the decimal syntax would shorten the length of an
>encoded decimal syntax NSAP to approximately the length of an encoded binary
>syntax NSAP)?
>
>Any clarification would be greatly appreciated.

ISO 8348/Add2 estabishes independence between the definition of NSAP addresses
using an abstract syntax and their potential encodings in protocols.   The
standard also defines two encodings preferred binary encoding (PBE) and preferred
decimal encoding (PDE).  Given this independence, a general principle reflected
in the standard is that any NSAP addresses should be capable of being encoded
in both the PBE and the PDE.

The DSP of a NSAP can be allocated in either a binary or decimal abstract syntax.
If you look at the PDE rules for encoding binary abstract syntax DSPs (8.3.2.d)
you will find the crux of the problem.  A simple minded encoding scheme would
map one octet (0.255) to three decimal digits. If you look at 8.3.2.d the scheme
there further optimizes by mapping two octets of binary abstract DSP octets to 5 
decimal digits.   But the basic fact remains that it requires more that 2 decimal
digits to decimal encode each octet of a binary abstract syntax DSP.  You can
look at the given lengths of the the IDPs and the encoding rules of 8.3.2 to
derive the restrictions on binary abstract DSP length given in table 5.

Given the history above, it was noted that no Network Layer protocols actually
made use of the PDE.  Thus explicitly describing the PDE and requiring that
all NSAPs be capable of being encoded using it was wasting useful address
space in binary DSPs.  

As Paul pointed out their is an amendment (ISO 8348/Add 2) that removes the
PDE (and the corresponding binary DSP length restrictions) from ISO 8348/Add2.
This amendment is progessing with little opposition within ISO.

dougm
+------------------------------------------------------------------------------+
| Doug Montgomery                                     dougm@osi.ncsl.nist.gov  |
| National Institute of Standards and Technology                               |
| Technology Building, B-217                          Voice: +1-301-975-3630   |
| Gaithersburg, MD 20899 USA                          Fax:   +1-301-590-0932   |
+------------------------------------------------------------------------------+
 
Technical Details
Message-ID: <9105031651.AA10181@warthog.ncsl.nist.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!WARTHOG.NCSL.NIST.GOV!dougm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!WARTHOG.NCSL.NIST.GOV!dougm
From: dougm@WARTHOG.NCSL.NIST.GOV (Doug Montgomery)
Newsgroups: comp.protocols.iso
Subject: Re:  Does US GOSIP NSAP format conform to ISO standards?
Message-ID: <9105031651.AA10181@warthog.ncsl.nist.gov>
Date: 3 May 91 16:51:47 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: National Institute of Standards and Technology (NIST)
Lines: 68