Network Working Group D. Borman, Editor
Request for Comments: 1409 Cray Research, Inc.
January 1993
Telnet Authentication Option
1. Command Names and Codes
AUTHENTICATION 37
AUTH_HOW_ONE_WAY 0
AUTH_HOW_MUTUAL 2
2. Command Meanings
This document makes reference to a "server" and a "client". For the purposes of this document, the "server" is the side of the connection that did the passive TCP open (TCP LISTEN state), and the "client" is the side of the connection that did the active open. IAC WILL AUTHENTICATION
Telnet Working Group [Page 1]
RFC 1409 Telnet Authentication Option January 1993
The client side of the connection sends this command to indicate that it is willing to send and receive authentication information.
Telnet Working Group [Page 2]
RFC 1409 Telnet Authentication Option January 1993
IAC SB AUTHENTICATION NAME remote-user IAC SE
Telnet Working Group [Page 3]
RFC 1409 Telnet Authentication Option January 1993 3. Default SpecificationThe default specification for this option is
4. Motivation
One of the deficiencies of the Telnet protocol is that in order to log into remote systems, users have to type their passwords, which are passed in clear text through the network. If the connections goes through untrusted networks, there is the possibility that passwords will be compromised by someone watching the packets as they go by.
5. Security Implications
The ability to negotiate a common authentication mechanism between client and server is a feature of the authentication option that should be used with caution. When the negotiation is performed, no authentication has yet occurred. Therefore, each system has no way of knowing whether or not it is talking to the system it intends. An intruder could attempt to negotiate the use of an authentication system which is either weak, or already compromised by the intruder.
6. Implementation Rules
WILL and DO are used only at the beginning of the connection to obtain and grant permission for future negotiations.
Telnet Working Group [Page 4]
RFC 1409 Telnet Authentication Option January 1993
Once the two hosts have exchanged a DO and a WILL, the server is free to request authentication information. In the request, a list of supported authentication types is sent. Only the server may send requests ("IAC SB AUTHENTICATION SEND authentication-type-pair-list IAC SE"). Only the client may transmit authentication information via the "IAC SB AUTHENTICATION IS authentication-type ... IAC SE" command. Only the server may send replys ("IAC SB AUTHENTICATION REPLY authentication-type ... IAC SE"). As many IS and REPLY suboptions may be exchanged as are needed for the particular authentication scheme chosen.
Telnet Working Group [Page 5]
RFC 1409 Telnet Authentication Option January 1993
authentication was successful. ]
7. References
[1] Reynolds, J., and J. Postel, "Assigned Numbers", STD 2, RFC 1340,
Telnet Working Group [Page 6]
RFC 1409 Telnet Authentication Option January 1993
Author's Address