--- west.console.txt 2020-10-28 10:59:11.882375581 +0000 +++ OUTPUT/west.console.txt 2020-10-31 15:24:01.573104149 +0000 @@ -5,22 +5,24 @@ west # /testing/pluto/bin/wait-until-pluto-started west # - echo "initdone" -initdone + # this should have failed to --add west # ipsec auto --add first -002 added IKEv1 connection "first" +002 added IKEv2 connection "first" +west # + echo 'conn second' >> /etc/ipsec.conf +west # + echo ' left=2.3.4.5' >> /etc/ipsec.conf west # - ipsec auto --add second -002 added IKEv1 connection "second" + echo ' right=5.6.7.8' >> /etc/ipsec.conf west # - # conn second should inherit the conn %default values with 3des-md5 + # now it fails properly west # - ipsec status |grep "algorithms:" -000 "first": IKE algorithms: AES_CBC-HMAC_SHA2_256-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 -000 "first": ESP algorithms: AES_CBC-HMAC_SHA2_256_128 -000 "second": IKE algorithms: 3DES_CBC-HMAC_SHA1-MODP2048+MODP3072+MODP4096+MODP8192+DH19+DH20+DH21+DH31 -000 "second": ESP algorithms: 3DES_CBC-HMAC_SHA1_96 + ipsec auto --add first +cannot load config '/etc/ipsec.conf': /etc/ipsec.conf:15: syntax error, unexpected STRING, expecting EOL [second] +west # + echo "initdone" +initdone west # echo done done