[strongSwan-dev] External hook on CHILD SA add/rekey/removal

Emeric POUPON emeric.poupon at stormshield.eu
Mon Jun 22 13:12:08 CEST 2015


Oh, I missed that one...
I think it would do the job, thanks for your support!

Emeric

----- Mail original -----
De: "Martin Willi" <martin at strongswan.org>
À: "Emeric POUPON" <emeric.poupon at stormshield.eu>
Cc: dev at lists.strongswan.org
Envoyé: Lundi 22 Juin 2015 12:53:33
Objet: Re: [strongSwan-dev] External hook on CHILD SA add/rekey/removal

Hi,

> Creating a new custom plugin using the "child_updown" would do the job.
> Unfortunately, the "child_updown" does not manage the rekey event.

It does not, but there is a child_rekey() hook on listener_t for that
purpose. The bus passes both the old and the new CHILD_SA to registered
listeners during rekeying.

Regards
Martin



More information about the Dev mailing list