Network Working Group D. Borman, Editor
Request for Comments: 1416 Cray Research, Inc.
Obsoletes: 1409 February 1993
Telnet Authentication Option
1. Command Names and Codes
AUTHENTICATION 37
AUTH_HOW_ONE_WAY 0
AUTH_HOW_MUTUAL 2
Telnet Working Group [Page 1]
RFC 1416 Telnet Authentication Option February 1993 2. Command MeaningsThis 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.
Telnet Working Group [Page 2]
RFC 1416 Telnet Authentication Option February 1993
The sender of this command (the server) is sending a reply to the the authentication information received in a previous IS command. Only the server side (DO AUTHENTICATION) is allowed to send this.
Telnet Working Group [Page 3]
RFC 1416 Telnet Authentication Option February 1993
The server will authenticate itself to the client, and then the client will authenticate itself to the server. If the negotiation is successful, the client will know that it is connected to the server that it wants to be connected to, and the server will know that the client is who it claims to be.
3. Default Specification
The 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.
Telnet Working Group [Page 4]
RFC 1416 Telnet Authentication Option February 1993 6. Implementation RulesWILL and DO are used only at the beginning of the connection to obtain and grant permission for future negotiations.
Telnet Working Group [Page 5]
RFC 1416 Telnet Authentication Option February 1993
willing to do just one-way Kerberos authentication. The client will now respond with the name of the user that it wants to log in as, and the Kerberos ticket. ] IAC SB AUTHENTICATION NAME "joe" IAC SE IAC SB AUTHENTICATION IS KERBEROS_V4 CLIENT|MUTUAL AUTH 4 7 1 67 82 65 89 46 67 7 9 77 0 48 24 49 244 109 240 50 208 43 35 25 116 104 44 167 21 201 224 229 145 20 2 244 213 220 33 134 148 4 251 249 233 229 152 77 2 109 130 231 33 146 190 248 1 9 31 95 94 15 120 224 0 225 76 205 70 136 245 190 199 147 155 13 IAC SE [ The server responds with an ACCEPT command to state that the
7. References
[1] Reynolds, J., and J. Postel, "Assigned Numbers", STD 2, RFC 1340,
Telnet Working Group [Page 6]
RFC 1416 Telnet Authentication Option February 1993
Author's Address