/testing/guestbin/swan-prep
west #
 echo "initdone"
initdone
west #
 echo "Sending known bad packet"
Sending known bad packet
west #
 ike-scan -v  --retry 3 --backoff=1 --interval=10 --trans="(1=7,14=128,2=1,3=1,4=14)" --trans="(3=1,4=14)"   192.1.2.23 | sed -e "s/in .[^ ]* /in XX /" -e "s/([^ ]* hosts/(XX.XX hosts/" -e "s/HDR=.*$/HDR=XXXXX/"
Starting ike-scan XX 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 XX: 1 hosts scanned in XX seconds (XX.XX hosts/sec).  0 returned handshake; 1 returned notify
west #
 echo "Running a fuzzing scan"
Running a fuzzing scan
west #
 ./ike-scan.sh > OUTPUT/fuzz.log
west #
 echo done
done
west #
 # if east was already down, the fuzzer crashed it
west #
 hostname |grep east > /dev/null && ipsec whack --shutdown
west #
west #
 ../bin/check-for-core.sh
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

