/testing/guestbin/swan-prep west # ipsec start Redirecting to: [initsystem] west # /testing/pluto/bin/wait-until-pluto-started west # ipsec auto --add westnet-eastnet-ipv4-psk 002 added connection description "westnet-eastnet-ipv4-psk" west # echo "initdone" initdone west # # should fail fast west # ipsec whack --impair ke-payload:0 --impair delete-on-retransmit west # ipsec auto --up westnet-eastnet-ipv4-psk 002 "westnet-eastnet-ipv4-psk" #1: initiating Main Mode 1v1 "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 1v1 "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) and NOT sending notification west # ipsec whack --impair none west # # expected to fail with a timeout west # ipsec whack --impair suppress-retransmits west # 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) and NOT sending notification 002 added connection description "westnet-eastnet-ipv4-psk" west # ipsec auto --up westnet-eastnet-ipv4-psk 002 "westnet-eastnet-ipv4-psk" #3: initiating Main Mode 1v1 "westnet-eastnet-ipv4-psk" #3: STATE_MAIN_I1: initiate 1v1 "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 west # echo done done west # 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 west # west # ../bin/check-for-core.sh CORE FOUND: /tmp/core.west.pluto.15127 [New LWP 15127] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments Core was generated by `PATH/libexec/ipsec/pluto --config /etc/ipsec.conf --leak-detective'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fdd087d157f in raise () from /lib64/libc.so.6 #0 0x00007fdd087d157f in raise () from /lib64/libc.so.6 #1 0x00007fdd087bb895 in abort () from /lib64/libc.so.6 #2 0x0000557b172303b0 in lswlog_passert_suffix (buf=buf@entry=0x7fff76ce50b0, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x0000557b17221c37 in lsw_passert_fail (where=..., fmt=fmt@entry=0x557b17256321 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x0000557b171bd3e6 in free_signal_handlers () at /home/build/libreswan/programs/pluto/server.c:624 #5 free_pluto_event_list () at /home/build/libreswan/programs/pluto/server.c:671 #6 0x0000557b171b9f2d in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 #7 0x0000557b171808b2 in create_lock () at /home/build/libreswan/programs/pluto/plutomain.c:272 #8 main (argc=4, argv=0x7fff76ce5908) at /home/build/libreswan/programs/pluto/plutomain.c:1458 warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments mv: cannot stat '/tmp/core.west.pluto.15127': No such file or directory west # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi