/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ../../guestbin/ipsec-add.sh west-east
"west-east": added IKEv1 connection
east #
 echo "initdone"
initdone
east #
 ipsec whack --deletestate 2
"west-east" #2: deleting IPsec SA (QUICK_R2) and sending notification using ISAKMP SA #1
"west-east" #2: ESP traffic information: in=84B out=84B
east #
 ../../guestbin/wait-for-pluto.sh --match '#3: IPsec SA established tunnel mode'
"west-east" #3: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 DPD=passive}
east #
 ../../guestbin/ping-once.sh --up 192.1.2.45
up
east #
 ipsec trafficstatus
#3: "west-east", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@west'
east #
 # both east and west should still have one IKE SA #1
east #
 ipsec showstates
#1: "west-east":500 STATE_MAIN_R3 (ISAKMP SA established); REPLACE in XXs; newest; lastdpd=-1s(seq in:0 out:0); idle;
#3: "west-east":500 STATE_QUICK_R2 (IPsec SA established); REPLACE in XXs; newest; eroute owner; ISAKMP SA #1; idle;
#3: "west-east" esp.ESPSPIi@192.1.2.45 esp.ESPSPIi@192.1.2.23 tun.0@192.1.2.45 tun.0@192.1.2.23 Traffic: ESPin=84B ESPout=84B ESPmax=2^63B 
east #
 
