/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-07-invalid-xchg\[root@east ikev2-07-invalid-xchg]# 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. 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. 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-07-invalid-xchg\[root@east ikev2-07-invalid-xchg]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-07-invalid-xchg\[root@east ikev2-07-invalid-xchg]# ipsec whack --impair bad-ikev2-auth-xchg --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-07-invalid-xchg\[root@east ikev2-07-invalid-xchg]# ipsec auto --add westnet-eastnet-ipv4-psk-ikev2 002 added connection description "westnet-eastnet-ipv4-psk-ikev2" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-07-invalid-xchg\[root@east ikev2-07-invalid-xchg]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-07-invalid-xchg\[root@east ikev2-07-invalid-xchg]# ../bin/check-for-core.sh CORE FOUND: /tmp/core.west.pluto.19600 [New LWP 19600] [New LWP 19737] [New LWP 19735] [New LWP 19734] [New LWP 19739] [New LWP 19740] [New LWP 19736] [New LWP 19738] [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 `/usr/local/libexec/ipsec/pluto --config /etc/ipsec.conf --leak-detective'. Program terminated with signal SIGABRT, Aborted. #0 0x00007f52ab0f557f in raise () from /lib64/libc.so.6 [Current thread is 1 (Thread 0x7f52aa297140 (LWP 19600))] #0 0x00007f52ab0f557f in raise () from /lib64/libc.so.6 #1 0x00007f52ab0df895 in abort () from /lib64/libc.so.6 #2 0x0000564e302dc3b0 in lswlog_passert_suffix (buf=buf@entry=0x7ffde7594790, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x0000564e302cdc37 in lsw_passert_fail (where=..., fmt=fmt@entry=0x564e30339dd8 "pointer %p invalid, possible double free (magic == ~LEAK_MAGIC)") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x0000564e302c489f in pfree (ptr=0x564e32096e88) at /home/build/libreswan/lib/libswan/alloc.c:133 #5 pfree (ptr=0x564e32096e88) at /home/build/libreswan/lib/libswan/alloc.c:123 #6 0x0000564e302c59e6 in free_id_content (id=0x564e32099770) at /home/build/libreswan/lib/libswan/id.c:314 #7 free_id_content (id=id@entry=0x564e32099770) at /home/build/libreswan/lib/libswan/id.c:307 #8 0x0000564e3024c75d in delete_end (e=e@entry=0x564e32099770) at /home/build/libreswan/programs/pluto/connections.c:156 #9 0x0000564e3024ca4b in delete_sr (sr=0x564e320995e8) at /home/build/libreswan/programs/pluto/connections.c:171 #10 discard_connection (c=0x564e32099498, old_cur_connection=0x0, connection_valid=) at /home/build/libreswan/programs/pluto/connections.c:281 #11 0x0000564e30250d24 in delete_connection (c=0x564e32099498, relations=relations@entry=true) at /home/build/libreswan/programs/pluto/connections.c:216 #12 0x0000564e3025101a in delete_every_connection () at /home/build/libreswan/programs/pluto/connections.c:349 #13 0x0000564e30265efd in exit_pluto (status=status@entry=0) at /home/build/libreswan/programs/pluto/plutomain.c:1832 #14 0x0000564e302ad02e in whack_process (whackfd=..., m=m@entry=0x7ffde7595580) at /home/build/libreswan/programs/pluto/rcv_whack.c:695 #15 0x0000564e302ad2dc in whack_handle (whackctlfd=whackctlfd@entry=4) at /home/build/libreswan/programs/pluto/rcv_whack.c:810 #16 0x0000564e302ad3ac in whack_handle_cb (fd=4, event=, arg=) at /home/build/libreswan/programs/pluto/rcv_whack.c:709 #17 0x00007f52ab2ac031 in event_process_active_single_queue () from /lib64/libevent-2.1.so.6 #18 0x00007f52ab2ac7c7 in event_base_loop () from /lib64/libevent-2.1.so.6 #19 0x0000564e3026a695 in call_server () at /home/build/libreswan/programs/pluto/server.c:1489 #20 0x0000564e3022b016 in main (argc=, argv=) at /home/build/libreswan/programs/pluto/plutomain.c:1796 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 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-07-invalid-xchg\[root@east ikev2-07-invalid-xchg]# if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi type=AVC msg=audit(1566824781.750:169760): avc: denied { write } for pid=5361 comm="ip" path="/tmp/pluto.log" dev="dm-0" ino=942309374 scontext=unconfined_u:system_r:ifconfig_t:s0 tcontext=unconfined_u:object_r:container_file_t:s0:c718,c778 tclass=file permissive=1 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-07-invalid-xchg\[root@east ikev2-07-invalid-xchg]# : ==== end ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-07-invalid-xchg\[root@east ikev2-07-invalid-xchg]#