aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/pfkey/shunt-policies-nat-rw/evaltest.dat
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-06-26 15:46:39 +0200
committerTobias Brunner <tobias@strongswan.org>2014-06-26 18:13:26 +0200
commit73211f9b74236263b86e0fa6afc7fb84e65fc9e6 (patch)
treedfca6e59c3899adcd989fbed4ff761225f1a5ad7 /testing/tests/pfkey/shunt-policies-nat-rw/evaltest.dat
parentf22add05f6cccaae85eee4d99044d45f418b0989 (diff)
downloadstrongswan-73211f9b74236263b86e0fa6afc7fb84e65fc9e6.tar.bz2
strongswan-73211f9b74236263b86e0fa6afc7fb84e65fc9e6.tar.xz
testing: Add pfkey/shunt-policies-nat-rw scenario
Diffstat (limited to 'testing/tests/pfkey/shunt-policies-nat-rw/evaltest.dat')
-rw-r--r--testing/tests/pfkey/shunt-policies-nat-rw/evaltest.dat12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/tests/pfkey/shunt-policies-nat-rw/evaltest.dat b/testing/tests/pfkey/shunt-policies-nat-rw/evaltest.dat
new file mode 100644
index 000000000..4d36673dc
--- /dev/null
+++ b/testing/tests/pfkey/shunt-policies-nat-rw/evaltest.dat
@@ -0,0 +1,12 @@
+alice::ipsec status 2> /dev/null::local-net.*PASS::YES
+venus::ipsec status 2> /dev/null::local-net.*PASS::YES
+alice::ipsec status 2> /dev/null::nat-t.*ESTABLISHED.*alice@strongswan.org.*sun.strongswan.org::YES
+venus::ipsec status 2> /dev/null::nat-t.*ESTABLISHED.*venus.strongswan.org.*sun.strongswan.org::YES
+alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_req=1::YES
+alice::ping -c 1 PH_IP_VENUS::64 bytes from PH_IP_VENUS: icmp_req=1::YES
+venus::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_req=1::YES
+venus::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
+moon::tcpdump::IP moon.strongswan.org.* > sun.strongswan.org.4500: UDP-encap: ESP::YES
+moon::tcpdump::IP sun.strongswan.org.4500 > moon.strongswan.org.*: UDP-encap: ESP::YES
+alice::tcpdump::IP alice.strongswan.org > venus.strongswan.org: ICMP::YES
+alice::tcpdump::IP venus.strongswan.org > alice.strongswan.org: ICMP::YES \ No newline at end of file