@@ -343,7 +343,7 @@ The type of the Sub SA Key Derivation Function transform is <TBA2>.
343343*** New Transform IDs for Sequence Numbers Transform Type
344344
345345This document defines two new Transform IDs for the Sequence Numbers
346- transform type: ~64-bit Sequential Numbers~ (<TBD4 >) and ~None~ (<TBD5 >).
346+ transform type: ~64-bit Sequential Numbers~ (<TBD5 >) and ~None~ (<TBD6 >).
347347
348348To enable the presence of sequence numbers in the EESP header and
349349enabling replay protection, the initiator MUST propose SN = (64-bit
@@ -353,7 +353,7 @@ Numbers, the Sequence Number field MUST be included into the EESP
353353header and peers MUST perform replay protection.
354354
355355To disable sequence numbering, and thus replay protection based on
356- sequence numbers, the initiator MUST propose SN=None (<TBD5 >).
356+ sequence numbers, the initiator MUST propose SN=None (<TBD6 >).
357357When the responder selects None, the Sequence Number field is omitted
358358from the EESP header.
359359
@@ -461,17 +461,6 @@ If this notification is received it MUST be ignored.
461461# procedure as deleting Child SA using IKEv2 INFORMATIONAL exchange as
462462# specified in Section 1.4.1 [[RFC7296]]
463463
464- # * EESP SA Transforms
465- # EESP introduces several transform properties that are negotiated
466- # during the establishment of an EESP SA. These properties MUST be
467- # identical for the duration of the SA. When the SA is rekeyed,
468- # the new SA MUST inherit all EESP transform properties negotiated for
469- # the original EESP SA.
470- #
471- # | Type | Description | Used In | Reference |
472- # |------+---------------------------+---------+-----------------+
473- # | TBD6 | EESP Session ID(EESPSID) | (EESP) | [this document] |
474-
475464** Announcing Maximum Sub SA ID
476465
477466In the process of establishing the EESP SA, each peer MAY inform the
@@ -495,8 +484,8 @@ A new notify status type EESP_MAX_SUB_SA_ID (<TBD3>) is defined by
495484this document. The format of the Notify payload for this notification
496485is shown below.
497486
498- #+caption: Sub SA Notifier
499- #+name: sub-sa-notifier
487+ #+caption: Maximum Sub SA Notification
488+ #+name: max- sub-sa-notify
500489#+begin_src
501490 1 2 3
5024910 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
@@ -534,6 +523,49 @@ that Sub SA IDs not repeat).
534523If no SSKDF transform was negotiated, this notification MUST be
535524ignored by peers.
536525
526+ ** Announcing Maximum Crypt Offset
527+
528+ Each peer MAY inform the other side about the maximum offset they
529+ accept in the EESP ~Crypt Offset~ option. The other side MUST NOT
530+ use a Crypt Offset exceeding this value (inclusive).
531+
532+ Note that this is not a negotiation: each side can indicate its own
533+ value for the maximum Crypt Offset. If a valid EESP packet is
534+ received where the Crypt Offset exceeds the announced maximum, the
535+ IKE SA with the peer SHOULD be terminated.
536+
537+ A new notify status type EESP_MAX_CRYPT_OFFSET (<TBD4>) is defined by
538+ this document. The format of the Notify payload for this notification
539+ is shown below.
540+
541+ #+caption: Maximum Crypt Offset Notification
542+ #+name: max-crypto-offset-notify
543+ #+begin_src
544+ 1 2 3
545+ 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
546+ +-+-----------------------------+-------------------------------+
547+ ! Next Payload !C! RESERVED ! Payload Length !
548+ +---------------+---------------+-------------------------------+
549+ ! Protocol ID ! SPI Size ! Notify Message Type !
550+ +---------------+---------------+-------------------------------+
551+ ! Maximum C. O. |
552+ +---------------+
553+ #+end_src
554+
555+ - Protocol ID (1 octet) - MUST be 0. MUST be ignored if not 0.
556+ - SPI Size (1 octet) - MUST be 0. MUST be ignored if not 0.
557+ - Notify Status Message Type (2 octets) - set to EESP_MAX_CRYPT_OFFSET (<TBD4>).
558+ - Maximum Crypt Offset (1 octet)
559+ -- specifies the maximum value for the CryptOffset field in the
560+ EESP Crypt Offset option the sender of this notification is
561+ accepting (measured in 4-octet units). Note that the field in the
562+ option is only 6 bits wide.
563+
564+ If a peer doesn't allow the use of the Crypt Offset option, instead
565+ of sending the value 0, the notification SHOULD be omitted entirely.
566+ That is, if this notification was not received by a peer, that peer
567+ MUST not use a Crypt Offset when sending EESP packets.
568+
537569* Key Derivation for Sub SAs
538570
539571When an EESP SA is using Sub SAs, each Sub SA (including the one
@@ -625,14 +657,15 @@ document.
625657| Value | Notify Message Status Type | Reference |
626658|--------+----------------------------+-----------------+
627659| <TBD3> | EESP_MAX_SUB_SA_ID | [this document] |
660+ | <TBD4> | EESP_MAX_CRYPT_OFFSET | [this document] |
628661
629662# *** Extending ESP with EESP
630- #Several tables in [[IKEv2-IANA]] that specify ESP as protocol
631- #should be extended with EESP. Should we list each table one by one or
632- #specify as replace ESP, with ESP, EESP.e.g in the Transform Type Values,
633- #replace 'IKE and ESP' with 'IKE, ESP, and EESP'
663+ # Several tables in [[IKEv2-IANA]] that specify ESP as protocol
664+ # should be extended with EESP. Should we list each table one by one or
665+ # specify as replace ESP, with ESP, EESP.e.g in the Transform Type Values,
666+ # replace 'IKE and ESP' with 'IKE, ESP, and EESP'
634667#
635- #Changes the "Used In" column for the existing allocations as follows;
668+ # Changes the "Used In" column for the existing allocations as follows;
636669
637670*** Sequence Number
638671
@@ -641,8 +674,8 @@ This document defines two new values in the IKEv2 "Transform Type 5
641674
642675| Value | Name | Reference |
643676|---------+-------------------------------+-----------------+
644- | <TBD4 > | 64-bit Sequential Numbers | [this document] |
645- | <TBD5 > | None | [this document] |
677+ | <TBD5 > | 64-bit Sequential Numbers | [this document] |
678+ | <TBD6 > | None | [this document] |
646679
647680** New IKEv2 Registries
648681
0 commit comments