ShutAckWithBadTag2.seq - SHUTDOWN-ACK chunk received with invalid Verification Tag in COOKIE-WAIT State
To check that if SHUTDOWN-ACK chunk is received with invalid Verification Tag in COOKIE-WAIT state, the endpoint should treat it as an Out Of The Blue packet and responded with SHUTDOWN-COMPLETE message.
./ShutAckWithBadTag2.seq [-tooloption ...] -pkt ./ShutAckWithBadTag2.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 with invalid Verification Tag is sent to endpoint B when endpoint B is in COOKIE-WAIT state.
Endpoint A Endpoint B ULP (ESTABLISHED) (COOKIE-WAIT)
SHUTDOWN-ACK ------------------> (with invalid Verification Tag) <------------------ SHUTDOWN-COMPLETE
TEST DESCRIPTION:
1. Send SHUTDOWN-ACK message from endpoint A to B with invalid Verification Tag when endpoint B is in COOKIE-WAIT 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
8.5.1. Exceptions in Verification Tag Rules
E) Rules for packet carrying a SHUTDOWN ACK
- If the receiver is in COOKIE-ECHOED or COOKIE-WAIT state the procedures in Section 8.4 SHOULD be followed; in other words, it should be treated as an Out Of The Blue packet.