[strongSwan] vici/python interface errors

Tobias Brunner tobias at strongswan.org
Tue Dec 3 12:37:04 CET 2019


Hi Volodymyr,

> So, the question is - what I'm doing wrong and how to do in order to get
> the desired result?

You can't use the same session you are currently streaming on (i.e.
enumerating SAs) to send another request (i.e. terminating SAs).

So either store the IDs of the SAs you want to terminate in a list and
terminate them after you are done enumerating SAs, or open a second
session to terminate them while enumerating.

Regards,
Tobias


More information about the Users mailing list