GEN_UnregParamType.seq - Generation of error cause Unrecognized Parameters
To check that if unrecognized parameter type is received with higher two bytes are set to 01, the endpoint should stop processing this parameter, do not process any further parameters within this chunk, and report the unrecognized parameter in an 'Unrecognized Parameter'.
./GEN_UnregParamType.seq [-tooloption ...] -pkt ./GEN_UnregParamType.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 INIT-ACK chunk is sent to endpoint B with unrecognized parameter type in which higher two bytes are set to 01.
Endpoint A Endpoint B ULP (CLOSED) (CLOSED)
<----- Associate <----------------- INIT
INIT-ACK -----------------> (with unrecognized parameter type 0x7F00) <----------------- COOKIE-ECHO
<----------------- ERROR (with Unrecognized Parameter type) COOKIE-ACK ----------------->
TEST DESCRIPTION:
1. Attempt to initiate an association from endpoint A to B. Send INIT-ACK message with one optional parameter which is not defined in INIT-ACK. The highest order two bits in that parameter should be 01. 2. Check A: That parameter is skipped and COOKIE-ECHO is received at endpoint A. 3. Check B: ERROR is received with Unrecognized parameter error cause at endpoint A.
None
RFC 4960
3.3.10.8. Unrecognized Parameters (8)
Cause of error ---------------
Unrecognized Parameters: This error cause is returned to the originator of the INIT ACK chunk if the receiver does not recognize one or more Optional TLV parameters in the INIT ACK chunk.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Cause Code=8 | Cause Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ / Unrecognized Parameters / \ \ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Unrecognized Parameters: variable length
The Unrecognized Parameters field contains the unrecognized parameters copied from the INIT ACK chunk complete with TLV. This error cause is normally contained in an ERROR chunk bundled with the COOKIE ECHO chunk when responding to the INIT ACK, when the sender of the COOKIE ECHO chunk wishes to report unrecognized parameters.