home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 600s / rfc695.txt < prev    next >
Text File  |  1992-10-14  |  3KB  |  103 lines

  1.  
  2.  
  3. NWG/RFC# 695                       MCK 5-JUL-75 15:38  32908
  4. Official Change in Host-Host Protocol
  5.  
  6.  
  7.  
  8.                                       Mark Krilanovich     1
  9.  
  10.          Official Change in Host-Host Protocol             2
  11.  
  12. This is an official change to the Host to Host
  13. protocol, this document should be filed with the
  14. protocol specification (nic -- 8246,) in the Current
  15. Network Protocols Notebook (nic -- 7104,).                 3
  16.  
  17.                                          -- Jon Postel    3a
  18.  
  19. This document corrects an ambiguity in the current
  20. host-host protocol, concerning the ERR command.
  21. Paragraph "f", page 35, of NIC 8246 defines the
  22. meaning of an ERR command with error code of 5 to be
  23. "socket (link) not connected".  The error code is
  24. stated to apply to two cases, one in which a control
  25. command other than STR or RTS refers to a socket that
  26. is neither fully open nor fully closed, and the other
  27. in which a (non-control) message arrives over a link
  28. not being used for a connection.                           4
  29.  
  30. The difficulty arises from the fact that the contents
  31. of the "data" field of the ERR command has distinctly
  32. different formats in the two cases.  In the first, it
  33. is a host-host command, and in the second it is a
  34. message header.  There is no reliable way for the code
  35. in the NCP receiving the ERR command (or a human
  36. reviewing an error log) to distinguish between the two
  37. cases, and therefore fullest use cannot be made of the
  38. ERR command.                                               5
  39.  
  40. The two cases are now defined to have different error
  41. codes.  In addition, a new error code is defined,
  42. meaning "invalid host leader received".  Therefore,
  43. paragraph "f" under "ERR - Error detected" is now
  44. replaced by the following:                                 6
  45.  
  46. f.  Request on a non-open socket (Error code = 5)          7
  47.  
  48. NWG/RFC# 695                       MCK 5-JUL-75 15:38  32908
  49. Official Change in Host-Host Protocol
  50.  
  51.  
  52.  
  53.    A request other than an STR or RTS was made for a
  54.    socket (perhaps referenced by link number) that is
  55.    not party to an fully established connection.  The
  56.    socket's inappropriate state could either be that
  57.    only one RFC has been sent (not yet open) or that
  58.    only one CLS has been sent (not yet closed).  The
  59.    "data" field contains the command in error; the
  60.    value of any fill necessary is zeros.                  7a
  61.  
  62. g.  Message on an unknown link (Error code = 6)            8
  63.  
  64.    A message was received over a user link which is
  65.    not currently being used for any connection.  The
  66.    contents of the "data" field are the message header
  67.    followed by the first eight bits of text, if any,
  68.    or zeros.                                              8a
  69.  
  70. h.  Invalid host header (Error code = 7)                   9
  71.  
  72.    A message was received either over the control link
  73.    or a valid user link that had a host header with
  74.    invalid format. Examples of when this subtype would
  75.    be appropriate are the following:  the M1 or M2
  76.    fields were non-zero, the byte size was invalid
  77.    (not 8 for a control link, zero for any link), or
  78.    the declared length (byte size times byte count)
  79.    exceeded the actual length.  The contents of the
  80.    "data" field is the message header padded with
  81.    eight bits of zeros.                                   9a
  82.  
  83. -------                                                   10
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.                              1