[strongSwan] ipsec / stroke exit code
Martin Willi
martin at strongswan.org
Mon Sep 10 15:35:10 CEST 2012
Hi Gerald,
> it seems that stroke does not even know that there is an error, because
> it only prints out the return text from Charon.
Yes, stroke just redirects the log output, but has no additional
information about the success of an operation.
> It make scripting ipsec very hard, if there is no indicator if there is
> an error condition or not.
> Any chance to change this or is there another way to use ipsec and get
> proper errors back?
The stroke backend was actually never meant to do complex scripting, and
we don't have any immediate plans to change that.
strongSwan has a very flexible plugin interface, though. It allows you
to hook in a much better IPC mechanism to your application/scripts,
specifically for your needs.
Regards
Martin
More information about the Users
mailing list