/testing/guestbin/swan-prep --x509
Preparing X.509 files
road #
 ipsec start
Redirecting to: [initsystem]
road #
 ../../guestbin/wait-until-pluto-started
road #
 ipsec auto --add road-east
002 "road-east": added IKEv2 connection
road #
 ipsec whack --impair revival
road #
 echo initdone
initdone
road #
 ipsec auto --up road-east | sed -e "s/192.0.2.10./192.0.2.10X/" | sort # sanitize-retransmits
002 "road-east" #2: received INTERNAL_IP4_ADDRESS 192.0.2.10X
002 "road-east" #2: received INTERNAL_IP4_DNS 1.2.3.4
002 "road-east" #2: received INTERNAL_IP4_DNS 5.6.7.8
002 "road-east" #2: up-client output: updating resolvconf
003 "road-east" #1: established IKE SA; authenticated using RSA with SHA2_512 and peer certificate 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' issued by CA 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'
004 "road-east" #2: established Child SA; IPsec tunnel [192.0.2.10X-192.0.2.101:0-65535 0] -> [0.0.0.0-255.255.255.255:0-65535 0] {ESP=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive}
1v2 "road-east" #1: initiating IKEv2 connection
1v2 "road-east" #1: sent IKE_SA_INIT request
1v2 "road-east" #1: sent IKE_AUTH request {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048}
road #
 ../../guestbin/ping-once.sh --up 192.0.2.254
up
road #
 ipsec whack --trafficstatus
006 #2: "road-east", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, id='C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org', lease=192.0.2.101/32
road #
 echo done
done
road #
 ipsec whack --trafficstatus | sed -e "s/#./#X/" -e "s/\[[0-9]\]/[X]/" -e "s/192.0.2.10./192.0.2.10X/" | sort
006 #X: "road-east", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, id='C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org', lease=192.0.2.10X/32
road #

