/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: systemctl start ipsec.service
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 ipsec auto --add east
002 added connection description "east"
east #
 echo "initdone"
initdone
east #
 ipsec whack --trafficstatus
006 #2: "east", type=ESP, add_time=1234567890, inBytes=1008, outBytes=1008, id='@west'
east #
 ipsec status |grep STATE_
000 #2: "east":500 STATE_V2_IPSEC_R (IPsec SA established); EVENT_SA_REPLACE in  XXs; newest IPSEC; eroute owner; isakmp#4; idle; import:respond to stranger
000 #4: "east":500 STATE_PARENT_R2 (received v2I2, PARENT SA established); EVENT_SA_REPLACE in  XXs; newest ISAKMP; idle; import:respond to stranger
east #
east #
 ../bin/check-for-core.sh
east #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

