/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# cp road-ikev2-oe.conf /etc/ipsec.d/ikev2-oe.conf kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# cp policies/* /etc/ipsec.d/policies/ kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# echo "192.1.2.0/24 tcp 0 22" >> /etc/ipsec.d/policies/private-or-clear kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# 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. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# # ensure for tests acquires expire before our failureshunt=2m kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# echo 30 > /proc/sys/net/core/xfrm_acq_expires kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# # give OE policies time to load kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# # use a static source port just to prevent false positive on larval state port kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# echo TRIGGER-OE | nc -s 192.1.3.209 -p 42599 192.1.2.23 22 Ncat: Connection refused. kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh 'echo TRIGGER-OE | nc -s 192.1.3.209 -p 42599 192.1.2.23 22' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh '# wait on OE retransmits and rekeying' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --shuntstatus' <<<<<<<<< [192.1.2.23-192.1.2.23:22-22 6] kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-cop-port22\[root@road newoe-18-poc-cop-port22]# 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-poc-cop-port22\[root@road newoe-18-poc-cop-port22 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' <<<<<<<<<