[prev in list] [next in list] [prev in thread] [next in thread] 

List:       strongswan-announce
Subject:    Re: [strongSwan-dev] Key
From:       Martin Willi <martin () strongswan ! org>
Date:       2011-07-07 6:53:01
Message-ID: 1310021583.2102.1.camel () martin
[Download RAW message or body]

Hi Daniel,

> I need to intercept the keys "encr" "integ" during SA installation
> into the kernel.

The listener interface has a child_keys() hook for such purposes. It
contains the DH secret and the nonces, so you'd have to derive the
actual encryption/integrity keys yourself.

> I want to know: is this the only way Stronsgwan does install SA and
> Policies into the kernel?  Im asking this because I cannot see my
> debuging messages and all other functionalities I've added.

Yes, all CHILD_SAs are installed through this function.

Regards
Martin


_______________________________________________
Dev mailing list
Dev@lists.strongswan.org
https://lists.strongswan.org/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic