/testing/guestbin/swan-prep --hostkeys
Creating NSS database containing host keys
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 # connection is loaded and initiated via auto=start
east #
 echo "initdone"
initdone
east #
 # There should be no established IKE SA and no established IPsec SA
east #
 ipsec whack --trafficstatus
east #
 # only on east, pluto should be attempting to connect to west because it has auto=start
east #
 ipsec showstates
#3: "west-east-auto":500 IKE_SA_INIT_I (sent IKE_SA_INIT request); RETRANSMIT in XXs; idle;
#3: pending Child SA for "west-east-auto"
east #
 # confirm the revive conn code triggered on east
east #
 test ! -r /tmp/pluto.log || grep -E -e '^[^|].* remain up' /tmp/pluto.log
"west-east-auto" #2: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"west-east-auto": reviving connection which received Delete/Notify but must remain up per local policy (serial $1)
east #
 
