/testing/guestbin/swan-prep --nokeys
Initializing NSS database
west #
 /testing/x509/import.sh real/mainca/west.p12
 ipsec pk12util -w nss-pw -i real/mainca/west.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
 ipsec certutil -M -n mainca -t CT,,
 ipsec certutil -O -n west
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "west" [E=user-west@testing.libreswan.org,CN=west.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
west #
 /testing/x509/import.sh real/mainca/east.end.cert
 ipsec certutil -A -n east -t P,, -i real/mainca/east.end.cert
 ipsec certutil -O -n east
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "east" [E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec whack --impair revival
west #
 echo "initdone"
initdone
west #
 # this should negotiate dh19, dh20, dh21
west #
 ../../guestbin/pluto-up-down.sh leftcert=west 'ike=aes;dh19+dh20+dh21;addke1=dh19+dh20+dh21;addke2=dh19+dh20+dh21' -- -I 192.0.1.254 192.0.2.254
 ipsec start
Redirecting to: [initsystem]
 ipsec addconn --name algo leftcert=west ike=aes;dh19+dh20+dh21;addke1=dh19+dh20+dh21;addke2=dh19+dh20+dh21
"algo": added oriented IKEv2 connection
 ipsec up algo
"algo" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"algo" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"algo" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_CBC_256 integ=HMAC_SHA2_512_256 prf=HMAC_SHA2_512 ke=DH19 addke1=DH20 addke2=DH21}, initiating IKE_INTERMEDIATE
"algo" #1: sent IKE_INTERMEDIATE request to 192.1.2.23:UDP/500 {addke1=DH20}
"algo" #1: processing IKE_INTERMEDIATE response from 192.1.2.23:UDP/500 containing SK{KE}
"algo" #1: initiator processed IKE_INTERMEDIATE, initiating IKE_INTERMEDIATE
"algo" #1: sent IKE_INTERMEDIATE request to 192.1.2.23:UDP/500 {addke2=DH21}
"algo" #1: processing IKE_INTERMEDIATE response from 192.1.2.23:UDP/500 containing SK{KE}
"algo" #1: initiator processed IKE_INTERMEDIATE, initiating IKE_AUTH
"algo" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 with rsa-digital-signature and DER_ASN1_DN 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=west.testing.libreswan.org, E=user-west@testing.libreswan.org'; Child SA #2 {ESP <0xESPESP} [192.0.1.0/24===192.0.2.0/24]
"algo" #1: processing IKE_AUTH response from 192.1.2.23:UDP/500 containing SK{IDr,CERT,AUTH,SA,TSi,TSr} reassembled from N fragments
"algo" #1: initiator established IKE SA; authenticated peer certificate 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' and 3072-bit PKCS#1 1.5 RSA with SHA1 signature issued by 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'
"algo" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.0/24===192.0.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256 DPD=passive}
 ../../guestbin/wait-until-alive -I 192.0.1.254 192.0.2.254
destination -I 192.0.1.254 192.0.2.254 is alive
 ipsec stop
Redirecting to: [initsystem]
west #
 # this should negotiate dh19, dh20, dh21
west #
 ../../guestbin/pluto-up-down.sh leftcert=west 'ike=aes;dh19+dh20+dh21;addke1=dh20+dh21+dh19;addke2=dh21+dh19+dh20' -- -I 192.0.1.254 192.0.2.254
 ipsec start
Redirecting to: [initsystem]
 ipsec addconn --name algo leftcert=west ike=aes;dh19+dh20+dh21;addke1=dh20+dh21+dh19;addke2=dh21+dh19+dh20
"algo": added oriented IKEv2 connection
 ipsec up algo
