/testing/guestbin/swan-prep
west #
 # confirm that the network is alive
west #
 ../../pluto/bin/wait-until-alive -I 192.0.1.254 192.0.2.254
destination -I 192.0.1.254 192.0.2.254 is alive
west #
 ipsec start
Redirecting to: systemctl start ipsec.service
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 ipsec whack --impair send-key-size-check all --impair suppress-retransmits
whack error: unexpected argument "all"
west #
 ipsec auto --add westnet-eastnet-aes256
036 Failed to add connection "westnet-eastnet-aes256", esp="3des333-sha1" is invalid: 3DES does not take variable key lengths
west #
 ipsec auto --status | grep westnet-eastnet-aes256
west #
 echo "initdone"
initdone
west #
 ipsec auto --up  westnet-eastnet-aes256
000 initiating all conns with alias='westnet-eastnet-aes256'
021 no connection named "westnet-eastnet-aes256"
west #
 echo done
done
west #
 # should not match anything
west #
 grep ID_UNASSIGNED_ID4 /tmp/pluto.log
west #
west #
 ../bin/check-for-core.sh
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

