[Swan-dev] What happened to "ipsec show" ?

Brady Johnson bradyjoh at redhat.com
Tue Oct 24 13:37:52 EEST 2023


Hello,

I am migrating from Libreswan 4.5 to the latest version, and I notice that
the "ipsec show" command no longer exists in the latest version.

I looked around git a little, and found this commit:

commit a4d3d235e89739691b4d4acfe6eff280dcbcc763
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Aug 12 15:42:50 2022 -0400


    ipsec: make <<ipsec {look,show,verify}>> linux only

I looked at the code changes in that git commit, and saw that the "ipsec
show" and other scripts were removed, and never added for linux only.

Before I dig around more, is there a reason this was not added for Linux
only? If needed, I can create a PR to add it.

I find the IPs in the output of this command VERY useful when managing
multiple tunnels. Maybe there is another way to get this info??

ipsec show
172.16.2.0/24 <=> 172.16.111.0/24 using reqid 16393
172.16.2.0/24 <=> 172.16.110.0/24 using reqid 16389
172.16.2.0/24 <=> 172.16.113.0/24 using reqid 16401
172.16.2.0/24 <=> 172.16.117.0/24 using reqid 16409
172.16.2.0/24 <=> 172.16.112.0/24 using reqid 16397
fd02::/64 <=> fd03:116::/64 using reqid 16413


Regards,

Brady
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20231024/7c6b0e68/attachment.htm>


More information about the Swan-dev mailing list