/testing/guestbin/swan-prep
road #
 ipsec start
Redirecting to: [initsystem]
road #
 ../../guestbin/wait-until-pluto-started
road #
 ipsec auto --add road-eastnet-ikev2
002 adding UDP interface eth0 192.1.3.209:6666
002 "road-eastnet-ikev2": added IKEv2 connection
road #
 ipsec whack --impair suppress-retransmits
road #
 echo "initdone"
initdone
road #
 ipsec auto --up road-eastnet-ikev2
1v2 "road-eastnet-ikev2" #1: initiating IKEv2 connection
1v2 "road-eastnet-ikev2" #1: sent IKE_SA_INIT request
1v2 "road-eastnet-ikev2" #1: sent IKE_AUTH request {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048}
003 "road-eastnet-ikev2" #1: established IKE SA; authenticated using authby=secret and peer ID_FQDN '@east'
004 "road-eastnet-ikev2" #2: established Child SA; IPsec tunnel [192.1.3.209-192.1.3.209:0-65535 0] -> [192.0.2.0-192.0.2.255:0-65535 0] {ESPinUDP=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE NATOA=none NATD=192.1.2.23:4500 DPD=passive}
road #
 ../../guestbin/ping-once.sh --up 192.0.2.254
up
road #
 ipsec traffic
006 #2: "road-eastnet-ikev2", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, id='@east'
road #
 ipsec auto --down road-eastnet-ikev2
002 "road-eastnet-ikev2": terminating SAs using this connection
005 "road-eastnet-ikev2" #2: ESP traffic information: in=84B out=84B
002 "road-eastnet-ikev2" #1: deleting state (STATE_V2_ESTABLISHED_IKE_SA) and sending notification
road #
 # give east time to re-trigger to us due to auto=keep
road #
 sleep 3
road #
 ipsec status |grep STATE_
000 #3: "road-eastnet-ikev2":4500 STATE_V2_ESTABLISHED_IKE_SA (established IKE SA); REKEY in XXs; newest ISAKMP; idle;
000 #4: "road-eastnet-ikev2":4500 STATE_V2_ESTABLISHED_CHILD_SA (established Child SA); REKEY in XXs; newest IPSEC; eroute owner; isakmp#3; idle;
road #
 ipsec traffic
006 #4: "road-eastnet-ikev2", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, id='@east'
road #
 echo done
done
road #
 
