/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 ipsec auto --add ikev1
002 "ikev1": added IKEv1 connection
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair delete-on-retransmit --impair revival
west #
 # should fail
west #
 ipsec auto --up ikev1
002 "ikev1" #1: initiating IKEv1 Main Mode connection
1v1 "ikev1" #1: sent Main Mode request
002 "ikev1" #1: IMPAIR: retransmit so deleting SA
002 "ikev1" #1: deleting state (STATE_MAIN_I1) and NOT sending notification
002 "ikev1" #1: IMPAIR: skipping revival of connection that is supposed to remain up
west #
 echo done
done
west #
 hostname | grep east > /dev/null && grep "ignoring IKEv1 packet" /tmp/pluto.log
west #
 hostname | grep east > /dev/null && (grep "sending notification INVALID_MAJOR_VERSION" /tmp/pluto.log >/dev/null && echo "A reply SHOULD NOT have been sent")
west #
 ../bin/check-for-core.sh
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi
west #
 
