aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tnc/tnccs-20-block
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/tnc/tnccs-20-block
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/tnc/tnccs-20-block')
-rw-r--r--testing/tests/tnc/tnccs-20-block/evaltest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/tnc/tnccs-20-block/evaltest.dat b/testing/tests/tnc/tnccs-20-block/evaltest.dat
index b67affbf4..725c3aa3a 100644
--- a/testing/tests/tnc/tnccs-20-block/evaltest.dat
+++ b/testing/tests/tnc/tnccs-20-block/evaltest.dat
@@ -10,5 +10,5 @@ carol::swanctl --list-sas --raw 2> /dev/null::home.*version=2 state=ESTABLISHED
dave:: swanctl --list-sas --raw 2> /dev/null::home::NO
moon:: swanctl --list-sas --ike-id 1 --raw 2> /dev/null::rw.*version=2 state=ESTABLISHED local-host=192.168.0.1 local-port=4500 local-id=moon.strongswan.org remote-host=192.168.0.100 remote-port=4500 remote-id=carol@strongswan.org.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=MODP_3072.*child-sas.*rw.*state=INSTALLED mode=TUNNEL protocol=ESP.*encr-alg=AES_GCM_16 encr-keysize=128.*local-ts=\[10.1.0.0/16] remote-ts=\[192.168.0.100/32]::YES
moon:: swanctl --list-sas --ike-id 2 --raw 2> /dev/null::rw::NO
-carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
-dave:: ping -c 1 -W 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::NO
+carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_.eq=1::YES
+dave:: ping -c 1 -W 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_.eq=1::NO