# trap installed
../../guestbin/ipsec-kernel-policy.sh

# initiate a connection
../../guestbin/ping-once.sh --forget -I 192.1.2.45 192.1.2.23
../../guestbin/wait-for-pluto.sh '^".*#1: sent IKE_SA_INIT request'
../../guestbin/ipsec-kernel-policy.sh

# wait for it to fail
../../guestbin/wait-for-pluto.sh ' second timeout exceeded after '
../../guestbin/ipsec-kernel-policy.sh

# let larval state expire
../../guestbin/wait-for.sh --no-match 'spi 0x00000000' -- ../../guestbin/ipsec-kernel-state.sh
