Network Working Group C. Partridge
Request for Comments: 1151 BBN Systems and Technologies
Updates: RFC 908 R. Hinden
BBN Communications Corp.
April 1990
Version 2 of the Reliable Data Protocol (RDP)
Partridge & Hinden [Page 1]
RFC 1151 RDP - Version 2 April 1990
Finally, because the checksum and port size have been changed, the version number has been increased to 2.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+---+---------------+
|S|A|E|R|N| |Ver| Header |
0 |Y|C|A|S|U|0|No.| Length |
|N|K|K|T|L| | | |
+-+-+-+-+-+-+---+---------------+
1 | Source Port |
+---------------+---------------+
2 | Destination Port |
+---------------+---------------+
3 | Data Length |
+---------------+---------------+
4 | |
+--- Sequence Number ---+
5 | |
+---------------+---------------+
6 | |
+--- Acknowledgement Number ---+
7 | |
+---------------+---------------+
8 | Checksum |
+---------------+---------------+
9 | Variable Header Area |
. .
. .
| |
+---------------+---------------+
RDP Header Format
Partridge & Hinden [Page 2]
RFC 1151 RDP - Version 2 April 1990
The pseudo-code on page 25 for the SYN-SENT state is incorrect. The first few lines cause all packets with the ACK bit set to be discarded, but later lines test the ACK bit. The test for the ACK bit should be placed after all the other tests. Also note that if the ACK bit is set, a RST segment is sent to reset the remote peer, but the local peer is left half-open. There is a similar problem in the SYN-RCVD state. The local peer should deallocate the connection record and close.
Partridge & Hinden [Page 3]
RFC 1151 RDP - Version 2 April 1990
Security Considerations