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.
13 lines
893 B
Plaintext
13 lines
893 B
Plaintext
moon:: ipsec status 2> /dev/null::net-net.*ESTABLISHED.*moon.strongswan.org.*sun.strongswan.org::YES
|
|
sun:: ipsec status 2> /dev/null::net-net.*ESTABLISHED.*sun.strongswan.org.*moon.strongswan.org::YES
|
|
moon:: ipsec status 2> /dev/null::net-net.*INSTALLED, TUNNEL::YES
|
|
sun:: ipsec status 2> /dev/null::net-net.*INSTALLED, TUNNEL::YES
|
|
alice::ping -c 1 10.6.0.10::64 bytes from 10.6.0.10: icmp_.eq=1::YES
|
|
bob:: ping -c 1 10.9.0.10::64 bytes from 10.9.0.10: icmp_.eq=1::YES
|
|
sun::tcpdump::IP moon.strongswan.org > sun.strongswan.org: ESP::YES
|
|
sun::tcpdump::IP sun.strongswan.org > moon.strongswan.org: ESP::YES
|
|
bob::tcpdump::IP 10.9.0.10 > bob.strongswan.org: ICMP echo request::YES
|
|
bob::tcpdump::IP bob.strongswan.org > 10.9.0.10: ICMP echo reply::YES
|
|
bob::tcpdump::IP bob.strongswan.org > 10.9.0.10: ICMP echo request::YES
|
|
bob::tcpdump::IP 10.9.0.10 > bob.strongswan.org: ICMP echo reply::YES
|