/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec add addconn--default
"addconn--default": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--both
"addconn--both": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--rfc
"addconn--rfc": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--drafts
"addconn--drafts": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec add addconn--none
"addconn--none": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--default                      --encrypt --ikev1 --ipv4 --host 1.2.3.4 --to --host 5.6.7.8
"whack--default": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--both    --ikev1-natt both    --encrypt --ikev1 --ipv4 --host 1.2.3.4 --to --host 5.6.7.8
"whack--both": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--rfc     --ikev1-natt rfc     --encrypt --ikev1 --ipv4 --host 1.2.3.4 --to --host 5.6.7.8
"whack--rfc": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--drafts  --ikev1-natt drafts  --encrypt --ikev1 --ipv4 --host 1.2.3.4 --to --host 5.6.7.8
"whack--drafts": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec whack --name whack--none    --ikev1-natt none    --encrypt --ikev1 --ipv4 --host 1.2.3.4 --to --host 5.6.7.8
"whack--none": added unoriented IKEv1 connection (neither left=1.2.3.4 nor right=5.6.7.8 match an interface)
west #
 ipsec connectionstatus | sed -n -e 's/^\([^:]*:\) .* \(ikev1-method:\)[ ]*\([^ ;]*\).*/\1 \2 \3/p' | sort
"addconn--both": ikev1-method: rfc+drafts
"addconn--default": ikev1-method: rfc+drafts
"addconn--drafts": ikev1-method: drafts
"addconn--none": ikev1-method: none
"addconn--rfc": ikev1-method: rfc
"whack--both": ikev1-method: rfc+drafts
"whack--default": ikev1-method: rfc+drafts
"whack--drafts": ikev1-method: drafts
"whack--none": ikev1-method: none
"whack--rfc": ikev1-method: rfc
west #
 
