/testing/guestbin/swan-prep east # ipsec _stackmanager start east # export PLUTO_CRYPTO_HELPER_DELAY=10 east # PATH/libexec/ipsec/pluto --config /etc/ipsec.conf --leak-detective east # /testing/pluto/bin/wait-until-pluto-started east # ipsec auto --add multi 002 added connection description "multi/1x1" 002 added connection description "multi/1x2" 002 added connection description "multi/1x3" 002 added connection description "multi/1x4" 002 added connection description "multi/2x1" 002 added connection description "multi/2x2" 002 added connection description "multi/2x3" 002 added connection description "multi/2x4" 002 added connection description "multi/3x1" 002 added connection description "multi/3x2" 002 added connection description "multi/3x3" 002 added connection description "multi/3x4" 002 added connection description "multi/4x1" 002 added connection description "multi/4x2" 002 added connection description "multi/4x3" 002 added connection description "multi/4x4" east # echo "initdone" initdone east # ../../pluto/bin/ipsec-look.sh east NOW XFRM state: XFRM policy: XFRM done IPSEC mangle TABLES NEW_IPSEC_CONN mangle TABLES ROUTING TABLES default via 192.1.2.254 dev eth1 192.0.1.0/24 via 192.1.2.45 dev eth1 192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.254 192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.23 NSS_CERTIFICATES Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI east # ipsec stop Redirecting to: [initsystem] Shutting down pluto IKE daemon whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) .......... Attempt to shut Pluto down failed! Trying kill /etc/init.d/ipsec: line 162: kill: p: invalid signal specification east # # on east ipsec stop will not work pluto is not started with ipsec start east # pidof pluto && kill `pidof pluto` 23047 east # grep leak /tmp/pluto.log leak-detective enabled east # east # ../bin/check-for-core.sh CORE FOUND: /tmp/core.north.pluto.27239 [New LWP 27239] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments Core was generated by `PATH/libexec/ipsec/pluto --config /etc/ipsec.conf --leak-detective'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fe2e691957f in raise () from /lib64/libc.so.6 #0 0x00007fe2e691957f in raise () from /lib64/libc.so.6 #1 0x00007fe2e6903895 in abort () from /lib64/libc.so.6 #2 0x0000561db66973b0 in lswlog_passert_suffix (buf=buf@entry=0x7ffe0c650ff0, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x0000561db6688c37 in lsw_passert_fail (where=..., fmt=fmt@entry=0x561db66bd321 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x0000561db66243e6 in free_signal_handlers () at /home/build/libreswan/programs/pluto/server.c:624 #5 free_pluto_event_list () at /home/build/libreswan/programs/pluto/server.c:671 #6 0x0000561db6620f2d in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 #7 0x0000561db65e78b2 in create_lock () at /home/build/libreswan/programs/pluto/plutomain.c:272 #8 main (argc=4, argv=0x7ffe0c651848) at /home/build/libreswan/programs/pluto/plutomain.c:1458 warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments east # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi