/testing/guestbin/swan-prep --hostkeys
Creating NSS database containing host keys
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-vti
"westnet-eastnet-vti": added IKEv1 connection
east #
 echo "initdone"
initdone
east #
 ../../guestbin/wait-for-pluto.sh '^".*#2: IPsec SA established'
"westnet-eastnet-vti"[1] 192.1.2.45 #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 DPD=passive}
east #
 grep -v -P "\t0$" /proc/net/xfrm_stat
east #
 # unique mark translates -1 to random, make sure there is no -1
east #
 ip xfrm policy | grep \\-1
east #
 
