Skip to content

Commit 68be885

Browse files
committed
Updates for new RFC.
1 parent 267b520 commit 68be885

File tree

1 file changed

+163
-2
lines changed

1 file changed

+163
-2
lines changed

doc/rfc-new.txt

Lines changed: 163 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Obsoletes: 165, 6529 J. Postel
99

1010
Abstract
1111

12+
| The Internet community is challenged by ever changing protocols of
13+
| increasing complexity. The authors suggest the community might be
14+
| better served by switching to a protocol that is simple and
15+
| unlikely to ever change again. Thus we present the last and final
16+
| edition of the ARPA Network Host/Host Protocol.
17+
1218
This document reproduces the Host/Host Protocol developed by the ARPA
1319
Network Working Group during 1969, 1970, and 1971. It describes a
1420
protocol used to manage communication between processes residing on
@@ -304,6 +310,13 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
304310
In addition to the above, several minor editorial changes have been
305311
made.
306312

313+
| This document supersedes RFC 6529 of the same title. Principal
314+
| differences between the documents include:
315+
|
316+
| - clarifies non-control messages also have the header,
317+
| - a brief description of the Initial Connection Protocol,
318+
| - addition of the RAR, RAS, RAP, NXR, and NXS opcodes.
319+
307320
Although there are many individuals associated with the network who
308321
are knowledgeable about protocol issues, individuals with questions
309322
pertaining to Network protocols should initially contact one of the
@@ -622,7 +635,8 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
622635
that byte size, then the outer layer of protocol will not be
623636
implementable on that Host.
624637

625-
The IMP sub-network requires that the first 32 bits of each message
638+
| The original protocol on the IMP sub-network requires that the first
639+
32 bits of each message
626640
(called the leader) contain addressing information, including
627641
destination Host address and link number. The second level protocol
628642
extends the required information at the beginning of each message to
@@ -631,9 +645,15 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
631645
conveniently with 8-bit units of data or have word lengths of 18 or
632646
36 bits; 72 is the least common multiple of these lengths. Thus, the
633647
length chosen for the message header should reduce bit-shifting
634-
problems for many Hosts. In addition to the leader, the message
648+
problems for many Hosts.
649+
| In 1976, the leader was extended to 96 bits, and the host was
650+
| allowed to specify some number of 16-bit padding words between the
651+
| leader and the message data portion.
652+
In addition to the leader, the message
635653
header includes a field giving the byte size used in the message, a
636654
field giving the number of bytes in the message, and "filler" fields.
655+
| Note that the message header applies to both control messages and
656+
| regular messages containing data.
637657
The format of the message header is fully described in Section IV.
638658

639659
Another major concern of the second level protocol is a method for
@@ -804,6 +824,68 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
804824
_queueing_facility._ This is not, however, an absolute requirement
805825
of the protocol.
806826

827+
| _Initial Connection Protocol_
828+
|
829+
| RFC 165 specifies a procol that allows a server to listen to some
830+
| particular well-known socket number, and then establish two
831+
| connections for full-duplex communication between the server and
832+
| user processes. To do this, first a temporary simplex connection
833+
| is opened for the server to transfer a new socket number to the
834+
| user. Then this socket is the basis for opening two new
835+
| connections between the two processes, and the first connection is
836+
| closed.
837+
|
838+
| Below, the well-known socket is called L. The temporary connection
839+
| is initiated by the user from socket U. The new socket number is
840+
| S, and the full-duplex connections are between S and U+3, and S+1
841+
| and U+2.
842+
843+
Server User
844+
845+
S1: listening on socket L. U1: RTS (U, L, _l1_)
846+
847+
S2: Wait for match. U2: Wait for match.
848+
849+
S3: STR (L, U, _s1_)
850+
851+
S4: Wait for allocation. U3: All (_l1_, _m1_, _b1_)
852+
853+
S5: Send data S in_s1_ bit U4: Receive data S in s1 bit bytes.
854+
bytes as allowed by _s1_ bit bytes.
855+
allocation m1_, _b1_).
856+
857+
S6: CLS (L, U) U5: CLS (U, L)
858+
859+
S7: RTS (S, U+3, _l2_) U6: STR (U+3, S, _s2_)
860+
861+
S8: STR (S+1, U+2, _s3_) U7: RTS (U+2, S+1, _l3_)
862+
863+
The labels here imply no ordering except that ordering required by
864+
the Host-Host Protocol. Note that steps S7 and S8 can be reversed as
865+
can U6 and U7. Also, notice that at any time after S2 the server
866+
could initiate steps S7 and S8 in parallel with steps S3 through S6,
867+
and that at any time after U4 the user could initiate steps U6 and U7
868+
in parallel with step U5.
869+
870+
Following the above, exchanges ALL commands would be exchanged and
871+
data transfers could begin.
872+
873+
At this level the parameters of the above ICP family are L, _m1_,
874+
_b1_, _s1_, _s2_, _s3_, _l1_, _l2_, _l3_.
875+
876+
L is a well known socket number and will be specified for each type
877+
of service.
878+
879+
m1 and b1 are allocation quantities for the transfer of a socket
880+
number.
881+
882+
_m1_ is specified to be 1.
883+
_b1_ is specified to be 32.
884+
_s1_, _s2_, and _s3_ are byte sizes. Only _s1_ is to be specified
885+
as _s2_ and _s3_ are to be left to the process involved.
886+
_s1_ is specified to be 32.
887+
888+
_l1_, _l2_, and _l3_ are links and are not specified.
807889

