@@ -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
@@ -451,6 +470,8 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
451
470
1) An _Initial_Connection_Protocol_ (ICP) which provides a convenient
452
471
standard method for several processes to gain simultaneous access
453
472
to some specific process (such as the "logger") at another Host.
473
+ | This protocol has since been adopted as the method to initiate
474
+ | a communication path for all application protocols.
454
475
455
476
2) A _Telecommunication_Network_ (TELNET) protocol which provides for
456
477
the "mapping" of an arbitrary keyboard-printer terminal into a
@@ -478,7 +499,9 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
478
499
over Hosts which provide batch processing facilities.
479
500
480
501
The remainder of this document describes and specifies the Host/Host,
481
- or second level, protocol as formulated by the Network Working Group.
502
+ or second level, protocol as formulated by the Network Working Group,
503
+ | as well as the Initial Connection Protocol that is now integral to the
504
+ | Host/Host protocol.
482
505
483
506
484
507
@@ -622,7 +645,8 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
622
645
that byte size, then the outer layer of protocol will not be
623
646
implementable on that Host.
624
647
625
- The IMP sub-network requires that the first 32 bits of each message
648
+ | The original protocol on the IMP sub-network requires that the first
649
+ 32 bits of each message
626
650
(called the leader) contain addressing information, including
627
651
destination Host address and link number. The second level protocol
628
652
extends the required information at the beginning of each message to
@@ -631,9 +655,15 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
631
655
conveniently with 8-bit units of data or have word lengths of 18 or
632
656
36 bits; 72 is the least common multiple of these lengths. Thus, the
633
657
length chosen for the message header should reduce bit-shifting
634
- problems for many Hosts. In addition to the leader, the message
658
+ problems for many Hosts.
659
+ | In 1976, the leader was extended to 96 bits, and the host was
660
+ | allowed to specify some number of 16-bit padding words between the
661
+ | leader and the message data portion.
662
+ In addition to the leader, the message
635
663
header includes a field giving the byte size used in the message, a
636
664
field giving the number of bytes in the message, and "filler" fields.
665
+ | Note that the message header applies to both control messages and
666
+ | regular messages containing data.
637
667
The format of the message header is fully described in Section IV.
638
668
639
669
Another major concern of the second level protocol is a method for
@@ -804,6 +834,68 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
804
834
_queueing_facility._ This is not, however, an absolute requirement
805
835
of the protocol.
806
836
837
+ | _Initial Connection Protocol_
838
+ |
839
+ | RFC 165 specifies a procol that allows a server to listen to some
840
+ | particular well-known socket number, and then establish two
841
+ | connections for full-duplex communication between the server and
842
+ | user processes. To do this, first a temporary simplex connection
843
+ | is opened for the server to transfer a new socket number to the
844
+ | user. Then this socket is the basis for opening two new
845
+ | connections between the two processes, and the first connection is
846
+ | closed.
847
+ |
848
+ | Below, the well-known socket is called L. The temporary connection
849
+ | is initiated by the user from socket U. The new socket number is
850
+ | S, and the full-duplex connections are between S and U+3, and S+1
851
+ | and U+2.
852
+
853
+ Server User
854
+
855
+ S1: listening on socket L. U1: RTS (U, L, _l1_)
856
+
857
+ S2: Wait for match. U2: Wait for match.
858
+
859
+ S3: STR (L, U, _s1_)
860
+
861
+ S4: Wait for allocation. U3: All (_l1_, _m1_, _b1_)
862
+
863
+ S5: Send data S in_s1_ bit U4: Receive data S in s1 bit bytes.
864
+ bytes as allowed by _s1_ bit bytes.
865
+ allocation m1_, _b1_).
866
+
867
+ S6: CLS (L, U) U5: CLS (U, L)
868
+
869
+ S7: RTS (S, U+3, _l2_) U6: STR (U+3, S, _s2_)
870
+
871
+ S8: STR (S+1, U+2, _s3_) U7: RTS (U+2, S+1, _l3_)
872
+
873
+ The labels here imply no ordering except that ordering required by
874
+ the Host-Host Protocol. Note that steps S7 and S8 can be reversed as
875
+ can U6 and U7. Also, notice that at any time after S2 the server
876
+ could initiate steps S7 and S8 in parallel with steps S3 through S6,
877
+ and that at any time after U4 the user could initiate steps U6 and U7
878
+ in parallel with step U5.
879
+
880
+ Following the above, exchanges ALL commands would be exchanged and
881
+ data transfers could begin.
882
+
883
+ At this level the parameters of the above ICP family are L, _m1_,
884
+ _b1_, _s1_, _s2_, _s3_, _l1_, _l2_, _l3_.
885
+
886
+ L is a well known socket number and will be specified for each type
887
+ of service.
888
+
889
+ m1 and b1 are allocation quantities for the transfer of a socket
890
+ number.
891
+
892
+ _m1_ is specified to be 1.
893
+ _b1_ is specified to be 32.
894
+ _s1_, _s2_, and _s3_ are byte sizes. Only _s1_ is to be specified
895
+ as _s2_ and _s3_ are to be left to the process involved.
896
+ _s1_ is specified to be 32.
897
+
898
+ _l1_, _l2_, and _l3_ are links and are not specified.
807
899
808
900
Connection Termination
809
901
======================
@@ -1357,12 +1449,38 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1357
1449
1358
1450
2-71 Available for connections
1359
1451
1360
- 1, 72-190 Reserved - not for current use
1452
+ 1, 72-149 Reserved - not for current use
1453
+
1454
+ | 150 Xerox NS IDP
1455
+ |
1456
+ | 151 Unassigned
1457
+ |
1458
+ | 152 PARC Universal Protocol
1459
+ |
1460
+ | 153 TIP Status Reporting
1461
+ |
1462
+ | 154 TIP Accounting
1463
+ |
1464
+ | 155 Internet Protocol [regular]
1465
+ |
1466
+ | 156-158 Internet Protocol [experimental]
1467
+ |
1468
+ | 159 Figleaf Link
1469
+ |
1470
+ | 160 Blacker Local Network Protocol
1471
+ |
1472
+ | 161-190 Unassigned
1361
1473
1362
1474
191 To be used only for measurement work under the
1363
1475
direction of the Network Measurement Center at UCLA
1364
1476
1365
- 192-255 Available for private experimental use.
1477
+ | 192-194 Unassigned
1478
+ |
1479
+ | 195 ISO-IP
1480
+
1481
+ 196-247 Available for private experimental use.
1482
+
1483
+ | 248-255 Network Maintenance
1366
1484
1367
1485
1368
1486
Control Messages
@@ -1543,6 +1661,60 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1543
1661
allocations in response to a GVB command. This command may be sent
1544
1662
only while the connection is established.
1545
1663
1664
+ | RAR - Reset allocation by receiver
1665
+ | ==================================
1666
+ |
1667
+ | 8 8
1668
+ | +------------+
1669
+ | | RAR | link |
1670
+ | +------------+
1671
+ |
1672
+ | Sent in reply to RAS to acknowledge allocations have been reset.
1673
+ | The RAR command is sent from the Host receiving on "link" to the
1674
+ | Host sending on "link" in response to an RAS. It marks the
1675
+ | completion of the connection resynchronization. When the RAR is
1676
+ | returned the connection is in the known state of having no messages
1677
+ | in transit in either direction and the allocations are zero. The
1678
+ | receiving Host may then start afresh with a new allocation and
1679
+ | normal message transmission can proceed. Since the RAR may be sent
1680
+ | ONLY in response to an RAS, there are no races in the
1681
+ | resynchronization. All of the initiative lies with the sending
1682
+ | Host.
1683
+ |
1684
+ | RAS - Reset allocation by sender
1685
+ | ================================
1686
+ |
1687
+ | 8 8
1688
+ | +------------+
1689
+ | | RAS | link |
1690
+ | +------------+
1691
+ |
1692
+ | Tells the receiver to clear allocations for the specified link.
1693
+ | The RAS command is sent from the Host sending on "link" to the Host
1694
+ | receiving on "link". This command may be sent whenever the sending
1695
+ | Host desires to resynch the status information associated with the
1696
+ | connection (and doesn't have a message in transit through the
1697
+ | network).
1698
+ |
1699
+ | RAP - Reset allocation please
1700
+ | =============================
1701
+ |
1702
+ | 8 8
1703
+ | +------------+
1704
+ | | RAP | link |
1705
+ | +------------+
1706
+ |
1707
+ | Sent from receiver to sender to ask it to send an RAS. If the
1708
+ | receiving Host detects an anomalous situation, the RAP command is
1709
+ | provided. It constitutes a "suggestion" on the part of the
1710
+ | receiving Host that the sending Host resynchronize; the sending
1711
+ | Host is free to honor it or not as it sees fit. Since there is no
1712
+ | obligatory response to a RAP, the receiving Host may send them as
1713
+ | frequently as it chooses and no harm can occur. For example, if a
1714
+ | message in excess of the allocate arrives, the receiving Host might
1715
+ | send RAPs every few seconds until the sending Host replies with no
1716
+ | fears of races if one or more RAPs pass a RAS in the network.
1717
+
1546
1718
INR - Interrupt by receiver
1547
1719
===========================
1548
1720
@@ -1690,6 +1862,28 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1690
1862
field are the message header followed by the first eight bits
1691
1863
of text (if any) or zeros.
1692
1864
1865
+ | NXR - Non-existent receive link
1866
+ | ===============================
1867
+ |
1868
+ | 8 8
1869
+ | +------------+
1870
+ | | NXR | link |
1871
+ | +------------+
1872
+ |
1873
+ | Tells sender the link it used is non-existant. On receipt of an
1874
+ | NXR, the sender should close the connection.
1875
+ |
1876
+ | NXS - Non-existent send link
1877
+ | ============================
1878
+ |
1879
+ | 8 8
1880
+ | +------------+
1881
+ | | NXS | link |
1882
+ | +------------+
1883
+ |
1884
+ | Tells receiver the link it used is non-existant. On receipt of an
1885
+ | NXS, the receiver should close the connection.
1886
+
1693
1887
Opcode Assignment
1694
1888
=================
1695
1889
@@ -1710,6 +1904,11 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1710
1904
ERR = 11
1711
1905
RST = 12
1712
1906
RRP = 13
1907
+ RAR = 14
1908
+ RAS = 15
1909
+ RAP = 16
1910
+ NXR = 17
1911
+ NXS = 18
1713
1912
1714
1913
1715
1914
Control Command Summary
@@ -1803,6 +2002,30 @@ RFC XXXX Host-Host Protocol for the ARPA Network April 2012
1803
2002
| RRP |
1804
2003
+-----+
1805
2004
2005
+ | 8 8
2006
+ | +------------+
2007
+ | | RAR | link |
2008
+ | +------------+
2009
+ |
2010
+ | 8 8
2011
+ | +------------+
2012
+ | | RAS | link |
2013
+ | +------------+
2014
+ |
2015
+ | 8 8
2016
+ | +------------+
2017
+ | | RAP | link |
2018
+ | +------------+
2019
+ |
2020
+ | 8 8
2021
+ | +------------+
2022
+ | | NXR | link |
2023
+ | +------------+
2024
+ |
2025
+ | 8 8
2026
+ | +------------+
2027
+ | | NXS | link |
2028
+ | +------------+
1806
2029
1807
2030
1808
2031
0 commit comments