--- west.console.txt 2019-08-24 18:12:56.281673643 +0000 +++ OUTPUT/west.console.txt 2019-08-26 13:08:32.839872055 +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 connection description "first" west # - ipsec auto --add second -002 added connection description "second" + echo 'conn second' >> /etc/ipsec.conf +west # + echo ' left=2.3.4.5' >> /etc/ipsec.conf +west # + 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