/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add east
002 "east": added IKEv2 connection
east #
 ipsec auto --status | grep east
000 "east": 192.1.2.23[@east]...192.1.2.45[@west]; unrouted; eroute owner: #0
000 "east":     oriented; my_ip=unset; their_ip=unset; my_updown=ipsec _updown;
000 "east":   xauth us:none, xauth them:none,  my_username=[any]; their_username=[any]
000 "east":   our auth:secret, their auth:secret, our autheap:none, their autheap:none;
000 "east":   modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, cat:unset;
000 "east":   sec_label:unset;
000 "east":   ike_life: 28800s; ipsec_life: 28800s; replay_window: 128; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0;
000 "east":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
000 "east":   initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
000 "east":   policy: IKEv2+PSK+ENCRYPT+TUNNEL+PFS+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
000 "east":   v2-auth-hash-policy: none;
000 "east":   conn_prio: 32,32; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
000 "east":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:auto;
000 "east":   our idtype: ID_FQDN; our id=@east; their idtype: ID_FQDN; their id=@west
000 "east":   dpd: action:hold; delay:0; timeout:0; nat-t: encaps:auto; nat_keepalive:yes; ikev1_natt:both
000 "east":   newest ISAKMP SA: #0; newest IPsec SA: #0; conn serial: $1;
east #
 ipsec whack --impair revival
east #
 ipsec whack --impair suppress-retransmits
east #
 echo "initdone"
initdone
east #
 ipsec whack --trafficstatus
006 #3: "east", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, id='@west'
006 #4: "east", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, id='@west'
east #
 # policies and state should be multiple
east #
 
