@@ -9,6 +9,13 @@ Obsoletes: 165, 636, 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 what is believed to
16
+ | be the last and final edition of the ARPA Network Host/Host
17
+ | Protocol.
18
+
12
19
This document reproduces the Host/Host Protocol developed by the ARPA
13
20
Network Working Group during 1969, 1970, and 1971. It describes a
14
21
protocol used to manage communication between processes residing on
@@ -140,6 +147,8 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
140
147
curious gap in the historical record. It is to fill that gap that
141
148
this RFC is offered.
142
149
150
+ | Maybe add more here.
151
+
143
152
In 1972, most ARPA Network documents, RFCs and others, were prepared
144
153
and distributed in hard copy. The Host/Host Protocol document was
145
154
typed on a typewriter (probably an IBM Selectric), which had
@@ -304,6 +313,16 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
304
313
In addition to the above, several minor editorial changes have been
305
314
made.
306
315
316
+ | This document supersedes RFC 6529 of the same title. Principal
317
+ | differences between the documents include:
318
+ |
319
+ | - clarifies non-control messages also have the header,
320
+ | - a brief description of the Initial Connection Protocol
321
+ | from RFC 165,
322
+ | - addition of the RAR, RAS, RAP, NXR, and NXS opcodes from
323
+ | RFC 636,
324
+ | - assigned link numbers from RFC 1060.
325
+
307
326
Although there are many individuals associated with the network who
308
327
are knowledgeable about protocol issues, individuals with questions
309
328
pertaining to Network protocols should initially contact one of the
@@ -404,7 +423,7 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
404
423
through wideband communications lines supplied by the telephone
405
424
company. Each IMP is programmed to store and forward messages to the
406
425
neighboring IMPs in the network. During a typical operation, a Host
407
- passes a message to its local IMP; the first 32 bits of this message
426
+ | passes a message to its local IMP; the first 32 or 96 bits of this message
408
427
include the "network address" of a destination Host. The message is
409
428
passed from IMP to IMP through the Network until it finally arrives
410
429
at the destination IMP, which in turn passes it along to the
@@ -622,7 +641,8 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
622
641
that byte size, then the outer layer of protocol will not be
623
642
implementable on that Host.
624
643
625
- The IMP sub-network requires that the first 32 bits of each message
644
+ | The original protocol on the IMP sub-network requires that the first
645
+ 32 bits of each message
626
646
(called the leader) contain addressing information, including
627
647
destination Host address and link number. The second level protocol
628
648
extends the required information at the beginning of each message to
@@ -631,9 +651,15 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
631
651
conveniently with 8-bit units of data or have word lengths of 18 or
632
652
36 bits; 72 is the least common multiple of these lengths. Thus, the
633
653
length chosen for the message header should reduce bit-shifting
634
- problems for many Hosts. In addition to the leader, the message
654
+ problems for many Hosts.
655
+ | In 1976, the leader was extended to 96 bits, and the host was
656
+ | allowed to specify some number of 16-bit padding words between the
657
+ | leader and the message data portion.
658
+ In addition to the leader, the message
635
659
header includes a field giving the byte size used in the message, a
636
660
field giving the number of bytes in the message, and "filler" fields.
661
+ | Note that the message header applies to both control messages and
662
+ | regular messages containing data.
637
663
The format of the message header is fully described in Section IV.
638
664
639
665
Another major concern of the second level protocol is a method for
@@ -804,6 +830,68 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
804
830
_queueing_facility._ This is not, however, an absolute requirement
805
831
of the protocol.
806
832
833
+ | _Initial Connection Protocol_
834
+ |
835
+ | RFC 165 specifies a procol that allows a server to listen to some
836
+ | particular well-known socket number, and then establish two
837
+ | connections for full-duplex communication between the server and
838
+ | user processes. To do this, first a temporary simplex connection
839
+ | is opened for the server to transfer a new socket number to the
840
+ | user. Then this socket is the basis for opening two new
841
+ | connections between the two processes, and the first connection is
842
+ | closed.
843
+ |
844
+ | Below, the well-known socket is called L. The temporary connection
845
+ | is initiated by the user from socket U. The new socket number is
846
+ | S, and the full-duplex connections are between S and U+3, and S+1
847
+ | and U+2.
848
+
849
+ Server User
850
+
851
+ S1: listening on socket L. U1: RTS (U, L, _l1_)
852
+
853
+ S2: Wait for match. U2: Wait for match.
854
+
855
+ S3: STR (L, U, _s1_)
856
+
857
+ S4: Wait for allocation. U3: All (_l1_, _m1_, _b1_)
858
+
859
+ S5: Send data S in_s1_ bit U4: Receive data S in s1 bit bytes.
860
+ bytes as allowed by _s1_ bit bytes.
861
+ allocation m1_, _b1_).
862
+
863
+ S6: CLS (L, U) U5: CLS (U, L)
864
+
865
+ S7: RTS (S, U+3, _l2_) U6: STR (U+3, S, _s2_)
866
+
867
+ S8: STR (S+1, U+2, _s3_) U7: RTS (U+2, S+1, _l3_)
868
+
869
+ The labels here imply no ordering except that ordering required by
870
+ the Host-Host Protocol. Note that steps S7 and S8 can be reversed as
871
+ can U6 and U7. Also, notice that at any time after S2 the server
872
+ could initiate steps S7 and S8 in parallel with steps S3 through S6,
873
+ and that at any time after U4 the user could initiate steps U6 and U7
874
+ in parallel with step U5.
875
+
876
+ Following the above, exchanges ALL commands would be exchanged and
877
+ data transfers could begin.
878
+
879
+ At this level the parameters of the above ICP family are L, _m1_,
880
+ _b1_, _s1_, _s2_, _s3_, _l1_, _l2_, _l3_.
881
+
882
+ L is a well known socket number and will be specified for each type
883
+ of service.
884
+
885
+ m1 and b1 are allocation quantities for the transfer of a socket
886
+ number.
887
+
888
+ _m1_ is specified to be 1.
889
+ _b1_ is specified to be 32.
890
+ _s1_, _s2_, and _s3_ are byte sizes. Only _s1_ is to be specified
891
+ as _s2_ and _s3_ are to be left to the process involved.
892
+ _s1_ is specified to be 32.
893
+
894
+ _l1_, _l2_, and _l3_ are links and are not specified.
807
895
808
896
Connection Termination
809
897
======================
@@ -1357,12 +1445,38 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1357
1445
1358
1446
2-71 Available for connections
1359
1447
1360
- 1, 72-190 Reserved - not for current use
1448
+ 1, 72-149 Reserved - not for current use
1449
+
1450
+ | 150 Xerox NS IDP
1451
+ |
1452
+ | 151 Unassigned
1453
+ |
1454
+ | 152 PARC Universal Protocol
1455
+ |
1456
+ | 153 TIP Status Reporting
1457
+ |
1458
+ | 154 TIP Accounting
1459
+ |
1460
+ | 155 Internet Protocol [regular]
1461
+ |
1462
+ | 156-158 Internet Protocol [experimental]
1463
+ |
1464
+ | 159 Figleaf Link
1465
+ |
1466
+ | 160 Blacker Local Network Protocol
1467
+ |
1468
+ | 161-190 Unassigned
1361
1469
1362
1470
191 To be used only for measurement work under the
1363
1471
direction of the Network Measurement Center at UCLA
1364
1472
1365
- 192-255 Available for private experimental use.
1473
+ | 192-194 Unassigned
1474
+ |
1475
+ | 195 ISO-IP
1476
+
1477
+ 196-247 Available for private experimental use.
1478
+
1479
+ | 248-255 Network Maintenance
1366
1480
1367
1481
1368
1482
Control Messages
@@ -1543,6 +1657,60 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1543
1657
allocations in response to a GVB command. This command may be sent
1544
1658
only while the connection is established.
1545
1659
1660
+ | RAR - Reset allocation by receiver
1661
+ | ==================================
1662
+ |
1663
+ | 8 8
1664
+ | +------------+
1665
+ | | RAR | link |
1666
+ | +------------+
1667
+ |
1668
+ | Sent in reply to RAS to acknowledge allocations have been reset.
1669
+ | The RAR command is sent from the Host receiving on "link" to the
1670
+ | Host sending on "link" in response to an RAS. It marks the
1671
+ | completion of the connection resynchronization. When the RAR is
1672
+ | returned the connection is in the known state of having no messages
1673
+ | in transit in either direction and the allocations are zero. The
1674
+ | receiving Host may then start afresh with a new allocation and
1675
+ | normal message transmission can proceed. Since the RAR may be sent
1676
+ | ONLY in response to an RAS, there are no races in the
1677
+ | resynchronization. All of the initiative lies with the sending
1678
+ | Host.
1679
+ |
1680
+ | RAS - Reset allocation by sender
1681
+ | ================================
1682
+ |
1683
+ | 8 8
1684
+ | +------------+
1685
+ | | RAS | link |
1686
+ | +------------+
1687
+ |
1688
+ | Tells the receiver to clear allocations for the specified link.
1689
+ | The RAS command is sent from the Host sending on "link" to the Host
1690
+ | receiving on "link". This command may be sent whenever the sending
1691
+ | Host desires to resynch the status information associated with the
1692
+ | connection (and doesn't have a message in transit through the
1693
+ | network).
1694
+ |
1695
+ | RAP - Reset allocation please
1696
+ | =============================
1697
+ |
1698
+ | 8 8
1699
+ | +------------+
1700
+ | | RAP | link |
1701
+ | +------------+
1702
+ |
1703
+ | Sent from receiver to sender to ask it to send an RAS. If the
1704
+ | receiving Host detects an anomalous situation, the RAP command is
1705
+ | provided. It constitutes a "suggestion" on the part of the
1706
+ | receiving Host that the sending Host resynchronize; the sending
1707
+ | Host is free to honor it or not as it sees fit. Since there is no
1708
+ | obligatory response to a RAP, the receiving Host may send them as
1709
+ | frequently as it chooses and no harm can occur. For example, if a
1710
+ | message in excess of the allocate arrives, the receiving Host might
1711
+ | send RAPs every few seconds until the sending Host replies with no
1712
+ | fears of races if one or more RAPs pass a RAS in the network.
1713
+
1546
1714
INR - Interrupt by receiver
1547
1715
===========================
1548
1716
@@ -1690,6 +1858,28 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1690
1858
field are the message header followed by the first eight bits
1691
1859
of text (if any) or zeros.
1692
1860
1861
+ | NXR - Non-existent receive link
1862
+ | ===============================
1863
+ |
1864
+ | 8 8
1865
+ | +------------+
1866
+ | | NXR | link |
1867
+ | +------------+
1868
+ |
1869
+ | Tells sender the link it used is non-existant. On receipt of an
1870
+ | NXR, the sender should close the connection.
1871
+ |
1872
+ | NXS - Non-existent send link
1873
+ | ============================
1874
+ |
1875
+ | 8 8
1876
+ | +------------+
1877
+ | | NXS | link |
1878
+ | +------------+
1879
+ |
1880
+ | Tells receiver the link it used is non-existant. On receipt of an
1881
+ | NXS, the receiver should close the connection.
1882
+
1693
1883
Opcode Assignment
1694
1884
=================
1695
1885
@@ -1710,6 +1900,11 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1710
1900
ERR = 11
1711
1901
RST = 12
1712
1902
RRP = 13
1903
+ RAR = 14
1904
+ RAS = 15
1905
+ RAP = 16
1906
+ NXR = 17
1907
+ NXS = 18
1713
1908
1714
1909
1715
1910
Control Command Summary
@@ -1803,6 +1998,30 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1803
1998
| RRP |
1804
1999
+-----+
1805
2000
2001
+ | 8 8
2002
+ | +------------+
2003
+ | | RAR | link |
2004
+ | +------------+
2005
+ |
2006
+ | 8 8
2007
+ | +------------+
2008
+ | | RAS | link |
2009
+ | +------------+
2010
+ |
2011
+ | 8 8
2012
+ | +------------+
2013
+ | | RAP | link |
2014
+ | +------------+
2015
+ |
2016
+ | 8 8
2017
+ | +------------+
2018
+ | | NXR | link |
2019
+ | +------------+
2020
+ |
2021
+ | 8 8
2022
+ | +------------+
2023
+ | | NXS | link |
2024
+ | +------------+
1806
2025
1807
2026
1808
2027
0 commit comments