/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-chacha
002 "westnet-eastnet-chacha": added IKEv2 connection
west #
 echo "initdone"
initdone
west #
 ipsec auto --up westnet-eastnet-chacha
1v2 "westnet-eastnet-chacha" #1: initiating IKEv2 connection
1v2 "westnet-eastnet-chacha" #1: sent IKE_SA_INIT request to 192.1.2.23:500
1v2 "westnet-eastnet-chacha" #1: sent IKE_AUTH request {cipher=CHACHA20_POLY1305_256 integ=n/a prf=HMAC_SHA2_256 group=MODP2048}
003 "westnet-eastnet-chacha" #1: initiator established IKE SA; authenticated peer using authby=secret and ID_FQDN '@east'
004 "westnet-eastnet-chacha" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.0-192.0.1.255:0-65535 0] -> [192.0.2.0-192.0.2.255:0-65535 0] {ESP/ESN=>0xESPESP <0xESPESP xfrm=CHACHA20_POLY1305-NONE DPD=passive}
west #
 ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254
up
west #
 ipsec whack --trafficstatus
006 #2: "westnet-eastnet-chacha", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@east'
west #
 echo done
done
west #
 
