[strongSwan] How to avoid the parsing of strongswan.conf file and set the configuration options programmatically?

2015-04-22 Thread Chinmaya Dwibedy
  Hi,I want toget rid of strongswan.conf file (which is installed /etc directory). Instead I wantto set the values programmatically. I have removed the /etc/strongswan.conf ,which is read by libstrongswan during library initialization. Furthermore Ihave written set_strongswan_conf_options()

Re: [strongSwan] How to avoid the parsing of strongswan.conf file and set the configuration options programmatically?

2015-04-22 Thread Martin Willi
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

Re: [strongSwan] How to avoid the parsing of strongswan.conf file and set the configuration options programmatically?

2015-04-22 Thread Chinmaya Dwibedy
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 mar...@strongswan.org wrote: Hi,   set_strongswan_conf_options(lfile);   system(starter --daemon charon); You can't set

Re: [strongSwan] Can StrongSwan support Multicast Dissemination Protocol (MDP) ?

2015-04-22 Thread Martin Willi
Hi, Please can you advise whether StrongSWan can support Multicast Dissemination Protocol (MDP) ? strongSwan does not provide any form of explicit support for that protocol. Possible that you can use strongSwan as building block to secure MPD traffic, but I've no experience with that. Regards

Re: [strongSwan] /etc/strongswan.d/VPN.conf:1: syntax error, unexpected NAME, expecting NEWLINE or '{' or '=' [vpn]

2015-04-22 Thread Stephen Feyrer
Hi, I would just like to say thank you to everyone. On point irony, I learned yesterday that today the office network is being upgraded and the current VPN will no longer work. Thank you for your help, I'm sorry I can report back a solution. I wish you all the best. -- Kind regards