"algo" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"algo" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"algo" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_CBC_256 integ=HMAC_SHA2_512_256 prf=HMAC_SHA2_512 ke=DH19 addke1=DH20 addke2=DH21}, initiating IKE_INTERMEDIATE
"algo" #1: sent IKE_INTERMEDIATE request to 192.1.2.23:UDP/500 {addke1=DH20}
"algo" #1: processing IKE_INTERMEDIATE response from 192.1.2.23:UDP/500 containing SK{KE}
"algo" #1: initiator processed IKE_INTERMEDIATE, initiating IKE_INTERMEDIATE
"algo" #1: sent IKE_INTERMEDIATE request to 192.1.2.23:UDP/500 {addke2=DH21}
"algo" #1: processing IKE_INTERMEDIATE response from 192.1.2.23:UDP/500 containing SK{KE}
"algo" #1: initiator processed IKE_INTERMEDIATE, initiating IKE_AUTH
"algo" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 with rsa-digital-signature and DER_ASN1_DN 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=west.testing.libreswan.org, E=user-west@testing.libreswan.org'; Child SA #2 {ESP <0xESPESP} [192.0.1.0/24===192.0.2.0/24]
"algo" #1: processing IKE_AUTH response from 192.1.2.23:UDP/500 containing SK{IDr,CERT,AUTH,SA,TSi,TSr} reassembled from N fragments
"algo" #1: initiator established IKE SA; authenticated peer certificate 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' and 3072-bit PKCS#1 1.5 RSA with SHA1 signature issued by 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'
"algo" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.0/24===192.0.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256 DPD=passive}
 ../../guestbin/wait-until-alive -I 192.0.1.254 192.0.2.254
destination -I 192.0.1.254 192.0.2.254 is alive
 ipsec stop
Redirecting to: [initsystem]
west #
 # this should negotiate dh19, none, dh21
west #
 ../../guestbin/pluto-up-down.sh leftcert=west 'ike=aes;dh19+dh20+dh21;addke1=none;addke2=dh21+dh19+dh20'           -- -I 192.0.1.254 192.0.2.254
 ipsec start
Redirecting to: [initsystem]
 ipsec addconn --name algo leftcert=west ike=aes;dh19+dh20+dh21;addke1=none;addke2=dh21+dh19+dh20
"algo": added oriented IKEv2 connection
 ipsec up algo
"algo" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"algo" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"algo" #1: dropping ADDKE1=NONE from list of negotiated IKE_INTERMEDIATE exchanges
"algo" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_CBC_256 integ=HMAC_SHA2_512_256 prf=HMAC_SHA2_512 ke=DH19 addke2=DH20}, initiating IKE_INTERMEDIATE
"algo" #1: sent IKE_INTERMEDIATE request to 192.1.2.23:UDP/500 {addke2=DH20}
"algo" #1: processing IKE_INTERMEDIATE response from 192.1.2.23:UDP/500 containing SK{KE}
"algo" #1: initiator processed IKE_INTERMEDIATE, initiating IKE_AUTH
"algo" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 with rsa-digital-signature and DER_ASN1_DN 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=west.testing.libreswan.org, E=user-west@testing.libreswan.org'; Child SA #2 {ESP <0xESPESP} [192.0.1.0/24===192.0.2.0/24]
"algo" #1: processing IKE_AUTH response from 192.1.2.23:UDP/500 containing SK{IDr,CERT,AUTH,SA,TSi,TSr} reassembled from N fragments
"algo" #1: initiator established IKE SA; authenticated peer certificate 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' and 3072-bit PKCS#1 1.5 RSA with SHA1 signature issued by 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'
"algo" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.0/24===192.0.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256 DPD=passive}
 ../../guestbin/wait-until-alive -I 192.0.1.254 192.0.2.254
destination -I 192.0.1.254 192.0.2.254 is alive
 ipsec stop
Redirecting to: [initsystem]
west #
 # this fail; no backtracking so ADDKE2 fails
west #
 ../../guestbin/pluto-up-down.sh leftcert=west 'ike=aes;dh19+dh20+dh21;addke1=dh19+dh20+dh21;addke2=dh19+dh20'
 ipsec start
Redirecting to: [initsystem]
 ipsec addconn --name algo leftcert=west ike=aes;dh19+dh20+dh21;addke1=dh19+dh20+dh21;addke2=dh19+dh20
"algo": added oriented IKEv2 connection
 ipsec up algo
"algo" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"algo" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"algo" #1: ignoring IKE_SA_INIT response containing NO_PROPOSAL_CHOSEN notification (Message ID 0; message payloads N, missing SA,KE,Ni)
"algo" #1: IKE_SA_INIT_I: 10 second timeout exceeded after 0 retransmits.  No response (or no acceptable response) to our first IKEv2 message
"algo" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"algo" #1: deleting IKE SA (sent IKE_SA_INIT request)
west #
