< Home

IPv6 SEND

This section describes the IPv6 Secure Neighbor Discovery (SEND) protocol.

RFC 3756 defines key security threats to network access using ND, and in response, RFC 3971 defines SEcure Neighbor Discovery (SEND) and provides two SEND mechanisms: SEND cryptographically generated address (CGA) and SEND authorization delegation discovery (ADD). SEND CGA is able to counter most network attacks. To counter the malicious last-hop router attacks and bogus address prefix attacks, SEND ADD needs to be deployed.

SEND, enhanced IPv6 ND, introduces the following new types of message and extension fields:

The new types of message and extension fields are as follows:

SEND supports the following enhanced security functions:

CGA

A CGA is an IPv6 address that a node uses a public key and the hash algorithm to generate. A node discards packets that fail CGA authentication to defend against spoofing attacks. CGAs are used with the RSA signature mechanism to protect packet integrity.

The procedure for generating a CGA and an RSA signature on a node is as follows:

  1. Obtains an RSA key pair.
  2. Generates the CGA parameter data structure, including a public key.
  3. Computes a hash value based on the CGA parameter data structure. The least significant 64 bits in the data structure represent a network ID.
  4. Generates a CGA based on the prefix and network ID.
  5. Forges a packet with the CGA as a source IP address, fills the CGA parameters data structure in the CGA option, assigns the packet a private key, and fills a signature in the RSA option.

After receiving a packet with CGA and RSA options, a node authenticates the packet as follows:

  1. Obtains the CGA parameter data structure from the CGA option.
  2. Computes a hash value based on the CGA parameters data structure, with the least significant 64 bits as the network ID.
  3. Checks whether the generated network ID matches that in the source IP address of the packet.
  4. Obtains the public key from the CGA parameter data structure to authenticate the RSA signature.

After a CGA is generated, ND packets to be sent by the interface must meet the following requirements:

  • NS (excluding DAD messages), NA, RA, and Redirect messages carry CGAs as source addresses.
  • NS, NA, RA, and Redirect messages carry the following options:
    • CGA option: contains the CGA parameter data structure.
    • RSA option: contains signatures.
    • Timestamp option: the current time of the device.
  • The NS message carries the Nonce option that contains a random number. The NA message responding to the NS message also carries the same Nonce option.

Content in the Timestamp and Nonce options is automatically generated.

Timestamp

A SEND-enabled node uses timestamps carried in ND messages to defend against replay attacks during non-NS/NA message transmission. After SEND is enabled, a node maintains the Delta and Fuzz parameters. After receiving ND messages, the node checks for message mis-sequence on RFC 3971 and discards incorrect messages.

Nonce

Nonce is a random value that serves as a label of a current session. Nonce is used to defend against replay attacks during NS/NA message transactions. A node generates a random value and adds it to NS messages before sending the NS messages to request link-layer addresses of other nodes. After receiving the NS messages, the receivers send NA messages that carry the same random value in the received NS messages.

Router Authorization

To prevent attackers from sending packets in the name of routers, SEND introduces CPS and CPA messages to verify router identities.

Routers must apply for certificates from the Certificate Authority (CA). The certificates contain routers' identity information, public keys, and CA digital signatures.

In the stateless address autoconfiguration scenario, after receiving an RA message, a host sends a CPS message to request the certificate of a router. The router responds by sending its certificate in a CPA message. After receiving the CPA message, the host attempts to authenticate the certificate and considers the router as a default router only after the certificate is successfully authenticated.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic