RFC 1159
Message Send Protocol
Message Send Protocol ๐
okay bestie, RFC 1159 is Message Send Protocol, written by R. Nelson of Clarkson University ๐ and dated June 1990. It's an Experimental Protocol ๐งช, and the header doesn't list any RFCs it obsoletes or updates โจ.
Status of this Memo โจ
this RFC suggests an Experimental Protocol for the Internet community ๐ฆ. Hosts on the Internet that choose to implement a Message Send Protocol may experiment with this protocol ๐งช. For the standardization state and status of this protocol, check the current edition of the "IAB Official Protocol Standards" ๐. Distribution of this memo is unlimited ๐ .
Discussion ๐ธ
the Message Send Protocol is used to send a short message to a given user on a given terminal on a given host ๐. It's giving the same energy as Unix's write command, which is limited to the users on that host ๐. On some hosts this service is also known as "SEND" ๐ฃ.
As the Internet grows, more and more people are using hosts that don't run TCP/IP at all times ๐. These hosts may be able to use a simple protocol that can be implemented in a subset of TCP/IP ๐ง. The Message Send Protocol is one such protocol โจ.
note that a message sending protocol is already defined using TCP ๐. The SMTP protocol includes a "SEND" command that will direct mail to a user's terminal ๐ฌ. SMTP's SEND is not useful in this instance because TCP requires quite a bit of code ๐. For the purposes of standardization, we will include a TCP based Message Send Service ๐ซถ.
TCP Based Message Send Service ๐
one message send service is defined as a connection based application on TCP ๐. A server listens for TCP connections on TCP port 18 ๐. Once a connection is established, a short message is sent by the client out the connection (and any data received by the client is thrown away) ๐๏ธ. The client closes the connection after sending the message ๐.
UDP Based Message Send Service ๐ฆ
another message send service is defined as a datagram based application on UDP ๐ฆ. A server listens for UDP datagrams on UDP port 18 ๐. When a datagram is received by the server, an answering datagram is sent back to the client containing exactly the same data ๐.
Message Syntax ๐
the message should consist of several parts ๐งฉ. The first part is a single octet indicating the protocol revision, currently decimal 65, 'A' ๐ข. The second part is the name of the user that the message is directed to ๐. This and the remaining parts are null-terminated, and consist of eight-bit characters ๐งฎ. Do not strip the eighth bit of the characters ๐ซ. The third part is the name of the terminal ๐ฅ๏ธ. The fourth part is the actual message ๐ฌ.
the total length of the message shall be less than 512 octets ๐. This includes all four parts, and any terminating nulls ๐งท.
if the terminal part is empty, then "the right" terminal is chosen ๐ฅ๏ธ. If the user part is empty, then the message is written on the console ๐บ.
if this protocol is changed, the revision number will be changed ๐ข. In no case will any of the four parts be removed ๐ซถ.
Advisories โ ๏ธ
it is advisable for servers to strip escape sequences before sending them to actual terminals. Some terminals can do nasty things when you send them certain escape sequence ๐.
in both the TCP and UDP versions of the service, checksums are always used โ .
Security Considerations ๐จ
Security issues are not addressed in this memo. ๐ญ Please keep that in mind before you deploy anything ๐.
Author's Address ๐
Russell Nelson, Educational Computing System, Clarkson University, Potsdam, NY 13699-5730 ๐
Phone: (315) 268-6455 ๐
EMail: nelson@sun.soe.clarkson.edu ๐
๐ฆ where this page comes from
- ietf: rfc1159 1990-06
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms