Messages in this thread | | | Date | Wed, 19 Feb 2003 16:29:50 -0500 | From | Jeff Garzik <> | Subject | Re: [PATCH] IPSec protocol application order |
| |
On Wed, Feb 19, 2003 at 02:42:19PM -0600, Tom Lendacky wrote: > The IPSec RFC (2401) and IPComp RFC (3173) specify the order in which > the COMP, ESP and AH protocols must be applied when being applied in > transport mode. Specifically, COMP must be applied first, then ESP > and then AH. Also, transport mode protocols must be applied before > tunnel mode protocols. > > Here is a patch that creates the xfrm_tmpl structures in the order > required by the RFCs. The patch requires that the application order > of new transformations/protocols be specified for transport mode > in order to have an xfrm_tmpl structure created. If this is not > desired, an additional transport mode loop can be placed ahead of the > COMP/ESP/AH transport mode loops that creates xfrm_tmpl structures > for protocols other than COMP/ESP/AH.
hmmm... do you really need to duplicate all that code, just to define the order?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |