/testing/guestbin/swan-prep --x509
Preparing X.509 files
west #
 ipsec _stackmanager start
west #
 # confirm that the network is alive
west #
 ../../pluto/bin/wait-until-alive -I 192.0.1.254 192.0.2.254
destination -I 192.0.1.254 192.0.2.254 is alive
west #
 PATH/libexec/ipsec/pluto --config /etc/ipsec.conf --leak-detective
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-ikev2
002 added connection description "westnet-eastnet-ikev2"
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair delete-on-retransmit
west #
 ipsec auto --up  westnet-eastnet-ikev2
002 "westnet-eastnet-ikev2" #1: initiating Main Mode
1v1 "westnet-eastnet-ikev2" #1: STATE_MAIN_I1: initiate
002 "westnet-eastnet-ikev2" #1: IMPAIR: retransmit so deleting SA
002 "westnet-eastnet-ikev2" #1: deleting state (STATE_MAIN_I1) and NOT sending notification
west #
 echo done
done
west #
 ipsec whack --shutdown
002 shutting down
west #
 grep leak /tmp/pluto.log
leak-detective enabled
leak detective found no leaks
west #
 ../bin/check-for-core.sh
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

