[strongSwan] VICI and multiple threads

Modster, Anthony Anthony.Modster at Teledyne.com
Thu Sep 7 19:02:04 CEST 2017


Hello Tobias

Thanks for the info on VICI.

Note: we spoke with Andreas on our original design, and he did mention the possibility for using DAVICI.
The problem at the time was Andreas lost the support person for this module. So we decided not to take the risk.

-----Original Message-----
From: Tobias Brunner [mailto:tobias at strongswan.org] 
Sent: Thursday, September 07, 2017 12:03 AM
To: Modster, Anthony <Anthony.Modster at Teledyne.com>; users at lists.strongswan.org
Subject: Re: [strongSwan] VICI and multiple threads

Hi Anthony,

> ? is the VICI library considered thread safe
> 
> Can a host use multiple threads to access the library functions.

You can't share VICI connections between threads, but multiple threads can call the library functions and operate on separate connections.  For third-party tools you might want to consider using davici [1], which has a more permissive license (libvici is licensed under GPLv2 like strongSwan, davici under LGPLv2.1).

Regards,
Tobias

[1] https://github.com/strongswan/davici


More information about the Users mailing list