<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
... but it does not tell you which conns are up. It would be lovely
to be able to get a succinct con status without having to look
through the ipsec auto --status output.<br>
<br>
I can't find that anywhere in openswan or libreswan.<br>
<br>
Nick<br>
<br>
<div class="moz-cite-prefix">On 06/03/2013 20:01, T.J. Yang wrote:<br>
</div>
<blockquote
cite="mid:CAD2GW8pVwu4UvUpEoBmF+ZJ9ggPips-tUguZ5ptWxOGkcO2Z+A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="">I like "ipsec setup status" command in openswan
because it tell clearly how many tunnels are up successfully.</div>
<div style="">Is there a similar command in libreswan ?</div>
<div style=""><br>
</div>
<div>
<div>[root@lab-rh6-01 ~]# ipsec setup status</div>
<div>IPsec running - pluto pid: 12991</div>
<div>pluto pid 12991</div>
<div>1 tunnels up</div>
<div>some eroutes exist</div>
<div>[root@lab-rh6-01 ~]# ipsec version</div>
<div>Linux Openswan U2.6.32/K2.6.32-358.0.1.el6.x86_64
(netkey)</div>
<div>See `ipsec --copyright' for copyright information.</div>
<div>[root@lab-rh6-01 ~]#</div>
</div>
<div><br>
</div>
<div style="">I tagged src point at R1 and call it 3.0.2 to make
my own centos package.</div>
<div style=""><br>
</div>
<div>
<div>[root@left8510w ~]# ipsec version</div>
<div>Linux Libreswan 3.0.2 (netkey) on
2.6.32-279.22.1.el6.x86_64</div>
<div>[root@left8510w ~]# ipsec setup status</div>
<div>Redirecting to: service ipsec status</div>
<div>[root@left8510w ~]#</div>
</div>
<div><br>
</div>
<div>R1: <a moz-do-not-send="true"
href="https://github.com/libreswan/libreswan/commit/a7ff69897209ccdc7ebaccb71d7e190190379e30">https://github.com/libreswan/libreswan/commit/a7ff69897209ccdc7ebaccb71d7e190190379e30</a><br>
</div>
-- <br>
T.J. Yang
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Swan mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Swan@lists.libreswan.org">Swan@lists.libreswan.org</a>
<a class="moz-txt-link-freetext" href="https://lists.libreswan.org/mailman/listinfo/swan">https://lists.libreswan.org/mailman/listinfo/swan</a>
</pre>
</blockquote>
<br>
</body>
</html>