/testing/guestbin/swan-prep
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--compress=no
"addconn--compress=no": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--compress=yes
"addconn--compress=yes": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--type=passthrough
"addconn--type=passthrough": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--type=passthrough--compress=no
"addconn--type=passthrough--compress=no": warning: compress=no ignored for never-negotiate connection
"addconn--type=passthrough--compress=no": added unoriented passthrough connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--type=passthrough--compress=yes
"addconn--type=passthrough--compress=yes": warning: compress=yes ignored for never-negotiate connection
"addconn--type=passthrough--compress=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                               --encrypt --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--compress      --compress     --encrypt --host 1.2.3.4 --to --host 5.6.7.8
"whack--compress": added unoriented IKEv2 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--compress=no   --compress=no  --encrypt --host 1.2.3.4 --to --host 5.6.7.8
"whack--compress=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--compress=yes  --compress=yes --encrypt --host 1.2.3.4 --to --host 5.6.7.8
"whack--compress=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--passthrough                               --pass --auth-never --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--compress      --compress     --pass --auth-never --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough--compress": warning: compress=yes ignored for never-negotiate connection
"whack--passthrough--compress": 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--compress=no   --compress=no  --pass --auth-never --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough--compress=no": warning: compress=no ignored for never-negotiate connection
"whack--passthrough--compress=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--compress=yes  --compress=yes --pass --auth-never --host 1.2.3.4 --to --host 5.6.7.8
"whack--passthrough--compress=yes": warning: compress=yes ignored for never-negotiate connection
"whack--passthrough--compress=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/\(.* policy:\) .*COMPRESS.*/\1 COMPRESS/p' | sort
"addconn--compress=yes":   policy: COMPRESS
"whack--compress":   policy: COMPRESS
"whack--compress=yes":   policy: COMPRESS
west #
 
