[Openswan Users] API or Command for getting the "IPsec-SA status"

Andreas Steffen andreas.steffen at strongsec.net
Wed Oct 13 14:06:40 CEST 2004


Hi Tetsuya,

strongswan-2.2.0 available from http://www.strongswan.org
has the feature that you are looking for:

   ipsec auto --status myconn

returns only the status of the connection "myconn".

Regards

Andreas

Tetsuya Okumichi wrote:
> Hi all,
> 
> I would like to get "IPsec-SA status" specified by "conn in ipsec.conf"
> at User Application Program. The information on "IPsec-SA status" which
> I want to know is "IPsec-SA established" or "IPsec-SA NOT established".
> 
> I don't want to use "ipsec auto --status", because "ipsec auto --status"
> displays all "conn" and many informations.
> 
> Do anyone know API or Command for getting the "IPsec-SA status" specified
> by "conn" in User Application Program ?
> 
> Best regards,
> Tetusya

=======================================================================
Andreas Steffen                   e-mail: andreas.steffen at strongsec.com
strongSec GmbH                    home:   http://www.strongsec.com
Alter Zürichweg 20                phone:  +41 1 730 80 64
CH-8952 Schlieren (Switzerland)   fax:    +41 1 730 80 65
==========================================[strong internet security]===


More information about the Users mailing list