/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# cp policies/* /etc/ipsec.d/policies/ kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# echo "192.1.2.23/32" >> /etc/ipsec.d/policies/private kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# 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. 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: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# # give OE policies time to load kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# ip -s xfrm monitor > /tmp/xfrm-monitor.out & [1] 16059 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# ping -n -c 1 -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. --- 192.1.2.23 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms [1]+ Terminated ip -s xfrm monitor > /tmp/xfrm-monitor.out kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh 'ping -n -c 1 -I 192.1.3.209 192.1.2.23' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh '# wait on OE retransmits and rekeying' <<<<<<<<< /dev/null 2> /dev/null kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# cp /tmp/xfrm-monitor.out OUTPUT/road.xfrm-monitor.txt kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# # ping should succeed through tunnel kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# ping -n -c 2 -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=1 ttl=64 time=0.086 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.073 ms --- 192.1.2.23 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 30ms rtt min/avg/max/mdev = 0.073/0.079/0.086/0.011 ms kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# # pause to let the instance expire, and see if template policy remains kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# sleep 45 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# 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-18-private-private-32\[root@road newoe-18-private-private-32 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<< [192.1.2.23-192.1.2.23:0-65535 0] kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32]# ipsec auto --status whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-private-private-32\[root@road newoe-18-private-private-32 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<