ShutInCookieWait.seq - SHUTDOWN chunk is received in COOKIE-WAIT State
To check that if a SHUTDOWN is received in the COOKIE-WAIT state, the SHUTDOWN chunk SHOULD be silently discarded.
./ShutInCookieWait.seq [-tooloption ...] -pkt ./ShutInCookieWait.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 SHUTDOWN message is sent to endpoint B after receiving INIT message from it.
Endpoint A Endpoint B ULP (CLOSED) (CLOSED)
<-------- Associate <---------------- INIT (Start T1-Init timer) SHUTDOWN -----------------> Discard SHUTDOWN message T1-Init timer expires <---------------- INIT
TEST DESCRIPTION:
1. Try to create an association between endpoint A and B by sending INIT message. Send SHUTDOWN message from the other endpoint. Record the message sequence using an emulator. 2. Check A: SHUTDOWN message is silently discarded. 3. Check B: After expiry of T1-Init timer INIT message is transmitted again.
None
RFC 4960
9.2. Shutdown of an Association
If a SHUTDOWN is received in the COOKIE-WAIT or COOKIE ECHOED state, the SHUTDOWN chunk SHOULD be silently discarded.
If an endpoint is in the SHUTDOWN-SENT state and receives a SHUTDOWN chunk from its peer, the endpoint shall respond immediately with a SHUTDOWN ACK to its peer, and move into the SHUTDOWN-ACK-SENT state restarting its T2-shutdown timer.
If an endpoint is in the SHUTDOWN-ACK-SENT state and receives a SHUTDOWN ACK, it shall stop the T2-shutdown timer, send a SHUTDOWN COMPLETE chunk to its peer, and remove all record of the association.