With -W we reduce timeouts when we don't expect a response. With -i the interval between pings is reduced (mostly in case of auto=route where the first ping yields no reply).
9 lines
526 B
Plaintext
9 lines
526 B
Plaintext
moon:: ipsec status 2> /dev/null::rw.*INSTALLED, TUNNEL::YES
|
|
carol::ipsec status 2> /dev/null::home.*INSTALLED, TUNNEL::YES
|
|
carol::ping -c 1 -s 120 -p deadbeef PH_IP_ALICE::128 bytes from PH_IP_ALICE: icmp_req=1::YES
|
|
carol::sleep 11::NO
|
|
carol::cat /var/log/daemon.log::deleting CHILD_SA after 10 seconds of inactivity::YES
|
|
moon:: ipsec status 2> /dev/null::rw.*INSTALLED::NO
|
|
carol::ipsec status 2> /dev/null::home.*INSTALLED::NO
|
|
carol::ping -c 1 -W 1 -s 120 -p deadbeef PH_IP_ALICE::128 bytes from PH_IP_ALICE: icmp_req=1::NO
|