/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: systemctl start ipsec.service
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-mismatch
002 added connection description "westnet-eastnet-mismatch"
west #
 echo "initdone"
initdone
west #
 ipsec auto --up  westnet-eastnet-mismatch
002 "westnet-eastnet-mismatch" #1: initiating v2 parent SA
1v2 "westnet-eastnet-mismatch" #1: initiate
1v2 "westnet-eastnet-mismatch" #1: STATE_PARENT_I1: sent v2I1, expected v2R1
002 "westnet-eastnet-mismatch" #1: WARNING: connection westnet-eastnet-mismatch PSK length of 6 bytes is too short for sha2_512 PRF in FIPS mode (32 bytes required)
1v2 "westnet-eastnet-mismatch" #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-mismatch" #2: IKE_AUTH response contained the error notification TS_UNACCEPTABLE
000 "westnet-eastnet-mismatch" #2: scheduling retry attempt 1 of an unlimited number, but releasing whack
west #
 echo done
done
west #
 # this should not match anything
west #
 grep v2N_INVALID_MESSAGE_ID /tmp/pluto.log
west #
 # this shows we returned the error in IKE_AUTH
west #
 grep "exchange type:" /tmp/pluto.log
|    exchange type: ISAKMP_v2_IKE_SA_INIT (0x22)
|    exchange type: ISAKMP_v2_IKE_SA_INIT (0x22)
|    exchange type: ISAKMP_v2_IKE_AUTH (0x23)
|    exchange type: ISAKMP_v2_IKE_AUTH (0x23)
west #
west #
 ../bin/check-for-core.sh
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

