/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: systemctl start ipsec.service
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 ipsec whack --debug-all --impair-send-zero-gx --impair-retransmits
west #
 ipsec auto --add westnet-eastnet-ipv4-psk
002 added connection description "westnet-eastnet-ipv4-psk"
west #
 echo "initdone"
initdone
west #
 ipsec auto --up  westnet-eastnet-ipv4-psk
002 "westnet-eastnet-ipv4-psk" #1: initiating Main Mode
104 "westnet-eastnet-ipv4-psk" #1: STATE_MAIN_I1: initiate
002 "westnet-eastnet-ipv4-psk" #1: sending bogus g^x == 0 value to break DH calculations because impair-send-zero-gx was set
106 "westnet-eastnet-ipv4-psk" #1: STATE_MAIN_I2: sent MI2, expecting MR2
108 "westnet-eastnet-ipv4-psk" #1: STATE_MAIN_I3: sent MI3, expecting MR3
003 "westnet-eastnet-ipv4-psk" #1: ignoring informational payload INVALID_FLAGS, msgid=00000000, length=12
003 "westnet-eastnet-ipv4-psk" #1: received and ignored informational message
003 "westnet-eastnet-ipv4-psk" #1: discarding duplicate packet; already STATE_MAIN_I3
002 "westnet-eastnet-ipv4-psk" #1: suppressing retransmit because IMPAIR_RETRANSMITS is set
031 "westnet-eastnet-ipv4-psk" #1: max number of retransmissions (0) reached STATE_MAIN_I3.  Possible authentication failure: no acceptable response to our first encrypted message
002 "westnet-eastnet-ipv4-psk" #1: deleting state (STATE_MAIN_I3)
west #
 echo done
done
west #
 grep INVALID_FLAGS /tmp/pluto.log
|    Notify Message Type: INVALID_FLAGS (0x8)
"westnet-eastnet-ipv4-psk" #1: ignoring informational payload INVALID_FLAGS, msgid=00000000, length=12
| processing informational INVALID_FLAGS (8)
west #
west #
 if [ -n "`ls /tmp/core* 2>/dev/null`" ]; then echo CORE FOUND; mv /tmp/core* OUTPUT/; fi
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

