/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-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2": added IKEv2 connection
west #
 ipsec whack --impair suppress_retransmits
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair revival
west #
 # all is normal
west #
 ipsec auto --up westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-ipv4-psk-ikev2" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-ipv4-psk-ikev2" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_256 group=MODP2048}, initiating IKE_AUTH
"westnet-eastnet-ipv4-psk-ikev2" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500
"westnet-eastnet-ipv4-psk-ikev2" #1: initiator established IKE SA; authenticated peer using authby=secret and ID_FQDN '@east'
"westnet-eastnet-ipv4-psk-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_128-NONE DPD=passive}
west #
 ipsec auto --down westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2": terminating SAs using this connection
"westnet-eastnet-ipv4-psk-ikev2" #1: sent INFORMATIONAL request to delete IKE SA
"westnet-eastnet-ipv4-psk-ikev2" #2: ESP traffic information: in=0B out=0B
"westnet-eastnet-ipv4-psk-ikev2" #1: deleting IKE SA (established IKE SA)
west #
 # TSi
west #
 ipsec whack --impair number_of_TSi_selectors:0
west #
 ipsec auto --up westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2" #3: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-ipv4-psk-ikev2" #3: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-ipv4-psk-ikev2" #3: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_256 group=MODP2048}, initiating IKE_AUTH
"westnet-eastnet-ipv4-psk-ikev2" #3: IMPAIR: forcing number of local TSi selectors from 1 to 0
"westnet-eastnet-ipv4-psk-ikev2" #3: sent IKE_AUTH request to 192.1.2.23:UDP/500
"westnet-eastnet-ipv4-psk-ikev2" #3: initiator established IKE SA; authenticated peer using authby=secret and ID_FQDN '@east'
"westnet-eastnet-ipv4-psk-ikev2" #4: IKE_AUTH response rejected Child SA with TS_UNACCEPTABLE
"westnet-eastnet-ipv4-psk-ikev2" #4: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet-ipv4-psk-ikev2" #4: IMPAIR: revival: skip scheduling revival event
west #
 ipsec auto --down westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2": terminating SAs using this connection
"westnet-eastnet-ipv4-psk-ikev2" #3: sent INFORMATIONAL request to delete IKE SA
"westnet-eastnet-ipv4-psk-ikev2" #3: deleting IKE SA (established IKE SA)
west #
 ipsec whack --impair number_of_TSi_selectors:no
west #
 # TSr
west #
 ipsec whack --impair number_of_TSr_selectors:2
west #
 ipsec auto --up westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2" #5: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-ipv4-psk-ikev2" #5: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-ipv4-psk-ikev2" #5: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_256 group=MODP2048}, initiating IKE_AUTH
"westnet-eastnet-ipv4-psk-ikev2" #5: IMPAIR: forcing number of remote TSr selectors from 1 to 2
"westnet-eastnet-ipv4-psk-ikev2" #5: sent IKE_AUTH request to 192.1.2.23:UDP/500
"westnet-eastnet-ipv4-psk-ikev2" #5: initiator established IKE SA; authenticated peer using authby=secret and ID_FQDN '@east'
"westnet-eastnet-ipv4-psk-ikev2" #6: IKE_AUTH response rejected Child SA with TS_UNACCEPTABLE
"westnet-eastnet-ipv4-psk-ikev2" #6: connection is supposed to remain up; revival attempt 2 scheduled in 5 seconds
"westnet-eastnet-ipv4-psk-ikev2" #6: IMPAIR: revival: skip scheduling revival event
west #
 ipsec auto --down westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2": terminating SAs using this connection
"westnet-eastnet-ipv4-psk-ikev2" #5: sent INFORMATIONAL request to delete IKE SA
"westnet-eastnet-ipv4-psk-ikev2" #5: deleting IKE SA (established IKE SA)
west #
 ipsec whack --impair number_of_TSr_selectors:no
west #
 echo done
done
west #
 hostname | grep east > /dev/null && grep "byte at offset" /tmp/pluto.log
west #
 
