/testing/guestbin/swan-prep
north #
 ipsec start
Redirecting to: [initsystem]
north #
 /testing/pluto/bin/wait-until-pluto-started
north #
 # ipsec auto --add north-east
north #
 echo "initdone"
initdone
north #
 # one ping to trigger IKE
north #
 ../../pluto/bin/one-ping.sh -I 192.0.3.254 192.0.2.254
down
north #
 ../../pluto/bin/wait-for-whack-trafficstatus.sh north-east
006 #2: "north-east", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, id='@east'
north #
 # success
north #
 ping -q -w 4 -n -c 4 -I 192.0.3.254 192.0.2.254
PING 192.0.2.254 (192.0.2.254) from 192.0.3.254 : 56(84) bytes of data.
--- 192.0.2.254 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time XXXX
rtt min/avg/max/mdev = 0.XXX/0.XXX/0.XXX/0.XXX ms
north #
 ipsec whack --trafficstatus
006 #2: "north-east", type=ESP, add_time=1234567890, inBytes=336, outBytes=336, id='@east'
north #
 echo done
done
north #
north #
 ../bin/check-for-core.sh
north #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi