/testing/guestbin/swan-prep --nokeys
Initializing NSS database
west #
 # we can't test the packetflow as we are going to redirect
west #
 ../../guestbin/ip-route.sh del 192.0.2.0/24
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec add west
"west": added oriented IKEv2 connection
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair revival
west #
 ipsec whack --impair send_no_ikev2_auth
west #
 ipsec up west --async
"west" #1: initiating IKEv2 connection to 192.1.2.23 using TCP
west #
 ../../guestbin/wait-for-pluto.sh --match '#1: sent IKE_SA_INIT request'
"west" #1: sent IKE_SA_INIT request to 192.1.2.23:TCP/4500
west #
 ../../guestbin/wait-for-pluto.sh --match 'IMPAIR: .* not sending IKE_AUTH packet'
IMPAIR: "west" #1: SEND_NO_IKEV2_AUTH set - not sending IKE_AUTH packet
west #
 pkill pluto
west #
 echo done
done
west #
 sleep 2
west #
 ipsec _kernel state
west #
 ipsec _kernel policy
west #
 # confirm east is in unrouted state again
west #
 hostname | grep east > /dev/null && ipsec status | grep "[.][.][.]"
west #
