/testing/guestbin/swan-prep --x509 --x509name west-nosan Preparing X.509 files west # certutil -D -n east -d sql:/etc/ipsec.d west # ipsec start Redirecting to: [initsystem] west # /testing/pluto/bin/wait-until-pluto-started west # ipsec auto --add ikev2-westnet-eastnet-x509-cr 002 added connection description "ikev2-westnet-eastnet-x509-cr" west # ipsec status | grep idtype 000 "ikev2-westnet-eastnet-x509-cr": our idtype: ID_IPV4_ADDR; our id=192.1.2.45; their idtype: ID_IPV4_ADDR; their id=192.1.2.23 west # ipsec whack --impair suppress-retransmits west # echo "initdone" initdone west # # should fail west # ipsec auto --up ikev2-westnet-eastnet-x509-cr 002 "ikev2-westnet-eastnet-x509-cr" #1: initiating Main Mode 1v1 "ikev2-westnet-eastnet-x509-cr" #1: STATE_MAIN_I1: initiate 1v1 "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 1v1 "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 west # echo "done" done west # west # ../bin/check-for-core.sh CORE FOUND: /tmp/core.road.pluto.16022 [New LWP 16022] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `PATH/libexec/ipsec/pluto --config /etc/ipsec.conf'. Program terminated with signal SIGABRT, Aborted. #0 0x00007f3155fc7e75 in raise () from /lib64/libc.so.6 #0 0x00007f3155fc7e75 in raise () from /lib64/libc.so.6 #1 0x00007f3155fb2895 in abort () from /lib64/libc.so.6 #2 0x00005634ca5b4ecb in lswlog_passert_suffix (buf=buf@entry=0x7fffcddcedb0, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x00005634ca5a62e8 in lsw_passert_fail (where=..., fmt=fmt@entry=0x5634ca603624 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x00005634ca542586 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 0x00005634ca53f0c9 in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 #7 0x00005634ca505907 in create_lock () at /home/build/libreswan/programs/pluto/plutomain.c:272 #8 main (argc=, argv=) at /home/build/libreswan/programs/pluto/plutomain.c:1458 BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory Failed to read a valid object file image from memory. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory Cannot find new threads: generic error BFD: reopening /tmp/core.road.pluto.16022: No such file or directory warning: Couldn't read general-purpose registers from `.reg/16022' section in core file. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory warning: Couldn't read floating-point registers from `.reg2/16022' section in core file. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory warning: Couldn't read XSAVE extended state registers from `.reg-xstate/16022' section in core file. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory mv: cannot stat '/tmp/core.road.pluto.16022': No such file or directory CORE FOUND: /tmp/core.road.pluto.16045 [New LWP 16045] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `PATH/libexec/ipsec/pluto --config /etc/ipsec.conf'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fee8faa4e75 in raise () from /lib64/libc.so.6 #0 0x00007fee8faa4e75 in raise () from /lib64/libc.so.6 #1 0x00007fee8fa8f895 in abort () from /lib64/libc.so.6 #2 0x00005640afed8ecb in lswlog_passert_suffix (buf=buf@entry=0x7ffe8ac566a0, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x00005640afeca2e8 in lsw_passert_fail (where=..., fmt=fmt@entry=0x5640aff27624 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x00005640afe66586 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 0x00005640afe630c9 in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 #7 0x00005640afe29907 in create_lock () at /home/build/libreswan/programs/pluto/plutomain.c:272 #8 main (argc=, argv=) at /home/build/libreswan/programs/pluto/plutomain.c:1458 BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory Failed to read a valid object file image from memory. BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory Cannot find new threads: generic error BFD: reopening /tmp/core.road.pluto.16045: No such file or directory warning: Couldn't read general-purpose registers from `.reg/16045' section in core file. BFD: reopening /tmp/core.road.pluto.16045: No such file or directory warning: Couldn't read floating-point registers from `.reg2/16045' section in core file. BFD: reopening /tmp/core.road.pluto.16045: No such file or directory warning: Couldn't read XSAVE extended state registers from `.reg-xstate/16045' section in core file. BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory mv: cannot stat '/tmp/core.road.pluto.16045': No such file or directory west # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi