[Openswan dev] ocf debian

Harald Jenny harald at a-little-linux-box.at
Sun Dec 19 15:20:00 EST 2010


On Fri, Dec 17, 2010 at 01:49:22PM -0500, Paul Wouters wrote:
> On Fri, 17 Dec 2010, Harald Jenny wrote:
> 
> >>Ok. I've add a modprobe to _startklips for cryptosoft.
> >
> >So OCF using cryptoapi gets loaded per default?
> 
> We were already loading the cryptoapi modules manually because they cannot
> get automatically loaded. I added cryptosoft to the list of modules to load.
> So now the software ocd driver gets loaded. People still need to preload their
> hardware driver.

But doesn't this force every user to use OCF even he may not want it?

> 
> >Maybe we could add a hint to ipsec --versioncode that loads cryptodev when we
> >detect that pluto was compiled with OCF support?
> 
> ipsec --version should not have any side effects.

Uhm but we declare already we are using KLIPS... so this would just be an
extension.

> We already log OCF capabilities when pluto starts. I believe klips also logs some
> ocf thing. So it is already there. Also, ipsec verify now tells you if your
> klips has ocf support. I could enhance it to check if ANY ocf driver is loaded.

Hmmm... I just wanted to load the OCF modules when KLIPS when compiled with it.

> 
> Paul

Kind regards
Harald


More information about the Dev mailing list