/testing/guestbin/swan-prep
west #
 ipsec _stackmanager start
west #
 ipsec pluto --config /etc/ipsec.conf --leak-detective
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 ipsec whack --impair suppress-retransmits
west #
 ipsec auto --add westnet-eastnet-ipv4-psk-ikev2
002 added connection description "westnet-eastnet-ipv4-psk-ikev2"
west #
 echo "initdone"
initdone
west #
 ipsec auto --up  westnet-eastnet-ipv4-psk-ikev2
002 "westnet-eastnet-ipv4-psk-ikev2" #1: initiating v2 parent SA
1v2 "westnet-eastnet-ipv4-psk-ikev2" #1: initiate
1v2 "westnet-eastnet-ipv4-psk-ikev2" #1: STATE_PARENT_I1: sent v2I1, expected v2R1
1v2 "westnet-eastnet-ipv4-psk-ikev2" #2: STATE_PARENT_I2: sent v2I2, expected v2R2 {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048}
002 "westnet-eastnet-ipv4-psk-ikev2" #2: IKE_AUTH response contained the error notification NO_PROPOSAL_CHOSEN
000 "westnet-eastnet-ipv4-psk-ikev2" #2: scheduling retry attempt 1 of an unlimited number, but releasing whack
west #
 echo done
done
west #
 grep NO_PROPOSAL_CHOSEN /tmp/pluto.log
|    Notify Message Type: v2N_NO_PROPOSAL_CHOSEN (0xe)
"westnet-eastnet-ipv4-psk-ikev2" #2: IKE_AUTH response contained the error notification NO_PROPOSAL_CHOSEN
west #
 ipsec whack --shutdown
002 shutting down
west #
 grep leak /tmp/pluto.log
leak-detective enabled
leak detective found no leaks
west #
west #
 ../bin/check-for-core.sh
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

