/testing/guestbin/swan-prep --x509 Preparing X.509 files west # certutil -D -d sql:/etc/ipsec.d -n road west # certutil -D -d sql:/etc/ipsec.d -n east west # ipsec start Redirecting to: [initsystem] west # /testing/pluto/bin/wait-until-pluto-started west # ipsec auto --add nss-cert-incorrect 002 added connection description "nss-cert-incorrect" west # ipsec auto --add nss-cert-correct 002 added connection description "nss-cert-correct" west # ipsec whack --impair suppress-retransmits west # echo "initdone" initdone west # # the impair causes memory corruption and a crash ? west # ipsec whack --impair suppress-retransmits west # # should succeed west # ipsec auto --up nss-cert-correct 002 "nss-cert-correct" #1: initiating v2 parent SA 1v2 "nss-cert-correct" #1: initiate 1v2 "nss-cert-correct" #1: STATE_PARENT_I1: sent v2I1, expected v2R1 1v2 "nss-cert-correct" #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 "nss-cert-correct" #2: IKE SA authentication request rejected by peer: AUTHENTICATION_FAILED 000 "nss-cert-correct" #2: scheduling retry attempt 1 of an unlimited number, but releasing whack west # ipsec auto --down nss-cert-correct 002 "nss-cert-correct": terminating SAs using this connection 002 "nss-cert-correct" #2: deleting state (STATE_PARENT_I2) and NOT sending notification 002 "nss-cert-correct" #1: deleting state (STATE_PARENT_I2) and NOT sending notification west # # should fail on mismatched ID west # ipsec auto --up nss-cert-incorrect 002 "nss-cert-incorrect" #3: initiating v2 parent SA 1v2 "nss-cert-incorrect" #3: initiate 1v2 "nss-cert-incorrect" #3: STATE_PARENT_I1: sent v2I1, expected v2R1 1v2 "nss-cert-incorrect" #4: STATE_PARENT_I2: sent v2I2, expected v2R2 {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048} 002 "nss-cert-incorrect" #4: IKE SA authentication request rejected by peer: AUTHENTICATION_FAILED 000 "nss-cert-incorrect" #4: scheduling retry attempt 1 of an unlimited number, but releasing whack west # echo done done west # west # ../bin/check-for-core.sh west # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi