/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 add westnet-eastnet-ikev2
"westnet-eastnet-ikev2": added oriented IKEv2 connection
west #
 # delay the helper thread by 5 seconds so that a rereadsecrets can be
west #
 # run while it is "busy"
west #
 ipsec whack --impair helper_thread_delay:5
west #
 ipsec up --asynchronous westnet-eastnet-ikev2
"westnet-eastnet-ikev2" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
west #
 ../../guestbin/wait-for-pluto.sh 'IMPAIR: .* #1: task 1, .* initiate_v2_IKE_SA_INIT_request'
IMPAIR: "westnet-eastnet-ikev2" #1: task 1, dh for initiate_v2_IKE_SA_INIT_request(): helper is pausing for 5 seconds
west #
 ipsec rereadsecrets
forgetting secrets
loading secrets from "/etc/ipsec.secrets"
west #
 ../../guestbin/wait-for-pluto.sh 'IMPAIR: .* #1: task 2, .* process_v2_IKE_SA_INIT_response'
IMPAIR: "westnet-eastnet-ikev2" #1: task 2, dh for process_v2_IKE_SA_INIT_response(): helper is pausing for 5 seconds
west #
 ipsec rereadsecrets
forgetting secrets
loading secrets from "/etc/ipsec.secrets"
west #
 ../../guestbin/wait-for-pluto.sh 'initiator established IKE SA'
"westnet-eastnet-ikev2" #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 3nnn-bit RSASSA-PSS with SHA2_512 digital signature issued by 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'
west #
 ../../guestbin/wait-for-pluto.sh 'IMPAIR: .* #1: task 3, .* submit_v2_IKE_AUTH_request_signature'
IMPAIR: "westnet-eastnet-ikev2" #1: task 3, signature for submit_v2_IKE_AUTH_request_signature(): helper is pausing for 5 seconds
west #
 ipsec rereadsecrets
forgetting secrets
loading secrets from "/etc/ipsec.secrets"
west #
 ../../guestbin/wait-for-pluto.sh 'IMPAIR: .* #1: task 4, .* process_v2_IKE_AUTH_response'
IMPAIR: "westnet-eastnet-ikev2" #1: task 4, decode certificate payload for process_v2_IKE_AUTH_response(): helper is pausing for 5 seconds
west #
 ipsec rereadsecrets
forgetting secrets
loading secrets from "/etc/ipsec.secrets"
west #
 ../../guestbin/wait-for-pluto.sh '#2: initiator established Child SA using #1'
"westnet-eastnet-ikev2" #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}
west #
 ipsec _kernel state
src 192.1.2.45 dst 192.1.2.23
	proto esp spi 0xSPISPI reqid REQID mode tunnel
	replay-window 0 flag af-unspec esn
	aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
	anti-replay esn context:
	 seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX
	 replay_window 0, bitmap-length 0
	dir out
src 192.1.2.23 dst 192.1.2.45
	proto esp spi 0xSPISPI reqid REQID mode tunnel
	replay-window 0 flag af-unspec esn
	aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
	anti-replay esn context:
	 seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX
	 replay_window 128, bitmap-length 4
	 00000000 00000000 00000000 XXXXXXXX 
	dir in
west #
 ipsec _kernel policy
src 192.0.1.0/24 dst 192.0.2.0/24
	dir out priority PRIORITY ptype main
	tmpl src 192.1.2.45 dst 192.1.2.23
		proto esp reqid REQID mode tunnel
src 192.0.2.0/24 dst 192.0.1.0/24
	dir fwd priority PRIORITY ptype main
	tmpl src 192.1.2.23 dst 192.1.2.45
		proto esp reqid REQID mode tunnel
src 192.0.2.0/24 dst 192.0.1.0/24
	dir in priority PRIORITY ptype main
	tmpl src 192.1.2.23 dst 192.1.2.45
		proto esp reqid REQID mode tunnel
west #
