/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --name order-test --tunnel --encrypt --ipv4 --tunnelipv6  --host 1.2.3.4 --id '@foo' --client fe80::1/128 --to --host 2.3.4.5 --id '@bar' --client fe80::2/128
"order-test": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=2.3.4.5 match an interface)
west #
 ipsec whack --connectionstatus --name order-test
"order-test": fe80::1/128===1.2.3.4[@foo,+S?C]...2.3.4.5[@bar,+S?C]===fe80::2/128; unoriented; my_ip=unset; their_ip=unset;
"order-test":   host: unoriented; left: 1.2.3.4; right: 2.3.4.5;
"order-test":   leftupdown=ipsec _updown; rightupdown=ipsec _updown;
"order-test":   xauth us:none, xauth them:none,  my_username=[any]; their_username=[any]
"order-test":   our auth:rsasig(RSASIG+ECDSA+RSASIG_v1_5), their auth:rsasig(RSASIG+ECDSA+RSASIG_v1_5), our autheap:none, their autheap:none;
"order-test":   modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, cat:unset;
"order-test":   sec_label:unset;
"order-test":   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%;
"order-test":   retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
"order-test":   initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
"order-test":   policy: IKEv2+RSASIG+ECDSA+RSASIG_v1_5+ENCRYPT+TUNNEL+PFS+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
"order-test":   v2-auth-hash-policy: SHA2_256+SHA2_384+SHA2_512;
"order-test":   conn_prio: 128,128; interface: ; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
"order-test":   nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
"order-test":   our idtype: ID_FQDN; our id=@foo; their idtype: ID_FQDN; their id=@bar
"order-test":   liveness: passive; dpddelay:0s; retransmit-timeout:60s
"order-test":   nat-traversal: encapsulation:auto; keepalive:20s
"order-test":   routing: unrouted;
"order-test":   conn serial: $1;
west #
 
