HB_RecvInEstab.seq - HEARTBEAT chunk is received in ESTABLISHED State
To check that if HEARTBEAT chunk is received in ESTABLISHED State, the endpoint should responds it by HEARTBEAT-ACK with the information carried in the Heartbeat message.
./HB_RecvInEstab.seq [-tooloption ...] -pkt ./HB_RespondWithAck.def -tooloption : v6eval tool option See Also: ../common/STD_PKT_COMMON.def ../common/SCTP_COMMON.def
Association is established between endpoint A and B. Arrange the data in endpoint A such that HEARTBEAT message is sent to endpoint B.
Endpoint A Endpoint B ULP (ESTABLISHED) (ESTABLISHED)
HEARTBEAT ----------------->
<----------------- HEARTBEAT-ACK (Information copied from the HEARTBEAT message)
TEST DESCRIPTION:
1. From an endpoint in established state, send HEARTBEAT message to another endpoint. Record the message sequence using a signal emulator. 2. Check A: HEARTBEAT-ACK message will be sent in response to HEARTBEAT message. 3. Check B: Information carried in the HEARTBEAT message is carried back into the HEARTBEAT-ACK message.
None
RFC 4960
8.3. Path Heartbeat
By default, an SCTP endpoint SHOULD monitor the reachability of the idle destination transport address(es) of its peer by sending a HEARTBEAT chunk periodically to the destination transport address(es). HEARTBEAT sending MAY begin upon reaching the ESTABLISHED state and is discontinued after sending either SHUTDOWN or SHUTDOWN-ACK. A receiver of a HEARTBEAT MUST respond to a HEARTBEAT with a HEARTBEAT-ACK after entering the COOKIE-ECHOED state (INIT sender) or the ESTABLISHED state (INIT receiver), up until reaching the SHUTDOWN-SENT state (SHUTDOWN sender) or the SHUTDOWN- ACK-SENT state (SHUTDOWN receiver).