/testing/guestbin/swan-prep --x509 --x509name west-nosan Preparing X.509 files kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# certutil -D -n east -d sql:/etc/ipsec.d kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# # confirm that the network is alive kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# ../../pluto/bin/wait-until-alive -I 192.0.1.254 192.0.2.254 destination -I 192.0.1.254 192.0.2.254 is alive kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# # ensure that clear text does not get through kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# iptables -A INPUT -i eth1 -s 192.0.2.0/24 -j LOGDROP kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# iptables -I INPUT -m policy --dir in --pol ipsec -j ACCEPT kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# # confirm clear text does not get through kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# ../../pluto/bin/ping-once.sh --down -I 192.0.1.254 192.0.2.254 ==== cut ==== ping -q -n -c 1 -i 2 -w 1 -I 192.0.1.254 192.0.2.254 ==== tuc ==== ==== cut ==== PING 192.0.2.254 (192.0.2.254) from 192.0.1.254 : 56(84) bytes of data. --- 192.0.2.254 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms ==== tuc ==== down kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# 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. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# ipsec auto --add ikev2-westnet-eastnet-x509-cr 002 added connection description "ikev2-westnet-eastnet-x509-cr" kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# ipsec auto --up ikev2-westnet-eastnet-x509-cr 002 "ikev2-westnet-eastnet-x509-cr" #1: initiating Main Mode 002 "ikev2-westnet-eastnet-x509-cr" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 102 "ikev2-westnet-eastnet-x509-cr" #1: STATE_MAIN_I1: initiate 002 "ikev2-westnet-eastnet-x509-cr" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 104 "ikev2-westnet-eastnet-x509-cr" #1: STATE_MAIN_I2: sent MI2, expecting MR2 002 "ikev2-westnet-eastnet-x509-cr" #1: I am sending my cert 002 "ikev2-westnet-eastnet-x509-cr" #1: I am sending a certificate request 002 "ikev2-westnet-eastnet-x509-cr" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 106 "ikev2-westnet-eastnet-x509-cr" #1: STATE_MAIN_I3: sent MI3, expecting MR3 003 "ikev2-westnet-eastnet-x509-cr" #1: ignoring informational payload INVALID_ID_INFORMATION, msgid=00000000, length=12 003 "ikev2-westnet-eastnet-x509-cr" #1: received and ignored notification payload: INVALID_ID_INFORMATION kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any]# ping -n -c4 -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. --- 192.0.2.254 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 96ms kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-17-id-any\[root@west ikev1-x509-17-id-any 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'ping -n -c4 -I 192.0.1.254 192.0.2.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' <<<<<<<<<