/testing/guestbin/swan-prep --x509
Preparing X.509 files
north #
 ipsec start
Redirecting to: [initsystem]
north #
 /testing/pluto/bin/wait-until-pluto-started
north #
 ipsec auto --add north-east
002 "north-east": added IKEv2 connection
north #
 ipsec whack --impair revival
north #
 echo initdone
initdone
north #
 ipsec auto --up north-east | sed -e "s/192.0.2.10./192.0.2.10X/"
1v2 "north-east" #1: initiating IKEv2 connection
1v2 "north-east" #1: sent IKE_SA_INIT request
1v2 "north-east" #1: sent IKE_AUTH request {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048}
002 "north-east" #1: certificate verified OK: E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA
002 "north-east" #1: IKEv2 mode peer ID is ID_DER_ASN1_DN: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org'
003 "north-east" #1: authenticated using RSA with SHA2_512
002 "north-east" #2: received INTERNAL_IP4_ADDRESS 192.0.2.10X
002 "north-east" #2: received INTERNAL_IP4_DNS 1.2.3.4
002 "north-east" #2: received INTERNAL_IP4_DNS 5.6.7.8
002 "north-east" #2: up-client output: updating resolvconf
002 "north-east" #2: negotiated connection [192.0.2.10X-192.0.2.102:0-65535 0] -> [0.0.0.0-255.255.255.255:0-65535 0]
004 "north-east" #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive}
north #
 sleep 3
north #
 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: "north-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
north #
 ../bin/check-for-core.sh
north #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

