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 <[email protected]> 
wrote:
   

 Hi,

>  set_strongswan_conf_options(lfile);
>  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
exec*() function.

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.

Regards
Martin




  
_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

Reply via email to