/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-aggr
"westnet-eastnet-aggr": added IKEv1 connection
west #
 echo "initdone"
initdone
west #
 # create a partial state on east, don't hold the hack for retransmit
west #
 ipsec whack --impair drop_i2
west #
 ipsec whack --impair timeout_on_retransmit
west #
 ipsec whack --impair revival
west #
 ipsec auto --up westnet-eastnet-aggr
"westnet-eastnet-aggr" #1: initiating IKEv1 Aggressive Mode connection
"westnet-eastnet-aggr" #1: sent Aggressive Mode request
"westnet-eastnet-aggr" #1: IMPAIR: retransmit so timing out SA (may retry)
"westnet-eastnet-aggr" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet-aggr" #1: IMPAIR: revival: skip scheduling revival event
"westnet-eastnet-aggr" #1: deleting ISAKMP SA (AGGR_I1) and NOT sending notification
west #
 # we are waiting for east to expire the partial IKE state in 1+1+2+4+8+16+32 secs
west #
 sleep 30
west #
 sleep 30
west #
 sleep 10
west #
 echo done
done
west #
 # on east, we should see no more partial state
west #
 ipsec showstates
west #
 
