ErrorInCookieEchoed.seq - ERROR chunk is received in with Stale Cookie Error COOKIE-ECHOED state
To chech that if ERROR chunk is received in with Stale Cookie Error
COOKIE-ECHOED state then the endpoint should resent INIT message and
adding a cookie preservative parameter requesting the extension on
lifetime of cookie.
./ErrorInCookieEchoed.seq [-tooloption ...] -pkt ./ErrorInCookieEchoed.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 chunk with stale cookie
error is sent to endpoint B.
Endpoint A Endpoint B ULP
(CLOSED) (CLOSED)
<----- Associate
<----------------- INIT
INIT-ACK ----------------->
<----------------- COOKIE-ECHO
ERROR ----------------->
(with Cause Stale Cookie Error)
TEST DESCRIPTION:
1. Attempt to make an association from endpoint A to B. Send OPEARTION
ERROR message with cause Stale Cookie Error after receiving COOKIE
message.
2. CHECK A: The action taken by an endpoint on receiving OPERATION
ERROR with cause Stale Cookie Error should be one of the following:
a. Send a new INIT message to the endpoint to generate a new cookie and
reattempt the setup procedure.
b. Discard the TCB and report to the upper layers the inability of
setting up the association.
c. Send a new INIT message to the endpoint adding a cookie preservative
parameter requesting the extension on lifetime of cookie.
None
RFC 4960
3.3.10.3. Stale Cookie Error (3)
Cause of error
--------------
Stale Cookie Error: Indicates the receipt of a valid State Cookie
that has expired.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cause Code=3 | Cause Length=8 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Measure of Staleness (usec.) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Measure of Staleness: 32 bits (unsigned integer)
This field contains the difference, in microseconds, between the
current time and the time the State Cookie expired.
The sender of this error cause MAY choose to report how long past
expiration the State Cookie is by including a non-zero value in
the Measure of Staleness field. If the sender does not wish to
provide this information, it should set the Measure of Staleness
field to the value of zero.