@@ -344,7 +344,7 @@ The type of the Sub SA Key Derivation Function transform is <TBA2>.
344344*** New Transform IDs for Sequence Numbers Transform Type
345345
346346This document defines two new Transform IDs for the Sequence Numbers
347- transform type: ~64-bit Sequential Numbers~ (<TBD4 >) and ~None~ (<TBD5 >).
347+ transform type: ~64-bit Sequential Numbers~ (<TBD5 >) and ~None~ (<TBD6 >).
348348
349349To enable the presence of sequence numbers in the EESP header and
350350enabling replay protection, the initiator MUST propose SN = (64-bit
@@ -354,7 +354,7 @@ Numbers, the Sequence Number field MUST be included into the EESP
354354header and peers MUST perform replay protection.
355355
356356To disable sequence numbering, and thus replay protection based on
357- sequence numbers, the initiator MUST propose SN=None (<TBD5 >).
357+ sequence numbers, the initiator MUST propose SN=None (<TBD6 >).
358358When the responder selects None, the Sequence Number field is omitted
359359from the EESP header.
360360
@@ -462,17 +462,6 @@ If this notification is received it MUST be ignored.
462462# procedure as deleting Child SA using IKEv2 INFORMATIONAL exchange as
463463# specified in Section 1.4.1 [[RFC7296]]
464464
465- # * EESP SA Transforms
466- # EESP introduces several transform properties that are negotiated
467- # during the establishment of an EESP SA. These properties MUST be
468- # identical for the duration of the SA. When the SA is rekeyed,
469- # the new SA MUST inherit all EESP transform properties negotiated for
470- # the original EESP SA.
471- #
472- # | Type | Description | Used In | Reference |
473- # |------+---------------------------+---------+-----------------+
474- # | TBD6 | EESP Session ID(EESPSID) | (EESP) | [this document] |
475-
476465** Announcing Maximum Sub SA ID
477466
478467In the process of establishing the EESP SA, each peer MAY inform the
@@ -496,8 +485,8 @@ A new notify status type EESP_MAX_SUB_SA_ID (<TBD3>) is defined by
496485this document. The format of the Notify payload for this notification
497486is shown below.
498487
499- #+caption: Sub SA Notifier
500- #+name: sub-sa-notifier
488+ #+caption: Maximum Sub SA Notification
489+ #+name: max- sub-sa-notify
501490#+begin_src
502491 1 2 3
5034920 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
@@ -535,6 +524,51 @@ that Sub SA IDs not repeat).
535524If no SSKDF transform was negotiated, this notification MUST be
536525ignored by peers.
537526
527+ ** Announcing Maximum Crypt Offset
528+
529+ Each peer MAY inform the other side about the maximum offset they
530+ accept in the EESP ~Crypt Offset~ option. The other side MUST NOT
531+ use a Crypt Offset exceeding this value (inclusive).
532+
533+ Note that this is not a negotiation: each side can indicate its own
534+ value for the maximum Crypt Offset. If a valid EESP packet is
535+ received where the Crypt Offset exceeds the announced maximum, it
536+ MUST be dropped, and the Child SA SHOULD be deleted.
537+
538+ A new notify status type EESP_MAX_CRYPT_OFFSET (<TBD4>) is defined by
539+ this document. The format of the Notify payload for this notification
540+ is shown below.
541+
542+ #+caption: Maximum Crypt Offset Notification
543+ #+name: max-crypto-offset-notify
544+ #+begin_src
545+ 1 2 3
546+ 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
547+ +-+-----------------------------+-------------------------------+
548+ ! Next Payload !C! RESERVED ! Payload Length !
549+ +---------------+---------------+-------------------------------+
550+ ! Protocol ID ! SPI Size ! Notify Message Type !
551+ +---------------+---------------+-------------------------------+
552+ ! Maximum C. O. |
553+ +---------------+
554+ #+end_src
555+
556+ - Protocol ID (1 octet) - MUST be 0. MUST be ignored if not 0.
557+ - SPI Size (1 octet) - MUST be 0. MUST be ignored if not 0.
558+ - Notify Status Message Type (2 octets) - set to EESP_MAX_CRYPT_OFFSET (<TBD4>).
559+ - Maximum Crypt Offset (1 octet)
560+ -- specifies the maximum value for the CryptOffset field in the
561+ EESP Crypt Offset option the sender of this notification is
562+ accepting (measured in 4-octet units). Note that the field in the
563+ option is only 6 bits wide.
564+
565+ If a peer doesn't allow the use of the Crypt Offset option, instead
566+ of sending the value 0, the notification SHOULD be omitted entirely.
567+ That is, if this notification was not received by a peer, that peer
568+ MUST not use a Crypt Offset when sending EESP packets. If a packet
569+ with Crypt Offset option is still received, it MUST be dropped, and
570+ the Child SA SHOULD be deleted.
571+
538572* Key Derivation for Sub SAs
539573
540574When an EESP SA is using Sub SAs, each Sub SA (including the one
@@ -626,14 +660,15 @@ document.
626660| Value | Notify Message Status Type | Reference |
627661|--------+----------------------------+-----------------+
628662| <TBD3> | EESP_MAX_SUB_SA_ID | [this document] |
663+ | <TBD4> | EESP_MAX_CRYPT_OFFSET | [this document] |
629664
630665# *** Extending ESP with EESP
631- #Several tables in [[IKEv2-IANA]] that specify ESP as protocol
632- #should be extended with EESP. Should we list each table one by one or
633- #specify as replace ESP, with ESP, EESP.e.g in the Transform Type Values,
634- #replace 'IKE and ESP' with 'IKE, ESP, and EESP'
666+ # Several tables in [[IKEv2-IANA]] that specify ESP as protocol
667+ # should be extended with EESP. Should we list each table one by one or
668+ # specify as replace ESP, with ESP, EESP.e.g in the Transform Type Values,
669+ # replace 'IKE and ESP' with 'IKE, ESP, and EESP'
635670#
636- #Changes the "Used In" column for the existing allocations as follows;
671+ # Changes the "Used In" column for the existing allocations as follows;
637672
638673*** Sequence Number
639674
@@ -642,8 +677,8 @@ This document defines two new values in the IKEv2 "Transform Type 5
642677
643678| Value | Name | Reference |
644679|---------+-------------------------------+-----------------+
645- | <TBD4 > | 64-bit Sequential Numbers | [this document] |
646- | <TBD5 > | None | [this document] |
680+ | <TBD5 > | 64-bit Sequential Numbers | [this document] |
681+ | <TBD6 > | None | [this document] |
647682
648683** New IKEv2 Registries
649684
0 commit comments