/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-ikev2-major
002 added connection description "westnet-eastnet-ikev2-major"
east #
 echo "initdone"
initdone
east #
 grep INVALID_MAJOR_VERSION /tmp/pluto.log
packet from 192.1.2.45:500: responding to IKE_SA_INIT (34) message (Message ID 0) from 192.1.2.45:500 with unencrypted notification INVALID_MAJOR_VERSION
|    Notify Message Type: v2N_INVALID_MAJOR_VERSION (0x5)
east #
 grep "INVALID_MAJOR_VERSION" /tmp/pluto.log >/dev/null && echo payload found
payload found
east #
 ../bin/check-for-core.sh
east #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

