/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# 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. 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. 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/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# ipsec auto --add westnet-eastnet-ipv4-psk 002 added connection description "westnet-eastnet-ipv4-psk" kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# # should fail fast kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# ipsec whack --impair ke-payload:0 --impair delete-on-retransmit kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# ipsec auto --up westnet-eastnet-ipv4-psk 002 "westnet-eastnet-ipv4-psk" #1: initiating Main Mode 102 "westnet-eastnet-ipv4-psk" #1: STATE_MAIN_I1: initiate 002 "westnet-eastnet-ipv4-psk" #1: IMPAIR: sending bogus KE (g^x) == 0 value to break DH calculations 104 "westnet-eastnet-ipv4-psk" #1: STATE_MAIN_I2: sent MI2, expecting MR2 217 "westnet-eastnet-ipv4-psk" #1: STATE_MAIN_I2: INVALID_KEY_INFORMATION 002 "westnet-eastnet-ipv4-psk" #1: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500 217 "westnet-eastnet-ipv4-psk" #1: STATE_MAIN_I2: INVALID_KEY_INFORMATION 002 "westnet-eastnet-ipv4-psk" #1: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500 217 "westnet-eastnet-ipv4-psk" #1: STATE_MAIN_I2: INVALID_KEY_INFORMATION 002 "westnet-eastnet-ipv4-psk" #1: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500 002 "westnet-eastnet-ipv4-psk" #1: deleting state (STATE_MAIN_I2) aged 90.041s and NOT sending notification kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# ipsec whack --impair none kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# # expected to fail with a timeout kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# ipsec auto --add westnet-eastnet-ipv4-psk 002 "westnet-eastnet-ipv4-psk": terminating SAs using this connection 002 "westnet-eastnet-ipv4-psk" #2: deleting state (STATE_MAIN_I2) aged 0.246s and NOT sending notification 002 added connection description "westnet-eastnet-ipv4-psk" kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# ipsec auto --up westnet-eastnet-ipv4-psk 002 "westnet-eastnet-ipv4-psk" #3: initiating Main Mode 002 "westnet-eastnet-ipv4-psk" #3: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 102 "westnet-eastnet-ipv4-psk" #3: STATE_MAIN_I1: initiate 002 "westnet-eastnet-ipv4-psk" #3: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 104 "westnet-eastnet-ipv4-psk" #3: STATE_MAIN_I2: sent MI2, expecting MR2 217 "westnet-eastnet-ipv4-psk" #3: STATE_MAIN_I2: INVALID_KEY_INFORMATION 002 "westnet-eastnet-ipv4-psk" #3: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500 kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# echo done done kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# grep INVALID_KEY_INFORMATION /tmp/pluto.log | complete v1 state transition with INVALID_KEY_INFORMATION "westnet-eastnet-ipv4-psk" #1: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500 | Notify Message Type: INVALID_KEY_INFORMATION (0x11) | state transition function for STATE_MAIN_I2 failed: INVALID_KEY_INFORMATION | complete v1 state transition with INVALID_KEY_INFORMATION "westnet-eastnet-ipv4-psk" #1: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500 | Notify Message Type: INVALID_KEY_INFORMATION (0x11) | state transition function for STATE_MAIN_I2 failed: INVALID_KEY_INFORMATION | complete v1 state transition with INVALID_KEY_INFORMATION "westnet-eastnet-ipv4-psk" #1: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500 | Notify Message Type: INVALID_KEY_INFORMATION (0x11) | state transition function for STATE_MAIN_I2 failed: INVALID_KEY_INFORMATION | complete v1 state transition with INVALID_KEY_INFORMATION "westnet-eastnet-ipv4-psk" #2: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500 | Notify Message Type: INVALID_KEY_INFORMATION (0x11) | state transition function for STATE_MAIN_I2 failed: INVALID_KEY_INFORMATION | complete v1 state transition with INVALID_KEY_INFORMATION "westnet-eastnet-ipv4-psk" #3: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500 | Notify Message Type: INVALID_KEY_INFORMATION (0x11) | state transition function for STATE_MAIN_I2 failed: INVALID_KEY_INFORMATION kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke]# ipsec auto --status whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-impair-05-send-zero-ike-ke\[root@west ikev1-impair-05-send-zero-ike-ke 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh '../bin/check-for-core.sh' <<<<<<<<<