/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec add addconn
"addconn": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--vti-shared=no
"addconn--vti-shared=no": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--vti-shared=yes
"addconn--vti-shared=yes": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--vti-routing=no
"addconn--vti-routing=no": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--vti-routing=yes
"addconn--vti-routing=yes": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--vti-interface=short
"addconn--vti-interface=short": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--vti-interface=long
"addconn--vti-interface=long": warning: length of vti-interface 'very-very-very-very-long-name' exceeds IFNAMSIZ (16)
"addconn--vti-interface=long": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack                                      --host 1.2.3.4 --to --host 5.6.7.8
"whack": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--vti-shared       --vti-shared       --host 1.2.3.4 --to --host 5.6.7.8
"whack--vti-shared": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--vti-shared=no    --vti-shared=no    --host 1.2.3.4 --to --host 5.6.7.8
"whack--vti-shared=no": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--vti-shared=yes   --vti-shared=yes   --host 1.2.3.4 --to --host 5.6.7.8
"whack--vti-shared=yes": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--vti-routing      --vti-routing      --host 1.2.3.4 --to --host 5.6.7.8
"whack--vti-routing": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--vti-routing=no   --vti-routing=no   --host 1.2.3.4 --to --host 5.6.7.8
"whack--vti-routing=no": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--vti-routing=yes  --vti-routing=yes  --host 1.2.3.4 --to --host 5.6.7.8
"whack--vti-routing=yes": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--vti-interface        --vti-interface          --host 1.2.3.4 --to --host 5.6.7.8
whack error: "whack--vti-interface" connection missing --host before --to
west #
 ipsec whack --name whack--vti-interface=short  --vti-interface=short    --host 1.2.3.4 --to --host 5.6.7.8
"whack--vti-interface=short": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--vti-interface=long   --vti-interface=very-very-very-very-long-name  --host 1.2.3.4 --to --host 5.6.7.8
"whack--vti-interface=long": warning: length of vti-interface 'very-very-very-very-long-name' exceeds IFNAMSIZ (16)
"whack--vti-interface=long": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--passthrough                                      --pass --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--passthrough--vti-shared       --vti-shared       --pass --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough--vti-shared": warning: vti-shared=yes ignored for never-negotiate connection
"whack--passthrough--vti-shared": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--passthrough--vti-shared=no    --vti-shared=no    --pass --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough--vti-shared=no": warning: vti-shared=no ignored for never-negotiate connection
"whack--passthrough--vti-shared=no": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--passthrough--vti-shared=yes   --vti-shared=yes   --pass --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough--vti-shared=yes": warning: vti-shared=yes ignored for never-negotiate connection
"whack--passthrough--vti-shared=yes": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--passthrough--vti-routing      --vti-routing      --pass --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough--vti-routing": warning: vti-routing=yes ignored for never-negotiate connection
"whack--passthrough--vti-routing": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--passthrough--vti-routing=no   --vti-routing=no   --pass --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough--vti-routing=no": warning: vti-routing=no ignored for never-negotiate connection
"whack--passthrough--vti-routing=no": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--passthrough--vti-routing=yes  --vti-routing=yes  --pass --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough--vti-routing=yes": warning: vti-routing=yes ignored for never-negotiate connection
"whack--passthrough--vti-routing=yes": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec connectionstatus | sed -n -e 's/\(^[^:]*:\).* \(vti-routing:[^;]*\);.*/\1 \2/p' | sort
"addconn--vti-interface=long": vti-routing:no
"addconn--vti-interface=short": vti-routing:no
"addconn": vti-routing:no
"addconn--vti-routing=no": vti-routing:no
"addconn--vti-routing=yes": vti-routing:yes
"addconn--vti-shared=no": vti-routing:no
"addconn--vti-shared=yes": vti-routing:no
"whack--passthrough": vti-routing:no
"whack--passthrough--vti-routing=no": vti-routing:no
"whack--passthrough--vti-routing": vti-routing:no
"whack--passthrough--vti-routing=yes": vti-routing:no
"whack--passthrough--vti-shared=no": vti-routing:no
"whack--passthrough--vti-shared": vti-routing:no
"whack--passthrough--vti-shared=yes": vti-routing:no
"whack--vti-interface=long": vti-routing:no
"whack--vti-interface=short": vti-routing:no
"whack": vti-routing:no
"whack--vti-routing=no": vti-routing:no
"whack--vti-routing": vti-routing:yes
"whack--vti-routing=yes": vti-routing:yes
"whack--vti-shared=no": vti-routing:no
"whack--vti-shared": vti-routing:no
"whack--vti-shared=yes": vti-routing:no
west #
 ipsec connectionstatus | sed -n -e 's/\(^[^:]*:\).* \(vti-shared:[^;]*\);.*/\1 \2/p' | sort
"addconn--vti-interface=long": vti-shared:no
"addconn--vti-interface=short": vti-shared:no
"addconn--vti-routing=no": vti-shared:no
"addconn--vti-routing=yes": vti-shared:no
"addconn": vti-shared:no
"addconn--vti-shared=no": vti-shared:no
"addconn--vti-shared=yes": vti-shared:yes
"whack--passthrough--vti-routing=no": vti-shared:no
"whack--passthrough--vti-routing": vti-shared:no
"whack--passthrough--vti-routing=yes": vti-shared:no
"whack--passthrough": vti-shared:no
"whack--passthrough--vti-shared=no": vti-shared:no
"whack--passthrough--vti-shared": vti-shared:no
"whack--passthrough--vti-shared=yes": vti-shared:no
"whack--vti-interface=long": vti-shared:no
"whack--vti-interface=short": vti-shared:no
"whack--vti-routing=no": vti-shared:no
"whack--vti-routing": vti-shared:no
"whack--vti-routing=yes": vti-shared:no
"whack": vti-shared:no
"whack--vti-shared=no": vti-shared:no
"whack--vti-shared": vti-shared:yes
"whack--vti-shared=yes": vti-shared:yes
west #
 
