Network Working Group T. Rinne
Request for Comments: 1756 HUT
Category: Experimental January 1995
REMOTE WRITE PROTOCOL - VERSION 1.0
1. Background
It is often convenient to use electronic communication somewhat lighter than electronic mail. Sometimes even the use of the talk(1) *) program seems like overkill. We like to offer to user something like UNIX **) command write(1) ***) except that it can also pass messages through the network instead of the single host.
2. Overview
RWP is a simple protocol that can be used to relay short messages through the network to other users. RWP looks pretty much like Simple Mail Transfer Protocol (SMTP) ****) though it is a bit more complicated due to the interactive nature of the RWP session.
Rinne [Page 1]
RFC 1756 Remote Write Protocol January 1995 3. DescriptionServer program answers to each command submitted by a response. All responses have two parts: three number unique response code and a short textual explanation of the response. Also whenever the server is ready to accept new commands a notification is submitted to the client.
Rinne [Page 2]
RFC 1756 Remote Write Protocol January 1995
PROT Asks the RWP protocol version from the server.
Rinne [Page 3]
RFC 1756 Remote Write Protocol January 1995
TO recipentlogin [tty]
Rinne [Page 4]
RFC 1756 Remote Write Protocol January 1995
FWDS n Tells the server that message has been forwarded n
Rinne [Page 5]
RFC 1756 Remote Write Protocol January 1995 4. Response CodesHere are all legal response codes of RWP server followed by short textual explanation. Only the numeral codes are important and texts can contain practically anything, however in response code 110 there is possibly useful information between '<' and '>' characters. No characters '<' or '>' should be present in other responses. Also response 502 has possibly interesting information about the RWP protocol version the server supports.
Rinne [Page 6]
RFC 1756 Remote Write Protocol January 1995
110 Ok to forward.
Rinne [Page 7]
RFC 1756 Remote Write Protocol January 1995
502 RWP version 1.0.
Rinne [Page 8]
RFC 1756 Remote Write Protocol January 1995
671 No such user.
Rinne [Page 9]
RFC 1756 Remote Write Protocol January 1995
699 Unknown error.
5. RWP Compliant Software
Simple RWP 1.0 compliant server and client software RWrite-1.1 will be available during the fall 1994.
6. Security of RWP
RWP version 1.0 does not offer any mean to verify the identity of the user connecting the RWP server program. It's possible to identify the sender using ident-service, but not all hosts currently support that. This vulnerability is analogous with the weakness of the SMTP protocol. Cryptographic user verification and message hiding method is under development and is to be defined in RWP version 2.0 during the year 1995.
Rinne [Page 10]
RFC 1756 Remote Write Protocol January 1995 7. RWP Connection TypeIt is suggested that tcp (and udp) port 18 should be allocated for rwp in future versions of RFCs listing the reserved tcp/udp/rpc ports. Currently port 18 is assigned to the service called Message Send Protocol (msp) that is not known to be implemented. Actually port 18 is not currently defined at all in the /etc/services -file of the any common UNIX-like system. Entry for /etc/services -file is as follows
8. Character quotation
To offer a safe method to transfer various character sets RWP defines a method to quote characters in both message and autoreply. RWP uses quotation similar to MIME `quoted-printable' encoding. Quoted character is presented as a '=' -sign followed by a two character hex code. This means also that all '='-signs have to be quoted. Quotation is also needed when message contains a line with only a single dot '.' in it.
9. Security Considerations
Security issues are not discussed in this memo.
10. Author's Address
Timo J. Rinne Helsinki University of Technology. Cirion oy PO-BOX 250 FIN-00121 Helsinki, Finland