/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# cp policies/* /etc/ipsec.d/policies/ kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# 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. 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. Starting pluto IKE daemon for IPsec: kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# # ensure for tests acquires expire before our failureshunt=2m kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# echo 30 > /proc/sys/net/core/xfrm_acq_expires kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# # give OE policies time to load kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# ping -n -c 4 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.262 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.069 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.081 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 96ms rtt min/avg/max/mdev = 0.069/0.137/0.262/0.088 ms kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# ipsec whack --trafficstatus 006 #2: "private-or-clear#192.1.2.0/24"[1] ...192.1.2.23, type=ESP, add_time=0, inBytes=252, outBytes=252, id='ID_NULL' kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# ipsec whack --shuntstatus 000 Bare Shunt list: 000 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# # wait for IPSEC SA to expire due to inactivity. kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# sleep 60 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# sleep 60 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# # expired #1 and #2. trafficstatus should be empty kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive]# ipsec whack --trafficstatus whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive\[root@road newoe-10-expire-inactive 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<