/testing/guestbin/swan-prep --x509
Preparing X.509 files
east #
 certutil -D -n west -d sql:/etc/ipsec.d
east #
 ipsec start
Redirecting to: [initsystem]
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 ipsec auto --add ikev2-westnet-eastnet
002 added IKEv2 connection "ikev2-westnet-eastnet"
east #
 # block IKE and ESP over UDP
east #
 iptables -I INPUT -p udp --dport 500 -j DROP
east #
 iptables -I INPUT -p udp --dport 4500 -j DROP
east #
 echo "initdone"
initdone
east #
 # test TCP code for leaks
east #
 ipsec whack --shutdown
east #
 grep -e leak /tmp/pluto.log | grep -v -e '|'
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 #
 
