Skip to main content

Annex D - Use of the Authentication Field

The use of the Authentication field is outside of the scope of this specification. However, there is a urgent need for simple error detection/authentication mechanisms (such as a simple password) to protect against certain types of errors. This annex therefore proposes a possible use of this field.

This annex is included for informational purposes.

D.1 Authentication Field in IS-IS packets​

All IS-IS packets may optionally include the authentication field, as described in sections 3.9 and 5 of this specification. As described in section 5, the authentication field is encoded as a (Code, Length, Value) triplet. This annex proposes that the contents of the Value field consist of a one octet "Authentication Type" field, plus a variable length "Authentication Information" field. A specific value of the "Authentication Type" is assigned to passwords, transmitted in the clear without encryption. The authentication field is encoded as follows:

7 Authentication Information -- Information used to authenticate the PDU

x CODE - 133

x LENGTH - total length of the value field

    x VALUE -
No. of Octets
+--------------------------------+
| Authentication Type | 1
+--------------------------------+
| Authentication Information | VARIABLE
+--------------------------------+

The Authentication Type is assigned as follows:

      Type  =  0        reserved

Type = 1 simple password

Type > 1 reserved

D.2 Authentication Type 1 - Simple Password​

Using this authentication type, a variable length password is passed in the clear (i.e., not encrypted) in the Authentication Information field.

WARNING: The use of a simple password does not provide useful protection against intentional misbehavior. In particular, since the password is transmitted in the clear without encryption, it is easy for a hostile system to intercept the passwords, and to transmit authenticated packets. The use of simple passwords should be considered only as a weak protection against accidental errors such as accidental misconfiguration.

The password shall be configured on a per-link, per-area, and per-domain basis. Specifically, when this form of authentication is used:

  • IS-IS Hello and 9542 IS Hello packets shall contain the per-link password

  • Level 1 Link State Packets shall contain the per-area password

  • Level 2 Link State Packets shall contain the per-domain password

  • Level 1 Sequence Number Packets shall contain the per-area password

  • Level 2 Sequence Number Packets shall contain the per-domain password

Also, each of these three passwords shall be configured with: (i) "Transmit Password", whose value is a single password, and (ii) "Receive Passwords", whose value is a set of passwords. The transmit password value is always transmitted. However, any password contained in the receive password set will be accepted on receipt. This method allows the graceful changing of passwords without temporary loss of connectivity.

   For example, consider the case that an area has the configured area
password "OLDAREAPASSWORD". In this case, the per-area transmit
password value is set to OLDAREAPASSWORD, and the per-area receive
password value is set to {OLDAREAPASSWORD}. Suppose that it is
desired to change the per-area password to "NEWERPASSWORD". The
first step would be to manually configure all of the routers in the
area to set the per-area receive password value to {OLDAREAPASSWORD,
NEWERPASSWORD}. When this step is complete, then all routers in the
area will still be using the old password OLDAREAPASSWORD in their
level 1 LSPs and SNPs. However, they will also accept the alternate
password NEWERPASSWORD. The second step would be to configure the
routers in the area to set the per-area transmit password to
NEWERPASSWORD. When the second step is complete, then all routers
will be using the new value of the per-area password, but will accept
the old value as well. Finally, the third step is to change all
routers in the area to have the per-area receive password set to
{NEWERPASSWORD}.

By configuring transmit and receive values for the passwords in this manner, it is possible to maintain continuous correct operation. For example, in the middle of the second step in the above example, some of the routers in the area will be transmitting level 1 LSPs and SNPs using the old password OLDAREAPASSWORD, and some will be transmitting level 1 LSPs and SNPs using the new password NEWERPASSWORD. However, during the second step of the transition all routers in the area will accept level 1 LSPs and SNPs using either password.