/testing/guestbin/swan-prep --nokeys --46
Initializing NSS database
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec add west-east-psk
"west-east-psk-ipv4": added oriented IKEv2 connection
"west-east-psk-ipv6": added oriented IKEv2 connection
west #
 ipsec whack --impair suppress_retransmits
west #
 echo "initdone"
initdone
west #
 ipsec up west-east-psk-ipv4
"west-east-psk-ipv4" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"west-east-psk-ipv4" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"west-east-psk-ipv4" #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 ke=DH19}, initiating IKE_AUTH
"west-east-psk-ipv4" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 with shared-key-mac and IPV4_ADDR '192.1.2.45'; Child SA #2 {ESP <0xESPESP} [192.0.1.0/24===192.0.2.0/24]
"west-east-psk-ipv4" #1: processing IKE_AUTH response from 192.1.2.23:UDP/500 containing SK{IDr,AUTH,SA,TSi,TSr}
"west-east-psk-ipv4" #1: initiator established IKE SA; authenticated peer using authby=secret and FQDN '@east'
"west-east-psk-ipv4" #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 #
 ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254
up
west #
 ipsec trafficstatus
#2: "west-east-psk-ipv4", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@east'
west #
 ipsec down west-east-psk-ipv4
"west-east-psk-ipv4": initiating delete of connection's IKE SA #1 (and Child SA #2)
"west-east-psk-ipv4" #1: sent INFORMATIONAL request to delete IKE SA
"west-east-psk-ipv4" #2: ESP traffic information: in=84B out=84B
"west-east-psk-ipv4" #1: deleting IKE SA (established IKE SA)
west #
 ipsec up west-east-psk-ipv6
"west-east-psk-ipv6" #3: initiating IKEv2 connection to 2001:db8:1:2::23 using UDP
"west-east-psk-ipv6" #3: sent IKE_SA_INIT request to [2001:db8:1:2::23]:UDP/500
"west-east-psk-ipv6" #3: processed IKE_SA_INIT response from [2001:db8:1:2::23]:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 ke=DH19}, initiating IKE_AUTH
"west-east-psk-ipv6" #3: sent IKE_AUTH request to [2001:db8:1:2::23]:UDP/500 with shared-key-mac and IPV6_ADDR '2001:db8:1:2::45'; Child SA #4 {ESP <0xESPESP} [192.0.1.0/24===192.0.2.0/24]
"west-east-psk-ipv6" #3: processing IKE_AUTH response from [2001:db8:1:2::23]:UDP/500 containing SK{IDr,AUTH,SA,TSi,TSr}
"west-east-psk-ipv6" #3: initiator established IKE SA; authenticated peer using authby=secret and FQDN '@east'
"west-east-psk-ipv6" #4: initiator established Child SA using #3; IPsec tunnel [192.0.1.0/24===192.0.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256 DPD=passive}
west #
 ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254
up
west #
 ipsec trafficstatus
#4: "west-east-psk-ipv6", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@east'
west #
 ipsec down west-east-psk-ipv6
"west-east-psk-ipv6": initiating delete of connection's IKE SA #3 (and Child SA #4)
"west-east-psk-ipv6" #3: sent INFORMATIONAL request to delete IKE SA
"west-east-psk-ipv6" #4: ESP traffic information: in=84B out=84B
"west-east-psk-ipv6" #3: deleting IKE SA (established IKE SA)
west #
 echo done
done
west #
 ipsec whack --trafficstatus
west #
