/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add 4in4-base
"4in4-base": added unoriented IKEv2 connection (neither left=10.11.12.13 nor right=20.21.22.23 match an interface)
west #
 ipsec auto --add 4in4-good
"4in4-good": added unoriented IKEv2 connection (neither left=10.11.12.13 nor right=20.21.22.23 match an interface)
west #
 ipsec auto --add 4in4-bad
"4in4-bad": failed to add connection: address family of leftsubnet=1.2.3.0/24 conflicts with rightsubnet=::/0
west #
 ipsec auto --add 4in4-protoport
"4in4-protoport": added unoriented IKEv2 connection (neither left=10.11.12.13 nor right=20.21.22.23 match an interface)
west #
 ipsec auto --add 6in6-base
"6in6-base": added unoriented IKEv2 connection (neither left=10:11:12:13:: nor right=20:21:22:23:: match an interface)
west #
 ipsec auto --add 6in6-good
"6in6-good": added unoriented IKEv2 connection (neither left=10:11:12:13:: nor right=20:21:22:23:: match an interface)
west #
 ipsec auto --add 6in6-bad
"6in6-bad": failed to add connection: address family of leftsubnet=1:2:3::/64 conflicts with rightsubnet=0.0.0.0/0
west #
 ipsec auto --add 6in6-protoport
"6in6-protoport": added unoriented IKEv2 connection (neither left=10:11:12:13:: nor right=20:21:22:23:: match an interface)
west #
 ipsec auto --add 4in6-base # also bad
"4in6-base": failed to add connection: address family of leftsubnet=1.2.3.0/24 conflicts with right=20:21:22:23::
west #
 ipsec auto --add 4in6-good
"4in6-good": added unoriented IKEv2 connection (neither left=10:11:12:13:: nor right=20:21:22:23:: match an interface)
west #
 ipsec auto --add 4in6-bad
"4in6-bad": failed to add connection: address family of leftsubnet=1.2.3.0/24 conflicts with rightsubnet=::/0
west #
 ipsec auto --add 4in6-protoport
"4in6-protoport": failed to add connection: address family of leftsubnet=1.2.3.0/24 conflicts with right=20:21:22:23::
west #
 ipsec auto --add 6in4-base # also bad
"6in4-base": failed to add connection: address family of leftsubnet=1:2:3::/64 conflicts with right=20.21.22.23
west #
 ipsec auto --add 6in4-good
"6in4-good": added unoriented IKEv2 connection (neither left=10.11.12.13 nor right=20.21.22.23 match an interface)
west #
 ipsec auto --add 6in4-bad
"6in4-bad": failed to add connection: address family of leftsubnet=1:2:3::/64 conflicts with rightsubnet=0.0.0/0
west #
 ipsec auto --add 6in4-protoport
"6in4-protoport": failed to add connection: address family of leftsubnet=1:2:3::/64 conflicts with right=20.21.22.23
west #
 ipsec auto --add 44family4
"44family4": added unoriented IKEv2 connection (neither left=10.11.12.13 nor right=20.21.22.23 match an interface)
west #
 ipsec auto --add 44family6
"44family6": failed to add connection: "childaddrfamily=IPv6" conflicts with "leftsubnet=0/0"
west #
 ipsec auto --add 46family4
"46family4": failed to add connection: "childaddrfamily=IPv4" conflicts with "rightsubnet=::/0"
west #
 ipsec auto --add 46family6
"46family6": failed to add connection: "childaddrfamily=IPv6" conflicts with "leftsubnet=0/0"
west #
 ipsec auto --add 64family4
"64family4": failed to add connection: "childaddrfamily=IPv4" conflicts with "leftsubnet=::/0"
west #
 ipsec auto --add 64family6
"64family6": failed to add connection: "childaddrfamily=IPv6" conflicts with "rightsubnet=0/0"
west #
 ipsec auto --add 66family4
"66family4": failed to add connection: "childaddrfamily=IPv4" conflicts with "leftsubnet=::/0"
west #
 ipsec auto --add 66family6
"66family6": added unoriented IKEv2 connection (neither left=10.11.12.13 nor right=20.21.22.23 match an interface)
west #
 ipsec status | grep '==='
"44family4": 0.0.0.0/0===10.11.12.13...20.21.22.23===0.0.0.0/0; unoriented; my_ip=unset; their_ip=unset;
"4in4-base": 1.2.3.0/24===10.11.12.13...20.21.22.23; unoriented; my_ip=unset; their_ip=unset;
"4in4-good": 1.2.3.0/24===10.11.12.13...20.21.22.23===0.0.0.0/0; unoriented; my_ip=unset; their_ip=unset;
"4in4-protoport": 1.2.3.0/24===10.11.12.13...20.21.22.23===20.21.22.23/32/TCP/22; unoriented; my_ip=unset; their_ip=unset;
"4in6-good": 1.2.3.0/24===10:11:12:13::...20:21:22:23::===0.0.0.0/0; unoriented; my_ip=unset; their_ip=unset;
"66family6": ::/0===10.11.12.13...20.21.22.23===::/0; unoriented; my_ip=unset; their_ip=unset;
"6in4-good": 1:2:3::/64===10.11.12.13...20.21.22.23===::/0; unoriented; my_ip=unset; their_ip=unset;
"6in6-base": 1:2:3::/64===10:11:12:13::...20:21:22:23::; unoriented; my_ip=unset; their_ip=unset;
"6in6-good": 1:2:3::/64===10:11:12:13::...20:21:22:23::===::/0; unoriented; my_ip=unset; their_ip=unset;
"6in6-protoport": 1:2:3::/64===10:11:12:13::...20:21:22:23::===20:21:22:23::/128/TCP/22; unoriented; my_ip=unset; their_ip=unset;
west #
 
