Network Working Group T. Ts'o
Request for Comments: 2942 VA Linux Systems
Category: Standards Track September 2000
Telnet Authentication: Kerberos Version 5
1. Command Names and Codes
Authentication Types
Ts'o Standards Track [Page 1]
RFC 2942 Telnet Authentication: Kerberos Version 5 September 2000 2. Command MeaningsIAC SB AUTHENTICATION IS <authentication-type-pair> AUTH <Kerberos V5 KRB_AP_REQ message> IAC SE
Ts'o Standards Track [Page 2]
RFC 2942 Telnet Authentication: Kerberos Version 5 September 2000
This command is used to forward kerberos credentials for use by the remote session. The credentials are passed as a Kerberos V5 KRB_CRED message which includes, among other things, the forwarded Kerberos ticket and a session key associated with the ticket. Part of the KRB_CRED message is encrypted in the key previously exchanged for the telnet session by the AUTH suboption.
3. Implementation Rules
If the second octet of the authentication-type-pair has the AUTH_WHO bit set to AUTH_CLIENT_TO_SERVER, then the client sends the initial AUTH command, and the server responds with either ACCEPT or REJECT. In addition, if the AUTH_HOW bit is set to AUTH_HOW_MUTUAL, the server will send a RESPONSE before it sends the ACCEPT.
Ts'o Standards Track [Page 3]
RFC 2942 Telnet Authentication: Kerberos Version 5 September 2000 4. ExamplesUser "joe" may wish to log in as user "pete" on machine "foo". If "pete" has set things up on "foo" to allow "joe" access to his account, then the client would send IAC SB AUTHENTICATION NAME "pete" IAC SE IAC SB AUTHENTICATION IS KERBEROS_V5 AUTH <KRB_AP_REQ_MESSAGE> IAC SE
Ts'o Standards Track [Page 4]
RFC 2942 Telnet Authentication: Kerberos Version 5 September 2000
IAC SB AUTHENTICATION REPLY KERBEROS_V5 CLIENT|MUTUAL RESPONSE <KRB_AP_REP message> IAC SE
5. Security Considerations
The selection of the random session key in the Kerberos V5 authenticator is critical, since this key will be used for encrypting the telnet data stream if encryption is enabled. It is strongly advised that the random key selection be done using cryptographic techniques that involve the Kerberos ticket's session key. For example, using the current time, encrypting it with the ticket session key, and then correcting for key parity is a strong way to generate a subsession key, since the ticket session key is assumed to be never disclosed to an attacker.
Ts'o Standards Track [Page 5]
RFC 2942 Telnet Authentication: Kerberos Version 5 September 2000 6. IANA ConsiderationsThe authentication type KERBEROS_V5 and its associated suboption values are registered with IANA. Any suboption values used to extend the protocol as described in this document must be registered with IANA before use. IANA is instructed not to issue new suboption values without submission of documentation of their use.
7. Acknowledgments
This document was originally written by Dave Borman of Cray Research, Inc. Theodore Ts'o of MIT revised it to reflect the latest implementation experience. Cliff Neuman and Prasad Upasani of USC's Information Sciences Institute developed the credential forwarding support.
8. References
[1] Kohl, J. and B. Neuman, "The Kerberos Network Authentication
9. Editor's Address
Theodore Ts'o VA Linux Systems 43 Pleasant St. Medford, MA 02155
Ts'o Standards Track [Page 6]
RFC 2942 Telnet Authentication: Kerberos Version 5 September 2000 10. Full Copyright StatementCopyright (C) The Internet Society (2000). All Rights Reserved.