/testing/guestbin/swan-prep
west #
 # confirm that the network is alive
west #
 ../../guestbin/wait-until-alive -I 192.0.1.254 192.0.2.254
destination -I 192.0.1.254 192.0.2.254 is alive
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add replay
"replay": added IKEv2 connection
west #
 ipsec whack --impair suppress_retransmits
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair revival
west #
 # should fail to establish
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec auto --up replay
"replay" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"replay" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"replay" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"replay" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500
"replay" #1: initiator established IKE SA; authenticated peer using preloaded certificate '@east' and 2nnn-bit RSASSA-PSS with SHA2_512 digital signature
"replay" #2: IKE_AUTH response rejected Child SA with NO_PROPOSAL_CHOSEN
"replay" #2: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"replay" #2: IMPAIR: revival: skip scheduling revival event
west #
 echo done
done
west #
 #
west #
 
