<font face="verdana, sans-serif">HI Team,</font><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">I was just going through the Starter module in Strongswan5.0. I have few queries and would be thankful if you could please help me on the following.</font></div>
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">Let me put my understanding. </font></div><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">The starter is parsing the conf files using the parser<span style="line-height:13px"> , loading the configuration via the confread and inoking the charon by invokecharon. </span></font></div>
<div><span style="line-height:13px"><font face="verdana, sans-serif"><br></font></span></div><div><font face="verdana, sans-serif"><span style="line-height:13px">I could see the </span><span class="keywordtype" style="background-color:rgb(251,252,253);color:rgb(96,64,32);line-height:11px;white-space:pre-wrap">int</span><span style="background-color:rgb(251,252,253);line-height:11px;white-space:pre-wrap"> </span><a class="code" href="http://fossies.org/dox/strongswan-5.0.0/invokecharon_8c.html#a638c469e1fc894be62cb62cbd9d53369" style="background-color:rgb(251,252,253);color:rgb(70,101,162);text-decoration:none;line-height:11px;white-space:pre-wrap">starter_start_charon</a><span style="background-color:rgb(251,252,253);line-height:11px;white-space:pre-wrap"> (</span><a class="code" href="http://fossies.org/dox/strongswan-5.0.0/structstarter__config.html" style="background-color:rgb(251,252,253);color:rgb(70,101,162);text-decoration:none;line-height:11px;white-space:pre-wrap">starter_config_t</a><span style="background-color:rgb(251,252,253);line-height:11px;white-space:pre-wrap"> *cfg, </span><span class="keywordtype" style="background-color:rgb(251,252,253);color:rgb(96,64,32);line-height:11px;white-space:pre-wrap">bool</span><span style="background-color:rgb(251,252,253);line-height:11px;white-space:pre-wrap"> no_fork, *) is loading the configuration but what I don't understand is </span><span style="background-color:rgb(249,250,252);line-height:20px">s</span><span style="background-color:rgb(249,250,252);line-height:20px">tarterstroke.c</span><span style="background-color:rgb(249,250,252)"><span style="line-height:20px"> which is having the same functionality of loading the configurations into the charon. Is the reason beyond to update via the CLI just like Whack?</span></span></font></div>
<div><span style="background-color:rgb(249,250,252);line-height:20px"><font face="verdana, sans-serif"><br></font></span></div><div><table class="memberdecls" style="line-height:13px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<tbody><tr class="memitem:aeeefb7c9e1641e6076dbf84afc0cc7dd"><td class="memItemLeft" align="right" valign="top" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);white-space:nowrap">
<font face="verdana, sans-serif">int </font></td><td class="memItemRight" valign="bottom" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);width:642px">
<font face="verdana, sans-serif"><a class="el" href="http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#aeeefb7c9e1641e6076dbf84afc0cc7dd" style="color:rgb(70,101,162);text-decoration:none">starter_stroke_add_conn</a> (<a class="el" href="http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac8ce8df4394a26c10255a8f3e8001b65" style="color:rgb(70,101,162)">starter_config_t</a> *cfg, <a class="el" href="http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac40bcfcdba490693f617c6ac5295e084" style="color:rgb(70,101,162);text-decoration:none">starter_conn_t</a> *conn)</font></td>
</tr><tr class="memitem:a6b70a0ab919b5058f1bb075cf4997b3b"><td class="memItemLeft" align="right" valign="top" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);white-space:nowrap">
<font face="verdana, sans-serif">int </font></td><td class="memItemRight" valign="bottom" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);width:642px">
<font face="verdana, sans-serif"><a class="el" href="http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a6b70a0ab919b5058f1bb075cf4997b3b" style="color:rgb(70,101,162);text-decoration:none">starter_stroke_del_conn</a> (<a class="el" href="http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac40bcfcdba490693f617c6ac5295e084" style="color:rgb(70,101,162);text-decoration:none">starter_conn_t</a> *conn)</font></td>
</tr><tr class="memitem:a3d2877d62a237babaf9d0c2e90c915ea"><td class="memItemLeft" align="right" valign="top" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);white-space:nowrap">
<font face="verdana, sans-serif">int </font></td><td class="memItemRight" valign="bottom" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);width:642px">
<font face="verdana, sans-serif"><a class="el" href="http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a3d2877d62a237babaf9d0c2e90c915ea" style="color:rgb(70,101,162);text-decoration:none">starter_stroke_route_conn</a> (<a class="el" href="http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac40bcfcdba490693f617c6ac5295e084" style="color:rgb(70,101,162);text-decoration:none">starter_conn_t</a> *conn)</font></td>
</tr><tr class="memitem:a16de976bff82898fcba0133cea7cc861"><td class="memItemLeft" align="right" valign="top" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);white-space:nowrap">
<font face="verdana, sans-serif">int </font></td><td class="memItemRight" valign="bottom" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);width:642px">
<font face="verdana, sans-serif"><a class="el" href="http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a16de976bff82898fcba0133cea7cc861" style="color:rgb(70,101,162);text-decoration:none">starter_stroke_initiate_conn</a> (<a class="el" href="http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac40bcfcdba490693f617c6ac5295e084" style="color:rgb(70,101,162);text-decoration:none">starter_conn_t</a> *conn)</font></td>
</tr><tr class="memitem:a20f2972bf6d27fc75eafe4e61d9b04ff"><td class="memItemLeft" align="right" valign="top" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);white-space:nowrap">
<font face="verdana, sans-serif">int </font></td><td class="memItemRight" valign="bottom" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);width:642px">
<font face="verdana, sans-serif"><a class="el" href="http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a20f2972bf6d27fc75eafe4e61d9b04ff" style="color:rgb(70,101,162);text-decoration:none">starter_stroke_add_ca</a> (<a class="el" href="http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#affc229ac8ad96b8a8a2db4ba763b08b4" style="color:rgb(70,101,162);text-decoration:none">starter_ca_t</a> *ca)</font></td>
</tr><tr class="memitem:a200071bcbcf268a8f3cdbfc2f8f2b96e"><td class="memItemLeft" align="right" valign="top" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);white-space:nowrap">
<font face="verdana, sans-serif">int </font></td><td class="memItemRight" valign="bottom" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);width:642px">
<font face="verdana, sans-serif"><a class="el" href="http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a200071bcbcf268a8f3cdbfc2f8f2b96e" style="color:rgb(70,101,162);text-decoration:none">starter_stroke_del_ca</a> (<a class="el" href="http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#affc229ac8ad96b8a8a2db4ba763b08b4" style="color:rgb(70,101,162);text-decoration:none">starter_ca_t</a> *ca)</font></td>
</tr><tr class="memitem:a2e81780864733fc5cc2f805b757f9c42"><td class="memItemLeft" align="right" valign="top" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);white-space:nowrap">
<font face="verdana, sans-serif">int </font></td><td class="memItemRight" valign="bottom" style="background-color:rgb(249,250,252);border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;margin-top:4px;margin-right:4px;margin-bottom:4px;margin-left:4px;padding-top:1px;padding-right:0px;padding-bottom:0px;padding-left:8px;border-top-width:1px;border-top-color:rgb(196,207,229);width:642px">
<font face="verdana, sans-serif"><a class="el" href="http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a2e81780864733fc5cc2f805b757f9c42" style="color:rgb(70,101,162);text-decoration:none">starter_stroke_configure</a> (<a class="el" href="http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac8ce8df4394a26c10255a8f3e8001b65" style="color:rgb(70,101,162);text-decoration:none">starter_config_t</a> *cfg)</font></td>
</tr></tbody></table><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">I could see in the documentation is the stroke is yet to be developed just like Whack. </font></div><div><font face="verdana, sans-serif"><br>
</font></div><div><font face="verdana, sans-serif">Please help me if I m going wrong. Thanks</font></div><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">Thanks,</font></div>
<div><font face="verdana, sans-serif">KC</font></div>