/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair revival
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec auto --add west-east
"west-east/1x0": added IKEv2 connection
"west-east/2x0": added IKEv2 connection
"west-east/3x0": added IKEv2 connection
"west-east/4x0": added IKEv2 connection
west #
 sleep 4
west #
 echo "initdone"
initdone
west #
 # IKE: #1 CHILD: #2, #3, #4, and #5
west #
 ipsec auto --up west-east
initiating all connections with alias "west-east"
"west-east/1x0" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"west-east/2x0": queue Child SA; waiting on IKE SA "west-east/1x0" #1 negotiating with 192.1.2.23
"west-east/3x0": queue Child SA; waiting on IKE SA "west-east/1x0" #1 negotiating with 192.1.2.23
"west-east/4x0": queue Child SA; waiting on IKE SA "west-east/1x0" #1 negotiating with 192.1.2.23
initiating 4 connections
"west-east/1x0" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"west-east/1x0" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"west-east/1x0" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500
"west-east/1x0" #1: initiator established IKE SA; authenticated peer using authby=secret and ID_FQDN '@east'
"west-east/1x0" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.254/32===192.0.2.254/32] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
"west-east/2x0" #3: initiating Child SA using IKE SA #1
"west-east/3x0" #4: initiating Child SA using IKE SA #1
"west-east/4x0" #5: initiating Child SA using IKE SA #1
"west-east/2x0" #3: sent CREATE_CHILD_SA request to create Child SA using IKE SA #1
"west-east/2x0" #3: initiator established Child SA using #1; IPsec tunnel [192.0.1.253/32===192.0.2.254/32] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
"west-east/3x0" #4: sent CREATE_CHILD_SA request to create Child SA using IKE SA #1
"west-east/3x0" #4: initiator established Child SA using #1; IPsec tunnel [192.0.1.252/32===192.0.2.254/32] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
"west-east/4x0" #5: sent CREATE_CHILD_SA request to create Child SA using IKE SA #1
"west-east/4x0" #5: initiator established Child SA using #1; IPsec tunnel [192.0.1.251/32===192.0.2.254/32] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
west #
 # CHILD #2->#6
west #
 ipsec whack --rekey-child --name west-east/1x0 --async
west #
 # CHILD #3->#7
west #
 ipsec whack --rekey-child --name west-east/2x0 --async
west #
 # CHILD #4->#8
west #
 ipsec whack --rekey-child --name west-east/3x0 --async
west #
 # CHILD #5->#9
west #
 ipsec whack --rekey-child --name west-east/4x0 --async
west #
 # state #1 in ESTABLISHED_IKE_SA, and #6, #7, #8 and #9 in
west #
 # ESTABLISHED_CHILD_SA anything other state is a sign of
west #
 # regression
west #
 ../../guestbin/wait-for.sh --match '#6:' -- ipsec trafficstatus
#6: "west-east/1x0", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
west #
 ../../guestbin/wait-for.sh --match '#7:' -- ipsec trafficstatus
#7: "west-east/2x0", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
west #
 ../../guestbin/wait-for.sh --match '#8:' -- ipsec trafficstatus
#8: "west-east/3x0", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
west #
 ../../guestbin/wait-for.sh --match '#9:' -- ipsec trafficstatus
#9: "west-east/4x0", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
west #
 ../../guestbin/wait-for.sh --no-match '#5:' -- ipsec trafficstatus
west #
 ipsec whack --trafficstatus
#6: "west-east/1x0", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
#7: "west-east/2x0", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
#8: "west-east/3x0", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
#9: "west-east/4x0", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
west #
 # policies and state should be multiple
west #
 
