/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-mismatch
"westnet-eastnet-mismatch": added IKEv2 connection
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair revival
west #
 ipsec whack --impair revival
west #
 ipsec auto --up westnet-eastnet-mismatch
"westnet-eastnet-mismatch" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-mismatch" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-mismatch" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"westnet-eastnet-mismatch" #1: WARNING: '@west' PSK length of 6 bytes is too short for PRF HMAC_SHA2_512 in FIPS mode (32 bytes required)
"westnet-eastnet-mismatch" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500
"westnet-eastnet-mismatch" #1: WARNING: '@west' PSK length of 6 bytes is too short for PRF HMAC_SHA2_512 in FIPS mode (32 bytes required)
"westnet-eastnet-mismatch" #1: initiator established IKE SA; authenticated peer using authby=secret and ID_FQDN '@east'
"westnet-eastnet-mismatch" #2: IKE_AUTH response rejected Child SA with TS_UNACCEPTABLE
"westnet-eastnet-mismatch" #2: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet-mismatch" #2: IMPAIR: revival: skip scheduling revival event
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 #
 
