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.
18 lines
1.3 KiB
Plaintext
18 lines
1.3 KiB
Plaintext
carol::ipsec status 2> /dev/null::home.*ESTABLISHED.*carol@strongswan.org.*moon.strongswan.org::YES
|
|
dave:: ipsec status 2> /dev/null::home.*ESTABLISHED.*dave@strongswan.org.*moon.strongswan.org::YES
|
|
moon:: ipsec status 2> /dev/null::rw\[1]: ESTABLISHED.*moon.strongswan.org.*carol@strongswan.org::YES
|
|
moon:: ipsec status 2> /dev/null::rw\[2]: ESTABLISHED.*moon.strongswan.org.*dave@strongswan.org::YES
|
|
carol::ipsec statusall 2> /dev/null::IKE proposal: BLOWFISH_CBC_256/HMAC_SHA2_512_256::YES
|
|
dave:: ipsec statusall 2> /dev/null::IKE proposal: BLOWFISH_CBC_128/HMAC_SHA2_256_128::YES
|
|
carol::ping -c 1 -s 120 -p deadbeef PH_IP_ALICE::128 bytes from PH_IP_ALICE: icmp_.eq=1::YES
|
|
dave:: ping -c 1 -s 120 -p deadbeef PH_IP_ALICE::128 bytes from PH_IP_ALICE: icmp_.eq=1::YES
|
|
carol::ipsec statusall 2> /dev/null::BLOWFISH_CBC_192/HMAC_SHA2_384_192,::YES
|
|
dave:: ipsec statusall 2> /dev/null::BLOWFISH_CBC_128/HMAC_SHA2_256_128,::YES
|
|
carol::ip -s xfrm state::enc cbc(blowfish).*(192 bits)::YES
|
|
dave:: ip -s xfrm state::enc cbc(blowfish).*(128 bits)::YES
|
|
moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP.*length 192::YES
|
|
moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP.*length 192::YES
|
|
moon::tcpdump::IP dave.strongswan.org > moon.strongswan.org: ESP.*length 184::YES
|
|
moon::tcpdump::IP moon.strongswan.org > dave.strongswan.org: ESP.*length 184::YES
|
|
|