/testing/guestbin/swan-prep
east #
 # prevent stray DNS packets hitting OE - DNS not used on east in this test
east #
 rm /etc/resolv.conf
east #
 touch /etc/resolv.conf
east #
 cp policies/* /etc/ipsec.d/policies/
east #
 echo "192.1.2.0/24"  >> /etc/ipsec.d/policies/private-or-clear
east #
 cp ikev2-oe.conf /etc/ipsec.d/ikev2-oe.conf
east #
 ipsec start
Redirecting to: [initsystem]
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 # give OE policies time to load
east #
 sleep 2
east #
 echo "initdone"
initdone
east #
 ipsec stop
Redirecting to: [initsystem]
east #
 grep "^leak" /tmp/pluto.log
leak-detective enabled
leak detective found no leaks
east #
 ../bin/check-for-core.sh
east #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi
east #
 
