ShutAckInCookieEchoed.seq - SHUTDOWN-ACK chunk is received in COOKIE-ECHOED State
To check that if SHUTDOWN-ACK chunk is received in COOKIE-ECHOED state, the endpoint should respond with SHUTDOWN-COMPLETE in an SCTP packet with the Verification Tag field of its common header set to the same tag that was received in the SHUTDOWN-ACK packet.
./ShutAckInCookieEchoed.seq [-tooloption ...] -pkt ./ShutAckInCookieEchoed.def -tooloption : v6eval tool option See Also: ../common/STD_PKT_COMMON.def ../common/SCTP_COMMON.def
Association is not established between endpoint A and B. Arrange data in endpoint A such that SHUTDOWN-ACK chunk is sent to endpoint B when endpoint B is in COOKIE-ECHOED state.
Endpoint A Endpoint B ULP (ESTABLISHED) (COOKIE-ECHOED)
SHUTDOWN-ACK ------------------>
<------------------ SHUTDOWN-COMPLETE
TEST DESCRIPTION:
1. Send SHUTDOWN-ACK message from endpoint A to B when endpoint B is in COOKIE-ECHOED state. 2. Check A: SHUTDOWN-COMPLETE message will be sent to endpoint A. 3. Check B: Verification tag in the SHUTDOWN-COMPLETE message will be set equal to the verification tag in the received SHUTDOWN-ACK message. 4. Check C: T bit in the chunk flags is set to 1.
None
RFC 4960
9.2. Shutdown of an Association
The sender of the INIT or COOKIE ECHO should respond to the receipt of a SHUTDOWN ACK with a stand-alone SHUTDOWN COMPLETE in an SCTP packet with the Verification Tag field of its common header set to the same tag that was received in the SHUTDOWN ACK packet. This is considered an Out of the Blue packet as defined in Section 8.4. The sender of the INIT lets T1-init continue running and remains in the COOKIE-WAIT or COOKIE-ECHOED state. Normal T1-init timer expiration will cause the INIT or COOKIE chunk to be retransmitted and thus start a new association.