2. Command Meanings
IAC SB AUTHENTICATION IS <authentication-type-pair> AUTH
<SPX authentication token> IAC SE
This is used to pass the SPX authentication token to the remote side of the connection. (A document which describes the authentication token syntax is forthcoming.) The first octet of the
IAC SB AUTHENTICATION REPLY <authentication-type-pair> ACCEPT
<mutual response> IAC SE
This command indicates that the authentication was successful. After an SPX authentication exchange, both sides have securely established a random 8-byte key to be used as the default key for the ENCRYPTION option. If the AUTH_HOW_MUTUAL bit is set in the second octet of the authentication-type-pair, the sender includes the mutual response bytes. The receiver of the ACCEPT command compares the "mutual response" with its expected mutual response.
(A document which describes the mutual response syntax is forth coming.) If the AUTH_HOW_ONE_WAY bit is set in the second octet of the authentication-type-pair, the sender includes zero bytes of mutual response.
IAC SB AUTHENTICATION REPLY <authentication-type-pair> REJECT
<optional reason for rejection> IAC SE
This command indicates that the authentication was not successful, and if there is any more data in the sub-option, it is an ASCII text message of the reason for the rejection.