[strongSwan] How to avoid the parsing of strongswan.conf file and set the configuration options programmatically?
ckdwibedy at yahoo.com
Wed Apr 22 16:02:01 CEST 2015
Thank you Martin for your valuable response. Let me go thru the charon-xpc under src/frontends/osx.
On Wednesday, April 22, 2015 7:28 PM, Martin Willi <martin at strongswan.org> wrote:
> system("starter --daemon charon");
You can't set options in the current process, and then expect that these
options get inherited to a child process spawned using system() or any
If you want to set strongswan.conf options programatically, you'll have
to do that early in the process you want to control, for example in
charons main(). Some libcharon based programs already do that, for
example charon-xpc under src/frontends/osx.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users