/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet
002 added IKEv1 connection "westnet-eastnet"
east #
 ipsec auto --add west-east
002 added IKEv1 connection "west-east"
east #
 echo "initdone"
initdone
east #
 sleep 1
east #
 # Expecting the IKE SA of west-east and the IPsec SA of westnet-eastnet
east #
 ipsec status |grep STATE
000 #1: "west-east":500 STATE_MAIN_R3 (IKE SA established); EVENT_SA_REPLACE in XXs; newest ISAKMP; lastdpd=-1s(seq in:0 out:0); idle;
000 #3: "westnet-eastnet":500 STATE_QUICK_R2 (IPsec SA established); EVENT_SA_REPLACE in XXs; newest IPSEC; eroute owner; isakmp#1; idle;
east #
 ../bin/check-for-core.sh
east #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi
east #
 
