/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 xauth-road-eastnet
"xauth-road-eastnet": added IKEv1 connection
east #
 echo "initdone"
initdone
east #
 ipsec showstates
#1: "xauth-road-eastnet"[1] 192.1.3.209:500 STATE_MAIN_R3 (ISAKMP SA established); REPLACE in XXs; newest; lastdpd=-1s(seq in:0 out:0); idle;
#2: "xauth-road-eastnet"[1] 192.1.3.209:500 STATE_QUICK_R2 (IPsec SA established); REPLACE in XXs; newest; eroute owner; ISAKMP SA #1; idle;
#2: "xauth-road-eastnet"[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 username=use1
east #
 ipsec trafficstatus
#2: "xauth-road-eastnet"[1] 192.1.3.209, username=use1, type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B
east #
 ipsec whack --deleteuser
whack error: missing --name <connection_name>
east #
 ipsec whack --deleteuser --name madeup
no connections matching username 'madeup' found
east #
 ipsec whack --deleteuser --name use1
"xauth-road-eastnet"[1] 192.1.3.209 #2: deleting IPsec SA (QUICK_R2) and sending notification using ISAKMP SA #1
"xauth-road-eastnet"[1] 192.1.3.209 #2: ESP traffic information: in=84B out=84B XAUTHuser=use1
"xauth-road-eastnet"[1] 192.1.3.209 #1: deleting ISAKMP SA (MAIN_R3) and sending notification
east #
 ipsec showstates
east #
 ipsec trafficstatus
east #
 
