The stroke utility is a small helper tool invoked by the ipsec command to control and monitor IPsec connections. It communicates over a socket interface with the stroke plugin loaded by the IKE daemon. While the utility does support some basic configuration manipulation, it is far from complete and therefore shouldn't be used for the transfer of connection information.

Since 5.2.0 a new configuration and control interface is available that can be accessed with the swanctl command.

Do not invoke ipsec stroke directly, use the ipsec wrapper instead.