T1CookieRetrans.seq - COOKIE-ECHO message is transmitted again if T1-cookie timer expires
To check that if T1-cookie timer expires then the endpoint MUST retransmit COOKIE ECHO and restart the T1-cookie timer without changing state.
./T1CookieRetrans.seq [-tooloption ...] -pkt ./T1CookieRetrans.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 the data in Endpoint A such that COOKIE-ACK is not sent in response to COOKIE-ECHO message.
Endpoint A Endpoint B ULP (CLOSED) (COOKIE-ECHOED)
<---------------- COOKIE-ECHO Don't send Start T1-cookie timer COOKIE-ACK message | | T1-cookie timer expires | <---------------- COOKIE-ECHO Restart T1-cookie Timer
TEST DESCRIPTION:
1. Try to make an association from endpoint B to endpoint A by sending COOKIE-ECHO message from endpoint B. Record the message sequence using a signal emulator. 2. Check A: COOKIE-ECHO message is sent again after expiry of T1-cookie timer. 3. Check B: Was the message sequence as above.
None
RFC 4960
4. SCTP Association State Diagram
Notes:
3) If the T1-cookie timer expires, the endpoint MUST retransmit COOKIE ECHO and restart the T1-cookie timer without changing state. This MUST be repeated up to 'Max.Init.Retransmits' times. After that, the endpoint MUST abort the initialization process and report the error to the SCTP user.