/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-one
"westnet-eastnet-one": added IKEv2 connection
west #
 ipsec auto --add westnet-eastnet-two
"westnet-eastnet-two": added IKEv2 connection
west #
 ipsec auto --add westnet-eastnet-three
"westnet-eastnet-three": added IKEv2 connection
west #
 echo "initdone"
initdone
west #
 ipsec auto --up westnet-eastnet-two
"westnet-eastnet-two" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-two" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-two" #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
"westnet-eastnet-two" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500
"westnet-eastnet-two" #1: initiator established IKE SA; authenticated peer using preloaded certificate '@east' and 2nnn-bit RSASSA-PSS with SHA2_512 digital signature
"westnet-eastnet-two" #2: initiator established Child SA using #1; IPsec tunnel [192.1.1.0/24===192.1.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
west #
 ipsec auto --up westnet-eastnet-one
"westnet-eastnet-one" #3: initiating Child SA using IKE SA #1
"westnet-eastnet-one" #3: sent CREATE_CHILD_SA request to create Child SA using IKE SA #1
"westnet-eastnet-one" #3: 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-NONE-DH19 DPD=passive}
west #
 ipsec auto --up westnet-eastnet-three
"westnet-eastnet-three" #4: initiating Child SA using IKE SA #1
"westnet-eastnet-three" #4: sent CREATE_CHILD_SA request to create Child SA using IKE SA #1
"westnet-eastnet-three" #4: initiator established Child SA using #1; IPsec tunnel [192.2.1.0/24===192.2.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE-DH19 DPD=passive}
west #
 echo done
done
west #
 ipsec whack --shutdown
west #
 
