aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/nat-rw-psk/evaltest.dat
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-06-14 18:58:12 +0200
committerTobias Brunner <tobias@strongswan.org>2016-06-16 14:04:11 +0200
commit8f56bbc82b50cb999f312162bc9dd46d789803f7 (patch)
treeb31737a83a1392563a9d2f4898ea1715542a6a18 /testing/tests/ikev2/nat-rw-psk/evaltest.dat
parent575a469b950118d56ed705bc53bf4ff70e839d69 (diff)
downloadstrongswan-8f56bbc82b50cb999f312162bc9dd46d789803f7.tar.bz2
strongswan-8f56bbc82b50cb999f312162bc9dd46d789803f7.tar.xz
testing: Update test scenarios for Debian jessie
The main difference is that ping now reports icmp_seq instead of icmp_req, so we match for icmp_.eq, which works with both releases. tcpdump now also reports port 4500 as ipsec-nat-t.
Diffstat (limited to 'testing/tests/ikev2/nat-rw-psk/evaltest.dat')
-rw-r--r--testing/tests/ikev2/nat-rw-psk/evaltest.dat8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/tests/ikev2/nat-rw-psk/evaltest.dat b/testing/tests/ikev2/nat-rw-psk/evaltest.dat
index 86fc1975e..fbcb631ff 100644
--- a/testing/tests/ikev2/nat-rw-psk/evaltest.dat
+++ b/testing/tests/ikev2/nat-rw-psk/evaltest.dat
@@ -3,7 +3,7 @@ venus::ipsec status 2> /dev/null::nat-t.*INSTALLED. TUNNEL.*ESP in UDP::YES
sun:: ipsec status 2> /dev/null::nat-t.*INSTALLED, TUNNEL.*ESP in UDP::YES
sun:: ipsec status 2> /dev/null::nat-t.*\[PH_IP_ALICE\]::YES
sun:: ipsec status 2> /dev/null::nat-t.*\[PH_IP_VENUS\]::YES
-alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_req=1::YES
-venus::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_req=1::YES
-moon::tcpdump::IP moon.strongswan.org.* > sun.strongswan.org.4500: UDP::YES
-moon::tcpdump::IP sun.strongswan.org.4500 > moon.strongswan.org.*: UDP::YES
+alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
+venus::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
+moon::tcpdump::IP moon.strongswan.org.* > sun.strongswan.org.\(4500\|ipsec-nat-t\): UDP::YES
+moon::tcpdump::IP sun.strongswan.org.\(4500\|ipsec-nat-t\) > moon.strongswan.org.*: UDP::YES