/testing/guestbin/swan-prep
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# echo "initdone"
initdone
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# echo "Sending known bad packet"
Sending known bad packet
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# ike-scan -v  --retry 3 --backoff=1 --interval=10 --trans="(1=7,14=128,2=1,3=1,4=4)" --trans="(3=1,4=4)"   192.1.2.23 | sed -e "s/in .[^ ]* /in XX /" -e "s/([^ ]* hosts/(XX.XX hosts/" -e "s/HDR=.*$/HDR=XXXXX/"
Starting ike-scan 1.9.4 with 1 hosts (http://www.nta-monitor.com/tools/ike-scan/)
192.1.2.23	Notify message 14 (NO-PROPOSAL-CHOSEN) HDR=XXXXX

Ending ike-scan 1.9.4: 1 hosts scanned in XX seconds (XX.XX hosts/sec).  0 returned handshake; 1 returned notify
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# echo "Running a fuzzing scan"
Running a fuzzing scan
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# ./ike-scan.sh > OUTPUT/fuzz.log
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# echo done
done
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# # if east was already down, the fuzzer crashed it
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# hostname |grep east > /dev/null && ipsec whack --shutdown
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'hostname |grep east > /dev/null && ipsec whack --shutdown' <<<<<<<<<<tuc<<<<<<<<<<: ==== cut ====
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# ipsec auto --status
whack: Pluto is not running (no "/run/pluto/pluto.ctl")
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<<tuc<<<<<<<<<<: ==== tuc ====
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# ../bin/check-for-core.sh

CORE FOUND: /tmp/core.west.pluto.24279

[New LWP 24279]
[New LWP 24597]
[New LWP 24598]
[New LWP 24600]
[New LWP 24601]
[New LWP 24602]
[New LWP 24603]
[New LWP 24596]
[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  0x00007f69fabd157f in raise () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f69f9d73140 (LWP 24279))]
#0  0x00007f69fabd157f in raise () from /lib64/libc.so.6
#1  0x00007f69fabbb895 in abort () from /lib64/libc.so.6
#2  0x000055d3119a03b0 in lswlog_passert_suffix (buf=buf@entry=0x7fff325bf5c0, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32
#3  0x000055d311991c37 in lsw_passert_fail (where=..., fmt=fmt@entry=0x55d3119fddd8 "pointer %p invalid, possible double free (magic == ~LEAK_MAGIC)") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31
#4  0x000055d31198889f in pfree (ptr=0x55d3139993f8) at /home/build/libreswan/lib/libswan/alloc.c:133
#5  pfree (ptr=0x55d3139993f8) at /home/build/libreswan/lib/libswan/alloc.c:123
#6  0x000055d3119899e6 in free_id_content (id=0x55d31399b500) at /home/build/libreswan/lib/libswan/id.c:314
#7  free_id_content (id=id@entry=0x55d31399b500) at /home/build/libreswan/lib/libswan/id.c:307
#8  0x000055d31191075d in delete_end (e=e@entry=0x55d31399b500) at /home/build/libreswan/programs/pluto/connections.c:156
#9  0x000055d311910a4b in delete_sr (sr=0x55d31399b378) at /home/build/libreswan/programs/pluto/connections.c:171
#10 discard_connection (c=0x55d31399b228, old_cur_connection=0x0, connection_valid=<optimized out>) at /home/build/libreswan/programs/pluto/connections.c:281
#11 0x000055d311914d24 in delete_connection (c=0x55d31399b228, relations=relations@entry=true) at /home/build/libreswan/programs/pluto/connections.c:216
#12 0x000055d31191501a in delete_every_connection () at /home/build/libreswan/programs/pluto/connections.c:349
#13 0x000055d311929efd in exit_pluto (status=status@entry=0) at /home/build/libreswan/programs/pluto/plutomain.c:1832
#14 0x000055d31197102e in whack_process (whackfd=..., m=m@entry=0x7fff325c03b0) at /home/build/libreswan/programs/pluto/rcv_whack.c:695
#15 0x000055d3119712dc in whack_handle (whackctlfd=whackctlfd@entry=4) at /home/build/libreswan/programs/pluto/rcv_whack.c:810
#16 0x000055d3119713ac in whack_handle_cb (fd=4, event=<optimized out>, arg=<optimized out>) at /home/build/libreswan/programs/pluto/rcv_whack.c:709
#17 0x00007f69fad88031 in event_process_active_single_queue () from /lib64/libevent-2.1.so.6
#18 0x00007f69fad887c7 in event_base_loop () from /lib64/libevent-2.1.so.6
#19 0x000055d31192e695 in call_server () at /home/build/libreswan/programs/pluto/server.c:1489
#20 0x000055d3118ef016 in main (argc=<optimized out>, argv=<optimized out>) 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/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]# if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<<tuc<<<<<<<<<<: ==== end ====
kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-02-fuzzer\[root@west ikev1-02-fuzzer]#