/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add road-eastnet-psk
"road-eastnet-psk": added IKEv1 connection
east #
 echo "initdone"
initdone
east #
 ipsec showstates
#1: "road-eastnet-psk"[1] 192.1.3.209:500 STATE_AGGR_R2 (ISAKMP SA established); REPLACE in XXs; newest; lastdpd=-1s(seq in:0 out:0); idle;
#2: "road-eastnet-psk"[1] 192.1.3.209:500 STATE_QUICK_R2 (IPsec SA established); REPLACE in XXs; newest; eroute owner; ISAKMP SA #1; idle;
#2: "road-eastnet-psk"[1] 192.1.3.209 esp.ESPSPIi@192.1.3.209 esp.ESPSPIi@192.1.2.23 tun.0@192.1.3.209 tun.0@192.1.2.23 Traffic: ESPin=84B ESPout=84B ESPmax=2^63B 
east #
 ipsec trafficstatus
#2: "road-eastnet-psk"[1] 192.1.3.209, type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@roadrandom'
east #
 ipsec whack --deleteid
whack error: missing --name <connection_name>
east #
 ipsec whack --deleteid --name @madeup
no connections matching peer id '@madeup' found
east #
 ipsec whack --deleteid --name @roadrandom
"road-eastnet-psk"[1] 192.1.3.209 #2: deleting IPsec SA (QUICK_R2) and sending notification using ISAKMP SA #1
"road-eastnet-psk"[1] 192.1.3.209 #2: ESP traffic information: in=84B out=84B
"road-eastnet-psk"[1] 192.1.3.209 #1: deleting ISAKMP SA (AGGR_R2) and sending notification
east #
 ipsec showstates
east #
 ipsec trafficstatus
east #
 
