@@ -182,7 +182,7 @@ With classic transport and tunnel mode, the ~Payload Info Header~
182182is encrypted, and therefore private to the IPsec peers. However,
183183with a positive crypt offset
184184(see [[EESP Crypt Offset Option]]), the ~Payload Info Header~
185- might be left unencrypted. In these mode , protocol parsing engines
185+ might be left unencrypted. In this case , protocol parsing engines
186186of middleboxes can act upon it (e.g., for telemetry).
187187
188188# :NOTE: doesn't the Payload Data structure depend on the mode of
@@ -297,11 +297,7 @@ algorithms as done in [[PSP]].
297297
298298When options are present, padding options (i.e., ~Pad1~ and ~PadN~)
299299MUST be used to align the fields following the ~Options~ field. This
300- alignment is dictated by the packet format. For the Full EESP
301- packet format the ~Payload Info Header~ must be 4 byte aligned. For
302- the optimized packet format the alignment is given by the contained
303- packet type, namely, 4 byte alignment for an IPv4 packet, and 8 byte
304- alignment for IPv6 packet.
300+ alignment is dictated by the packet format, see [[Payload Data]].
305301
306302** Peer Header
307303
@@ -670,13 +666,14 @@ are always present in the EESP packet format for all SAs.
670666This section specifies the use of the Session ID as a Sub SA ID.
671667The use of the Session ID as a Sub SA ID MUST be negotiated by IKEv2,
672668or any other suitable protocol. In this case, Session ID is used as a
673- 16 bits Replay Subspace ID.
674- Replay Subspaces were initially defined in [[I-D.ponchon-ipsecme-anti-replay-subspaces]].
669+ 16 bits Sub SA ID.
670+ Sub SA IDs were initially defined in [[I-D.ponchon-ipsecme-anti-replay-subspaces]]
671+ and called ~Replay Subspaces~ there.
675672
676673# :NOTE: Why are Replay Subspaces and IDs mentioned here? Why define
677674# that identifier in addition to Sub SA ID?
678675
679- Each number of the 16 bits Replay Subspace ID encodes a single
676+ Each number of the 16 bits Sub SA ID encodes a single
68067764 bit anti-replay sequence number space.
681678This means that each core, path, or QoS class, or any combination of
682679those, can then use their own unique anti-replay sequence number subspace.
@@ -896,10 +893,7 @@ basis inside any inner flow to avoid packet reordering.
896893The Flow Identifier SHOULD be negotiated by IKEv2 or another
897894suitable protocol. The detailed specification of FIDs MAY be provided
898895in subsequent documents. The precise meaning of a FID is opaque to
899- intermediate devices; however, intermediate devices MAY use it for
900- identifying flows for ECMP or similar purposes. e.g. Sub-Child SAs,
901- in [[I-D.mrossberg-ipsecme-multiple-sequence-counters]] could be encoded
902- here.
896+ intermediate devices.
903897
904898#+caption: Flow Identifier Option
905899#+name: fid-option
@@ -920,36 +914,6 @@ here.
920914- FID :: Variable length, carries characteristic information of a
921915 inner flow and MUST NOT change for a given inner flow within a SA.
922916
923- # XXX I don't think this is right, I think we want to allow multiple
924- # FIDs (e.g., multiple tcp connections) per SA.
925-
926- *** EESP Flow Identifiers combined with replay protection
927-
928- Flow Identifiers characterize the inner i.e. the protected flows.
929- Packets of these flows should not be reordered while EESP protected.
930-
931- # NOTE STK: Is the above text clear?
932-
933- #+caption: Flow Identifier with replay protection
934- #+name: fid-replay
935- #+begin_src
936- 0 1 2 3
937- 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
938- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
939- | Option Type | Option Length | Replay Subspace ID |
940- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|
941- | |
942- ~ Flow Identifier (FID) ~
943- | |
944- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
945- #+end_src
946-
947- - Option Type :: 8 bits: See [[EESP Header Options]]
948- - Option Length :: 8 bits: See [[EESP Header Options]]
949- - Replay Subspace ID :: 16 bits:
950- - FID :: Variable length, carries characteristic information of a
951- inner flow and MUST NOT change for a given inner flow within a SA.
952-
953917*** EESP Crypt Offset Option
954918This option is typically used for within one Datacenter use case
955919such as [[PSP]].
0 commit comments