InvalidLengthInCookieEcho.seq - COOKIE-ECHO chunk is received with invalid chunk length
To check that if COOKIE-ECHO chunk is received with invalid chunk length, the
endpoint should discard the packet.
./InvalidLengthInCookieEcho.seq [-tooloption ...] -pkt ./InvalidLengthInCookieEcho.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 COOKIE-ECHO message is send to endpoint B
with invalid chunk length.
Endpoint A Endpoint B ULP
(CLOSED) (CLOSED)
INIT ---------------->
<---------------- INIT-ACK
COOKIE-ECHO ----------------> Discard the message
(with invalid chunk length)
<---------------- INIT-ACK
TEST DESCRIPTION:
1. Attempt to initiate an association from endpoint A to B. Send COOKIE-ECHO
message with invalid chunk length.
Record the message sequence using a signal emulator.
2. Check A: COOKIE-ECHO message is discarded and no other action is taken.
3. Check B: Was the message sequence as above.
None
RFC 4960
Normally, this would cause an ABORT with a Protocol Violation
error, but since we don't have an association, we'll just
discard the packet.