808890
Connection Termination
809891
======================
@@ -1543,6 +1625,36 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
15431625
allocations in response to a GVB command. This command may be sent
15441626
only while the connection is established.
15451627

1628+
| RAR - Reset allocation by receiver
1629+
| ==================================
1630+
|
1631+
| 8 8
1632+
| +------------+
1633+
| | RAR | link |
1634+
| +------------+
1635+
|
1636+
| Sent in reply to RAS to acknowledge allocations have been reset.
1637+
|
1638+
| RAS - Reset allocation by sender
1639+
| ================================
1640+
|
1641+
| 8 8
1642+
| +------------+
1643+
| | RAS | link |
1644+
| +------------+
1645+
|
1646+
| Tells the receiver to clear allocations for the specified link.
1647+
|
1648+
| RAP - Reset allocation please
1649+
| =============================
1650+
|
1651+
| 8 8
1652+
| +------------+
1653+
| | RAP | link |
1654+
| +------------+
1655+
|
1656+
| Sent from receiver to sender to ask it to send an RAS.
1657+
15461658
INR - Interrupt by receiver
15471659
===========================
15481660

@@ -1690,6 +1802,26 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
16901802
field are the message header followed by the first eight bits
16911803
of text (if any) or zeros.
16921804

1805+
| NXR - Non-existent receive link
1806+
| ===============================
1807+
|
1808+
| 8 8
1809+
| +------------+
1810+
| | NXR | link |
1811+
| +------------+
1812+
|
1813+
| Tells sender the link it used is non-existant.
1814+
|
1815+
| NXS - Non-existent send link
1816+
| ============================
1817+
|
1818+
| 8 8
1819+
| +------------+
1820+
| | NXS | link |
1821+
| +------------+
1822+
|
1823+
| Tells receiver the link it used is non-existant.
1824+
16931825
Opcode Assignment
16941826
=================
16951827

@@ -1710,6 +1842,11 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
17101842
ERR = 11
17111843
RST = 12
17121844
RRP = 13
1845+
RAR = 14
1846+
RAS = 15
1847+
RAP = 16
1848+
NXR = 17
1849+
NXS = 18
17131850

17141851

17151852
Control Command Summary
@@ -1803,6 +1940,30 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
18031940
| RRP |
18041941
+-----+
18051942

1943+
8 8
1944+
+------------+
1945+
| RAR | link |
1946+
+------------+
1947+
1948+
8 8
1949+
+------------+
1950+
| RAS | link |
1951+
+------------+
1952+
1953+
8 8
1954+
+------------+
1955+
| RAP | link |
1956+
+------------+
1957+
1958+
8 8
1959+
+------------+
1960+
| NXR | link |
1961+
+------------+
1962+
1963+
8 8
1964+
+------------+
1965+
| NXS | link |
1966+
+------------+
18061967

18071968

18081969

0 commit comments

Comments
 (0)