summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/dpd-clear/evaltest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/dpd-clear/evaltest.dat')
-rw-r--r--testing/tests/ikev1/dpd-clear/evaltest.dat7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/tests/ikev1/dpd-clear/evaltest.dat b/testing/tests/ikev1/dpd-clear/evaltest.dat
new file mode 100644
index 000000000..98d5b146b
--- /dev/null
+++ b/testing/tests/ikev1/dpd-clear/evaltest.dat
@@ -0,0 +1,7 @@
+carol::ipsec status::STATE_MAIN_I4 (ISAKMP SA established)::YES
+carol::iptables -A INPUT -i eth0 -s PH_IP_MOON -j DROP::no output expected::NO
+moon::sleep 50::no output expected::NO
+moon::cat /var/log/auth.log::inserting event EVENT_DPD::YES
+moon::cat /var/log/auth.log::DPD: No response from peer - declaring peer dead::YES
+moon::cat /var/log/auth.log::DPD: Terminating all SAs using this connection::YES
+moon::cat /var/log/auth.log::DPD: Clearing connection::YES