--- west.console.txt 2019-08-24 18:12:56.194676710 +0000 +++ OUTPUT/west.console.txt 2019-08-26 13:10:57.500807272 +0000 @@ -8,11 +8,9 @@ /testing/pluto/bin/wait-until-pluto-started west # ipsec auto --add named -000 failed to convert 'right.libreswan.org' at load time: not a numeric IPv4 address and name lookup failed (no validation performed) -002 added connection description "named" west # ipsec status | grep "===" # should show %dns for pending resolve -000 "named": 192.0.1.0/24===192.1.2.45<192.1.2.45>[@west]---192.1.2.23...%dns[@east]===192.0.2.0/24; unrouted; eroute owner: #0 +whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # echo "initdone" initdone @@ -24,26 +22,20 @@ # trigger DDNS event (saves us from waiting) west # ipsec whack --ddns -002 updating pending dns lookups +whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # # there should be no states west # ipsec status |grep STATE_ +whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # ipsec status | grep "===" # should no longer show %dns as resolving completed -000 "named": 192.0.1.0/24===192.1.2.45<192.1.2.45>[@west]...192.1.2.23[@east]===192.0.2.0/24; unrouted; eroute owner: #0 +whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # # confirm it all resolved by bringing the conn up manually west # ipsec auto --up named -002 "named" #1: initiating v2 parent SA -1v2 "named" #1: initiate -1v2 "named" #1: STATE_PARENT_I1: sent v2I1, expected v2R1 -1v2 "named" #2: STATE_PARENT_I2: sent v2I2, expected v2R2 {auth=IKEv2 cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=MODP2048} -002 "named" #2: IKEv2 mode peer ID is ID_FQDN: '@east' -003 "named" #2: Authenticated using authby=secret -002 "named" #2: negotiated connection [192.0.1.0-192.0.1.255:0-65535 0] -> [192.0.2.0-192.0.2.255:0-65535 0] -004 "named" #2: STATE_V2_IPSEC_I: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE NATOA=none NATD=none DPD=passive} +whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) west # echo done done