/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 road-east
"road-east": added IKEv2 connection
east #
 ipsec auto --status | grep road-east
"road-east": 192.1.2.23[@east]...192.1.3.209[@road.testing.libreswan.org]; unrouted; my_ip=unset; their_ip=unset;
"road-east":   host: oriented; local: 192.1.2.23; remote: 192.1.3.209;
"road-east":   my_updown=ipsec _updown;
"road-east":   xauth us:none, xauth them:none,  my_username=[any]; their_username=[any]
"road-east":   our auth:rsasig(RSASIG+RSASIG_v1_5), their auth:RSASIG+ECDSA+RSASIG_v1_5, our autheap:none, their autheap:none;
"road-east":   modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, cat:unset;
"road-east":   sec_label:unset;
"road-east":   ike_life: 28800s; ipsec_life: 28800s; ipsec_max_bytes: 2^63B; ipsec_max_packets: 2^63; replay_window: 128; rekey_margin: 540s; rekey_fuzz: 100%;
"road-east":   iptfs: no; fragmentation: yes; packet-size: 0; max-queue-size: 0; drop-time: 0; init-delay: 0; reorder-window: 0;
"road-east":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
"road-east":   initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
"road-east":   policy: IKEv2+RSASIG+ECDSA+RSASIG_v1_5+ENCRYPT+TUNNEL+PFS+IKE_FRAG_ALLOW+ESN_NO+ESN_YES; +rKOD;
"road-east":   v2-auth-hash-policy: SHA2_256+SHA2_384+SHA2_512;
"road-east":   conn_prio: 32,32,0; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
"road-east":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
"road-east":   our idtype: ID_FQDN; our id=@east; their idtype: ID_FQDN; their id=@road.testing.libreswan.org
"road-east":   liveness: passive; dpddelay:0s; retransmit-timeout:60s
"road-east":   nat-traversal: encapsulation:auto; keepalive:20s
"road-east":   routing: unrouted;
"road-east":   conn serial: $1;
east #
 # eash should have only one pub key not road.
east #
 ipsec auto --listpubkeys
 
List of Public Keys:
 
TIMESTAMP, 2192 RSA Key AwXXXXXXX (has private key), until --- -- --:--:-- ---- ok (expires never)
       ID_FQDN '@east'
east #
 echo "initdone"
initdone
east #
 # east should have two public keys. including road fetched from dns
east #
 ipsec auto --listpubkeys
 
List of Public Keys:
 
TIMESTAMP, 3104 RSA Key AwXXXXXXX (no private key), until TIMESTAMP warning (expires in X days)
       ID_FQDN '@road.testing.libreswan.org'
TIMESTAMP, 3184 RSA Key AwXXXXXXX (no private key), until TIMESTAMP warning (expires in X days)
       ID_FQDN '@road.testing.libreswan.org'
TIMESTAMP, 2192 RSA Key AwXXXXXXX (has private key), until --- -- --:--:-- ---- ok (expires never)
       ID_FQDN '@east'
east #
 ipsec whack --trafficstatus
#4: "road-east", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@road.testing.libreswan.org'
east #
 
