/testing/guestbin/swan-prep
east #
 ipsec start
Redirecting to: [initsystem]
east #
 echo "xnorth:xOzlFlqtwJIu2:east-any:192.0.2.201" > /etc/ipsec.d/passwd
east #
 echo "xroad:xOzlFlqtwJIu2:east-any" >> /etc/ipsec.d/passwd
east #
 /testing/pluto/bin/wait-until-pluto-started
east #
 ipsec auto --add east-any
002 added connection description "east-any"
east #
 echo initdone
initdone
east #
 hostname | grep east > /dev/null && ipsec whack --trafficstatus
006 #2: "east-any"[1] 192.1.3.33, username=xnorth, type=ESP, add_time=1234567890, inBytes=336, outBytes=336, lease=192.0.2.201/32
006 #4: "east-any"[2] 192.1.3.209, username=xroad, type=ESP, add_time=1234567890, inBytes=336, outBytes=336, lease=192.0.2.101/32
east #
 hostname | grep east > /dev/null && 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

