Hi Andrew,

> How can I put this?  I find it ... strange.
> 
> The paragraph 
> https://datatracker.ietf.org/doc/html/draft-ietf-ipsecme-ikev2-sa-ts-payloads-opt-09#section-3-1
> ends with
> _Note that the notify indicates support for optimized rekey for both
> IKE and Child SAs._
> 
> Since it's negotiating an IKE protocol thing (i.e., not tied to a
> kernel), I think of this more as:
> _Negotiation of OPTIMIZED_REKEY_SUPPORTED indicates that the
> established IKE SA supports the use of OPTIMIZED_REKEY in
> CREATE_CHILD_SA exchanges; that is for both rekeying IKE and Child
> SAs._

This interpretation is correct. We have to make the text clearer.

> (I'm always asking myself: is this an IKE thing, or a Child thing;
> this is an IKE thing)
> 
> With this in mind, when I look at the initial exchanges, there seems
> to be a general principle that:
> - IKE specific things are negotiated during IKE_SA_INIT
> - Child specific things are negotiated during IKE_AUTH
> (and auth things are spread around)

There is no such rule. The (unofficial) rule is - postpone
negotiation whenever possible, just to not increase the size of IKE_SA_INIT 
(and also to hide as many negotiated IKE features as possible from passive 
observer).

So, only those features that are needed right before IKE_SA_INIT
completes are negotiated in IKE_SA_INIT. Exceptions are possible...

> Hence, when I look at this proposal, I'm not understanding why the
> negotiation is delayed to IKE_AUTH.

This feature cannot be used until SA is created, thus we can postpone its 
negotiation
to IKE_AUTH.

> Perhaps it's to prevent a downgrade; but that's what full-body-auth
> (er, IKE_SA_INIT full transcript auth) is for.
> Perhaps it's so that the responder can take the proposed Child SA into
> consideration, but this is an IKE thing.  I really don't see a
> responder rejecting a second Child SA based on OPTIMIZED_REKEY.
> Perhaps the new trend is to hide stuff in IKE_AUTH.

It's not new :-)

> Puzzled.

Hope this helps.

Regards,
Valery.

> _______________________________________________
> IPsec mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

_______________________________________________
IPsec mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to