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.
11 lines
706 B
Plaintext
11 lines
706 B
Plaintext
moon::ipsec status 2> /dev/null::host-host.*ESTABLISHED.*moon.strongswan.org.*sun.strongswan.org::YES
|
|
sun:: ipsec status 2> /dev/null::host-host.*ESTABLISHED.*sun.strongswan.org.*moon.strongswan.org::YES
|
|
moon::ipsec status 2> /dev/null::host-host.*INSTALLED, TRANSPORT::YES
|
|
sun:: ipsec status 2> /dev/null::host-host.*INSTALLED, TRANSPORT::YES
|
|
moon::cat /var/log/daemon.log::parsed IKE_AUTH response.*N(USE_TRANSP)::YES
|
|
moon::ip xfrm state::mode transport::YES
|
|
sun:: ip xfrm state::mode transport::YES
|
|
moon::ping -c 1 PH_IP_SUN::64 bytes from PH_IP_SUN: 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
|