/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: systemctl start ipsec.service
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 ipsec whack --debug-all --impair-send-bogus-dcookie
west #
 ipsec auto --add westnet-eastnet-ikev2
002 added connection description "westnet-eastnet-ikev2"
west #
 echo "initdone"
initdone
west #
 # expected to fail due to bad dcookie
west #
 ipsec auto --up  westnet-eastnet-ikev2
002 "westnet-eastnet-ikev2" #1: initiating v2 parent SA
133 "westnet-eastnet-ikev2" #1: STATE_PARENT_I1: initiate
133 "westnet-eastnet-ikev2" #1: STATE_PARENT_I1: sent v2I1, expected v2R1
010 "westnet-eastnet-ikev2" #1: STATE_PARENT_I1: retransmission; will wait 1000ms for response
010 "westnet-eastnet-ikev2" #1: STATE_PARENT_I1: retransmission; will wait 2000ms for response
010 "westnet-eastnet-ikev2" #1: STATE_PARENT_I1: retransmission; will wait 4000ms for response
031 "westnet-eastnet-ikev2" #1: max number of retransmissions (4) reached STATE_PARENT_I1.  No response (or no acceptable response) to our first IKEv2 message
000 "westnet-eastnet-ikev2" #1: starting keying attempt 2 of an unlimited number, but releasing whack
west #
 echo done
done
west #
west #
 if [ -n "`ls /tmp/core* 2>/dev/null`" ]; then echo CORE FOUND; mv /tmp/core* OUTPUT/; fi
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

