[strongSwan-dev] Info on the Starter and Stroke

krishna chaitanya krishnachaitanya.sanapala at gmail.com
Thu Aug 9 15:15:20 CEST 2012


HI Team,

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.

Let me put my understanding.

The starter is parsing the conf files using the parser , loading the
configuration via the confread and inoking the charon by invokecharon.

I could see the int
starter_start_charon<http://fossies.org/dox/strongswan-5.0.0/invokecharon_8c.html#a638c469e1fc894be62cb62cbd9d53369>(
starter_config_t<http://fossies.org/dox/strongswan-5.0.0/structstarter__config.html>*cfg,
bool no_fork, *) is loading the configuration but what I don't understand
is starterstroke.c 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?

int starter_stroke_add_conn<http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#aeeefb7c9e1641e6076dbf84afc0cc7dd>
 (starter_config_t<http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac8ce8df4394a26c10255a8f3e8001b65>
 *cfg, starter_conn_t<http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac40bcfcdba490693f617c6ac5295e084>
 *conn)int starter_stroke_del_conn<http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a6b70a0ab919b5058f1bb075cf4997b3b>
 (starter_conn_t<http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac40bcfcdba490693f617c6ac5295e084>
 *conn)int starter_stroke_route_conn<http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a3d2877d62a237babaf9d0c2e90c915ea>
 (starter_conn_t<http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac40bcfcdba490693f617c6ac5295e084>
 *conn)int starter_stroke_initiate_conn<http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a16de976bff82898fcba0133cea7cc861>
 (starter_conn_t<http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac40bcfcdba490693f617c6ac5295e084>
 *conn)int starter_stroke_add_ca<http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a20f2972bf6d27fc75eafe4e61d9b04ff>
 (starter_ca_t<http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#affc229ac8ad96b8a8a2db4ba763b08b4>
 *ca)int starter_stroke_del_ca<http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a200071bcbcf268a8f3cdbfc2f8f2b96e>
 (starter_ca_t<http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#affc229ac8ad96b8a8a2db4ba763b08b4>
 *ca)int starter_stroke_configure<http://fossies.org/dox/strongswan-5.0.0/starterstroke_8h.html#a2e81780864733fc5cc2f805b757f9c42>
 (starter_config_t<http://fossies.org/dox/strongswan-5.0.0/confread_8h.html#ac8ce8df4394a26c10255a8f3e8001b65>
 *cfg)
I could see in the documentation is the stroke is yet to be developed just
like Whack.

Please help me if I m going wrong. Thanks


Thanks,
KC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20120809/08358499/attachment.html>


More information about the Dev mailing list