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