/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# 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. 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. Starting pluto IKE daemon for IPsec: kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# ipsec auto --add westnet-eastnet 002 added connection description "westnet-eastnet" kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# # wait for east to initiate to us kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# sleep 10 kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# ping -n -c 4 -I 192.0.1.254 192.0.2.254 PING 192.0.2.254 (192.0.2.254) from 192.0.1.254 : 56(84) bytes of data. 64 bytes from 192.0.2.254: icmp_seq=1 ttl=64 time=0.079 ms 64 bytes from 192.0.2.254: icmp_seq=2 ttl=64 time=0.232 ms 64 bytes from 192.0.2.254: icmp_seq=3 ttl=64 time=0.079 ms 64 bytes from 192.0.2.254: icmp_seq=4 ttl=64 time=0.067 ms --- 192.0.2.254 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 66ms rtt min/avg/max/mdev = 0.067/0.114/0.232/0.068 ms kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# # should show non-zero traffic counters kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# ipsec whack --trafficstatus 006 #2: "westnet-eastnet", type=ESP, add_time=0, inBytes=336, outBytes=336, id='@east' kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# # sending delete/notify should cause east to re-initiate kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# ipsec auto --down westnet-eastnet 002 "westnet-eastnet": terminating SAs using this connection 002 "westnet-eastnet" #2: deleting state (STATE_QUICK_R2) aged 13.433s and sending notification 005 "westnet-eastnet" #2: ESP traffic information: in=336B out=336B 002 "westnet-eastnet" #1: deleting state (STATE_MAIN_R3) aged 13.471s and sending notification kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# # give Delete/Notify some time kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# # A new IPsec SA should be established (older versions would take 30 seconds) kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# # traffic counters should be zero kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06]# ipsec whack --trafficstatus whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/delete-sa-06\[root@west delete-sa-06 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 westrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>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' <<<<<<<<<