/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2": added IKEv1 connection
west #
 echo "initdone"
initdone
west #
 # don't come back
west #
 ipsec whack --impair revival
west #
 # expect quick fail
west #
 ipsec whack --impair ke_payload:omit
west #
 ipsec whack --impair timeout_on_retransmit
west #
 ipsec auto --up westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2" #1: initiating IKEv1 Main Mode connection
"westnet-eastnet-ipv4-psk-ikev2" #1: sent Main Mode request
"westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: sending no KE (g^x) payload
"westnet-eastnet-ipv4-psk-ikev2" #1: sent Main Mode I2
"westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: retransmit so timing out SA (may retry)
"westnet-eastnet-ipv4-psk-ikev2" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: revival: skip scheduling revival event
"westnet-eastnet-ipv4-psk-ikev2" #1: deleting ISAKMP SA (MAIN_I2) and NOT sending notification
west #
 ipsec whack --impair none
west #
 # expect slower fail
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec auto --up westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2" #2: initiating IKEv1 Main Mode connection
"westnet-eastnet-ipv4-psk-ikev2" #2: sent Main Mode request
"westnet-eastnet-ipv4-psk-ikev2" #2: sent Main Mode I2
"westnet-eastnet-ipv4-psk-ikev2" #2: message for STATE_MAIN_I2 is missing payloads KE
"westnet-eastnet-ipv4-psk-ikev2" #2: message for STATE_MAIN_I2 is missing payloads KE
"westnet-eastnet-ipv4-psk-ikev2" #2: message for STATE_MAIN_I2 is missing payloads KE
"westnet-eastnet-ipv4-psk-ikev2" #2: message for STATE_MAIN_I2 is missing payloads KE
"westnet-eastnet-ipv4-psk-ikev2" #2: message for STATE_MAIN_I2 is missing payloads KE
"westnet-eastnet-ipv4-psk-ikev2" #2: message for STATE_MAIN_I2 is missing payloads KE
"westnet-eastnet-ipv4-psk-ikev2" #2: message for STATE_MAIN_I2 is missing payloads KE
"westnet-eastnet-ipv4-psk-ikev2" #2: message for STATE_MAIN_I2 is missing payloads KE
"westnet-eastnet-ipv4-psk-ikev2" #2: STATE_MAIN_I2: 60 second timeout exceeded after 0 retransmits.  No response (or no acceptable response) to our IKEv1 message
"westnet-eastnet-ipv4-psk-ikev2" #2: connection is supposed to remain up; revival attempt 2 scheduled in 5 seconds
"westnet-eastnet-ipv4-psk-ikev2" #2: deleting ISAKMP SA (MAIN_I2) and NOT sending notification
west #
 echo done
done
west #
 ../../guestbin/ipsec-kernel-state.sh
west #
 ../../guestbin/ipsec-kernel-policy.sh
west #
 
