/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet
002 "westnet-eastnet": added IKEv1 connection
east #
 ipsec auto --add west-east
002 "west-east": added IKEv1 connection
east #
 echo "initdone"
initdone
east #
 sleep 1
east #
 # Expecting the IKE SA of west-east and the IPsec SA of westnet-eastnet
east #
 ipsec showstates
000 #1: "west-east":500 STATE_MAIN_R3 (IKE SA established); REPLACE in XXs; newest; lastdpd=-1s(seq in:0 out:0); idle;
000 #3: "westnet-eastnet":500 STATE_QUICK_R2 (IPsec SA established); REPLACE in XXs; newest; eroute owner; ISAKMP SA #1; idle;
000 #3: "westnet-eastnet" 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=0B ESPout=0B ESPmax=2^63B 
east #
 
