@@ -9,6 +9,12 @@ Obsoletes: 165, 6529 J. Postel
9
9
10
10
Abstract
11
11
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
+
12
18
This document reproduces the Host/Host Protocol developed by the ARPA
13
19
Network Working Group during 1969, 1970, and 1971. It describes a
14
20
protocol used to manage communication between processes residing on
@@ -304,6 +310,13 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
304
310
In addition to the above, several minor editorial changes have been
305
311
made.
306
312
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
+
307
320
Although there are many individuals associated with the network who
308
321
are knowledgeable about protocol issues, individuals with questions
309
322
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
622
635
that byte size, then the outer layer of protocol will not be
623
636
implementable on that Host.
624
637
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
626
640
(called the leader) contain addressing information, including
627
641
destination Host address and link number. The second level protocol
628
642
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
631
645
conveniently with 8-bit units of data or have word lengths of 18 or
632
646
36 bits; 72 is the least common multiple of these lengths. Thus, the
633
647
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
635
653
header includes a field giving the byte size used in the message, a
636
654
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.
637
657
The format of the message header is fully described in Section IV.
638
658
639
659
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
804
824
_queueing_facility._ This is not, however, an absolute requirement
805
825
of the protocol.
806
826
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.
807
889
808
890
Connection Termination
809
891
======================
@@ -1543,6 +1625,36 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1543
1625
allocations in response to a GVB command. This command may be sent
1544
1626
only while the connection is established.
1545
1627
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
+
1546
1658
INR - Interrupt by receiver
1547
1659
===========================
1548
1660
@@ -1690,6 +1802,26 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1690
1802
field are the message header followed by the first eight bits
1691
1803
of text (if any) or zeros.
1692
1804
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
+
1693
1825
Opcode Assignment
1694
1826
=================
1695
1827
@@ -1710,6 +1842,11 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1710
1842
ERR = 11
1711
1843
RST = 12
1712
1844
RRP = 13
1845
+ RAR = 14
1846
+ RAS = 15
1847
+ RAP = 16
1848
+ NXR = 17
1849
+ NXS = 18
1713
1850
1714
1851
1715
1852
Control Command Summary
@@ -1803,6 +1940,30 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1803
1940
| RRP |
1804
1941
+-----+
1805
1942
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
+ +------------+
1806
1967
1807
1968
1808
1969
0 commit comments