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.
This commit is contained in:
@@ -7,5 +7,5 @@ alice::ipsec status 2> /dev/null::peer.*ESTABLISHED.*[email protected].*venus
|
||||
venus::ipsec status 2> /dev/null::peer.*ESTABLISHED.*venus.strongswan.org.*[email protected]::YES
|
||||
alice::ipsec status 2> /dev/null::peer.*INSTALLED, TUNNEL::YES
|
||||
venus::ipsec status 2> /dev/null::peer.*INSTALLED, TUNNEL::YES
|
||||
alice::ping -c 1 PH_IP_VENUS::64 bytes from PH_IP_VENUS: icmp_req=1::YES
|
||||
venus::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
|
||||
alice::ping -c 1 PH_IP_VENUS::64 bytes from PH_IP_VENUS: icmp_.eq=1::YES
|
||||
venus::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_.eq=1::YES
|
||||
|
||||
@@ -6,7 +6,7 @@ alice::ipsec status 2> /dev/null::peer.*ESTABLISHED.*[email protected].*bob@s
|
||||
bob:: ipsec status 2> /dev/null::peer.*ESTABLISHED.*[email protected].*[email protected]::YES
|
||||
alice::ipsec status 2> /dev/null::peer.*INSTALLED, TUNNEL::YES
|
||||
bob:: ipsec status 2> /dev/null::peer.*INSTALLED, TUNNEL::YES
|
||||
alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_req=1::YES
|
||||
bob:: ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
|
||||
alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_.eq=1::YES
|
||||
bob:: ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_.eq=1::YES
|
||||
moon::tcpdump::IP moon.strongswan.org.* > sun.strongswan.org.*: UDP::YES
|
||||
moon::tcpdump::IP sun.strongswan.org.* > moon.strongswan.org.*: UDP::YES
|
||||
|
||||
Reference in New Issue
Block a user