/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec addconn --verbose west
opening file: /etc/ipsec.conf
loading named conns: west
  overiding auto=ignore with auto=add
resolving family=IPv4 src=%eth1 gateway=<not-set> peer 192.1.2.23
  seeking NOTHING
resolving family=IPv4 src=192.1.2.23 gateway=<not-set> peer %eth1
  seeking NOTHING
"west": added IKEv2 connection
west #
 ipsec addconn --verbose west-bogus
opening file: /etc/ipsec.conf
loading named conns: west-bogus
  overiding auto=ignore with auto=add
resolving family=IPv4 src=%bogus1 gateway=<not-set> peer 192.1.2.23
  seeking NOTHING
resolving family=IPv4 src=192.1.2.23 gateway=<not-set> peer %bogus1
  seeking NOTHING
"west-bogus": added unoriented IKEv2 connection (neither left=%bogus1 nor right=192.1.2.23 match an interface)
west #
 echo "initdone"
initdone
west #
 ipsec auto --up west
"west" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"west" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"west" #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" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500
"west" #1: initiator established IKE SA; authenticated peer using authby=secret and ID_FQDN '@west'
"west" #2: initiator established Child SA using #1; IPsec tunnel [192.1.2.45/32===192.1.2.23/32] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
west #
 echo done
done
west #
 
