/testing/guestbin/swan-prep --nokeys
Initializing NSS database
west #
 # /etc/ipsec.conf is corrupt
west #
 # try absolute non-standard location
west #
 cp tmp.conf /tmp
west #
 ipsec pluto --config /tmp/tmp.conf
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec connectionstatus tmp
"tmp": 192.0.1.0/24===192.1.2.45[@west]...192.1.2.23[@east]===192.0.2.0/24; unrouted; my_ip=unset; their_ip=unset;
"tmp":   host: oriented; local: 192.1.2.45; remote: 192.1.2.23;
"tmp":   my_updown=ipsec _updown; my_updown-config=noasync,noexec;
"tmp":   xauth us:none, xauth them:none, my_username=[any]; their_username=[any]
"tmp":   our auth:secret, their auth:secret, our autheap:none, their autheap:none, send-supported-auth-methods:no;
"tmp":   modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, cat:unset;
"tmp":   cisco-split: no; cisco-unity: no; cisco-peer: no; nm-configured: no;
"tmp":   sec_label:unset;
"tmp":   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%; clones: no (unset);
"tmp":   iptfs: no; fragmentation: yes; packet-size: 0; max-queue-size: 0; drop-time: 0; init-delay: 0; reorder-window: 0;
"tmp":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
"tmp":   initial-contact:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
"tmp":   policy: IKEv2+PSK+ENCRYPT+TUNNEL+PFS+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
"tmp":   v2-auth-hash-policy: none;
"tmp":   conn_prio: 24,24,0; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
"tmp":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
"tmp":   our idtype: FQDN; our id=@west; their idtype: FQDN; their id=@east
"tmp":   sendca: all; our sendcert: always; their sendcert: always;
"tmp":   liveness: passive; dpddelay:0s; retransmit-timeout:30s
"tmp":   nat-traversal: encapsulation:auto; keepalive:20s
"tmp":   routing: unrouted;
"tmp":   reqid: REQID;
"tmp":   conn serial: $1;
west #
 ipsec whack --shutdown
Pluto is shutting down
west #
 # try relative non-standard location
west #
 ipsec pluto --config path.conf
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec connectionstatus path
"path": 192.0.1.0/24===192.1.2.45[@west]...192.1.2.23[@east]===192.0.2.0/24; unrouted; my_ip=unset; their_ip=unset;
"path":   host: oriented; local: 192.1.2.45; remote: 192.1.2.23;
"path":   my_updown=ipsec _updown; my_updown-config=noasync,noexec;
"path":   xauth us:none, xauth them:none, my_username=[any]; their_username=[any]
"path":   our auth:secret, their auth:secret, our autheap:none, their autheap:none, send-supported-auth-methods:no;
"path":   modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, cat:unset;
"path":   cisco-split: no; cisco-unity: no; cisco-peer: no; nm-configured: no;
"path":   sec_label:unset;
"path":   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%; clones: no (unset);
"path":   iptfs: no; fragmentation: yes; packet-size: 0; max-queue-size: 0; drop-time: 0; init-delay: 0; reorder-window: 0;
"path":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
"path":   initial-contact:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
"path":   policy: IKEv2+PSK+ENCRYPT+TUNNEL+PFS+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
"path":   v2-auth-hash-policy: none;
"path":   conn_prio: 24,24,0; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
"path":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
"path":   our idtype: FQDN; our id=@west; their idtype: FQDN; their id=@east
"path":   sendca: all; our sendcert: always; their sendcert: always;
"path":   liveness: passive; dpddelay:0s; retransmit-timeout:30s
"path":   nat-traversal: encapsulation:auto; keepalive:20s
"path":   routing: unrouted;
"path":   reqid: REQID;
"path":   conn serial: $1;
west #
 ipsec whack --shutdown
Pluto is shutting down
west #
