/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# ip addr add 192.0.100.254/24 dev eth0:1 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# ip route add 192.0.200.0/24 via 192.1.2.23 dev eth1 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# # ensure that clear text does not get through kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# iptables -A INPUT -i eth1 -s 192.0.2.0/24 -j LOGDROP kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# iptables -A INPUT -i eth1 -s 192.0.200.0/24 -j LOGDROP kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# iptables -I INPUT -m policy --dir in --pol ipsec -j ACCEPT kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# 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. 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. Starting pluto IKE daemon for IPsec: kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# ipsec auto --add westnet-eastnet-ikev2a 002 added connection description "westnet-eastnet-ikev2a" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# ipsec auto --add westnet-eastnet-ikev2b 002 added connection description "westnet-eastnet-ikev2b" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs]# ipsec auto --up westnet-eastnet-ikev2a 002 "westnet-eastnet-ikev2a" #1: initiating v2 parent SA 181 "westnet-eastnet-ikev2a" #1: initiate 002 "westnet-eastnet-ikev2a": constructed local IKE proposals for westnet-eastnet-ikev2a (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 "westnet-eastnet-ikev2a" #1: STATE_PARENT_I1: sent v2I1, expected v2R1 002 "westnet-eastnet-ikev2a" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 031 "westnet-eastnet-ikev2a" #1: STATE_PARENT_I1: 60 second timeout exceeded after 0 retransmits. No response (or no acceptable response) to our first IKEv2 message 000 "westnet-eastnet-ikev2a" #1: starting keying attempt 2 of an unlimited number, but releasing whack kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-child-ipsec-pfs\[root@west ikev2-child-ipsec-pfs 31]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 31 westrun.sh 'ipsec auto --up westnet-eastnet-ikev2a' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'ping -n -c 4 -I 192.0.1.254 192.0.2.254' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 westrun.sh 'ipsec auto --up westnet-eastnet-ikev2b' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'ping -n -c 4 -I 192.0.100.254 192.0.200.254' <<<<<<<<<>>>>>>>>>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' <<<<<<<<<