/testing/guestbin/swan-prep --userland strongswan
east #
 ../../guestbin/strongswan-start.sh
loaded ike secret 'ike-@east@west'
loaded eap secret 'eap-@use3'
no authorities found, 0 unloaded
loaded pool 'pool-subnet-192-0-1-254/32'
successfully loaded 1 pools, 0 unloaded
loaded connection 'westnet-eastnet-ikev1'
successfully loaded 1 connections, 0 unloaded
east #
 echo "initdone"
initdone
east #
 ../../guestbin/wait-for.sh --match 'CHILD_SA .* established' -- cat /tmp/charon.log | sed -e 's/.*\(CHILD.*established\).*/\1/'
CHILD_SA westnet-eastnet-ikev1{1} established
east #
 if [ -f /var/run/pluto/pluto.pid ]; then ipsec _kernel state ; fi
east #
 if [ -f /var/run/pluto/pluto.pid ]; then ipsec _kernel policy ; fi
east #
 if [ -f /var/run/charon.pid -o -f /var/run/strongswan/charon.pid ]; then strongswan status ; fi
Shunted Connections:
Bypass LAN 192.0.2.0/24:  192.0.2.0/24 === 192.0.2.0/24 PASS
Bypass LAN 192.1.2.0/24:  192.1.2.0/24 === 192.1.2.0/24 PASS
Security Associations (0 up, 0 connecting):
  none
east #
 if [ -f /var/run/charon.pid -o -f /var/run/strongswan/charon.pid ]; then grep "received DELETE for ESP CHILD_SA with SPI" /tmp/charon.log > /dev/null || echo "DELETE FAILED"; fi
east #
 if [ -f /var/run/charon.pid -o -f /var/run/strongswan/charon.pid ]; then grep "processing failed" /tmp/charon.log; fi
east #
