/testing/guestbin/swan-prep --x509 Preparing X.509 files kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-19-x509-auto-start\[root@north ikev2-19-x509-auto-start]# ipsec start Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Redirecting to: /etc/init.d/ipsec start Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Starting pluto IKE daemon for IPsec: kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-19-x509-auto-start\[root@north ikev2-19-x509-auto-start]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-19-x509-auto-start\[root@north ikev2-19-x509-auto-start]# ipsec auto --add northnet-eastnet-ipv4 002 added connection description "northnet-eastnet-ipv4" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-19-x509-auto-start\[root@north ikev2-19-x509-auto-start]# ipsec auto --status | grep northnet-eastnet-ipv4 000 "northnet-eastnet-ipv4": 192.0.3.0/24===192.1.3.33<192.1.3.33>[@north]...192.1.2.23<192.1.2.23>[@east]===192.0.2.0/24; unrouted; eroute owner: #0 000 "northnet-eastnet-ipv4": oriented; my_ip=unset; their_ip=unset; my_updown=ipsec _updown; 000 "northnet-eastnet-ipv4": xauth us:none, xauth them:none, my_username=[any]; their_username=[any] 000 "northnet-eastnet-ipv4": our auth:rsasig, their auth:rsasig 000 "northnet-eastnet-ipv4": modecfg info: us:none, them:none, modecfg policy:push, dns:unset, domains:unset, banner:unset, cat:unset; 000 "northnet-eastnet-ipv4": labeled_ipsec:no; 000 "northnet-eastnet-ipv4": policy_label:unset; 000 "northnet-eastnet-ipv4": ike_life: 50s; ipsec_life: 180s; replay_window: 32; rekey_margin: 5s; rekey_fuzz: 100%; keyingtries: 0; 000 "northnet-eastnet-ipv4": retransmit-interval: 500ms; retransmit-timeout: 60s; 000 "northnet-eastnet-ipv4": initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no; 000 "northnet-eastnet-ipv4": policy: RSASIG+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO; 000 "northnet-eastnet-ipv4": conn_prio: 24,24; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "northnet-eastnet-ipv4": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:auto; 000 "northnet-eastnet-ipv4": our idtype: ID_FQDN; our id=@north; their idtype: ID_FQDN; their id=@east 000 "northnet-eastnet-ipv4": dpd: action:hold; delay:0; timeout:0; nat-t: encaps:auto; nat_keepalive:yes; ikev1_natt:both 000 "northnet-eastnet-ipv4": newest ISAKMP SA: #0; newest IPsec SA: #0; kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-19-x509-auto-start\[root@north ikev2-19-x509-auto-start]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-19-x509-auto-start\[root@north ikev2-19-x509-auto-start]# ipsec auto --up northnet-eastnet-ipv4 002 "northnet-eastnet-ipv4" #1: initiating v2 parent SA 181 "northnet-eastnet-ipv4" #1: initiate 002 "northnet-eastnet-ipv4": constructed local IKE proposals for northnet-eastnet-ipv4 (IKE SA initiator selecting KE): 1:IKE:ENCR=AES_GCM_C_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 2:IKE:ENCR=AES_GCM_C_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=NONE;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 3:IKE:ENCR=AES_CBC_256;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 4:IKE:ENCR=AES_CBC_128;PRF=HMAC_SHA2_512,HMAC_SHA2_256;INTEG=HMAC_SHA2_512_256,HMAC_SHA2_256_128;DH=MODP2048,MODP3072,MODP4096,MODP8192,ECP_256,ECP_384,ECP_521,CURVE25519 181 "northnet-eastnet-ipv4" #1: STATE_PARENT_I1: sent v2I1, expected v2R1 003 "northnet-eastnet-ipv4" #1: Can't find the certificate or private key from the NSS CKA_ID 003 "northnet-eastnet-ipv4" #1: Failed to find our RSA key 002 "northnet-eastnet-ipv4" #3: initiating v2 parent SA to replace #1 181 "northnet-eastnet-ipv4" #3: STATE_PARENT_I0: initiate, replacing #1 002 "northnet-eastnet-ipv4" #1: deleting state (STATE_PARENT_I2) aged 60.009s and NOT sending notification 181 "northnet-eastnet-ipv4" #3: STATE_PARENT_I1: sent v2I1, expected v2R1 003 "northnet-eastnet-ipv4" #3: Can't find the certificate or private key from the NSS CKA_ID 003 "northnet-eastnet-ipv4" #3: Failed to find our RSA key kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-19-x509-auto-start\[root@north ikev2-19-x509-auto-start]# ping -n -c 2 -I 192.0.3.254 192.0.2.254 PING 192.0.2.254 (192.0.2.254) from 192.0.3.254 : 56(84) bytes of data. 64 bytes from 192.0.2.254: icmp_seq=1 ttl=63 time=0.056 ms 64 bytes from 192.0.2.254: icmp_seq=2 ttl=63 time=0.067 ms --- 192.0.2.254 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 31ms rtt min/avg/max/mdev = 0.056/0.061/0.067/0.009 ms kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-19-x509-auto-start\[root@north ikev2-19-x509-auto-start]# ipsec whack --trafficstatus whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-19-x509-auto-start\[root@north ikev2-19-x509-auto-start 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 northrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 northrun.sh '# waiting 2 minutes in chunks of 15 seconds' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 northrun.sh 'ipsec auto --status | grep northnet-eastnet-ipv4' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<