[Swan] what is the command in libreswan to see number of tunnels is up ?

Paul Wouters pwouters at redhat.com
Wed Mar 6 22:45:07 EET 2013


On Wed, 6 Mar 2013, T.J. Yang wrote:

> I like "ipsec setup status" command in openswan because it tell clearly how
> many tunnels are up successfully.
> Is there a similar command in libreswan ?

I commited a patch for "ipsec status" to show it as part of its output.

To make it useful for the initscript, we probably should add a new whack
option that just displays that one single line.

It now shows for me as:

[ lots of stuff]
000
000 Total IPsec connections: loaded 1, active 1
000
[ more stuff ]

Paul


More information about the Swan mailing list