2.2.7 Notify Payload (IKEv2) Packet

The Notify Payload packet is specified in [RFC4306] section 3.10. The format is as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Protocol-ID

SPI_size

Notify_Message_Type

SPI

Notification_Data (variable)

...

Protocol-ID (1 byte): This field MUST be as specified in [RFC4306] section 3.10.

SPI_size (1 byte): This field MUST be as specified in [RFC4306] section 3.10.

Notify_Message_Type (2 bytes): This MUST identify the type of notification being sent with this message, in network byte order. The notify message types MUST be one of the following values, which are from the private error range, as specified in [RFC4306] section 3.10.1.

Value

Meaning

0x3039

Notify status. This notify message type is used to tell the peer of a private failure reason.

SPI (4 bytes): The Security Parameter Index (SPI) field MUST be as specified in [RFC4306] section 3.10.

Notification_Data  (variable): The content of this field depends on the Notify_Message_Type field. The following list describes field content for various notify message types. Field content MUST correspond to the notify message type as follows:

  • NOTIFY_STATUS (4 bytes): MUST be a status code indicating failure. The values transmitted as status codes are implementation specific.<9>