/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
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 westnet-eastnet-ikev2-major
"westnet-eastnet-ikev2-major": added IKEv2 connection
west #
 ipsec whack --impair timeout_on_retransmit
west #
 echo "initdone"
initdone
west #
 ipsec auto --up westnet-eastnet-ikev2-major
"westnet-eastnet-ikev2-major" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-ikev2-major" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-ikev2-major" #1: IMPAIR: retransmit so timing out SA (may retry)
"westnet-eastnet-ikev2-major" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet-ikev2-major" #1: deleting IKE SA (sent IKE_SA_INIT request)
west #
 echo done
done
west #
 grep "INVALID_MAJOR_VERSION" /tmp/pluto.log >/dev/null && echo payload found
payload found
west #
 
