/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
002 "westnet-eastnet-ipv4-psk-ikev2": added IKEv2 connection
west #
 echo "initdone"
initdone
west #
 # should fail fast
west #
 ipsec whack --impair revival
west #
 ipsec whack --impair ke-payload:empty
west #
 ipsec whack --impair delete-on-retransmit
west #
 ipsec auto --up westnet-eastnet-ipv4-psk-ikev2
1v2 "westnet-eastnet-ipv4-psk-ikev2" #1: initiating IKEv2 connection
002 "westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: sending an empty KE value
1v2 "westnet-eastnet-ipv4-psk-ikev2" #1: sent IKE_SA_INIT request
003 "westnet-eastnet-ipv4-psk-ikev2" #1: dropping unexpected IKE_SA_INIT message containing INVALID_SYNTAX notification; message payloads: N; missing payloads: SA,KE,Ni
002 "westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: retransmit so deleting SA
002 "westnet-eastnet-ipv4-psk-ikev2" #1: deleting state (STATE_V2_PARENT_I1) and NOT sending notification
002 "westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: skipping revival of connection that is supposed to remain up
west #
 ipsec whack --impair none
west #
 # expected to fail with a timeout
west #
 ipsec whack --impair revival
west #
 ipsec whack --impair suppress-retransmits
west #
 ipsec auto --up westnet-eastnet-ipv4-psk-ikev2
1v2 "westnet-eastnet-ipv4-psk-ikev2" #2: initiating IKEv2 connection
1v2 "westnet-eastnet-ipv4-psk-ikev2" #2: sent IKE_SA_INIT request
003 "westnet-eastnet-ipv4-psk-ikev2" #2: KE has 0 byte DH public value; 256 required
036 "westnet-eastnet-ipv4-psk-ikev2" #2: encountered fatal error in state STATE_V2_PARENT_I1
002 "westnet-eastnet-ipv4-psk-ikev2" #2: deleting state (STATE_V2_PARENT_I1) and NOT sending notification
002 "westnet-eastnet-ipv4-psk-ikev2" #2: IMPAIR: skipping revival of connection that is supposed to remain up
west #
 echo done
done
west #
 
