/testing/guestbin/swan-prep --hostkeys
Creating NSS database containing host keys
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec add westnet-eastnet
"westnet-eastnet": added oriented IKEv1 connection
west #
 ipsec whack --impair revival
west #
 ipsec whack --impair suppress_retransmits
west #
 echo "initdone"
initdone
west #
 ipsec up westnet-eastnet
"westnet-eastnet" #1: initiating IKEv1 Main Mode connection
"westnet-eastnet" #1: sent Main Mode request
"westnet-eastnet" #1: sent Main Mode I2
"westnet-eastnet" #1: sent Main Mode I3
"westnet-eastnet" #1: Peer ID is FQDN: '@east'
"westnet-eastnet" #1: authenticated peer using preloaded certificate '@east' and 2nnn-bit raw RSA with SHA1 signature
"westnet-eastnet" #1: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048}
"westnet-eastnet" #2: initiating Quick Mode IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+UP+IKE_FRAG_ALLOW+ESN_NO+ESN_YES {using isakmp#1 msgid:MSGID proposal=AES_CBC-HMAC_SHA1_96, AES_CBC-HMAC_SHA2_512_256, AES_CBC-HMAC_SHA2_256_128, AES_GCM_16_128, AES_GCM_16_256, 3DES_CBC-HMAC_SHA1_96, 3DES_CBC-HMAC_SHA2_512_256, 3DES_CBC-HMAC_SHA2_256_128 pfsgroup=MODP2048 192.0.1.0/24===192.0.2.0/24}
"westnet-eastnet" #2: sent Quick Mode request
"westnet-eastnet" #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 DPD=passive}
west #
 ipsec down westnet-eastnet
"westnet-eastnet": initiating delete of connection's IPsec SA #2 and ISAKMP SA #1
"westnet-eastnet" #2: deleting IPsec SA (QUICK_I2) and sending notification using ISAKMP SA #1
"westnet-eastnet" #2: ESP traffic information: in=0B out=0B
"westnet-eastnet" #1: deleting ISAKMP SA (MAIN_I4) and sending notification
west #
 ipsec whack --impair truncate_signed_hash:40 # to big
west #
 ipsec up westnet-eastnet
"westnet-eastnet" #3: initiating IKEv1 Main Mode connection
"westnet-eastnet" #3: sent Main Mode request
"westnet-eastnet" #3: sent Main Mode I2
IMPAIR: "westnet-eastnet" #3: NSS: RSA: hash truncated from 32 to 40
"westnet-eastnet" #3: sent Main Mode I3
"westnet-eastnet" #3: ignoring secured informational payload INVALID_KEY_INFORMATION, msgid=MSGID, length=12
"westnet-eastnet" #3: STATE_MAIN_I3: 10 second timeout exceeded after 0 retransmits.  Possible authentication failure: no acceptable response to our first encrypted message
"westnet-eastnet" #3: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
IMPAIR: "westnet-eastnet" #3: revival: skip scheduling CONNECTION_REVIVAL event in 0 seconds
"westnet-eastnet" #3: deleting ISAKMP SA (MAIN_I3) and NOT sending notification
west #
 ipsec down westnet-eastnet
west #
 ipsec whack --impair truncate_signed_hash:16 # to small
west #
 ipsec up westnet-eastnet
"westnet-eastnet" #4: initiating IKEv1 Main Mode connection
"westnet-eastnet" #4: sent Main Mode request
"westnet-eastnet" #4: sent Main Mode I2
IMPAIR: "westnet-eastnet" #4: NSS: RSA: hash truncated from 32 to 16
"westnet-eastnet" #4: sent Main Mode I3
"westnet-eastnet" #4: ignoring secured informational payload INVALID_KEY_INFORMATION, msgid=MSGID, length=12
"westnet-eastnet" #4: STATE_MAIN_I3: 10 second timeout exceeded after 0 retransmits.  Possible authentication failure: no acceptable response to our first encrypted message
"westnet-eastnet" #4: connection is supposed to remain up; revival attempt 2 scheduled in 5 seconds
IMPAIR: "westnet-eastnet" #4: revival: skip scheduling CONNECTION_REVIVAL event in 5 seconds
"westnet-eastnet" #4: deleting ISAKMP SA (MAIN_I3) and NOT sending notification
west #
 ipsec down westnet-eastnet
west #
 ipsec _kernel state
west #
 ipsec _kernel policy
west #
